/* ==========================================================================
   1. Grundlegende Stile (Body, Schriften)
   ========================================================================== */

body {
    font-family: Arial, sans-serif;
    font-size: 100%;
    line-height: normal;
    margin: 0;
    padding: 0 0 50px 0; /* Fester Abstand unten */
    background-color: #ffffff;
    color: #000000;
}

a {
  color: indigo;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/* ==========================================================================
   2. Seitenlayout (Haupt-Grid-Container)
   ========================================================================== */

.page-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "header"
        "content"
        "footer";
}

/* ==========================================================================
   3. Header
   ========================================================================== */

.site-header {
    grid-area: header;
    position: fixed;
    width: 100%;
    padding: 1.3rem 0 1.3rem 0;
    background-color: rgba(255, 255, 255, 0.7);
    color: #000000;
    text-align: center;
    border-bottom: 1px solid #eeeeee;
    z-index: 1000;
}

.site-header h1 {
    font-family: Futura, 'Trebuchet MS', sans-serif;
    font-size: 32px;
    margin: 0; /* Hinzugefügt für Konsistenz */
	opacity: 0.9;
}



.site-header h2 {
    font-family: Arial, 'Trebuchet MS', sans-serif;
    font-size: 16px;
    margin: 0;
}

.site-header a {
    color: inherit;
    text-decoration: none;
transition: 0.3s;

}

.site-header a:hover {

color: hotpink;
}

/* ==========================================================================
   4. Navigation
   ========================================================================== */

.main-navigation {
    padding: 0;
    border-right: none;
}

.main-navigation ul {
    display: grid;
    grid-template-columns: 1fr;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-navigation ul li {
    display: block;
    margin: 0 2px;
    text-align: left;
    padding-left: 0;
}

.main-navigation ul li:last-child {
    margin-bottom: 0;
}

.main-navigation ul li a {
    color: #000000;
    text-decoration: none;
    font-weight: normal;
    padding: 2px;
    display: block;
    transition: background-color 0.2s ease, color 0.2s ease;
}


.main-navigation ul li a:hover {
    text-decoration: underline;
}


/* --- Aufklappmenü (Dropdown) --- */
.main-navigation .has-dropdown {
    position: relative;
}

.main-navigation .has-dropdown > a::after {
    content: ' ▾';
    font-size: 0.8em;
}

.main-navigation .dropdown-menu {
    display: none;
    list-style: none;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2px 0;
    margin: 2px 0 0 0;
    border-radius: 3px;
	 transition: all 0.3s;
}



.main-navigation .has-dropdown.active .dropdown-menu {
    display: block;
}

.main-navigation .dropdown-menu li {
    text-align: left;
    margin-left: 15px;
    padding: 0;
}

.main-navigation .dropdown-menu li a {
    font-size: 0.9em;
}



/* --- Navigationsleiste (oben links) --- */
.fixed-bottom-bar {
    position: fixed;
    top: 5px;
    margin-left: 10px;
    width: auto;
    z-index: 1000;
    background-color: transparent;
}


.main-navigation .dropdown-menu > li.active > a {
  color: hotpink; /* Rote Farbe */
  text-decoration: underline;
}


/* ==========================================================================
   5. Hauptinhaltsbereich (Content Area)
   ========================================================================== */

.content-area {
    grid-area: content;
    margin-top: 0px;
    padding: 100px 40px 0px 110px;
    background-color: #ffffff;
   
}

.content-area section {
    padding: 20px 0;

    margin-bottom: 10px;
}

.content-area section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.content-area h2 {
    max-width: 700px;
    margin-bottom: 0.2rem;
    font-family: Futura, sans-serif;
    font-size: 1.2em;
    font-weight: normal;
    text-align: left;
    letter-spacing: -0.5px;
    line-height: 1.6;

}


/* ==========================================================================
   6. Galerie (Kachel-Layout)
   ========================================================================== */

.content-area .galerie-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 200px));
    gap: 20px;
    padding: 10px 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0px;
    justify-content: center;
    max-width: 1200px;
}

.content-area .galerie-item {
    position: relative;
    display: block;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s ease;
    max-width: 300px;
}

.content-area .galerie-item:hover {
    transform: scale(1.01);
    box-shadow: none;
}

.content-area .galerie-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-bottom: 0 solid #eeeeee;
}

.content-area .galerie-item-title {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 2px 5px;
    font-style: regular;
    font-size: 22px;
    letter-spacing: 0.05rem;
    color: rgb(255, 255, 255);
    background-color: rgba(0,0,0, 0.78);
    text-align: left;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

.content-area .galerie-item:hover .galerie-item-title {
    opacity: 1;
}

a.gallery-link {
    text-decoration: none;
    color: inherit;
}


/* ==========================================================================
   7. Spezifische Seiten-Layouts & Grids
   ========================================================================== */

/* --- "Über mich"-Seite --- */
.about-container {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 40px;
}

.about-container .galerie-item {
    flex-shrink: 0;
    margin-left: 90px;
	
}

.about-text {
    flex-grow: 1;
}

.about-text h3 {
    margin-top: 0;
    font-size: 1.1em;
    text-decoration: underline;
}

.about-text p {
    font-size: 1em;
    line-height: 1.6;
}

.about-image-container img {
    width: 100%;
    height: 100%;
	max-width: 600px;
    object-fit: contain;
    display: block;
}

/* --- Reportage-Unterseiten --- */
.reportage-section h2 {
    max-width: 700px;
    padding-left: 0;
    margin-bottom: 0.2rem;
    font-family: Futura, sans-serif;
    font-size: 1.2em;
    font-weight: normal;
    text-align: left;
    letter-spacing: -0.7px;
    line-height: 1.6;
}

.reportage-intro {
    max-width: 40%;
    margin-top: 10px;
    
    text-align: left;
    font-size: 1.1em;
    line-height: 1.6;
}

.reportage-intro a:link {
    color: #6c6c6c;
}

.reportage-intro a:hover {
    color: #000000;
}

.reportage-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: normal;
    margin-left: 0px;
}

.reportage-image-container {
    flex: 1 1 calc(50% - 20px);
 
    min-width: 300px;
	
}

.reportage-image-container img {
    width: 100%;
    height: 100%;
	max-width: 600px;
max-height: 600px;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}

.reportage-image-container img:hover {
    transform: scale(1.01);
    box-shadow: none;
}

/* --- Benutzerdefiniertes Portrait-Grid --- */
.custom-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(100px, auto);
    gap: 30px;
    padding: 20px;
}

.grid-item {
    display: flex;
    flex-direction: column;
}

.grid-item img {
    width: 100%;
    height: 100%;
    max-height: 700px;
    object-fit: contain;
    flex-grow: 1;
    min-height: 0; /* Wichtiger Flexbox-Fix */
}

.static-caption {
    padding: 0px;
    font-size: 0.9em;
    text-align: center;
    line-height: 1.05;
    width: 100%;
    background-color: #ffffff;
}


/* Positionierung der Grid-Items */
.item-a { grid-column: 1 / span 1; grid-row: 1 / span 2; }
.item-b { grid-column: 2 / span 2; grid-row: 1 / span 1; }
.item-c { grid-column: 3 / span 1; grid-row: 2; }
.item-d { grid-column: 4; grid-row: 3; }
.item-e { grid-column: 1 / span 2; grid-row: 3 / span 1; }
.item-f { grid-column: 2 / span 2; grid-row: 4; }
.item-g { grid-column: 3; grid-row: 5; }
.item-h { grid-column: 1 / span 1; grid-row: 4; }
.item-i { grid-column: 1 / span 2; grid-row: 5; }
.item-j { grid-column: 4 / span 1; grid-row: 6; }
.item-k { grid-column: 1 / span 2; grid-row: 6; }
.item-l { grid-column: 2 / span 2; grid-row: 7; }
.item-m { grid-column: 1 / span 1; grid-row: 8; }
.item-n { grid-column: 3 / span 1; grid-row: 8; }
.item-o { grid-column: 1 / span 2; grid-row: 9; }
.item-p { grid-column: 3 / span 1; grid-row: 9; }

/* Stile für die neue Galerie-Seite mit max. 2 Spalten */

.content-area .zwei-spalten-galerie {
 
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/*
 Stile für die neue, flexible Drei-Spalten-Galerie
*/

/* Der Container für die Flexbox-Logik */
.flex-gallery {
    display: flex;
    flex-wrap: wrap; 
    gap: 15px;
    padding: 10px;
}

/*
  NEUER, SPEZIFISCHER SELEKTOR:
  Gilt nur für Bild-Container, die sich INNERHALB der .flex-gallery befinden.
  Dadurch werden die alten Stile überschrieben.
*/
.flex-gallery .reportage-image-container {
    flex: 1 1 30%; 
    min-width: 300px;

    /* NEU: Begrenzt die maximale Breite der Bilder */
    max-width: 450px; 
    
    height: auto;
    margin: 0;
}

/* Das Bild innerhalb des Containers */
.flex-gallery .reportage-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Wie zuletzt gewünscht */
    display: block;
	max-height: 500px;
}

/*
 Stile für die neue, einspaltige Galerie
*/

/* Der Haupt-Container */
.einspaltige-galerie {
    display: flex;
    flex-direction: column; /* Richtet die Elemente untereinander aus */
    align-items: center;     /* Zentriert die Spalte horizontal */
    gap: 50px;               /* Der vertikale Abstand zwischen den Bildern */
    padding: 20px 0;
}

/* Der Container für jedes einzelne Bild mit Unterschrift */
.einspaltige-galerie .einspaltig-item {
    width: 100%;
    max-width: 800px; /* Begrenzt die Breite auf großen Bildschirmen */
    
    /* Setzt störende Stile von .reportage-image-container zurück */
    flex: none;
    min-width: 0;
}

/* Das Bild selbst */
.einspaltige-galerie .einspaltig-item img {
    width: 100%;
    height: auto; /* Höhe passt sich automatisch an */
    display: block;
}

/* Wiederverwendung des bestehenden Stils für die Bildunterschrift */
.einspaltige-galerie .einspaltig-item .static-grid-caption {
    margin-top: 10px;
    text-align: center; /* Unterschriften hier zentrieren */
}


/* ==========================================================================
   8. Komponenten (Lightbox, Swiper)
   ========================================================================== */

/* --- Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.9);
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    animation: zoomIn 0.3s forwards;
}

.lightbox-caption {
    margin-top: 0;
    padding: 0 20px;
    text-align: left;
    color: #ccc;
    font-size: 1.0em;
    font-family: Arial, serif;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
}

.lightbox-nav-prev,
.lightbox-nav-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: #f7f9ef;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
    text-decoration: none;
    z-index: 10000;
}

.lightbox-nav-next { right: 0; border-radius: 3px 0 0 3px; }
.lightbox-nav-prev { left: 0; border-radius: 0 3px 3px 0; }

.lightbox-nav-prev:hover,
.lightbox-nav-next:hover {
    background-color: rgba(0,0,0,0.8);
}

.lightbox[data-single-image="true"] .lightbox-nav-prev,
.lightbox[data-single-image="true"] .lightbox-nav-next {
    display: none;
}

/* Lightbox Animationen */
@keyframes fadeIn { from {opacity: 0;} to {opacity: 1;} }
@keyframes zoomIn { from {transform: scale(0.8);} to {transform: scale(1);} }
@keyframes fadeOut { from {opacity: 1;} to {opacity: 0;} }
@keyframes zoomOut { from {transform: scale(1);} to {transform: scale(0.8);} }


/* --- Inline Swiper --- */
.swiper-with-caption {
    width: auto;
    max-width: 1200px;
    height: auto;
    display: flex;
    flex-direction: column;
}

.swiper-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #ffffff;
    flex-grow: 1;
    min-height: 0;
}

.swiper-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease-in-out;
}

.swiper-slide {
   position: relative;
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: contain;
    display: block;
}

.swiper-caption {
    padding: 10px;
    font-size: 0.9em;
    text-align: center;
    line-height: 1.05;
    background-color: #ffffff;
    width: 100%;
    box-sizing: border-box;

}

.lightbox-trigger-area {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%; /* Größe des klickbaren Bereichs (anpassbar) */
    height: 80%;
    z-index: 10;
    cursor: zoom-in; /* Visueller Hinweis für den Benutzer */
}


/* --- NEUE STILE FÜR GROSSE KLICK-BEREICHE IM INLINE-SWIPER --- */

/* Der vergrößerte, unsichtbare Navigations-Button */
.swiper-nav {
    position: absolute;
    top: 0;
    height: 100%; /* Füllt die gesamte Höhe aus */
    width: 25%;   /* Nimmt 25% der Breite links/rechts ein */
    
    /* Macht den Bereich unsichtbar, aber klickbar */
    background-color: transparent;
    border: none;
    
    /* Positioniert den Pfeil-Text im Bereich */
    display: flex;
    align-items: center; /* Vertikal zentriert */
    
    /* Pfeil-Styling */
    color: white;
    font-size: 28px;
    text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    z-index: 10;
    
    /* Blendet den Pfeil standardmäßig aus */
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Der Pfeil wird sichtbar, wenn man über den Swiper-Container fährt */
.swiper-container:hover .swiper-nav {
    opacity: 1;
}

/* Positioniert den linken Pfeil-Text linksbündig */
.swiper-nav-prev {
    left: 0;
    justify-content: flex-start; /* Pfeil links */
    padding-left: 15px;
}

/* Positioniert den rechten Pfeil-Text rechtsbündig */
.swiper-nav-next {
    right: 0;
    justify-content: flex-end; /* Pfeil rechts */
    padding-right: 15px;
}
.swiper-close {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 20;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 28px;
    width: 32px;
    height: 32px;
}

.swiper-close:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* --- Fullscreen Swiper --- */
.fullscreen-swiper-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-swiper-overlay .swiper-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.fullscreen-swiper-overlay .swiper-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease-in-out;
}

.fullscreen-swiper-overlay .swiper-slide {
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}

.fullscreen-swiper-overlay .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.fullscreen-swiper-overlay .swiper-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    cursor: pointer;
    padding: 15px;
    font-size: 30px;
    z-index: 10010;
    border-radius: 50%;
}

.fullscreen-swiper-overlay .swiper-nav:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.fullscreen-swiper-overlay .swiper-nav-prev { left: 20px; }
.fullscreen-swiper-overlay .swiper-nav-next { right: 20px; }

.fullscreen-swiper-overlay .swiper-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10010;
    background-color: transparent;
    color: white;
    border: none;
    font-size: 45px;
    cursor: pointer;
}

/* --- Featured Swiper (Startseite) --- */
.featured-swiper-section {
    display: flex;
    justify-content: center;
    padding-top: 120px;
    border-bottom: 1px solid #eeeeee;
   
}

.featured-swiper-section .swiper-container {
    max-width: 800px;
    aspect-ratio: 3 / 2;
  
}

.featured-swiper-section + .content-area {
    margin-top: 0 !important;
    padding-top: 1.5rem !important;
}


/* ==========================================================================
   9. Footer
   ========================================================================== */

.site-footer {
    grid-area: footer;
    padding: 1px;
    text-align: center;
    background-color: #ffffff;
    color: #6c6c6c;
    font-size: 0.8em;
    border-top: 1px solid #eeeeee;
}

/* ==========================================================================
   10. Media Queries (Responsive Design)
   ========================================================================== */

@media (max-width: 768px) {

    /* --- Layout --- */
    .page-container {
        grid-template-areas:
            "header"
            "nav"
            "content"
            "footer";
    }

    .content-area {
        padding: 80px 20px 40px 15px;
        min-height: auto;
        order: 3;
    }

    /* --- Header --- */
    .site-header {
        padding: 1.3rem 0 0.8rem 15px;
        font-size: 1.7em;
text-align: left;
    }

    .site-header h1 {
        font-size: 0.8em;
    }

    /* --- Navigation --- */
    .main-navigation {
        position: fixed;
        top: 0;
	
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);

    }

    .main-navigation ul {
        display: flex;
	justify-content: center;
    }
    
.main-navigation .dropdown-menu {
    position: absolute;
    bottom: 100%; 
    top: auto;
    margin: 0 0 0 0; /* Fügt einen kleinen Abstand zwischen Menü und Navigationsleiste hinzu */
    border: 1px solid #eeeeee;
    border-bottom: none;
    border-radius: 3px 3px 0 0;
}
    .fixed-bottom-bar {
        margin-left: 0;
    }

    /* --- Content Sections --- */
    .content-area section {
        padding: 25px 0;
        margin-bottom: 25px;
    }

    .content-area section h2 {
        font-size: 1.2em;
        margin-bottom: 20px;
    }

    .featured-swiper-section .swiper-container {
    width: 100%;
    max-width: none; /* Entfernt die Breitenbeschränkung vom Desktop */
     justify-content: center; 
    }

.swiper-nav-prev {
   
    padding-left: 30px;
}

/* Positioniert den rechten Pfeil-Text rechtsbündig */
.swiper-nav-next {
   
    padding-right: 30px;
}

.swiper-caption {

    font-size: 0.8em;
  
   
}
    
    /* --- Galerie --- */
.content-area .galerie-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px; 
    padding: 0 0; /* Fügt einen kleinen, sauberen Seitenabstand hinzu */
    max-width: 100%; /* Erlaubt die volle Breite */
    box-sizing: border-box;
    justify-content: center; 
}
    
    .content-area .galerie-item {
        max-width: 100%;
    }

    .content-area .galerie-item-title {
        position: static;
        transform: none;
        opacity: 1;
	font-size: 1.1rem;
        background-color: #ffffff;
        color: #000000;
        width: 100%;
        padding: 10px 0;
        text-align: left;
        pointer-events: auto;
    text-decoration: underline solid transparent;
    transition: text-decoration 0.3s ease;
    }

   .content-area .galerie-item-title:hover {
 text-decoration: underline solid Currentcolor;
 }

    .content-area .galerie-item img {
        border-bottom: 1px solid #eeeeee;

    }
    
    /* --- "Über mich"-Seite --- */
    .about-container {
        flex-direction: column;
    }

    /* --- Reportage-Seiten --- */
    .reportage-section h2 {
        margin-top: 0px;
    }

    .reportage-intro {
        max-width: 80%;
        font-size: 1.0em;
        line-height: 1.4;
    }
    
    .reportage-image-container {
        flex-basis: 100%;
        margin-left: -3%;
    }
    
    /* --- Portrait-Grid --- */
    .custom-photo-grid {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }
    
    .item-a, .item-b, .item-c, .item-d, .item-e, .item-f, .item-g, .item-h, .item-i, .item-j, .item-k, .item-l, .item-m, .item-n, .item-o, .item-p {
        grid-column: auto;
        grid-row: auto;
        max-width: 600px;
    }

  /* --- Zwei Spalten Grid --- */
    .content-area .zwei-spalten-galerie {
        grid-template-columns: 1fr;
    }

    /* --- Footer --- */
    .site-footer {
        padding: 0;
        border-top: 1px solid #eeeeee;
        order: 4;
    }
}

/*
--- Stile für das neue mobile Hamburger-Menü ---
*/

/* Das Hamburger-Icon (Button) */
.mobile-menu-button {
    display: none; /* Standardmäßig auf dem Desktop versteckt */
    position: fixed;
    top: 15px;
    right: 5px;
    z-index: 10001; /* Über dem Header */
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* Die drei Striche des Hamburger-Icons */
.mobile-menu-button span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #000000;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
}

/* Das Overlay-Menü, das aufklappt */
.mobile-menu-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.93);
    z-index: 10000;
    
    /* Standardmäßig versteckt und unsichtbar */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    
    justify-content: center; 
    align-items: flex-start;   
    padding-top: 80px;   
}

/* Der sichtbare "offen"-Zustand für das Overlay */
.mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* Der Schließen-Button im Overlay */
.mobile-menu-close-button {
    position: absolute;
    top: 12px;
    right: 9px;
    font-size: 45px;
    color: #000;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* Styling für die Links im mobilen Menü */
.mobile-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.mobile-menu-links li {
    margin-bottom: 10px;
}

.mobile-menu-links a {
    font-family: Arial, 'Trebuchet MS', sans-serif;
    font-size: 20px;
    color: #000;
    text-decoration: underline solid transparent;
    transition: text-decoration 0.3s ease;
    padding: 5px;


}

.mobile-menu-links a:hover {
    text-decoration: underline solid Currentcolor;

}
/* Dropdown-Anpassungen für das mobile Menü */
.mobile-menu-links .dropdown-menu {
    position: static; /* Positionierung zurücksetzen */
    display: none; /* Standardmäßig versteckt */
    border: none;
    background: transparent;
    padding-top: 10px;
}

.mobile-menu-links .has-dropdown.active .dropdown-menu {
    display: block; /* Wird durch JS angezeigt */
}

.mobile-menu-links .dropdown-menu li a {
    font-size: 18px; /* Kleinere Schrift für Unterpunkte */
    font-weight: normal;
    color: #555;
}


/* --- Media Query: Aktiviert das mobile Menü --- */
@media (max-width: 768px) {
    /* Die alte, untere Navigationsleiste verstecken */
    .fixed-bottom-bar .main-navigation {
        display: none;
    }
    
    /* Das Hamburger-Icon einblenden */
    .mobile-menu-button {
        display: block;
    }
}
/*
  Lässt das Hamburger-Icon verschwinden, wenn das Menü geöffnet ist
*/
body:has(#mobile-menu.is-open) #mobile-menu-toggle {
    display: none;
}
