/* General reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Font faces */
@font-face {
    font-family: 'TTFirsNeue-BlackIt';
    src: url('../fonts/TTFirsNeue-BlackIt.woff2') format('woff2'),
         url('../fonts/TTFirsNeue-BlackIt.woff') format('woff'),
         url('../fonts/TTFirsNeue-BlackIt.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TTFirsNeue-Light';
    src: url('../fonts/TTFirsNeue-Light.woff2') format('woff2'),
         url('../fonts/TTFirsNeue-Light.woff') format('woff'),
         url('../fonts/TTFirsNeue-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Global styles */
body {
    background: #444AF3;
    font-family: 'TTFirsNeue-Light', sans-serif;
    color: white;
    line-height: 1.6;
}

/* Universal header styling */
h1, h2, h3, h4, h5, h6, .section-title, .faq-title, .title {
    font-family: 'TTFirsNeue-BlackIt', sans-serif;
    font-weight: 900;
    font-style: italic;
    color: white;
}

/* Add spacing for headers */
h2 {
    font-size: clamp(1.3rem, 4vw, 2.5rem);  /* Responsive font size */
    margin: 20px 0 20px;
    text-align: left;
}

h3 {
    font-size: clamp(1.1rem, 3.8vw, 1.6rem);  /* Responsive font size */
    margin: 30px 0 15px;
}

h4 {
    font-size: font-size: clamp(1.0rem, 3.6vw, 1.4rem);  /* Responsive font size */;
    margin: 20px 0 10px;
}

/* Paragraph and list styling */
p {
    margin: 10px 0;
}

ul {
    padding-left: 20px;
    margin: 10px 0;
}

ul li {
    margin-bottom: 5px;
}

/* Landing page layout */
.landing-page {
    width: 50%;
    max-width: 1200px;
    min-width: 300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
}

.logo-container {
    width: 100%;
    box-sizing: border-box;  /* Ensure padding is accounted for */
    margin: 20px 0;          /* Optional vertical spacing */
}

.logo-image {
    width: 100%;
    height: auto;
    max-width: 1200px;       /* Keep the max width consistent with the content */
    display: block;
    margin: 0 auto;
}

.button-row {
    display: flex;
    justify-content: space-between; /* Distribute buttons evenly without extra padding */
    width: 100%;
    max-width: 1200px;
    margin: 20px auto 40px; /* Center the row */
    gap: clamp(12px, 1.8vw, 40px); /* Responsive gap between buttons */
    padding: 0; /* Ensure no extra padding is added */
    box-sizing: border-box; /* Include padding and borders in width calculation */
}

.button-row button {
    flex: 1 1 auto; /* Allow buttons to scale naturally within the row */
    max-width: clamp(80px, 10vw, 120px); /* Limit max button size */
    height: auto;
    aspect-ratio: 1; /* Keep buttons square */
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.button-row button img {
    width: 70%;
    height: auto;
    display: block;
    object-fit: contain;
}
 
/* Existing iframe styling */
iframe {
    border: 0;
}

.section-title {
    font-size: clamp(1.3rem, 4vw, 2.5rem);
    text-align: left;
    margin: 10px 10 10px;
}

.komoot-section, .calendar-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 10px;
    text-align: center;
}

.iframe-container, .responsive-calendar {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 20px 0;
    height: clamp(450px, 40vw, 700px);
}

.iframe-container iframe, .responsive-calendar iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Vorstellungstext Styling */
.intro-text {
    width: 100%;
    max-width: 1200px;
    margin: 0px;
    padding: 0px 0px;
    font-size: clamp(0.9rem, 3.2vw, 1.3rem);
    line-height: 1.7;
    font-family: 'TTFirsNeue-Light', sans-serif;
    color: white;
    text-align: left;
}

.intro-text p {
    margin-top: 10px;
    text-align: left;
}


/* FAQ Section */
.faq-container {
    width: 100%;
    max-width: 1200px;
    margin: 0px 0;
    background-color: transparent;
}

.faq-title {
    font-size: clamp(1.3rem, 5vw, 2.5rem);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.faq-item .faq-question {
    font-family: 'TTFirsNeue-BlackIt', sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: clamp(0.9rem, 3.2vw, 1.3rem);
    color: white;
    line-height: 1.5;
}

.faq-item .faq-answer {
    font-family: 'TTFirsNeue-Light', sans-serif;
    font-size: clamp(0.9rem, 3.2vw, 1.3rem);
    color: white;
    line-height: 1.5;
}

/* ETQ items */
.etq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.etq-item {
    display: flex;
    align-items: flex-start; /* So bleiben Text und Zahl am oberen Rand ausgerichtet */
    gap: 4%;  /* Abstand zwischen Zahl und Text */
}

.etq-number {
    font-family: 'TTFirsNeue-BlackIt', sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: clamp(1.5rem, 3.9vw, 2.5rem);
    color: white;
    min-width: 15%;  /* Stelle sicher, dass die Zahl genügend Platz hat */
    max-width: 8px;
    text-align: right;
    line-height: 1;  /* Damit die Zahl nicht zentriert wird */
    margin-top: 0;  /* Kein zusätzlicher Rand */
}

.etq-item p {
    font-family: 'TTFirsNeue-Light', sans-serif;
    font-size: clamp(0.9rem, 3.2vw, 1.3rem);
    color: white;
    line-height: 1.5;
    flex: 1;
    margin: 0;  /* Keine zusätzlichen Ränder */
}

/* Image row layout */
.image-row {
    display: flex;
    justify-content: space-between;
    gap: 3%;
    width: 100%;
    margin: 30px 0;
    flex-wrap: wrap;  /* Ermöglicht Zeilenumbruch */
}

/* Einzelne Bilder mit flexibler Breite */
.image-item {
    flex: 1 1 30%;  /* Basisbreite von 30% */
    max-width: 33%; /* Für größere Bildschirme */
}

.image-item img {
    width: 100%;                     /* Image fills the entire container */
    height: auto;                    /* Maintain aspect ratio */
    display: block;
}

/* Responsive Anpassung für kleine Bildschirme */
@media (max-width: 800px) {
    .image-row {
        justify-content: center; /* Zentriere die Bilder */
    }

    .image-item {
        flex: 1 1 70%;  /* Bilder auf 70% der Seitenbreite skalieren */
        max-width: 70%;
        margin-bottom: 20px;
    }

    .image-item img {
        width: 100%;  /* Bild passt sich an die Containerbreite an */
        height: auto;  /* Behalte das Seitenverhältnis */
    }
}

.footer-container {
    background-color: #444AF3;
    color: white;
    width: 100%;
    max-width: 1200px;
    margin-top: 20px;
    margin-bottom: 30px;
    font-family: 'TTFirsNeue-Light', sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

/* Adjust spacing and size for the left text */
.footer-left p {
    margin: 5px 0;
    font-size: clamp(0.4rem, 2.8vw, 1.0rem);
}

.footer-left a {
    color: white;
    text-decoration: underline;
    font-weight: bold;
}

/* Ensure proper alignment for the logo */
.footer-right {
    display: flex;
    justify-content: flex-end;
    width: 30%;
    max-width: 140px;
}

.footer-right img {
    width: 100%; /* Allow it to occupy full width within its container */
    margin-top: 8%;
    height: auto;
}

.footer-line {
    border: none;
    border-top: 1px solid white;
    width: 100%;
    margin-bottom: 10px;
}

/* Content container styling for Impressum and Datenschutzerklärung */
.content-container {
    width: 100%;
    max-width: 1200px;
    margin: 0px auto;
    padding: 0px;
    background-color: transparent;
    color: white;
}
/* General link styling */
a {
    color: white;
    text-decoration: underline;
}

/* Hover effect */
a:hover {
    color: #ccc;  /* Optional: Change color on hover */
}

/* Cookie-Banner-Grundlayout */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    font-family: 'TTFirsNeue-Light', sans-serif; /* Einheitliche Schriftart */
    font-size: clamp(0.9rem, 2.5vw, 1rem);       /* Dynamische Schriftgröße */
    padding: 20px;
    z-index: 1000;
    border-radius: 10px;
    display: none;  /* Startet versteckt, bis entschieden wird */
}

/* Minimiertes Banner */
.cookie-banner.minimized {
    display: none;
}

/* Button für Cookie-Einstellungen */
.toggle-cookie-btn {
    position: fixed;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    font-family: 'TTFirsNeue-Light', sans-serif;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1001;
}

.toggle-cookie-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Button-Stil im Cookie-Banner */
.cookie-btn {
    margin: 5px;
    padding: 10px 15px;
    font-family: 'TTFirsNeue-Light', sans-serif;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    background-color: white;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.cookie-btn:hover {
    background-color: lightgray;
}

.image-slider {
    position: relative;
    width: clamp(150px, 80%, 350px); /* Dynamic width */
    margin: 0 auto;
    overflow: hidden;
    margin-top: 40px;
    margin-bottom: 30px;
}

.slides {
    display: flex;
    transition: transform 1s ease-in-out;
    width: 100%;
}

.slides img {
    width: 100%;
    height: auto;
    flex: 0 0 100%;
    object-fit: contain;
}

@media (min-width: 1001px) {
    .deferred-content {
      opacity: 0;
      transition: opacity 1.2s ease-in-out;
      display: block; /* Damit Höhe da ist, aber unsichtbar */
      height: auto;
    }
  
    body.show-content .deferred-content {
      opacity: 1;
    }
  }

  

  