/* === fonts.css === */
/* =====================================================
   Poppins — lokal gehostet (DSGVO-konform).
   Wenn die Dateien noch nicht da sind, fällt der Browser
   automatisch auf den System-Sans-Serif aus dem Stack
   in variables.css zurück. Siehe assets/fonts/poppins/README.txt
   für die einmalige Installations-Anleitung.

   Reihenfolge im src: woff2 zuerst (kompakter), dann ttf.
   ===================================================== */

@font-face {
    font-family: 'Poppins';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('../fonts/poppins/Poppins-Regular.woff2') format('woff2'),
         url('../fonts/poppins/Poppins-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Poppins';
    font-weight: 400;
    font-style: italic;
    font-display: swap;
    src: url('../fonts/poppins/Poppins-Italic.woff2') format('woff2'),
         url('../fonts/poppins/Poppins-Italic.ttf') format('truetype');
}
@font-face {
    font-family: 'Poppins';
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    src: url('../fonts/poppins/Poppins-Medium.woff2') format('woff2'),
         url('../fonts/poppins/Poppins-Medium.ttf') format('truetype');
}
@font-face {
    font-family: 'Poppins';
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    src: url('../fonts/poppins/Poppins-SemiBold.woff2') format('woff2'),
         url('../fonts/poppins/Poppins-SemiBold.ttf') format('truetype');
}
@font-face {
    font-family: 'Poppins';
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url('../fonts/poppins/Poppins-Bold.woff2') format('woff2'),
         url('../fonts/poppins/Poppins-Bold.ttf') format('truetype');
}


/* === variables.css === */
/* =====================================================
   Variablen — HinundHaar (Phase 1, Re-Design 2026-05-15)
   Neues Markenbild: Magenta + Marineblau, Beige-Body,
   Schwarz-Footer, Poppins (lokal).
   Zentrale Quelle aller Farbwerte. Kein anderer File darf
   alte Hex-Werte direkt setzen — immer var(--color-...) nutzen.
   ===================================================== */

:root {
    /* === PRIMÄR === */
    --color-magenta:        #FF1487;   /* Hot Pink — CTA, Akzent, Headline-Anteil */
    --color-magenta-dunkel: #D9116F;   /* Hover für Magenta-Buttons */

    /* === SEKUNDÄR === */
    --color-marine:         #2D1B69;   /* Marineblau/Violett — Headline-Anker, Logo-Element */
    --color-marine-hell:    #4A3690;   /* Sekundär-Text/Hover Marineblau */

    /* === BODY / FLÄCHEN === */
    --color-bg:             #F5F1ED;   /* Soft Beige — Body */
    --color-bg-alt:         #FFFFFF;   /* Karten, Forms, Header */

    /* === TEXT === */
    --color-text:           #333333;   /* Body-Text — Anthrazit */
    --color-text-muted:     #666666;   /* Sekundär-Text — dunkles Anthrazit, harmoniert mit Marine */

    /* === FOOTER (Beige, Marineblau-Text, Magenta-Akzent) === */
    --color-footer-bg:      #E5DAD0;   /* sanftes Beige, dunkler als Body */
    --color-footer-text:    #2D1B69;   /* Marineblau */
    --color-footer-muted:   #4A3690;   /* Marineblau-hell, gedaempft */
    --color-footer-border:  rgba(45, 27, 105, 0.18);   /* feine Trennlinie auf Beige */

    /* === LINIEN / SCHATTEN === */
    --color-border:         #E8DFD5;   /* Beige-Ton-Border */
    --color-border-soft:    rgba(45, 27, 105, 0.10); /* Marineblau-Opazität */
    --color-shadow:         rgba(45, 27, 105, 0.08);

    /* === KOMPATIBILITÄTS-ALIASES (Bestandscode) ===
       Diese Aliase mappen die alten Variablen-Namen (--color-primary,
       --color-accent, --color-bg-soft) auf das neue Farbsystem.
       So müssen nicht alle Komponenten gleichzeitig refactored werden.
       Faustregel: Primär = Marineblau (Anker), Akzent = Magenta. */
    --color-primary:        var(--color-marine);
    --color-primary-light:  var(--color-marine-hell);
    --color-primary-dark:   #1F1349;
    --color-accent:         var(--color-magenta);
    --color-accent-dark:    var(--color-magenta-dunkel);
    --color-bg-soft:        var(--color-bg);   /* früheres Soft-Pink → Beige-Body */

    /* === TYPOGRAFIE === */
    --font-heading:         'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-body:            'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-size-base:       1rem;
    --font-size-sm:         0.875rem;
    --font-size-lg:         1.125rem;
    --font-size-xl:         1.4rem;     /* Poppins läuft etwas breiter -> H3 leicht reduziert */
    --font-size-2xl:        1.85rem;    /* H2 */
    --font-size-3xl:        2.5rem;     /* H1 */
    --line-height:          1.65;

    /* === ABSTÄNDE === */
    --spacing-xs:           0.25rem;
    --spacing-sm:           0.5rem;
    --spacing-md:           1rem;
    --spacing-lg:           2rem;
    --spacing-xl:           4rem;
    --spacing-2xl:          6rem;

    /* === LAYOUT === */
    --container-width:      1200px;
    --border-radius:        8px;
    --border-radius-lg:     16px;

    /* === SCHATTEN — Marine-getönt === */
    --shadow-sm:            0 1px 3px rgba(45, 27, 105, 0.08);
    --shadow-md:            0 4px 12px rgba(45, 27, 105, 0.10);
    --shadow-lg:            0 8px 24px rgba(45, 27, 105, 0.14);

    /* === HEADER-HÖHE === */
    --header-height:        72px;

    /* === ÜBERGÄNGE === */
    --transition:           0.2s ease;
}


/* === main.css === */
/* =====================================================
   Main-CSS — HinundHaar (Re-Design 2026-05-15)
   Farben kommen ausnahmslos aus variables.css.
   ===================================================== */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: var(--font-size-base);
    line-height: var(--line-height);
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Typografie — Headings in Poppins, Marineblau als Default */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--color-marine);
    font-weight: 600;
}
h1 { font-size: var(--font-size-3xl); font-weight: 700; }
h2 { font-size: var(--font-size-2xl); font-weight: 600; }
h3 { font-size: var(--font-size-xl); font-weight: 600; }
h4 { font-size: var(--font-size-lg); font-weight: 600; }

p { margin-bottom: var(--spacing-md); }

a {
    color: var(--color-marine);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--color-magenta); }

/* =====================================================
   ZWEI-FARBEN-HEADLINES
   .h-magenta = Magenta (immer ZUERST in der Headline),
   .h-marine  = Marineblau (Anker), .h-italic = kursiv
   ===================================================== */
.h-magenta { color: var(--color-magenta); }
.h-marine  { color: var(--color-marine); }
.h-italic  { font-style: italic; font-weight: 500; }

/* =====================================================
   Header — sticky, weiß, opak
   ===================================================== */
.site-header {
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    min-height: var(--header-height);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo-Bild im Header */
.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-marine);
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: 700;
    line-height: 1;
}
.logo-bild {
    display: block;
    max-height: 60px;
    width: auto;
    height: auto;
}

.main-nav ul {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
    align-items: center;
}
.main-nav a {
    color: var(--color-marine);
    font-size: var(--font-size-sm);
    font-weight: 500;
}
.main-nav a:hover { color: var(--color-magenta); }
.btn-nav {
    background: var(--color-magenta);
    color: #fff !important;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    font-weight: 600;
}
.btn-nav:hover { background: var(--color-magenta-dunkel) !important; color: #fff !important; }

/* =====================================================
   Buttons
   ===================================================== */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 600;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
}
.btn-primary {
    background: var(--color-magenta);
    color: #fff;
}
.btn-primary:hover { background: var(--color-magenta-dunkel); color: #fff; }
.btn-outline {
    background: transparent;
    color: var(--color-marine);
    border: 2px solid var(--color-marine);
}
.btn-outline:hover { background: var(--color-marine); color: #fff; }

/* =====================================================
   Sections
   ===================================================== */
.section { padding: var(--spacing-2xl) 0; position: relative; }
.section-soft { background: var(--color-bg-alt); }   /* alt = Weiß-Sektion auf Beige-Body */
.section-title { margin-bottom: var(--spacing-lg); text-align: center; }
.section-title p { color: var(--color-text-muted); }

/* Grid */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--spacing-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-lg); }

/* Cards — Weiß auf Beige-Body */
.card {
    background: var(--color-bg-alt);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

/* =====================================================
   Hero-Slider — Autoplay Fullwidth Crossfade
   ===================================================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}
.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}
.slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.40) 50%,
        rgba(0, 0, 0, 0.55) 100%
    );
    z-index: 2;
    pointer-events: none;
}
.slider-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
    will-change: auto;
}
.slider-img.slider-active {
    opacity: 1;
    will-change: opacity;
}
.slider-text {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 var(--spacing-lg);
}
.slider-text h1 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.slider-text p {
    color: rgba(255, 255, 255, 0.92);
    font-size: var(--font-size-lg);
    max-width: 680px;
    margin: 0 auto var(--spacing-lg);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.h-magenta-light { color: #FF6AB3; }
.h-white { color: #fff; }

@media (max-width: 768px) {
    .hero-slider {
        height: 55vh;
    }
    .slider-text h1 {
        font-size: var(--font-size-2xl);
    }
    .slider-text p {
        font-size: var(--font-size-base);
    }
}

/* =====================================================
   Hero
   ===================================================== */
.hero {
    padding: var(--spacing-2xl) 0;
    background: var(--color-bg-alt);
    text-align: center;
}
.hero h1 { margin-bottom: var(--spacing-md); }
.hero p { color: var(--color-text-muted); font-size: var(--font-size-lg); margin-bottom: var(--spacing-lg); }

/* =====================================================
   Footer — Beige mit Marineblau-Text, Magenta-Akzent
   Streifen-Linie oben: Magenta / Marine / Magenta / Marine
   (4x 4px = 16px Gesamthoehe), via ::before-Pseudo-Element.
   ===================================================== */
.site-footer {
    background: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding: calc(var(--spacing-xl) + 16px) 0 var(--spacing-lg);
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 16px;
    background: linear-gradient(
        to bottom,
        var(--color-magenta) 0 25%,
        var(--color-marine)  25% 50%,
        var(--color-magenta) 50% 75%,
        var(--color-marine)  75% 100%
    );
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}
.footer-logo {
    display: block;
    max-height: 80px;
    width: auto;
    margin-bottom: var(--spacing-sm);
}
.footer-brand {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-footer-text);
    font-family: var(--font-heading);
}
.site-footer p { color: var(--color-footer-muted); }
.site-footer h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--color-magenta);
    font-weight: 600;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: var(--spacing-xs); }
.site-footer a { color: var(--color-footer-text); transition: color var(--transition); }
.site-footer a:hover { color: var(--color-magenta); }
.footer-copy {
    border-top: 1px solid var(--color-footer-border);
    padding-top: var(--spacing-md);
    color: var(--color-footer-muted);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-md);
}

/* =====================================================
   Cards — Erweiterungen
   ===================================================== */
.card-icon { font-size: 2rem; margin-bottom: var(--spacing-sm); }
.card h3 { margin-bottom: var(--spacing-sm); color: var(--color-marine); }
.card p { color: var(--color-text-muted); margin-bottom: var(--spacing-md); }

/* Über mich */
.grid-center { align-items: center; }
.about-image img { width: 100%; border-radius: var(--border-radius-lg); object-fit: cover; }
.about-image--logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) var(--spacing-lg);
}
.about-image--logo img {
    width: auto;
    max-width: 85%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
}
.about-text h2 { margin-bottom: var(--spacing-md); }
.about-text p { color: var(--color-text-muted); }

/* Testimonials */
.testimonial { text-align: center; }
.testimonial-img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 3px solid var(--color-magenta);
    margin-bottom: var(--spacing-md);
}
.testimonial .stars { color: var(--color-magenta); font-size: var(--font-size-lg); margin-bottom: var(--spacing-sm); }
.testimonial p { font-style: italic; color: var(--color-text-muted); margin-bottom: var(--spacing-sm); }
.testimonial strong { color: var(--color-marine); }

/* CTA Banner — Marineblau-Bühne, Magenta-Button */
.cta-banner {
    background: var(--color-marine);
    color: #fff;
    text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: var(--spacing-sm); }
.cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: var(--spacing-lg); }
.cta-banner a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cta-banner a:not(.btn):hover { color: var(--color-magenta); }
.cta-banner .btn-primary { background: var(--color-magenta); color: #fff; }
.cta-banner .btn-primary:hover { background: var(--color-magenta-dunkel); }

/* Blog Cards */
.blog-meta { font-size: var(--font-size-sm); color: var(--color-magenta); font-weight: 600; margin-bottom: var(--spacing-sm); }
.blog-card h3 { font-size: var(--font-size-lg); margin-bottom: var(--spacing-sm); }

/* Leistungen */
.leistung-list { list-style: none; margin-bottom: var(--spacing-md); }
.leistung-list li { padding: var(--spacing-xs) 0; color: var(--color-text-muted); }
.leistung-list li::before { content: "✓ "; color: var(--color-magenta); font-weight: bold; }
.leistung-list--detail li { font-size: var(--font-size-lg); }
.leistung-detail-image img { width: 100%; border-radius: var(--border-radius-lg); object-fit: cover; }

/* Kontakt */
.kontakt-liste { list-style: none; margin: var(--spacing-md) 0; }
.kontakt-liste li { padding: var(--spacing-sm) 0; color: var(--color-text-muted); }
.kontakt-form { background: var(--color-bg-alt); padding: var(--spacing-lg); border-radius: var(--border-radius-lg); border: 1px solid var(--color-border); }
.form-group { margin-bottom: var(--spacing-md); }
.form-group label { display: block; font-weight: 600; margin-bottom: var(--spacing-xs); color: var(--color-marine); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    background: var(--color-bg-alt);
    color: var(--color-text);
    transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--color-magenta); }
.pflichtfeld { color: var(--color-magenta); font-weight: 700; }
.form-hinweis { font-size: var(--font-size-sm); color: var(--color-text-muted); margin-bottom: var(--spacing-md); }
.form-group input:invalid:not(:placeholder-shown) { border-color: #e74c3c; }
.form-group input:valid:not(:placeholder-shown) { border-color: #27ae60; }

/* Honeypot — für Bots unsichtbar */
.form-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Formular-Status-Meldungen */
.form-status { padding: var(--spacing-md) var(--spacing-lg); border-radius: var(--border-radius); margin-bottom: var(--spacing-lg); font-weight: 500; line-height: 1.5; }
.form-status--erfolg { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-status--fehler { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* Datenschutz-Hinweis unter Formular */
.form-datenschutz { font-size: var(--font-size-sm); color: var(--color-text-muted); margin-top: var(--spacing-md); line-height: 1.5; }
.form-datenschutz a { color: var(--color-marine); text-decoration: underline; }

/* Blog Liste */
.blog-liste { display: flex; flex-direction: column; gap: var(--spacing-lg); }
.blog-item { border-bottom: 1px solid var(--color-border); padding-bottom: var(--spacing-lg); }
.blog-item h3 { margin: var(--spacing-sm) 0; }
.blog-item h3 a { color: var(--color-marine); }
.blog-item h3 a:hover { color: var(--color-magenta); }
.blog-item-meta { font-size: var(--font-size-sm); color: var(--color-magenta); font-weight: 600; }
.blog-item p { color: var(--color-text-muted); margin-bottom: var(--spacing-md); }

/* Team */
.team-image img { width: 100%; border-radius: var(--border-radius-lg); object-fit: cover; }
.team-stats { display: flex; gap: var(--spacing-lg); margin: var(--spacing-lg) 0; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: var(--font-size-2xl); color: var(--color-marine); }
.stat span { font-size: var(--font-size-sm); color: var(--color-text-muted); }

/* Preise */
.preis-card { position: relative; }
.preis-highlight { border: 2px solid var(--color-magenta); }
.preis-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--color-magenta); color: #fff; padding: 2px 12px; border-radius: 20px; font-size: var(--font-size-sm); white-space: nowrap; font-weight: 600; }
.preis-liste { list-style: none; margin: var(--spacing-md) 0; }
.preis-liste li { display: flex; justify-content: space-between; padding: var(--spacing-sm) 0; border-bottom: 1px solid var(--color-border); font-size: var(--font-size-sm); }
.preis-liste li:last-child { border-bottom: none; }
.preis-liste li strong { color: var(--color-marine); }
.preis-hinweis { text-align: center; color: var(--color-text-muted); font-size: var(--font-size-sm); margin-top: var(--spacing-lg); }

/* Galerie (Basis-Override, Komponenten-CSS feinpoliert weiter) */
.galerie-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-sm); }
.galerie-item img { width: 100%; height: 250px; object-fit: cover; border-radius: var(--border-radius); transition: transform var(--transition); }
.galerie-item img:hover { transform: scale(1.02); }

/* Impressum / Datenschutz */
.container--narrow { max-width: 720px; }
.container--narrow h2 { margin-bottom: var(--spacing-lg); }
.container--narrow h3 { margin: var(--spacing-lg) 0 var(--spacing-sm); color: var(--color-marine); }

/* =====================================================
   GEO-Seiten — Hero-Erweiterungen
   ===================================================== */
.hero--geo .hero-breadcrumb,
.hero--geo .breadcrumb { font-size: var(--font-size-sm); color: var(--color-text-muted); margin-bottom: var(--spacing-sm); }
.hero--geo .hero-breadcrumb a,
.hero--geo .breadcrumb a { color: var(--color-marine); }
.hero--geo .hero-breadcrumb a:hover,
.hero--geo .breadcrumb a:hover { color: var(--color-magenta); }
.hero--geo .breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
    margin: 0;
}
.hero--geo .breadcrumb li + li::before {
    content: "›";
    padding: 0 var(--spacing-xs);
    color: var(--color-text-muted);
}
.hero-badge {
    display: inline-block;
    background: var(--color-magenta);
    color: #fff;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}
.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}
.hero-trust,
.trust-badges {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
    color: var(--color-marine);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.leistungen-box {
    background: var(--color-bg-alt);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}
.leistungen-box h3 { color: var(--color-marine); margin-bottom: var(--spacing-md); }

.stadtteile-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
}
.stadtteil-tag {
    display: inline-block;
    background: var(--color-bg-alt);
    color: var(--color-marine);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 999px;
    border: 1px solid var(--color-border);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    text-align: center;
}
.trust-item-box {
    background: var(--color-bg-alt);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}
.trust-num {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-magenta);
    margin-bottom: var(--spacing-xs);
}
.trust-label { color: var(--color-text-muted); font-size: var(--font-size-sm); }

.seo-text p { color: var(--color-text); }

/* =====================================================
   WELLEN-TRENNER zwischen Sektionen
   Sanfte Sinus-Welle, Höhe ~70px. Inline-SVG bevorzugt.
   Klassen-Variante als Fallback (CSS mask).
   .wellen-trenner positioniert sich am Section-Übergang.
   ===================================================== */
.wellen-trenner {
    display: block;
    width: 100%;
    height: 70px;
    line-height: 0;
    overflow: hidden;
}
.wellen-trenner svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 768px) {
    h1 { font-size: var(--font-size-2xl); }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .main-nav { display: none; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .logo-bild { max-height: 48px; }
}


/* === menu-mobile.css === */
/* =====================================================
   Mobile-Menü — Burger + Off-Canvas (Slide von rechts)
   Header bleibt sticky; Burger nur sichtbar <= 768px.
   ===================================================== */

/* Burger-Knopf — Default versteckt (Desktop) */
.burger-knopf {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 10px 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.burger-strich {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px auto;
    background: var(--color-marine); /* Marineblau #2D1B69 */
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Burger -> X im offenen Zustand */
.burger-knopf[aria-expanded="true"] .burger-strich:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.burger-knopf[aria-expanded="true"] .burger-strich:nth-child(2) {
    opacity: 0;
}
.burger-knopf[aria-expanded="true"] .burger-strich:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Off-Canvas-Menü — schiebt von rechts ein */
.mobil-menue {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--color-bg-alt); /* Weiß */
    box-shadow: -8px 0 24px rgba(45, 27, 105, 0.18);
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
    z-index: 200;
    padding: calc(var(--header-height) + var(--spacing-md)) var(--spacing-lg) var(--spacing-lg);
    overflow-y: auto;
    visibility: hidden;
}

.mobil-menue.ist-offen {
    transform: translateX(0);
    visibility: visible;
}

.mobil-menue nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    padding: 0;
    margin: 0;
}

.mobil-menue nav a {
    display: block;
    color: var(--color-marine);
    font-size: var(--font-size-lg);
    font-weight: 600;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--color-border);
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobil-menue nav a:hover,
.mobil-menue nav a:focus {
    color: var(--color-magenta);
}

.mobil-menue-cta {
    margin-top: var(--spacing-md);
    text-align: center;
    border-bottom: none !important;
    background: var(--color-magenta);
    color: #fff !important;
}

.mobil-menue-cta:hover,
.mobil-menue-cta:focus {
    background: var(--color-magenta-dunkel);
    color: #fff !important;
}

/* Overlay hinter dem Menü */
.mobil-menue-overlay {
    position: fixed;
    inset: 0;
    background: rgba(45, 27, 105, 0.7);
    z-index: 150;
    opacity: 0;
    transition: opacity 0.3s ease-out;
    pointer-events: none;
}

.mobil-menue-overlay.ist-offen {
    opacity: 1;
    pointer-events: auto;
}

/* Body-Scroll-Lock wenn Menü offen */
body.mobil-menue-offen {
    overflow: hidden;
}

/* Burger nur auf Mobil sichtbar; Desktop-Nav dort verstecken */
@media (max-width: 768px) {
    .burger-knopf {
        display: block;
    }
    .main-nav {
        display: none;
    }
}

/* Reduced-Motion: Animationen instant */
@media (prefers-reduced-motion: reduce) {
    .mobil-menue,
    .mobil-menue-overlay,
    .burger-strich {
        transition: none !important;
    }
}
