@font-face {
  font-family: 'Source Sans 3';
  src: url('./assets/fonts/Source_Sans_3/SourceSans3-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

  /* Grundlayout */
:root {
  font-size: 16px; /* Basis für rem */
  --primary: #021526;       /* Dunkelblau für Hintergründe */
  --secondary: #03346E;     /* Akzentblau für Button */
  --tertiary: #6EACDA;      /* Babyblau für Schattierungen */
  --quaternary: #E2E2B6;    /* Eierschalenfarben für Hintergründe */
  --accent: #e74c3c;        /* Rot für Hervorhebungen (optional) */
  --background: #f8f9fa;    /* Hellgrau für Karten-Hintergrund */
  --text: #333;             /* Haupttextfarbe */
  --white: #FFFFFF;
  --whatsapp: #008000;
}

html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Source Sans 3', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: var(--background);
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Viewport-Höhe ausnutzen */
  font-size: clamp(1rem, 2vw, 1.2rem); /* Mobile → Desktop */
}

header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    top: 0;
    z-index: 100;
}

/* navbar section */

.navcontainer {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo {
    height: 75px;
    width: auto;
}

.svg-black {
    fill: black;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list li a {
    text-decoration: none;
    color: #051422;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-list li a:hover {
    color: #0077cc;
}

.burger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.burger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #051422;
    border-radius: 3px;
    transition: all 0.3s;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
}

/* footer */

.footer-banner {
  position: relative;
  background-image: url('img/footer-contact.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 650px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 7.5%;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  right: 50%;
  
  /* Sicherstellen, dass nichts überläuft */
  overflow: hidden;
}

/* Container für Text, positioniert im unteren Drittel */
.banner-content {
    text-align: center;
    margin-bottom: 10%;       /* Position im unteren Drittel */
    color: white;             /* Textfarbe für bessere Lesbarkeit */
    
    /* Optional: Text-Hintergrund für besseren Kontrast */
    background-color: rgba(0, 0, 0, 0.3);
    padding: 1rem 2rem;
    border-radius: 4px;
}

/* Überschriften-Stilisierung */
.footer-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.footer-banner h3 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-top: 0;
}

/* Container für den Kontakt-Kreis */
.contact-circle-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Blauer Kontakt-Kreis */
.contact-circle {
    position: absolute;
    top: -220px; /* Überlappung nach oben */
    right: 45%; /* Abstand vom rechten Rand */
    
    /* Kreis-Eigenschaften */
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, var(--secondary), var(--tertiary));
    border-radius: 50%;
    
    /* Flexbox für Text-Zentrierung */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Schatten und Hover-Effekte */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
    
    /* Z-Index für Überlappung */
    z-index: 10;
}

/* Text im Kreis */
.circle-text {
    color: var(--white);
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Hover-Effekte */
.contact-circle:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, var(--tertiary), var(--secondary));
}

/* Animation für Aufmerksamkeit */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.contact-circle {
    animation: pulse 3s ease-in-out infinite;
}

.contact-circle:hover {
    animation: none; /* Animation beim Hover stoppen */
}

.svg-white {
    fill: white;
    display: flex;
    align-items: flex-start; /* Obere Kante ausrichten */
    gap: 1rem;
    margin-bottom: 1rem;
    height: 100px;
    width: auto;
    align-self: flex-start; /* Logo oben ausrichten */
    margin-top: 0;
    margin-right: 50px;
}
/* Footer  */
.footer {
    background-color: var(--primary);
    color: #ecf0f1;
}

.footer-menu {
    padding: 3rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links {
    flex: 2 1 600px;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-column {
    flex: 1 1 200px;
}

.footer-heading {
    color: var(--tertiary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    margin-top: 0;
    padding-top: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
}

.footer-nav {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 0.75rem;
}

.footer-nav a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #3498db;
}

.footer-address {
    font-style: normal;
    line-height: 1.6;
}

.footer-address a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-address a:hover {
    color: #3498db;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-copyright {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: #ecf0f1;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #3498db;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    color: #ecf0f1;
    transition: all 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon svg {
    width: 100%;
    height: 100%;
}

.social-icon:hover {
    color: #3498db;
    transform: translateY(-2px);
}

/* back to top */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary); /* Halbtransparent in deiner Logo-Farbe */
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
    background-color: rgba(5, 20, 34, 0.9); /* Dunkler beim Hover */
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 768px) {
    /* navbar */
    header h1 { font-size: 2em; }
    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: white;
        padding: 20px 0;
        gap: 15px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 99;
    }
    
    .nav-list.active {
        transform: translateY(0);
    }
    
    .nav-list li {
        padding: 10px 20px;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .logo {
        height: 50px;
    }
    /* footer */
    .footer-banner {
        height: 400px; /* Geringere Höhe auf Mobilgeräten */
        margin-bottom: 17%;
    }
    
    .footer-banner h2 {
        font-size: 1.5rem;
    }
    
    .footer-banner h3 {
        font-size: 1.1rem;
    }
    
    .banner-content {
        margin-bottom: 12%; /* Etwas höhere Position auf Mobilgeräten */
        padding: 0.8rem 1.2rem;
    }

    .contact-circle {
        width: 80px;
        height: 80px;
        top: -12vh;
        right: 45%; /* Abstand vom rechten Rand */
    }
    
    .circle-text {
        font-size: 0.6rem;
    }

    .svg-white {
            height: 75px;
    }
    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
    }

}
@media (min-width: 2000px) {
    :root {
        font-size: 20px; /* Größere Basis für 8K */
    }
    /* navbar */
    .navcontainer {
        max-width: 1800px;
    }
    
    .logo {
        height: 100px;
    }
    
    .nav-list li a {
        font-size: 1.5rem;
    }
    /* footer */
    .svg-white {
        height: 100px;
    }
}
/* ===== 8K OPTIMIERUNG ===== */
@media (min-height: 4320px) {
    /* navbar */
    .logo {
        height: 120px;
    }
    
    .nav-list a {
        font-size: 1.5rem;
    }

    /* footer */
    .svg-white {
        height: 120px;
    }
}