/* =========================================
   1. GRUNDEINSTELLUNGEN & VARIABLEN
   ========================================= */
:root {
    --color-mms-green: #aebf7d;
    --color-mms-grey: #8e8e92;
    --color-mms-dark: #555555;
    --color-bg-light: #f9fafb;
    --font-main: 'Montserrat', sans-serif;
    --container-width: 1200px;
    --spacing-section: 5rem; /* entspr. py-20 */
}

::marker {
    font-weight: bold;
}

/* Der Container für das runde Logo */
.event-round-logo {
    position: absolute;
    top: -50px; /* Schiebt das Logo zur Hälfte aus dem Bild nach oben */
    left: 25%;
    transform: translateX(-50%); /* Zentriert es horizontal perfekt */
    
    width: 120px;
    height: 120px;
    
    background-color: white;
    border-radius: 50%;
    padding: 8px; /* Weißer Rahmen innen */
    
    /* Hochwertiger Schatten für 3D-Effekt */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 20; /* Muss über dem Hauptbild liegen */
    
    /* Flexbox um das Bild darin zu zentrieren */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.3s ease;
}

/* Das Logo-Bild selbst */
.event-round-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* oder 'contain', je nach Logo */
    border-radius: 50%;
}

/* Hover-Effekt: Logo wippt mit */
.event-row:hover .event-round-logo {
    transform: translateX(-50%) translateY(-5px) scale(1.05);
}

/* RESPONSIVE ANPASSUNG */
@media (max-width: 768px) {
    .event-round-logo {
        width: 90px;  /* Etwas kleiner auf Handys */
        height: 90px;
        top: -40px;
    }
    
    .event-img-col {
        margin-top: 2.5rem;
    }
}

#cookie-settings-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background-color: #fff; /* Oder deine Markenfarbe */
    color: #333;
    border: 1px solid #ddd;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 9999;
    display: none; /* WICHTIG: Standardmäßig unsichtbar */
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#cookie-settings-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* Optional: Icon etwas größer */
#cookie-settings-btn svg {
    width: 26px;
    height: 26px;
}

.legal-content h1 {
    color: #aebf7d;
    margin-top: 0;
    font-size: 25px;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 20px;
}

.legal-container th, .legal-container td {
    text-align: left;
  padding: 8px;
}

.legal-container img.logo {
    max-height: 115px;max-width: 100%;
}

.legal-content ul {
    list-style: inside;
    margin-bottom: 15px;
    margin-top: 15px;
}

.legal-content ul li {
    border-top: 1px dotted #ccc;
  padding-top: 10px;
  margin-top: 10px;
}

.legal-content ul li:first-child {
    border-top: 0px dotted #ccc;
  padding-top: 10px;
  margin-top: 10px;
}


.legal-content p {
    margin-top: 15px;
}

.legal-content ol li {
    list-style: decimal;
    margin-left: 20px;
}

.legal-content ol {
    margin-top: 20px;
}

.section-partners {
    padding: var(--spacing-section) 0;
    background-color: var(--color-bg-light);
    position: relative;
}

#partner .marquee-wrapper {
    margin-bottom: 0rem;
}

 /* TO TOP BUTTON STYLES */
        #toTopBtn {
            display: none; /* Standardmäßig versteckt */
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 999;
            border: none;
            outline: none;
            background-color: #aebf7d; /* MMS Grün */
            color: white;
            cursor: pointer;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            font-size: 24px;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
            transition: all 0.3s ease;
            opacity: 0.8;
        }
        #toTopBtn:hover {
            background-color: #555; /* Dunkelgrau beim Hover */
            transform: translateY(-3px);
            opacity: 1;
            box-shadow: 0 6px 15px rgba(0,0,0,0.3);
        }
        /* Pfeil Icon via CSS bauen (oder SVG nutzen) */
        .arrow-up {
            border: solid white;
            border-width: 0 3px 3px 0;
            display: inline-block;
            padding: 5px;
            transform: rotate(-135deg);
            margin-top: 5px; /* Optische Mitte */
        }

@font-face {
  font-family: 'Material Symbols Outlined';
  src: url('../Backend/libs/fonts/material-symbols-outlined-latin-100-normal.woff2') format('woff2'),
    url('../Backend/libs/fonts/material-symbols-outlined-latin-100-normal.woff') format('woff'),
    url('../Backend/libs/fonts/material-symbols-outlined-latin-100-normal.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Material Symbols Outlined';
  src: url('../Backend/libs/fonts/material-symbols-outlined-latin-200-normal.woff2') format('woff2'),
    url('../Backend/libs/fonts/material-symbols-outlined-latin-200-normal.woff') format('woff'),
    url('../Backend/libs/fonts/material-symbols-outlined-latin-200-normal.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'Material Symbols Outlined';
  src: url('../Backend/libs/fonts/material-symbols-outlined-latin-300-normal.woff2') format('woff2'),
    url('../Backend/libs/fonts/material-symbols-outlined-latin-300-normal.woff') format('woff'),
    url('../Backend/libs/fonts/material-symbols-outlined-latin-300-normal.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Material Symbols Outlined';
  src: url('../Backend/libs/fonts/material-symbols-outlined-latin-400-normal.woff2') format('woff2'),
    url('../Backend/libs/fonts/material-symbols-outlined-latin-400-normal.woff') format('woff'),
    url('../Backend/libs/fonts/material-symbols-outlined-latin-400-normal.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Material Symbols Outlined';
  src: url('../Backend/libs/fonts/material-symbols-outlined-latin-500-normal.woff2') format('woff2'),
    url('../Backend/libs/fonts/material-symbols-outlined-latin-500-normal.woff') format('woff'),
    url('../Backend/libs/fonts/material-symbols-outlined-latin-500-normal.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Material Symbols Outlined';
  src: url('../Backend/libs/fonts/material-symbols-outlined-latin-600-normal.woff2') format('woff2'),
    url('../Backend/libs/fonts/material-symbols-outlined-latin-600-normal.woff') format('woff'),
    url('../Backend/libs/fonts/material-symbols-outlined-latin-600-normal.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Material Symbols Outlined';
  src: url('/Backend/libs/fonts/material-symbols-outlined-latin-700-normal.woff2') format('woff2'),
    url('/Backend/libs/fonts/material-symbols-outlined-latin-700-normal.woff') format('woff'),
    url('/Backend/libs/fonts/material-symbols-outlined-latin-700-normal.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat-v31-latin-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat-v31-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat-v31-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat-v31-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 400;
  /* z. B. 100–700 */
  display: inline-block;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}


.copyfolder {
    color: var(--color-mms-green);
    font-size: 100px;
    font-weight: 200;
    margin-bottom: 10px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: #374151;
    line-height: 1.6;
    overflow-x: hidden; /* Wichtig für Animationen */
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

/* =========================================
   NAVIGATION BUTTONS (Slider Pfeile)
   ========================================= */

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    
    /* Größe & Form */
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    
    /* Farben & Rahmen */
    background-color: white;
    border: 1px solid #e5e7eb;
    color: var(--color-mms-dark);
    
    /* Schatten für 3D-Effekt */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    
    /* Ausrichtung des Pfeils */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem; /* Größe des Pfeil-Zeichens */
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
}

/* Hover-Effekt: Wird Grün */
.slider-btn:hover {
    background-color: var(--color-mms-green);
    color: white;
    border-color: var(--color-mms-green);
    transform: translateY(-50%) scale(1.1); /* Leichtes Vergrößern */
}

/* Positionierung Links/Rechts */
.slider-btn.prev {
    left: 0; /* Oder -1.5rem, wenn sie halb aus dem Container ragen sollen */
}

.slider-btn.next {
    right: 0; /* Oder -1.5rem */
}

/* Auf Tablets/Handys ausblenden (da man swipen kann) */
@media (max-width: 768px) {
    /*.slider-btn {
        display: none;
    }*/
}



}
/* =========================================
   NEUE STYLES (Ausgelagert aus index.php)
   ========================================= */

/* --- Testimonial Styles (Events) --- */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.testimonial-avatar-placeholder {
    width: 40px;
    height: 40px;
    background: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #555;
    font-size: 14px;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-align: left;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
}

.testimonial-role {
    font-size: 0.8rem;
    color: #777;
}

/* --- Produkt Sektion --- */
.product-placeholder-text {
    text-align: center;
    color: #777;
    margin-top: 20px;
    font-style: italic;
}

/* --- Events Sektion --- */
.events-empty-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #666;
}

/* --- Map Sektion --- */
.map-container-visual {
    height: 500px;
    background: #eee;
    width: 100%;
    border-radius: 4px; /* Optional: leicht abgerundet */
    overflow: hidden;
}

/* --- Kontakt / Footer Dunkel --- */
.section-contact-dark {
    background-color: #333;
    color: #fff;
    padding: 50px 0;
}

.section-contact-dark h3 {
    color: #fff;
    margin-bottom: 20px;
}

.section-contact-dark a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.section-contact-dark a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* =========================================
   2. HILFSKLASSEN
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-green {
    background-color: var(--color-mms-green);
    color: white;
}
.btn-green:hover { opacity: 0.9; }

.btn-outline-white {
    border: 2px solid white;
    color: white;
    background: transparent;
}
.btn-outline-white:hover {
    background-color: white;
    color: var(--color-mms-green);
}

/* Animation Keyframes */
@keyframes flyInLeft {
    0% { opacity: 0; transform: translateX(-100px); }
    100% { opacity: 1; transform: translateX(0); }
}

.animate-fly-in {
    animation: flyInLeft 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0;
}
.delay-200 { animation-delay: 0.2s; }
.delay-400 { animation-delay: 0.4s; }

/* Animation class for JS text highlight */
.highlight-anim {
    animation: pulseText 0.5s ease-in-out;
}

@keyframes pulseText {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

/* =========================================
   3. MODERN NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
    background: transparent;
  margin-top: 4.5rem;
}

/* Zustand beim Scrollen */
.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-top: 0rem;

}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-logo img {
    height: 75px;
    width: auto;
    transition: height 0.3s;
}

@media (max-width: 500px) {
    .nav-logo img {
    height: 55px;
}
}

.navbar.scrolled .nav-logo img {
    height: 50px;
}

/* Desktop Menu */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .nav-desktop { display: flex; }
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-mms-green);
    transition: width 0.3s ease;
}

.nav-link:hover::after { width: 100%; }

.navbar.scrolled .nav-link { color: var(--color-mms-dark); }

/* Kontakt Button Spezial */
.nav-btn-contact {
    background-color: var(--color-mms-green);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 99px;
    transition: transform 0.3s, background 0.3s;
}
.nav-btn-contact:hover {
    background-color: white;
    color: var(--color-mms-green) !important;
    transform: translateY(-2px);
}
.nav-btn-contact::after { display: none; }

.navbar.scrolled .nav-btn-contact:hover {
    background-color: var(--color-mms-dark);
    color: white !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

@media (min-width: 1024px) {
    .nav-toggle { display: none; }
}

.hamburger-line {
    display: block;
    width: 35px;
    height: 5px;
    margin: 3px 0;
    border-radius: 5px;
    background-color: white;
    transition: all 0.3s ease;
}
.navbar.scrolled .hamburger-line { background-color: var(--color-mms-dark); }

.nav-toggle.active .hamburger-line:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); background-color: var(--color-mms-dark);}
.nav-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
.nav-toggle.active .hamburger-line:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); background-color: var(--color-mms-dark);}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 999;
}

.mobile-menu.active { right: 0; }

.mobile-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-mms-dark);
    text-transform: uppercase;
}
.mobile-link:hover { color: var(--color-mms-green); }


/* =========================================
   4. HERO SLIDER SECTION (Fixed Animation)
   ========================================= */
.hero-slider-wrapper {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: #000;
}

/* Die einzelnen Slides */
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* Nur Opacity bleibt Transition für weiches Überblenden */
    display: flex;
    align-items: flex-end;
    padding-bottom: 13rem;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Hintergrund-Medien (Bild oder Video) */
.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transform: scale(1); /* Startpunkt */
}



/* FIX: Animation statt Transition nutzen, damit es auch beim 1. Slide klappt */
.hero-slide.active .hero-media {
    animation: kenBurns 8s ease-out forwards;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* Gradient Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom, 
        rgba(0,0,0,0.2) 0%, 
        rgba(0,0,0,0) 50%, 
        rgba(0,0,0,0.7) 90%
    );
    z-index: 1;
}

/* Content Container */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: var(--container-width);
    padding: 0 1.5rem;
    width: 100%;
    margin: 0 auto;
}

.hero-text-box {
    max-width: 60rem;
    opacity: 0; /* Unsichtbar am Start */
}

/* FIX: Auch hier Animation statt Transition für den Text */
.hero-slide.active .hero-text-box {
    animation: fadeInUp 1s ease-out 0.5s forwards; /* 0.5s Verzögerung */
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Badge Style */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(174, 191, 125, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

/* Titel */
.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    color: white;
}
@media (min-width: 768px) { .hero-title { font-size: 5rem; } }
@media (max-width: 400px) { .hero-title { font-size: 2rem; } }

.hero-desc {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 45rem;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    border-left: 4px solid var(--color-mms-green);
    padding-left: 1.5rem;
    color: white;
}

/* Auf Tablets/Handys ausblenden (da man swipen kann) */
@media (max-width: 768px) {
  .hero-desc {
    font-size: 0.95em;
    line-height: 1.3;
  }
  .hero-title {
    
  }
}

/* Buttons */
.hero-btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 99px;
    background: white;
    color: var(--color-mms-dark);
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
}
.hero-btn:hover {
    background: var(--color-mms-green);
    color: white;
}

/* Navigation Dots */
.hero-nav {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
}
.nav-dot.active {
    background: white;
    transform: scale(1.3);
}

/* Scroll Indicator Mouse */
.scroll-indicator {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    opacity: 0.7;
    animation: fadeUp 2s infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.mouse-icon {
    width: 26px;
    height: 40px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
}
.mouse-wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel { 0% { top: 6px; opacity: 1; } 100% { top: 20px; opacity: 0; } }
@keyframes fadeUp { 0%, 100% { opacity: 0.5; transform: translate(-50%, 0); } 50% { opacity: 1; transform: translate(-50%, -10px); } }


/* =========================================
   5. PRODUKTE SECTION
   ========================================= */
.section-products {
    padding: var(--spacing-section) 0;
    background-color: #f3f4f6;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-mms-dark);
    margin-bottom: 1rem;
}

.divider {
    width: 5rem;
    height: 0.25rem;
    background-color: var(--color-mms-green);
    margin: 0 auto;
    border-radius: 0.25rem;
}

.section-subtitle {
    margin-top: 1rem;
    color: #6b7280;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.publication-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.cover-wrapper {
    position: relative;
    width: 100%;
    max-width: 250px;
    aspect-ratio: 1 / 1.414;
    margin-bottom: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 4px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06), inset 0 0 0 1px rgba(255,255,255,0.1);
    transition: box-shadow 0.4s ease;
    background-color: #ddd;
}

.publication-item:hover .cover-wrapper { transform: translateY(-10px) scale(1.02); }
.publication-item:hover .cover-img { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08); }

.cover-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--color-mms-green);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 10;
}

.pub-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-mms-dark);
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}
.publication-item:hover .pub-title { color: var(--color-mms-green); }

.pub-desc {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    max-width: 280px;
    flex-grow: 1;
}

.pub-actions {
    display: flex;
    gap: 0.75rem;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    font-size: 1.0rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
    cursor: pointer;
}

.btn-read { background-color: white; color: var(--color-mms-dark); border: 1px solid #e5e7eb; }
.btn-read:hover { border-color: var(--color-mms-dark); background-color: #f9fafb; transform: translateY(-2px); }

.btn-media { background-color: transparent; color: var(--color-mms-green); border: 1px solid var(--color-mms-green); }
.btn-media:hover { background-color: var(--color-mms-green); color: white; box-shadow: 0 4px 10px rgba(174, 191, 125, 0.4); transform: translateY(-2px); }

.btn-icon { width: 16px; height: 16px; fill: currentColor; }


/* =========================================
   6. INSIGHTS SLIDER
   ========================================= */
.section-charts {
    padding: var(--spacing-section) 0;
    background-color: #f9fafb;
    position: relative;
    overflow: hidden;
}

.chart-slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.chart-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    gap: 0;
    border-radius: 1rem;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
}
.chart-track::-webkit-scrollbar { display: none; }

.chart-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    background: white;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    border: 1px solid #e5e7eb;
}

.chart-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: white;
    border: 1px solid #e5e7eb;
    color: var(--color-mms-dark);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
}
.chart-nav-btn:hover { background: var(--color-mms-green); color: white; border-color: var(--color-mms-green); }
.chart-prev { left: -1.75rem; }
.chart-next { right: -1.75rem; }

@media (max-width: 768px) {
    .chart-nav-btn { display: none; }
    .chart-slide { padding: 2rem 1rem; flex-direction: column; }
}

/* Chart Layouts */
.layout-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; width: 90%; align-items: center; }
@media (max-width: 768px) { .layout-split { grid-template-columns: 1fr; } }

.layout-center { text-align: center; max-width: 700px; }

.slide-headline { font-size: 2rem; font-weight: 700; color: var(--color-mms-dark); margin-bottom: 1rem; line-height: 1.2; }
.slide-sub { font-size: 0.9rem; text-transform: uppercase; color: var(--color-mms-green); font-weight: 700; letter-spacing: 1px; margin-bottom: 0.5rem; display: block;}
.slide-text { color: #666; line-height: 1.6; }

/* Chart Elements */
.css-bar-chart { display: flex; flex-direction: column; gap: 1rem; width: 100%; }
.bar-row { display: flex; align-items: center; gap: 1rem; }
.bar-label { width: 130px; font-size: 0.85rem; font-weight: 600; color: #555; text-align: right; }
.bar-track { flex-grow: 1; background: #f3f4f6; height: 24px; border-radius: 12px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--color-mms-green); border-radius: 12px; display: flex; align-items: center; padding-right: 10px; justify-content: flex-end; color: white; font-size: 0.7rem; font-weight: 700; width: 0; animation: growBar 1.5s ease-out forwards; }
@keyframes growBar { from { width: 0; } to { width: var(--w); } }

.donut-wrapper { position: relative; width: 200px; height: 200px; margin: 0 auto; }
.donut { width: 100%; height: 100%; border-radius: 50%; background: conic-gradient(var(--color-mms-green) 0% 75%, #f3f4f6 75% 100%); mask: radial-gradient(transparent 60%, black 61%); -webkit-mask: radial-gradient(transparent 60%, black 61%); }
.donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.donut-val { font-size: 2.5rem; font-weight: 800; color: var(--color-mms-dark); }
.donut-lbl { font-size: 0.8rem; color: #888; text-transform: uppercase; }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.stat-item { background: #f9fafb; padding: 1.5rem; border-radius: 0.5rem; text-align: center; }
.stat-big { font-size: 2rem; font-weight: 700; color: var(--color-mms-green); display: block; }
.stat-desc { font-size: 0.85rem; color: #666; }


/* =========================================
   7. EVENTS SECTION
   ========================================= */
.section-events { padding: var(--spacing-section) 0; background-color: white; }

.event-row { display: flex; flex-direction: column; gap: 3rem; align-items: center; margin-bottom: 5rem; }
.event-row:last-child { margin-bottom: 0; }

@media (min-width: 900px) {
    .event-row { flex-direction: row; gap: 5rem; }
    .event-row.reversed { flex-direction: row-reverse; }
}

.event-img-col { flex: 1; width: 100%; display: flex; justify-content: center; position: relative; /* Wichtig für absolute Positionierung */
  margin-top: 3rem;   /* Platz schaffen, damit das Logo nicht in den Text darüber ragt */
  margin-bottom: 1rem; }
.event-img { width: 100%; max-width: 450px; height: auto; border-radius: 1.5rem; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; }
.event-row:hover .event-img { transform: scale(1.02); }

.event-text-col { flex: 1; }
.event-subtitle { display: inline-block; font-size: 0.875rem; font-weight: 700; color: var(--color-mms-green); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.event-title { font-size: 2rem; font-weight: 700; color: var(--color-mms-dark); margin-bottom: 1.5rem; line-height: 1.2; }
.event-desc { color: #6b7280; margin-bottom: 2rem; font-size: 1.05rem; }
.event-link { display: inline-flex; align-items: center; font-weight: 600; color: var(--color-mms-dark); border-bottom: 2px solid var(--color-mms-green); padding-bottom: 2px; transition: color 0.3s; }
.event-link:hover { color: var(--color-mms-green); }

.event-testimonial { margin-top: 2rem; background-color: var(--color-bg-light); padding: 1.5rem; border-radius: 1rem; border: 1px solid #f3f4f6; position: relative; }
.event-testimonial::before { content: ''; position: absolute; left: 0; top: 1.5rem; bottom: 1.5rem; width: 4px; background-color: var(--color-mms-green); border-radius: 0 4px 4px 0; }
.testimonial-text { font-style: italic; color: #4b5563; font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; padding-left: 1rem; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; padding-left: 1rem; }
.testimonial-avatar-placeholder { width: 48px; height: 48px; border-radius: 50%; background-color: var(--color-mms-dark); color: white; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; }
.testimonial-meta { display: flex; flex-direction: column; }
.testimonial-name { font-weight: 700; color: var(--color-mms-dark); font-size: 0.95rem; }
.testimonial-role { font-size: 0.8rem; color: #6b7280; }


/* =========================================
   8. MAP & VERBREITUNG
   ========================================= */
.section-map { padding: var(--spacing-section) 0; background-color: #f3f4f6; }

.map-wrapper { display: flex; flex-direction: column; gap: 2rem; height: auto; }
@media (min-width: 1024px) { .map-wrapper { flex-direction: row; height: 515px; } }

.map-info-col { width: 100%; display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1024px) { .map-info-col { width: 33.333%; } }

.info-box { background-color: var(--color-bg-light); padding: 2rem; border-radius: 1rem; border: 1px solid #f3f4f6; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); flex-grow: 1; }
.info-title { font-size: 1.5rem; font-weight: 700; color: var(--color-mms-dark); margin-bottom: 0.5rem; }
.info-subtitle { font-size: 0.875rem; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1.5rem; }

.stat-row { background: white; padding: 1rem; border-radius: 0.75rem; box-shadow: 0 1px 2px rgba(0,0,0,0.05); display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.stat-label { color: #4b5563; font-weight: 500; }
.stat-value { font-size: 1.5rem; font-weight: 700; color: var(--color-mms-green); }

.map-selector-box { background: white; padding: 1rem; border-radius: 0.75rem; border: 1px solid #e5e7eb; }
.map-select { width: 100%; padding: 0.5rem; background-color: var(--color-bg-light); border: 1px solid #d1d5db; border-radius: 0.25rem; outline: none; }

.map-visual-col { width: 100%; position: relative; border-radius: 1.5rem; overflow: hidden; border: 1px solid #e5e7eb; box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06); height: 400px; display: block; }
@media (min-width: 1024px) { .map-visual-col { width: 66.666%; height: 100%; } }
#syltMap { width: 100%; height: 100%; z-index: 10; }


/* =========================================
   9. TEAM SECTION
   ========================================= */
.section-team { padding: var(--spacing-section) 0; background-color: var(--color-bg-light); position: relative; }
.team-carousel-wrapper { position: relative; margin-top: 3rem; padding: 0 1rem; }

.team-scroll-container { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 2rem; padding-bottom: 2rem; scrollbar-width: none; -ms-overflow-style: none; scroll-behavior: smooth; }
.team-scroll-container::-webkit-scrollbar { display: none; }

.team-member { flex: 0 0 100%; scroll-snap-align: start; background: white; padding: 2rem; border-radius: 1rem; text-align: center; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); transition: transform 0.3s, border-color 0.3s; border: 1px solid #f3f4f6; }
@media (min-width: 368px) { .team-member { flex: 0 0 calc(50% - 1rem); } }
@media (min-width: 1024px) { .team-member { flex: 0 0 calc(25% - 1.5rem); } }
.team-member:hover { border-color: var(--color-mms-green); transform: translateY(-5px); }

.member-img-wrapper { width: 120px; height: 120px; margin: 0 auto 1.5rem auto; border-radius: 50%; overflow: hidden; border: 3px solid white; box-shadow: 0 0 0 2px var(--color-mms-green); background-color: #e5e7eb; display: flex; align-items: center; justify-content: center; }
.member-placeholder { font-size: 1.5rem; font-weight: 700; color: white; background-color: var(--color-mms-grey); width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.member-name { font-size: 1.125rem; font-weight: 700; color: var(--color-mms-dark); margin-bottom: 0.25rem; }
.member-role { font-size: 0.875rem; color: var(--color-mms-green); font-weight: 600; letter-spacing: 0.05em; margin-bottom: 1rem; }
.member-contact { border-top: 1px solid #f3f4f6; padding-top: 1rem; margin-top: 1rem; }
.member-email { font-size: 0.875rem; color: #6b7280; }
.member-email:hover { color: var(--color-mms-green); }


/* =========================================
   10. AGENTUR & JOBS
   ========================================= */
.section-agency { padding: var(--spacing-section) 0; background-color: white; overflow: hidden; }
.agency-intro { max-width: 800px; margin: 0 auto 3rem auto; text-align: center; font-size: 1.1rem; color: #4b5563; }

.services-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; max-width: 900px; margin: 0 auto 4rem auto; }
@media (min-width: 768px) { .services-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .services-list { grid-template-columns: repeat(5, 1fr); } }

.service-item { background-color: var(--color-bg-light); padding: 1rem; border-radius: 0.5rem; text-align: center; font-size: 0.8rem; font-weight: 700; color: var(--color-mms-dark); border: 1px solid #e5e7eb; transition: all 0.3s; display: flex; align-items: center; justify-content: center; min-height: 3.5rem; }
.service-item:hover { border-color: var(--color-mms-green); color: var(--color-mms-green); background-color: white; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }

/* Marquee */
.marquee-wrapper { width: 100%; position: relative; padding: 2rem 0; margin-bottom: 4rem; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.marquee-track { display: flex; gap: 1rem; width: max-content; animation: scroll 40s linear infinite; }
.marquee-wrapper:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 1rem)); } }
.agency-ref-img { height: 250px; width: auto; border-radius: 6px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: transform 0.3s; background-color: #eee; }
.agency-ref-img:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(0,0,0,0.15); }

.partner-img { height: 130px; width: auto; border-radius: 6px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: transform 0.3s; background-color: #fff; padding: 15px 20px;}
.partner-img:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(0,0,0,0.15); }

/* Jobs */
.section-jobs { padding: var(--spacing-section) 0; background-color: #f3f4f6; }
.jobs-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin: 0 auto; }
@media (min-width: 768px) { .jobs-grid { grid-template-columns: 1fr 1fr; } }

.job-card { background: white; border-radius: 1rem; overflow: hidden; border: 1px solid #e5e7eb; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); display: flex; flex-direction: column; height: 100%; }
.job-card:hover { transform: translateY(-8px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); border-color: var(--color-mms-green); }
.job-image { height: 200px; width: 100%; background-color: #f3f4f6; position: relative; overflow: hidden; }
.job-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.job-card:hover .job-image img { transform: scale(1.05); }
.job-badge { position: absolute; top: 1rem; left: 1rem; background: white; color: var(--color-mms-green); padding: 0.25rem 0.75rem; border-radius: 99px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.job-content { padding: 2rem; flex-grow: 1; display: flex; flex-direction: column; }
.job-title { font-size: 1.5rem; font-weight: 700; color: var(--color-mms-dark); margin-bottom: 1rem; line-height: 1.2; }
.job-intro { color: #6b7280; margin-bottom: 1.5rem; font-style: italic; }
.job-list-title { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; color: var(--color-mms-green); margin-bottom: 0.5rem; margin-top: 1rem; }
.job-list { list-style: none; margin-bottom: 1rem; font-size: 0.95rem; color: #4b5563; }
.job-list li { position: relative; padding-left: 1.25rem; margin-bottom: 0.25rem; }
.job-list li::before { content: '•'; color: var(--color-mms-green); position: absolute; left: 0; font-weight: bold; }
.job-footer { margin-top: auto; padding-top: 1.5rem; border-top: 1px solid #f3f4f6; }
.job-contact { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.job-contact-img { width: 50px; height: 50px; border-radius: 50%; background: #e5e7eb; display: flex; align-items: center; justify-content: center; font-weight: bold; color: #6b7280; flex-shrink: 0; }
.job-cta { display: block; width: 100%; text-align: center; background: var(--color-mms-dark); color: white; padding: 0.75rem; border-radius: 0.5rem; font-weight: 600; transition: background 0.3s; }
.job-cta:hover { background: var(--color-mms-green); }

/* Agency CTA Box */
.agency-contact-box { background-color: var(--color-mms-dark); color: white; border-radius: 1.5rem; padding: 3rem 2rem; text-align: center; max-width: 600px; margin: 0 auto; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }
.cta-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--color-mms-green); }
.cta-address { font-size: 1.1rem; line-height: 1.8; opacity: 0.9; }
.cta-phone { display: inline-block; margin-top: 1.5rem; background: white; color: var(--color-mms-dark); font-weight: 700; padding: 0.75rem 2rem; border-radius: 99px; font-size: 1.1rem; }
.cta-phone:hover { background: var(--color-mms-green); color: white; }


/* =========================================
   11. MODERN MEDIA MODAL (FIXED & BUGFIXED)
   ========================================= */
dialog {
    /* Zentrierung */
    position: fixed;
    inset: 0;
    margin: auto;
    z-index: 9999;
    
    border: none;
    border-radius: 1.5rem;
    padding: 0;
    
    width: 90%; 
    max-width: 1100px;
    
    /* Mobile Scroll Fix */
    height: auto;
    max-height: 80vh; 
    
    background: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* WICHTIG: Standardmäßig ausblenden! */
    display: none;
    
    /* Start-Status für Animation */
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), display 0.3s allow-discrete;
}

/* NUR wenn offen: Flexbox aktivieren */
dialog[open] {
    display: flex; /* Hier aktivieren wir Flexbox */
    flex-direction: column;
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Animation beim Schließen */
dialog.closing {
    display: flex; /* Muss flex bleiben während der Animation */
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    pointer-events: none;
}

dialog::backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
dialog[open]::backdrop { opacity: 1; }
dialog.closing::backdrop { opacity: 0; }

/* Layout */
.modal-grid { display: grid; grid-template-columns: 1fr; flex: 1; min-height: 0; height: 100%; }
@media (min-width: 900px) { .modal-grid { grid-template-columns: 350px 1fr; } }

.modal-image-col { background-color: #f3f4f6; display: none; align-items: center; justify-content: center; padding: 2rem; overflow: hidden; }
@media (min-width: 900px) { .modal-image-col { display: flex; } }

.modal-cover-img { width: 85%; height: auto; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2); transform: rotate(-2deg); max-height: 100%; object-fit: contain; transition: transform 0.5s ease;}

.modal-cover-img:hover { transform: rotate(0deg) scale(1.05); }

.modal-content-col { padding: 1.5rem; overflow-y: auto; height: 100%; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
@media (min-width: 900px) { .modal-content-col { padding: 2.5rem; } }

.modal-close { position: absolute; top: 1rem; right: 1rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid #e5e7eb; background: white; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; z-index: 50; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: all 0.2s; }
.modal-close:hover { background: var(--color-mms-green); border-color: var(--color-mms-green); color: white; transform: rotate(90deg); }

.modal-badge { color: var(--color-mms-green); font-weight: 700; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 1px; margin-bottom: 0.5rem; display: block; margin-top: 1rem; }
@media (min-width: 900px) { .modal-badge { margin-top: 0; } }

.modal-title { font-size: 1.75rem; margin-bottom: 1rem; line-height: 1.1; color: var(--color-mms-dark); padding-right: 2rem; }

.data-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.85rem; }
.data-table th { text-align: left; padding: 0.5rem; background: #f9fafb; border-bottom: 2px solid #e5e7eb; color: #6b7280; }
.data-table td { padding: 0.5rem; border-bottom: 1px solid #f3f4f6; color: var(--color-mms-dark); }
.data-table tr:last-child td { border-bottom: none; }
.price-strong { font-weight: 700; color: var(--color-mms-green); white-space: nowrap; }

.modal-section-title { font-size: 1rem; font-weight: 700; margin-top: 1.5rem; margin-bottom: 0.5rem; color: var(--color-mms-dark); border-bottom: 2px solid var(--color-mms-green); display: inline-block; padding-bottom: 2px; }

.modal-facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 1.5rem; }
.mf-item { background: #fff; border: 1px solid #f3f4f6; padding: 0.5rem; border-radius: 0.5rem; text-align: center; }
.mf-val { display: block; font-weight: 700; color: var(--color-mms-dark); font-size: 1rem; }
.mf-label { font-size: 0.65rem; color: #9ca3af; text-transform: uppercase; }

.modal-footer-action { background: #f9fafb; padding: 1.5rem; border-radius: 1rem; text-align: center; border: 1px dashed #d1d5db; margin-top: 2rem; }
.btn-download { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; background: var(--color-mms-dark); color: white; padding: 0.75rem 1.5rem; border-radius: 0.5rem; font-weight: 600; text-decoration: none; transition: background 0.3s; width: 100%; }
@media (min-width: 600px) { .btn-download { width: auto; } }
.btn-download:hover { background: var(--color-mms-green); }


/* --- MODERN FORM STYLES --- */
    #kontakt {
        padding: 80px 20px;
      background: var(--color-bg-light);
    }

    .modern-form-wrapper {
        max-width: 1152px;
        margin: 0 auto;
        background: #ffffff;
        padding: 50px;
        border-radius: 12px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    }

    .modern-form-wrapper h2 {
     
    }

    .modern-form-wrapper p.subtitle {
        text-align: center;
        color: #7f8c8d;
        margin-bottom: 40px;
    }

    /* Floating Label Logic */
    .input-group {
        position: relative;
        margin-bottom: 25px;
    }

    .input-group input,
    .input-group textarea,
    .input-group select {
        width: 100%;
        padding: 15px 15px;
        border: 2px solid #e0e0e0;
        border-radius: 6px;
        background: transparent;
        font-size: 16px;
        color: #333;
        transition: all 0.3s ease;
        outline: none;
        appearance: none; /* Entfernt Standard-Styles bei Selects */
      font-family: 'Montserrat', sans-serif;
    }

    .input-group textarea {
        resize: vertical;
        min-height: 120px;
    }

    /* Das Label selbst */
    .input-group label {
        position: absolute;
        top: 50%;
        left: 15px;
        transform: translateY(-50%);
        color: #999;
        font-size: 16px;
        pointer-events: none; /* Klicks gehen durch das Label ins Feld */
        transition: all 0.3s ease;
        background-color: #fff; /* Damit die Linie überdeckt wird */
        padding: 0 5px;
    }
    
    /* Label Position für Textarea korrigieren (oben statt mittig) */
    .input-group.textarea-group label {
        top: 20px;
        transform: translateY(0);
    }

    /* Wenn Fokus oder Text drin ist -> Label nach oben schieben */
    .input-group input:focus,
    .input-group textarea:focus,
    .input-group select:focus {
        border-color: #aebf7d; /* DEINE AKZENTFARBE */
        box-shadow: 0 0 8px rgba(174, 191, 125, 0.2);
    }

    .input-group input:focus + label,
    .input-group input:not(:placeholder-shown) + label,
    .input-group textarea:focus + label,
    .input-group textarea:not(:placeholder-shown) + label,
    .input-group select + label { /* Select Label immer oben */
        top: -10px;
        left: 10px;
        font-size: 12px;
        color: #aebf7d;
        font-weight: 600;
        transform: translateY(0);
    }

    /* Checkbox Modern */
    .checkbox-wrapper {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        font-size: 13px;
        color: #666;
        line-height: 1.5;
        margin-bottom: 30px;
    }
    .checkbox-wrapper input {
        width: 20px;
        height: 20px;
        margin-top: 2px;
        cursor: pointer;
        accent-color: #aebf7d;
    }
    .checkbox-wrapper a {
        color: #aebf7d;
        text-decoration: underline;
    }

    /* Button */
    .send-btn {
        width: 100%;
        padding: 18px;
        background-color: #aebf7d;
        color: #fff;
        font-size: 18px;
        font-weight: 600;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        transition: background 0.3s, transform 0.2s;
        box-shadow: 0 5px 15px rgba(174, 191, 125, 0.4);
      font-family: 'Montserrat', sans-serif;
    }

    .send-btn:hover {
        background-color: #9cad6b;
        transform: translateY(-2px);
    }

    /* Feedback Boxen */
    .feedback {
        padding: 15px;
        margin-bottom: 30px;
        border-radius: 6px;
        text-align: center;
        font-weight: 500;
    }
    .feedback.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
    .feedback.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

    .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
    
    /* Mobile Anpassung */
    @media (max-width: 600px) {
        .modern-form-wrapper { padding: 30px 20px; }
    }

/* =========================================
   12. FOOTER
   ========================================= */
.footer {
    background-color: var(--color-mms-dark);
    color: white;
    padding: 3rem 0;
}

.leaflet-control-container .leaflet-attribution-flag {
    display: none !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.footer-logo {
    height: 3rem;
    width: auto;
    margin-bottom: 0.5rem;
}

.footer p, .footer li {
    font-size: 0.875rem;
    color: #9ca3af;
}

.footer h4 {
    font-weight: 700;
    color: var(--color-mms-green);
    margin-bottom: 1rem;
}

.footer a:hover { color: white; }

/* =========================================
   13. WERBE-BANNERS (MODERN)
   ========================================= */

/* --- OPTION 1: Parallax Break Banner --- */
.banner-parallax {
    position: relative;
    width: 100%;
    height: 450px;
    background-image: url('/img/landingpage/sylt-luftbild-AdobeStock_311176426.jpeg'); /* Dein Bild hier */
    background-attachment: fixed; /* Der Parallax-Effekt */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin: var(--spacing-section) 0;
}

.banner-parallax::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* Dunkler Schleier für Lesbarkeit */
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 0 1.5rem;
}

.banner-headline {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.banner-sub {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* --- OPTION 2: Premium Promo Card --- */
.banner-promo-section {
    padding: 2rem 0; /* Weniger Abstand, da es sich in den Fluss einfügt */
}

.promo-card {
    background-color: var(--color-mms-dark);
    border-radius: 1.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.2);
    position: relative;
}

@media (min-width: 900px) {
    .promo-card {
        flex-direction: row;
        align-items: stretch;
        min-height: 350px;
    }
}

.promo-text-col {
    padding: 3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
    z-index: 2;
}

.promo-tag {
    background-color: var(--color-mms-green);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.promo-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.promo-desc {
    color: #ccc;
    margin-bottom: 2rem;
    max-width: 400px;
}

.promo-img-col {
    flex: 1;
    position: relative;
    min-height: 250px;
    background-color: #444;
}

.promo-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Auf Desktop ein schräger Schnitt-Effekt */
    clip-path: none;
}

.footer a {
  color: #aebf7d;
}

@media (min-width: 900px) {
    .promo-img-col img {
        position: absolute;
        inset: 0;
    }
}