* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "Futura Lt BT";
    src: url("./font/futuraltbt-webfont.woff2") format("woff2"),
         url("./font/futuraltbt-webfont.woff") format("woff");
}

@font-face {
    font-family: "Ostrich Sans Rounded Medium";
    src: url("./font/ostrich-rounded-webfont.woff2") format("woff2"),
         url("./font/ostrich-rounded-webfont.woff") format("woff");
}

body {
    background-color: transparent
    color: #333;
    font-family: "Futura Lt BT", Arial, sans-serif;
    line-height: 1.0;
}




/************** Kopfbereich ********************/
header {
    background-color: #667c63;
    color: white;
    padding: 15px 40px;
/*    height: 400px;*/
}

.header-row-one {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    padding-top: 10px;
    margin-bottom: 24px;
}

.header-row-two {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.header-row-single {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-row-title {
    text-decoration: none;
    font-family: "Ostrich Sans Rounded Medium", Arial, sans-serif;
    font-size: 128px;
    font-weight: 600;
    line-height: 1.2em;
    padding: 16px 0 0 0;
}

.header-row-subtitle {
    text-decoration: none;
    font-family: "Ostrich Sans Rounded Medium", Arial, sans-serif;
    font-size: 48px;
    font-weight: 600;
    padding: 16px 0 16px 0;
}

.header-row-single-title {
    text-decoration: none;
    font-family: "Ostrich Sans Rounded Medium", Arial, sans-serif;
    font-size: 3rem;
    font-weight: bold;
}

.header-row-single-subtitle {
    text-decoration: none;
    font-family: "Ostrich Sans Rounded Medium", Arial, sans-serif;
    font-size: 2rem;
    font-weight: bold;
}

.header-row-title2 {
    text-decoration: none;
    font-family: "Ostrich Sans Rounded Medium", Arial, sans-serif;
    font-size: 80px;
    font-weight: 400;
    line-height: 1.0em;
    padding: 16px 0 0 0;
}

.header-row-one2 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 0px;
    margin-bottom: 10px;
}



/* Die Klasse, die per JavaScript hinzugefügt wird */
.headershrink.is-hidden {
  transform: translateY(-50px); /* Verschiebt das Element nach oben aus dem Sichtbereich */
  opacity: 0;
  visibility: hidden; /* Versteckt es komplett, damit es nicht im Weg ist */
}



/************** Navbereich ********************/
nav {
    font-weight: bold;
    font-size: 20px;
}

.nav-main {
    margin-top: 48px;
    margin-bottom: 24px;
}

.nav-sub {
    margin-top: 6px;
    margin-bottom: 6px;
}

.top-bar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 999999 !important;
  background: #667c63;
  color: #fff;
  padding: 10px 10px;
  text-align: center;
  box-sizing: border-box;

  opacity: 0; /* erstmal unsichtbar*/
  visibility: hidden;
  overflow: visible !important;
}


.top-bar.shrink {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 999999 !important;
  background: #667c63;
  color: #fff;
  padding: 10px 10px;
  text-align: center;
  box-sizing: border-box;

  opacity: 1; /*dann sichtbar*/
  visibility: visible;
  overflow: hidden;
  
  transition: content-visibility 0.3s allow-discrete, opacity 0.3s ease, height 0.3s ease;
  animation: einblenden 0.3s ease-in;

  /*position: relative;*/
  z-index: 10;
  overflow: visible !important;
}


.top-bar.shrink {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 999999 !important;
  background: #667c63;
  color: #fff;
  padding: 10px 10px;
  text-align: center;
  box-sizing: border-box;

  opacity: 1; /*dann sichtbar*/
  visibility: visible;
  overflow: hidden;
  
  transition: content-visibility 0.3s allow-discrete, opacity 0.3s ease, height 0.3s ease;
  animation: einblenden 0.3s ease-in;

  /*position: relative;*/
  z-index: 10;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.95);
  overflow: visible !important;
}


.top-bar1 {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 999999 !important;
  background: #667c63;
  color: #fff;
  padding: 10px 10px;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
  transition: content-visibility 0.3s allow-discrete, opacity 0.3s ease, height 0.3s ease;
  animation: einblenden 0.3s ease-in;
  opacity: 1;
  visibility: visible;

  position: relative;
  z-index: 10;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.95);
  overflow: visible !important;
}





/************** Main ********************/
.mainmenu {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.mainmenu > li {
    position: relative;
}

.mainmenu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
}

.mainmenu a:hover {
    color: black;
}

.mainmenu > li:hover {
    color: black;
}

.mainmenu li:hover > a {
    color: black;
}





/************** submenues ********************/
.submenu1 {
    list-style: none;
    display: none;
    position: absolute;
    top: 100%; /* Direkt unter dem Hauptmenüpunkt */
    left: 0;
    background-color: #667c63;
    margin: 0;
    padding: 0;
    min-width: 200px;
    z-index: 100;
}

.submenu1 li a {
    color: white;
    padding: 10px 15px;
}

.submenu1 li a:hover {
    color: black;
}

.has-submenu:hover .submenu1 {
    display: block;
}

.submenu1right {
    list-style: none;
    display: none;
    position: absolute;
    top: 100%; /* Direkt unter dem Hauptmenüpunkt */
    right: 0;
    text-align: right;
    background-color: #667c63;
    margin: 0;
    padding: 0;
    min-width: 200px;
    z-index: 100;
}

.submenu1right li a {
    color: white;
    padding: 10px 15px;
}

.submenu1right li a:hover {
    color: black;
}

.has-submenu:hover .submenu1right {
    display: block;
}

/************** content ********************/
/* Inhaltsbereich */
main {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
}

.content-block {
    margin-bottom: 70px;
}

.content-block h1 {
    color: #667c63;
    font-size: 3rem;
    margin-top: 36px;
    margin-bottom: 24px;
}

.content-block h2 {
    color: #667c63;
    font-size: 2rem;
    font-weight: bold;
    margin-top: 24px;
    margin-bottom: 20px;
}

.content-block h3 {
    color: #667c63;
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 16px;
}

.content-block h4 {
    color: #667c63;
    font-size: 1.6rem;
    font-weight: bold;
    margin-top: 16px;
    margin-bottom: 12px;
}

.content-block h5 {
    color: #667c63;
    font-size: 1.4rem;
    font-weight: bold;
    margin-top: 12px;
    margin-bottom: 8px;
}

.content-block li {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-left: 25px;
    margin-bottom: 10px;
}

.content-block p {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}


.form-group {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #667c63;
    outline: none;
    box-shadow: 0 0 0 4px rgba(74,144,226,0.15);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.button-area {
    text-align: right;
}

button {
    background: #667c63;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.2s ease,
                transform 0.1s ease;
}

button:hover {
    color: black;
}

button:active {
    transform: scale(0.9);
}



/************** Images ********************/
/* Bilder nebeneinander */
.image-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    height: auto;
}

.image-row img {
    flex: 1;
    min-width: 250px;
    /*width: auto;*/
  width: 100%;
  height: auto;
  object-fit: cover; /* Bild füllt den Bereich aus, ohne das Seitenverhältnis zu verlieren */
  object-position: center; /* Zentriert das Bild im Container */
}


.image-row figure {
    flex: 1;
    min-width: 250px;
    margin: 0;
    text-align: center;
}


figcaption {
    margin-top: 10px;
    font-size: 0.9em;
    color: #555;
}


.grid-item {
  display: flex;
  flex-direction: column; /* Bild und Text untereinander anordnen */
  margin: 0;
}

.grid-item img {
  width: 100%;
  height: auto;
  object-fit: cover; /* Bild füllt den Bereich aus, ohne das Seitenverhältnis zu verlieren */
  object-position: center; /* Zentriert das Bild im Container */
  }

.grid-item figcaption {
  text-align: center; /* Text zentrieren */
  margin-top: 10px;   /* Etwas Abstand zum Bild */
  font-size: 0.9em;
  color: #555;
}




/************** footerbereich ********************/
footer {
    background-color: #667c63;
    color: white;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

footer a {
    color: white;
    text-decoration: none;
    margin-right: 20px;
    font-size: 1.2rem;
    font-weight: bold;
}

footer a:hover {
    color: black;
}

/************** SocialMedia ********************/
/* Social Media Icons */
.socials {
    display: flex;
    gap: 18px;
}

.socials a {
    color: white;
    font-size: 1.4rem;
    transition: transform 0.3s, opacity 0.3s;
}

.socials a:hover {
    color: white;
    transform: scale(1.2);
    opacity: 0.8;
}


/************* Responsive **************/
@media (max-width: 768px) {
    .header-row-one {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        margin-bottom: 12px;
    }

    .header-row-two {
        flex-direction: column;
        text-align: center;
        margin-bottom: 12px;
    }

    header h1 {
        line-height: 1.0em;
        padding: 8px 0 0 0;
    }

    header h2 {
        padding: 8px 0 8px 0;
    }

    .mainmenu {
        justify-content: space-between;
        gap: 0;
    }

    .image-row img {
        border-radius: 10px;
    }

    .form-group {
        grid-template-columns: 1fr;
    }

    .button-area {
        text-align: center;
    }

    footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }


}


/************* detail **************/
details {
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: -10px;
  padding: 10px;
}

/* Der Text wird fett, sobald das details-Element geöffnet ist */
details[open] {
    font-weight: bold;
}

/* 4. Bild drehen, wenn der Bereich geöffnet ist */
details[open] summary::before {
  transform: rotate(180deg); /* Dreht das Bild um 90 Grad beim Aufklappen */
}

/* Optional: Falls der Text im zugeklappten Zustand normal bleiben soll */
details:not([open]) {
    font-weight: normal;
}

/* Der Trick für den sanften Übergang */
details ::details-content {
  overflow: hidden;
  transition: content-visibility 0.5s allow-discrete, opacity 0.5s ease, height 0.5s ease;
  height: 0;
  opacity: 0;
}

/* Zustand, wenn das Element geöffnet ist */
details[open] ::details-content {
  height: auto;
  opacity: 1;
}


/* 1. Verstecke den Standard-Marker */
details summary::-webkit-details-marker { display: none; }
details summary { list-style: none; }

/* 2. Transformiere das Details-Element in ein Grid */
details .details-wrapper {
  display: grid;
  grid-template-rows: 0fr; /* Startzustand: Höhe 0 */
  transition: grid-template-rows 0.4s ease-out;
}

details[open] .details-wrapper {
  grid-template-rows: 1fr; /* Endzustand: Höhe auto */
}

/* 3. Verhindere Überlauf, damit es sauber einklappt */
details .details-content {
  overflow: hidden;
}


/************* summary **************/
/* 1. Standard-Pfeil in allen Browsern ausblenden */
/* Platz für das eigene Bild schaffen und Flexbox für die Ausrichtung nutzen */
summary {
    list-style: none; /* Standard-Marker entfernen */
    cursor: pointer;
    display: grid;
    grid-template-columns: 30px auto;
    gap: 10px;
}

summary::-webkit-details-marker {
  display: none; /* Spezifisch für Safari */
}

/* 3. Eigenes Bild als Icon einfügen */
summary::before {
  content: "";
  display: inline-block;
  width: 30px;  /* Passe die Breite an dein Bild an */
  height: 30px; /* Passe die Höhe an dein Bild an */
  margin-left: -10px; /* Abstand zwischen Text und Bild */
  margin-bottom: -10px; /* Abstand zwischen Text und Bild */
  background-image: url("image/ask.png"); /* Hier den Pfad deines Bildes einfügen */
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.5s ease; /* Macht die Drehung flüssig */
}

summary:hover {
    font-weight: bold;
}


/****für Fragen und Antworten ****/
.summary.frage {
    cursor: pointer;
    grid-column: 2;
}


.summary.antwort {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    font-weight: normal;
    transition:
    max-height 1.4s ease,
    opacity 0.3s ease;
    grid-column: 2;
}

.summary.antwort.sichtbar {
    opacity: 1;
    grid-column: 2;
    font-weight: normal;
}

.summary.icon {
    width: 20px;
    height: 20px;
    grid-column: 1;
    font-weight: normal;
}

/**********/




#antwort-box {
    opacity: 1; /* Fallback für sehr alte Browser (z.B. IE8) */
    animation: einblenden 1s ease-in;
}

@keyframes einblenden {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


.antwort {
    margin-left: 30px;
    margin-top: 10px;

    max-height: 0;
    opacity: 0;
    overflow: hidden;

    transition:
    max-height 0.6s ease,
    opacity 0.6s ease;
    grid-column: 2;
    font-weight: normal;
}

.antwort.sichtbar {
    opacity: 1;
    max-height: 5000px; /* ausreichend groß wählen */
    overflow: auto;
}


/*------------------------------------------------------------------------*/
/* Mittleres Menüband */
.middle {
    background-color: #667c63;
    padding: 15px 40px;
    font-family: "Futura Lt BT", sans-serif;
    line-height: 1.7;
}

.middle m1 {
    color: white;
    text-decoration: none;
    line-height: 0.8;
    font-size: 2rem;
}






/* Middle
.middle {
    background-color: #667c63;
    padding: 15px 40px;
    width: 100%;
    height: 250px;
    font-family: "Futura Lt BT", sans-serif;
    line-height: 1.7;
}

.middle m1 {
    color: white;
    text-decoration: none;
    line-height: 0.8;
    font-size: 2rem;
}
 */

