
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800; 
  font-display: swap;
  src: url('fonts/open-sans-variable-wght.woff2') format('woff2 supports variations'),
       url('fonts/open-sans-variable-wght.woff2') format('woff2-variations'),
       url('fonts/open-sans-variable-wght.woff2') format('woff2'); /* Fallback für ältere Browser */
}


/* 1. RESET (Ganz nach oben, ohne doppelte Einträge) */
html, body, div, span, applet, object,
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite,
code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b,
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video 
{
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

mark {
	background-color: transparent;
	color: inherit;
}

input::-moz-focus-inner {
	border: 0;
	padding: 0;
}
input, select, textarea {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
}

html {
	box-sizing: border-box;
	overflow-x: clip; /* Schützt das Layout und erlaubt gleichzeitig position: sticky */
}
*, *:before, *:after {
	box-sizing: inherit;
}
/* Preload-Animationen verhindern */
body.is-preload *, body.is-preload *:before, body.is-preload *:after {
	animation: none !important;
	transition: none !important;
}

/* 2. GLOBALE STYLES (Überschreiben den Reset sauber) */
body {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 1px;
  color: #263238;
  background: #f3f6fa;
  -webkit-text-size-adjust: none;
}
/* Formularelemente erben nun die Schrift vom Body */
input, select, textarea {
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
    letter-spacing: inherit;
}
/* 3. ELEMENT STYLES */
p {
  margin: 0 0 1em 0; /* Vereinheitlicht (vorher gab es hier einen Konflikt) */
  line-height: 28px;
  letter-spacing: 1px;
  font-weight: 400;
}

ol, dl, table, blockquote {
	margin: 0 0 1em 0;
}

ul {
    list-style: disc; 
    margin: 0 0 1em 0;        
    padding: 0 0 0 2rem; /* padding-left reicht meistens für die Punkte */       
}

li {
    margin-bottom: 0.5rem; 
}
a {
    color: #0a6299;
    text-decoration: none;
}

a:hover {
    color: #9d141c;
    text-decoration: underline;
}

a:focus, a:active {
    text-decoration: underline;
}

strong, b {
	font-weight: 500; /* Open Sans Variable wght profitiert von 600 (Semi-Bold) */
}

/* Überschriften */
h1, h2, h3, h4, h5, h6 {
	color: inherit;
	line-height: 1.75em;
	margin-bottom: 0.2em;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color: inherit;
	text-decoration: none;
}

h1 {
	font-size: 1.6em;
	letter-spacing: 0.04em;
	text-align: center;
	font-weight: 500;
	color: #0a6299;
}

h2 {
	font-size: 1.5em;
	letter-spacing: 0.03em;
	font-weight: 500;
	color: #a51e01;
}

h3 {
	font-size: 1.15em;
	letter-spacing: 0.025em;
	font-weight: 500;
	color: #0a6299;
}

h4 {
	font-size: 1.15em;
	letter-spacing: 0.025em;
	font-weight: 500;
	color: #9d141c;
}	

sub {
	font-size: 0.8em;
	position: relative;
	top: 0.5em;
}

sup {
	font-size: 0.8em;
	position: relative;
	top: -0.5em;
}
	
hr {
     border: none;
     height: 1px;
     background-color: #999;
}
blockquote {
	border-left: solid 0.5em rgba(124, 128, 129, 0.2);
	font-style: italic;
	padding: 1em 0 1em 2em;
}


       
img {
    max-width: 100%;
    height: auto;
    display: block;      
    margin-left: auto;  
    margin-right: auto; 
}
summary {
	text-decoration: underline;
   display: list-item; /* Stellt sicher, dass der Pfeil und Text als eine Einheit agieren */
  cursor: pointer;    /* Zeigt die Hand-Mauszeiger über dem gesamten Text an */
  width: 100%;        /* Macht die gesamte Breite klickbar */
  padding: 10px 0;   /* Vergrößert die Klickfläche nach oben und unten */
  color:#0a6299;
}


/* ==========================================================================
   Menü & Navigation (Komplett STICKY mit oberer Info-Leiste)
   ========================================================================== */
/* Der Haupt-Header hält jetzt beide Leisten oben fest */
.main-header {
    position: -webkit-sticky; /* Safari-Support */
    position: sticky;
    top: 0;
    z-index: 2000;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Top bar oben */
.top-bar {
    background-color: #0A6299; 
    padding: 6px 3rem;
    font-size: 15px;
    font-weight: 600;
    text-align: right; 
}

.top-bar-content {
    max-width: 100%;
    margin: 0 auto;
}


.top-bar .phone-link {
    color: #ffffff !important; /* farbe Text */
    text-decoration: none !important;
    letter-spacing: 0.5px;
    display: inline-block;
}

/* Startfarbe des Icons */
.top-bar .phone-icon,
.top-bar .phone-link .phone-icon {
    color: #ffffff !important; 
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}




/* Menue ohne eigenes sticky (da main-header das übernimmt) */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f3f6fa;
    color: #666;
    font-weight: 500;	
    padding: 1rem 2.1rem 0.5rem 3rem;
    border-bottom: 1px solid #666;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 80px;
}

.burger-menu-container {
    display: block;
}

/* Versteckt den standardmäßigen Pfeil des Browsers */
summary.burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    list-style: none;
    outline: none;
}

summary.burger-menu::-webkit-details-marker {
    display: none;
}




/* Die 3 Striche des Burger-Icons */
summary.burger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Die Navigationsliste */
.nav-links {
    display: flex;
    list-style: none;
    font-size: 17px;
    line-height: 18px;
    padding: 4px;
}


.nav-links li {
    padding-left: 1rem;
    margin-bottom: 0;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    margin: 0 5px;
}
	
.nav-links a:hover {
    color: #0a6299; 
    text-decoration: none;
}


/* ==========================================================================
   Responsive Regeln & Mobil-Anpassungen
   ========================================================================== */
@media (max-width: 868px) {
    .top-bar {
        text-align: center; /* Nummer auf dem Smartphone mittig platzieren */
        padding: 6px 1.5rem;
    }

    /* Verwandelt die Links auf Mobilgeräten in ein Dropdown */
    .nav-links {
        display: none; 
        position: absolute;
        top: 100%; /* Dockt direkt unter der Navbar an */
        left: 0;
        width: 100%;
        background: #f3f6fa; 
        border-bottom: 1px solid #666;
        padding: 15px 3rem;
        flex-direction: column;
        gap: 15px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    }
	
		
	    /* Zeigt das Menü, wenn das vorherige details geöffnet [open] ist */
    .burger-menu-container[open] + .nav-links {
        display: flex;
    }

    .nav-links li {
        padding-left: 0;
    }

    .nav-links a {
        margin: 0;
        display: block;
        padding: 5px 0;
    }

        /* Verwandelt das Burger-Icon bei geöffnetem Zustand in ein "X" */
    .burger-menu-container[open] summary.burger-menu span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .burger-menu-container[open] summary.burger-menu span:nth-child(2) {
        opacity: 0;
    }
    .burger-menu-container[open] summary.burger-menu span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

	
	
  

/* ==========================================================================
   Desktop-Modus: Absolut sichere Hover-, Active- und Layout-Regeln
   ========================================================================== */
@media (min-width: 869px) {
    /* Blendet den Burger-Schalter komplett aus */
    .burger-menu-container {
        display: none !important; 
    }
	
	
	
    /* Erzwingt das korrekte Desktop-Layout für die Navigationsleiste */
    .navbar .nav-links {
        display: flex !important;
        position: static !important; 
        background: transparent !important;
        box-shadow: none !important;
        padding: 4px !important;
        flex-direction: row !important;
    }
	
	    /* Setzt den Standard-Zustand der Links auf dem Desktop fest */
    .navbar .nav-links li a {
        color: #333 !important;
        text-decoration: none !important;
        margin: 0 5x !important;
        display: inline-block !important;
        font-weight: 400 !important; 
    }
	
    /* Überschreibt Hover- und Fokus-Zustände */
    .navbar .nav-links li a:hover,
    .navbar .nav-links li a:focus,
    .navbar .nav-links li a:active {
        color: #0a6299 !important; 
        text-decoration: none !important; 
    }

    /* Erzwingt den aktiven Menüpunkt: Farbe + Fettschrift */
    .navbar .nav-links li a.active {
        color: #0a6299 !important;
        text-decoration: none !important;
        font-weight: 500 !important; 
    }
}




/* ==========================================================================
   Inhalt, Grids & Header-Bilder
   ========================================================================== */

.content {
    padding: 2rem;
}

.intro-header {
    padding-top: 100px; 
    padding-bottom: 150px;
    display: flex;           
    justify-content: center; 
    align-items: center;     
    text-align: center;
    color: #f8f8f8;
    background: url(./img/header11.jpg) no-repeat center;  
    background-size: cover;
}

.intro-header2 {
    padding-top: 100px; 
    padding-bottom: 150px;
    display: flex;           
    justify-content: center; 
    align-items: center;     
    text-align: center;
    color: #f8f8f8;
    background: url(./img/header2.jpg) no-repeat center; 
    background-size: cover;
}

.intro-message {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;          
    text-align: center;      
    color: #f8f8f8;
}

.intro-message h1 {
    text-align: center;      
    color: #ffffff;          
    font-size: 3rem;
    margin-bottom: 10px;
}

.intro-message h3 {
    text-align: center;      
    color: #f8f8f8;
    font-size: 1.5rem;
    font-weight: 400;
}

@media (max-width: 900px) {
    .intro-header {
        padding-top: 50px; 
        padding-bottom: 50px;
    }
}

.border {
    border: 1px solid #dee2e6 !important;
    padding: 15px;
    margin: 30px 5px;
    min-height: 250px;
}

/* 2 Spalten Layout */
.twocol-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px;                             
    max-width: 1200px;                     
    margin: 50px auto;                     
    padding: 0 20px;                       
}

.twocol-spalte {
    background-color: #ffffff;            
    padding: 20px;                         
    border-radius: 3px;                    
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

/* Auf Smartphones untereinander anzeigen */
@media (max-width: 868px) {
    .twocol-grid {
        grid-template-columns: 1fr;        
    }
}

/* Footer */
footer {
  background-color: #1a1a1a;
  color: #e0e0e0;
  padding: 20px 10px 10px 10px;
  font-family: sans-serif;
}

/* Container für die Spalten */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

/* Einzelne Spalten */
.footer-column {
  flex: 1;
  min-width: 250px; /* Verhindert, dass Spalten zu schmal werden */
}

/* Überschriften in den Spalten */
.footer-column h3 {
  color: #ffffff;
  margin-bottom: 15px;
  font-size: 18px;
  border-bottom: 2px solid #333;
  padding-bottom: 8px;
  font-weight: 400;
}

/* Text und Listen-Styling */
.footer-column p {
  font-size: 15px;
  line-height: 1.6;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

/* Link-Styling */
.footer-column a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 17px;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #ffffff;
  }
  
  /* Unterer Balken (Copyright) nicht genutzt*/
.footer-bottom {
	background-color: #fff;
    text-align: center;
  margin-top: 20px;
  padding:10px 0px 10px 0px;
    border-top: 1px solid #333;
  font-size: 15px;
  color: #888;
}



