
/* =========================================
   ALLGEMEINE EINSTELLUNGEN
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #333B36;
    background-color: #E8EDE5;
    line-height: 1.65;
}
/* Klassische Schrift für Überschriften */

h1, h2, h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: normal;
    color: #396D39;
}
.subtitle {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    letter-spacing: 0.5px;
    color: #718D70;
    font-weight: normal;
}
/* Weißes Website-Blatt */

.page-wrapper {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    background-color: #FFFFFF;
    min-height: 100vh;
    box-shadow: 0 0 35px rgba(40, 60, 40, 0.12);
    position: relative;
}


/* =========================================
   KOPFBEREICH UND NAVIGATION
========================================= */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 6%;
    background-color: rgba(245, 247, 242, 0.88);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    min-height: 115px;
}

/* Logo */

.logo a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    text-decoration: none;
}

.logo img {
    display: block;
    width: auto;
    max-width: 140px;
    height: 85px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-name {
    font-size: 42px;
    font-weight: bold;
    letter-spacing: 3px;
    line-height: 1.1;
    color: #396D39;
}

.logo-subtitle {
    font-size: 12px;
    letter-spacing: 0.5px;
    color: #5D7734;
    margin-top: 4px;
}


/* Navigation */

nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

nav a {
    color: #333B36;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

nav a:hover {
    color: #396D39;
    border-bottom-color: #718D70;
}


/* =========================================
   GROSSES BANNERBILD
========================================= */

.hero-banner {
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.hero-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* =========================================
   VORSTELLUNG DES BÜROS
========================================= */

.hero {
    display: grid;

    /* Linker Textbereich und rechter Kontaktbereich */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    align-items: stretch;
    gap: 35px;
    padding: 25px 6% 55px;
}

.hero-text {
    max-width: 100%;
    padding-right: 10px;
}

.hero-text h1 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
    color: #396D39;
    margin: 12px 0 18px;
}


.hero-text > p {
    font-size: 16px;
    max-width: 700px;
    margin-bottom: 0;
}


/* =========================================
   KONTAKTKASTEN
========================================= */


.contact-info {
    background-color: #F1F5EE;
    border: 1px solid #D5E0D0;
    border-radius: 4px;
    padding: 30px 35px;
    width: 100%;
    margin: 0;
    box-shadow: 0 2px 8px rgba(40, 60, 40, 0.04);
}

.contact-info h3 {
    color: #396D39;
    font-size: 22px;
    margin-bottom: 18px;
}

.contact-info p {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 14px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info a {
    color: #396D39;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid #5D7734;
    padding-bottom: 2px;
}

.contact-info a:hover {
    color: #718D70;
    border-bottom-color: transparent;
}


/* =========================================
   FUSSBEREICH
========================================= */

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 25px 6%;
    font-size: 12px;
    background-color: #F5F7F2;
    border-top: 1px solid #DCE3D8;
}

footer a {
    color: #555;
    text-decoration: none;
    margin-left: 15px;
}

footer a:hover {
    color: #396D39;
}


/* =========================================
   TABLET-DARSTELLUNG
========================================= */

@media (max-width: 1000px) {


    .hero {
        gap: 25px;
        padding-left: 5%;
        padding-right: 5%;
    }

    .contact-info {
        padding: 28px;
    }

}


/* =========================================
   MOBILE DARSTELLUNG
========================================= */

@media (max-width: 800px) {


    .logo img {
        max-width: 100px;
        height: 65px;
    }

    .logo-name {
        font-size: 32px;
    }

    .logo-subtitle {
        font-size: 10px;
    }


    /* Banner */

    .hero-banner {
        height: 240px;
    }

    /* Bürovorstellung untereinander */

    .hero {
        display: grid;
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px 6% 40px;
    }

    .hero-text {
        padding-right: 0;
    }

    /* Kontaktkasten */

    .contact-info {
        width: 100%;
        min-width: 0;
        max-width: none;
        padding: 22px;
    }

    /* Fußbereich */

    footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    footer a:first-child {
        margin-left: 0;
    }

}

/* =========================================
   LEISTUNGSSPEKTRUM
========================================= */

.leistungen-page {
    padding-bottom: 60px;
}

/* Einleitung */

.page-intro {
    padding: 155px 8% 45px;
    max-width: 1150px;
}

.page-intro h1 {
    font-size: clamp(32px, 4vw, 48px);
    color: #396D39;
    line-height: 1.15;
    margin: 12px 0 20px;
}

.intro-text {
    font-size: 18px;
    max-width: 850px;
    line-height: 1.8;
}

/* Leistungsübersicht */

.leistungen-content {
    padding: 35px 8% 55px;
    background-color: #F5F7F2;
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading h2 {
    color: #396D39;
    font-size: clamp(24px, 3vw, 32px);
    margin-top: 8px;
    line-height: 1.3;
}

/* Einzelne Leistungsblöcke */

.leistung-block {
    background-color: #FFFFFF;
    padding: 24px 28px;
    margin-bottom: 16px;
    border: 1px solid #D5E0D0;
    border-radius: 0;
    box-shadow: none;
}

.leistung-block h3 {
    color: #396D39;
    font-size: 20px;
    margin-bottom: 14px;
}

.leistung-block ul {
    padding-left: 22px;
}

.leistung-block li {
    padding-left: 5px;
    margin-bottom: 9px;
    line-height: 1.7;
}

.leistung-block li:last-child {
    margin-bottom: 0;
}

/* Besondere Fachkompetenz */

.fachkompetenz {
    padding: 55px 8%;
}

.fachgebiet {
    display: grid;
    grid-template-columns: 35% 1fr;
    gap: 35px;
    align-items: center;
    margin-bottom: 35px;
    padding: 25px;
    background-color: #F5F7F2;
}

.fachgebiet-image img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.fachgebiet-text h3 {
    color: #396D39;
    font-size: 24px;
    margin-bottom: 12px;
}

.fachgebiet-text p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.fachgebiet-text p:last-child {
    margin-bottom: 0;
}

/* Abschließender Hinweis */

.leistungen-hinweis {
    margin: 0 8%;
    padding: 25px 30px;
    background-color: #F1F5EE;
    border: 1px solid #D5E0D0;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.8;
}

/* Mobile Darstellung */

@media (max-width: 800px) {

    .page-intro {
        padding: 40px 6% 30px;
    }

    .intro-text {
        font-size: 16px;
    }

    .leistungen-content {
        padding: 35px 6%;
    }

    .leistung-block {
        padding: 22px;
    }

    .fachkompetenz {
        padding: 40px 6%;
    }

    .fachgebiet {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 18px;
    }

    .fachgebiet-image img {
        height: 220px;
    }

    .leistungen-hinweis {
        margin: 0 6%;
        padding: 22px;
    }

}

/* =========================================
   ARTENGRUPPEN
========================================= */

.artengruppen-page {
    padding-bottom: 60px;
}

/* Bildergalerie */

.artengruppen-content {
    padding: 20px 8% 50px;
}

.artengruppen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.artengruppe {
    display: block;
    text-decoration: none;
    color: #333B36;
    background-color: #FFFFFF;
    border: 1px solid #D5E0D0;
    padding: 12px;
    transition: background-color 0.2s;
}

.artengruppe:hover {
    background-color: #F5F7F2;
}

.artengruppe img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
    margin-bottom: 15px;
}

.artengruppe h2 {
    font-size: 21px;
    font-weight: normal;
    margin-bottom: 7px;
}

.artengruppe p {
    font-size: 14px;
    line-height: 1.6;
}

/* Technische Ausstattung */

.artengruppen-info {
    margin: 0 8% 40px;
    padding: 25px 30px;
    background-color: #F5F7F2;
    border: 1px solid #D5E0D0;
}

.artengruppen-info h2 {
    font-size: 24px;
    margin-bottom: 12px;
}

/* Untersuchungsmethoden */

.untersuchungsmethoden {
    padding: 25px 8% 40px;
}

.untersuchungsmethoden h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.untersuchungsmethoden h3 {
    font-size: 21px;
    margin: 25px 0 12px;
}

.untersuchungsmethoden p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.untersuchungsmethoden ul {
    padding-left: 25px;
}

.untersuchungsmethoden li {
    padding-left: 5px;
    margin-bottom: 12px;
    line-height: 1.7;
}

/* Abschließender Hinweis */

.artengruppen-hinweis {
    margin: 0 8%;
    padding: 25px 30px;
    background-color: #F1F5EE;
    border: 1px solid #D5E0D0;
    font-size: 16px;
    line-height: 1.8;
}

/* Tablet */

@media (max-width: 1000px) {

    .artengruppen-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* Smartphone */

@media (max-width: 800px) {

    .artengruppen-content {
        padding: 20px 6% 40px;
    }

    .artengruppen-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .artengruppe img {
        height: 220px;
    }

    .artengruppen-info,
    .artengruppen-hinweis {
        margin-left: 6%;
        margin-right: 6%;
        padding: 22px;
    }

    .untersuchungsmethoden {
        padding: 25px 6% 35px;
    }

}

/* =========================================
   ÜBER UNS
========================================= */

.ueber-uns-page {
    padding-bottom: 60px;
}

.ueber-uns-abschnitt {
    padding: 25px 8% 30px;
    max-width: 1250px;
}

.ueber-uns-abschnitt h2 {
    font-size: 27px;
    font-weight: normal;
    margin-bottom: 18px;
    color: #396D39;
}

.ueber-uns-abschnitt p {
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 18px;
    max-width: 1050px;
}

.ueber-uns-abschnitt p:last-child {
    margin-bottom: 0;
}

/* Bürodaten */

.ueber-uns-daten {
    margin: 20px 8% 0;
    padding: 28px 30px;
    background-color: #F5F7F2;
    border: 1px solid #D5E0D0;
}

.ueber-uns-daten h2 {
    font-size: 25px;
    font-weight: normal;
    color: #396D39;
    margin-bottom: 22px;
}

.daten-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.daten-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.daten-item strong {
    color: #718D70;
    font-size: 13px;
    font-weight: normal;
}

.daten-item span {
    font-size: 16px;
    color: #333B36;
}

/* Mobile Darstellung */

@media (max-width: 800px) {

    .ueber-uns-abschnitt {
        padding: 20px 6% 25px;
    }

    .ueber-uns-abschnitt h2 {
        font-size: 24px;
    }

    .ueber-uns-daten {
        margin: 15px 6% 0;
        padding: 22px;
    }

    .daten-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

}

/* =========================================
   KONTAKTSEITE
========================================= */

.kontakt-page {
    padding-bottom: 70px;
}

.kontakt-content {
    padding: 20px 8% 50px;
}

.kontakt-box {
    max-width: 650px;
    background-color: #F5F7F2;
    border: 1px solid #D5E0D0;
    padding: 35px 40px;
}

.kontakt-box h2 {
    font-size: 26px;
    font-weight: normal;
    color: #396D39;
    margin-bottom: 20px;
}

.kontakt-adresse {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.kontakt-detail {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 15px;
}

.kontakt-detail strong {
    color: #396D39;
    font-weight: normal;
}

.kontakt-detail a {
    color: #396D39;
    text-decoration: none;
    border-bottom: 1px solid #D5E0D0;
    width: fit-content;
}

.kontakt-detail a:hover {
    color: #718D70;
    border-bottom-color: transparent;
}


/* Smartphone */

@media (max-width: 800px) {

    .kontakt-content {
        padding: 20px 6% 40px;
    }

    .kontakt-box {
        padding: 25px 22px;
    }

    .kontakt-detail {
        grid-template-columns: 85px 1fr;
        gap: 8px;
    }

}

/* =========================================
   IMPRESSUM
========================================= */

.impressum-page {
    padding-bottom: 70px;
}

.impressum-content {
    padding: 20px 8% 50px;
}

.impressum-box {
    max-width: 750px;
    padding: 35px 40px;
    background-color: #F5F7F2;
    border: 1px solid #D5E0D0;
}

.impressum-box h2 {
    font-size: 23px;
    font-weight: normal;
    margin-bottom: 25px;
}

.impressum-box h3 {
    font-size: 19px;
    margin: 25px 0 10px;
}

.impressum-box p {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 15px;
}

.impressum-box a {
    color: #396D39;
    text-decoration: none;
    border-bottom: 1px solid #D5E0D0;
}

.impressum-box a:hover {
    color: #718D70;
    border-bottom-color: transparent;
}

@media (max-width: 800px) {

    .impressum-content {
        padding: 20px 6% 40px;
    }

    .impressum-box {
        padding: 25px 22px;
    }

}

/* =========================================
   DATENSCHUTZERKLÄRUNG
========================================= */

.datenschutz-page {
    padding-bottom: 70px;
}

.datenschutz-content {
    padding: 20px 8% 60px;
}

.datenschutz-block {
    max-width: 1000px;
    background-color: #F5F7F2;
    border: 1px solid #D5E0D0;
    padding: 30px 35px;
    margin-bottom: 18px;
}

.datenschutz-block h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: normal;
    color: #396D39;
    margin-bottom: 18px;
}

.datenschutz-block p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.datenschutz-block p:last-child {
    margin-bottom: 0;
}

.datenschutz-block ul {
    padding-left: 25px;
    margin: 15px 0;
}

.datenschutz-block li {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 6px;
}

.datenschutz-block a {
    color: #396D39;
    text-decoration: none;
    border-bottom: 1px solid #D5E0D0;
}

.datenschutz-block a:hover {
    color: #718D70;
    border-bottom-color: transparent;
}

/* Smartphone */

@media (max-width: 800px) {

    .datenschutz-content {
        padding: 20px 6% 40px;
    }

    .datenschutz-block {
        padding: 23px 20px;
    }

    .datenschutz-block h2 {
        font-size: 20px;
    }

    .datenschutz-block p,
    .datenschutz-block li {
        font-size: 14px;
    }

}

/* =========================================
   VERÖFFENTLICHUNGEN
========================================= */

.veroeffentlichungen-page {
    padding-bottom: 60px;
}

.veroeffentlichungen-content {
    padding: 35px 8% 60px;
    background-color: #F5F7F2;
}

.veroeffentlichungen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.veroeffentlichung-item {
    display: block;
    padding: 30px;
    background-color: #FFFFFF;
    border: 1px solid #D5E0D0;
    text-decoration: none;
    color: #333B36;
    transition: background-color 0.2s;
}

.veroeffentlichung-item:hover {
    background-color: #F9FBF8;
}

.veroeffentlichung-item h3 {
    font-size: 25px;
    margin-bottom: 14px;
}

.veroeffentlichung-item p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.veroeffentlichung-item span {
    color: #396D39;
    font-size: 14px;
    font-weight: bold;
}

/* Mobile Darstellung */

@media (max-width: 800px) {

    .veroeffentlichungen-content {
        padding: 30px 6% 40px;
    }

    .veroeffentlichungen-grid {
        grid-template-columns: 1fr;
    }

}



/* Navigation der Zeiträume */

.veroeffentlichungen-nav {
    padding: 20px 8% 10px;
    background-color: #F5F7F2;
}

.veroeffentlichungen-nav h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.zeitraum-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.zeitraum-links a {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #D5E0D0;
    background-color: #FFFFFF;
    color: #396D39;
    text-decoration: none;
    font-size: 15px;
}

.zeitraum-links a:hover {
    background-color: #E8EDE5;
}

/* Zeiträume */

.publikations-jahr {
    padding: 0 6%;
    margin: 0;
    border: none;
    scroll-margin-top: 25px;
}

.publikations-jahr > h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: normal;
    color: #396D39;
    margin-bottom: 30px;
    padding-bottom: 12px;
    border-bottom: 1px solid #D5E0D0;
}
.publikations-jahr .publikationsliste h3:first-child {
    margin-top: 10px;
}
/* Publikationslisten */

.publikationsliste {
    max-width: none;
}

/* Jahresüberschriften mit Trennstrich */

.publikationsliste h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: normal;
    color: #396D39;
    margin: 10px 0 12px;
}

/* Publikationstexte */

.publikationsliste p {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 10px;
    padding-left: 18px;
}
.publikationsliste p:last-child {
    margin-bottom: 0;
}

/* Autorennamen */

.autoren {
    font-variant: small-caps;
    letter-spacing: 0.3px;
}

/* Mobile Darstellung */

@media (max-width: 800px) {

    .veroeffentlichungen-nav {
        padding: 20px 6% 30px;
    }

    .zeitraum-links {
        gap: 10px;
    }

    .zeitraum-links a {
        padding: 9px 14px;
        font-size: 14px;
    }

    .publikations-jahr {
        padding: 30px 6% 45px;
    }

    .publikations-jahr > h2 {
        font-size: 26px;
    }


    .publikationsliste p {
        font-size: 13px;
        padding-left: 5px;
    }

}
/* =========================================
   ZURÜCK ZUM SEITENANFANG
========================================= */

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 48px;
    height: 48px;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: #396D39;
    color: #FFFFFF;

    font-size: 26px;
    text-decoration: none;

    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(40, 60, 40, 0.18);

    z-index: 100;
    transition: background-color 0.2s;
}

.back-to-top:hover {
    background-color: #718D70;
}

/* Smartphone */

@media (max-width: 800px) {

    .back-to-top {
        right: 18px;
        bottom: 18px;
        width: 42px;
        height: 42px;
        font-size: 23px;
    }

}

/* Button erst nach dem Scrollen anzeigen */

.back-to-top[hidden] {
    display: none;
}

/* =========================================
   OPTIMIERUNG DER INHALTSBREITE
========================================= */

/* Allgemeine Seitenbreite */

.page-intro,
.ueber-uns-abschnitt,
.impressum-content,
.kontakt-content,
.datenschutz-content,
.artengruppen-content,
.untersuchungsmethoden,
.publikations-jahr,
.publikationszeitraum,
.veroeffentlichungen-nav {
    padding-left: 6%;
    padding-right: 6%;
}

/* Textbereiche besser ausnutzen */

.page-intro,
.ueber-uns-abschnitt {
    max-width: none;
}

/* Impressum und Kontakt */

.impressum-box {
    max-width: 950px;
}

.kontakt-box {
    max-width: 850px;
}

/* Datenschutz */

.datenschutz-block {
    max-width: none;
}

/* Einleitungstexte */

.intro-text {
    max-width: 1100px;
}

/* Mobile Darstellung bleibt unverändert */

@media (max-width: 800px) {

    .page-intro,
    .ueber-uns-abschnitt,
    .impressum-content,
    .kontakt-content,
    .datenschutz-content,
    .artengruppen-content,
    .untersuchungsmethoden,
    .publikations-jahr,
    .publikationszeitraum,
    .veroeffentlichungen-nav {
        padding-left: 6%;
        padding-right: 6%;
    }

}

/* =========================================
   KONTAKTKASTEN MIT FOTO – STARTSEITE
========================================= */

.contact-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 20px;
    align-items: center;
}

.contact-details {
    min-width: 0;
}

.contact-image {
    width: 100%;
}

.contact-image img {
    display: block;
    width: 100%;
    height: 165px;
    object-fit: cover;
    border-radius: 3px;
}

/* Smartphone */

@media (max-width: 800px) {

    .contact-inner {
        grid-template-columns: 1fr 110px;
        gap: 15px;
    }

    .contact-image img {
        height: 130px;
    }

}
/* Abstände auf der Veröffentlichungsseite optimieren */

.veroeffentlichungen-page .page-intro {
    padding-bottom: 15px;
}

.veroeffentlichungen-page .veroeffentlichungen-nav {
    padding-top: 10px;
    padding-bottom: 10px;
}

.veroeffentlichungen-page .publikations-jahr {
    padding-top: 10px;
}

/* =========================================
   PDF-LINKS IN DEN VERÖFFENTLICHUNGEN
========================================= */

.pub-pdf {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pub-pdf:hover {
    color: #396D39;
    text-decoration: underline;
    text-decoration-color: #718D70;
    text-underline-offset: 3px;
}

/* PDF-Kennzeichen */

.pdf-hinweis {
    display: inline-block;
    margin-left: 7px;
    padding: 2px 8px;

    background-color: #396D39;
    color: #FFFFFF;

    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.5px;

    border-radius: 3px;
    vertical-align: 2px;
    white-space: nowrap;

    transition: background-color 0.2s ease;
}

/* Mauszeiger über PDF-Link */

.pub-pdf:hover .pdf-hinweis {
    background-color: #718D70;
}

/* =========================================
   RESPONSIVE MOBILE-NAVIGATION
========================================= */

/* Menübutton auf Desktop ausblenden */

.menu-toggle {
    display: none;
    width: 46px;
    height: 42px;
    border: none;
    border-radius: 4px;
    background-color: #396D39;
    cursor: pointer;

    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

/* Drei Striche des Hamburger-Menüs */

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #FFFFFF;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Tablet und Smartphone */

@media screen and (max-width: 1000px) {

    header {
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        width: 100%;
        min-height: 90px;
        padding: 12px 5%;
        background-color: #F5F7F2;
        z-index: 1000;
    }

    /* Menübutton */

    header .menu-toggle {
        display: flex;
        flex-shrink: 0;
        position: relative;
        z-index: 1002;
    }

    /* Navigation geschlossen */

    header nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-top: 15px;
        padding: 8px 0;
        background-color: #F5F7F2;
        border-top: 1px solid #D5E0D0;
    }

    /* Navigation geöffnet */

    header.menu-open nav {
        display: flex;
    }

    header nav a {
        display: block;
        padding: 13px 10px;
        color: #333B36;
        font-size: 15px;
        border-bottom: 1px solid #DCE3D8;
    }

    header nav a:last-child {
        border-bottom: none;
    }

    header nav a:hover {
        background-color: #E8EDE5;
    }
}

/* Tastaturbedienung */

.menu-toggle:focus-visible {
    outline: 3px solid #718D70;
    outline-offset: 3px;
}
