/* =========================================
   1. VARIABLEN & GRUNDEINSTELLUNGEN
   =========================================
   WICHTIG: Die Werte unten sind nur Fallback-Defaults. Die eigentliche
   Theming-Palette liegt in /css/theme.css (Basis) und /site/theme.css
   (pro Domain). Beide werden nach diesem Stylesheet geladen und
   überschreiben die Defaults. Siehe Kommentare dort für Erklärungen.
*/
:root {
    /* ---- Markenfarben ---- */
    --primary: #e63946;                 /* Haupt-Markenfarbe */
    --secondary: #1d3557;               /* zweite Markenfarbe (Badges/Highlights) */
    --accent: var(--primary);           /* Akzent (Focus, Hover-Kanten) */
    --accent-soft: rgba(230,57,70,0.18);/* halbtransparenter Akzent (Hover-Flächen) */

    /* ---- Header ---- */
    --header-bg: #14181f;               /* Hintergrund der Header-Leiste */
    --header-fg: #ffffff;               /* Basis-Textfarbe im Header (Hook) */
    --header-border: var(--accent);     /* 1px-Linie unten am Header */
    --header-link: #333333;             /* Nav-Links im Header */
    --header-link-hover: #999;          /* Hover/Aktiv der Nav-Links */

    /* ---- Footer ---- */
    --footer-bg: #12161c;               /* Hintergrund des Footers */
    --footer-fg: #ffffff;               /* Haupt-Textfarbe im Footer */
    --footer-fg-muted: rgba(255,255,255,0.65); /* gedämpfte Footer-Texte (Meta/Copyright) */
    --footer-link: #ffffff;             /* Nav-Links im Footer */
    --footer-link-hover: #ffffff;       /* Hover der Footer-Links */
    --footer-border: var(--accent);     /* obere Linie & Divider im Footer */
    --footer-surface: rgba(255,255,255,0.05);        /* Boxen/Chips im Footer */
    --footer-surface-border: rgba(255,255,255,0.09); /* Rand dieser Boxen */
    --footer-accent: var(--accent);     /* Akzent im Footer (Eyebrow, Panel-Links) */

    /* ---- Seite allgemein ---- */
    --brand-dark: var(--header-bg);     /* generische „dunkle"-Variable (Legacy) */
    --body-bg: #ffffff;                 /* Seiten-Hintergrund (body) */
    --card-bg: #ffffff;                 /* Hintergrund Profilkarten / Content-Boxen / Modals */
    --text-main: #333333;               /* Standard-Schriftfarbe im Body */
    --text-muted: #666666;              /* Sub-Texte, Untertitel */
    --border-color: #e0e0e0;            /* Kartenränder / Divider im Content */

    /* ---- CTA-Buttons (Grün / Orange) ---- */
    --action-green: #1faf4b;            /* Primär-Button (z.B. „Gratis registrieren") */
    --action-green-hover: #18903d;
    --action-green-active: #147734;
    --action-green-badge: #239647;      /* Button-Badge-Hintergrund */
    /* Alternative: CTA-Button in Markenfarbe statt Grün */
    /* --action-green: var(--accent); */
    --badge-orange: #ff9800;            /* „NEU"-Label im Header */

    /* ---- Layout ---- */
    --padding: 20px;                    /* horizontaler Innenabstand des Contents */
    --max-width: 1200px;                /* maximale Contentbreite */
}

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

/* Grund-Styling der Seite. Farben kommen aus theme.css:
     --body-bg    → Seiten-Hintergrund
     --text-main  → Standard-Schriftfarbe */
body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--body-bg);
}

a   { text-decoration: none; color: var(--brand-dark); transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease; }
ul  { list-style: none; }

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
header { 
    background: var(--header-bg);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.2); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    border-bottom: 1px solid var(--header-border); 
}

.site-header__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--padding);
}

.site-header__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 84px;
    padding: 0.95rem 0 0.7rem;
}

.site-header__desktop {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    min-width: 0;
    gap: 22px;
}

.site-nav {
    flex: 1 1 auto;
    min-width: 0;
}

.site-header__meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    padding: 10px 0 14px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.lang-switch {
    position: relative;
    flex: 0 0 auto;
}

.lang-current {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(172, 215, 225, 0.14);
    background: rgba(255,255,255,0.04);
    color: #eef2f6;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-current:hover,
.lang-switch.is-open .lang-current {
    color: #ffffff;
    background: rgba(111, 182, 171, 0.12);
    border-color: rgba(111, 182, 171, 0.28);
}

.lang-current__icon,
.lang-current__caret {
    opacity: 0.78;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    min-width: 132px;
    padding: 8px 0;
    background: rgba(18, 27, 32, 0.98);
    border: 1px solid rgba(172, 215, 225, 0.16);
    box-shadow: 0 10px 20px rgba(0,0,0,0.22);
    border-radius: 16px;
    z-index: 2100;
}

.lang-dropdown a {
    display: block;
    padding: 10px 14px;
    color: #eef2f6 !important;
    margin: 0 !important;
    font-weight: 600;
    font-size: 0.84rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.lang-dropdown a:last-child {
    border-bottom: none;
}

.lang-dropdown a:hover,
.lang-dropdown a.active {
    background-color: rgba(255,255,255,0.06);
    color: #ffffff !important;
}

/* =========================================
   FIX: Grüner Button in Flucht bringen
   ========================================= */

.hero-cta-container {
    width: 100%;
    max-width: var(--max-width); /* Begrenzung auf 1200px */
    padding: 0 var(--padding);   /* Gleiches Side-Padding wie Header */
    margin: 0 auto;              /* Zentrierung */
    box-sizing: border-box;
}

/* Der eigentliche Button-Link */
.hero .btn-cta-full {
    display: block;
    width: 100%;
    background-color: var(--action-green);
    color: #fff;
    text-align: center;
    padding: 12px 0;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px; /* Optional für abgerundete Ecken */
    transition: background 0.3s;
}

.hero .btn-cta-full:hover {
    background-color: var(--action-green-hover);
}

.logo { 
    display: flex;
    align-items: center;
    padding: 2px 0;
    font-family: "Avenir Next", "Nunito Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 2.6vw, 2.05rem);
    line-height: 1;
    letter-spacing: -0.02em;
    text-decoration: none;
    text-transform: none;
}

.logo--image {
    padding: 0;
}

.site-logo-image {
    display: block;
    height: 48px;
    width: auto;
    max-width: min(240px, 36vw);
    object-fit: contain;
}

.logo-main {
    color: var(--logo-main, #f2eee7);
}

.logo-accent {
    color: var(--logo-accent, #6fb6ab);
    margin-left: 1px;
}

/* Badges (Neu / Kostenlos) */
.badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 6px;
    text-transform: uppercase;
    vertical-align: middle;
    line-height: 1;
    position: relative;
    top: -1px;
}
.badge-new  { background-color: var(--badge-orange); color: #fff; }
.badge-free { background-color: var(--action-green-badge); color: #fff; }

/* Desktop Navigation */
.desktop-only { display: flex; align-items: center; }

.header-legal {
    position: relative;
    flex: 0 1 auto;
    min-width: 0;
}

.header-legal__trigger {
    appearance: none;
    border: 1px solid rgba(172, 215, 225, 0.14);
    background: rgba(255,255,255,0.04);
    color: rgba(233, 240, 245, 0.78);
    border-radius: 14px;
    min-height: 42px;
    max-width: 100%;
    padding: 0 15px;
    font-size: 0.76rem;
    line-height: 1.1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.header-legal__trigger:hover,
.header-legal.is-open .header-legal__trigger {
    color: #ffffff;
    border-color: rgba(111, 182, 171, 0.28);
    background: rgba(111, 182, 171, 0.12);
}

.header-legal--hard .header-legal__trigger {
    color: #f8fbfd;
    background: rgba(111, 182, 171, 0.12);
    border-color: rgba(111, 182, 171, 0.24);
    box-shadow: 0 10px 22px rgba(0,0,0,0.14);
}

.header-legal__popover {
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    width: min(420px, calc(100vw - 40px));
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(16, 22, 28, 0.97);
    border: 1px solid rgba(172, 215, 225, 0.16);
    box-shadow: 0 22px 44px rgba(0,0,0,0.34);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 2200;
}

.header-legal.is-open .header-legal__popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-legal__eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #7bbdb2;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.header-legal__popover h3 {
    margin: 0 0 10px;
    color: #f5f8fa;
    font-size: 1rem;
    line-height: 1.3;
}

.header-legal__body {
    color: rgba(223, 232, 238, 0.82);
    font-size: 0.88rem;
    line-height: 1.66;
}

.header-legal__body p + p {
    margin-top: 10px;
}

.header-legal__body a {
    color: #8dcabf;
    border-bottom: 1px solid rgba(141, 202, 191, 0.28);
}

.nav-links a { 
    margin-left: 22px; 
    color: var(--header-link); 
    font-weight: 400; 
    font-size: 0.95rem; 
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover { 
    color: var(--header-link-hover); 
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    min-width: 0;
}

.nav-links a:first-child {
    margin-left: 0;
}

.site-header__primary-cta {
    flex: 0 0 auto;
}

.site-header__cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 16px;
    background: var(--action-green);
    color: #fff !important;
    font-size: 0.94rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 10px 26px rgba(22, 86, 46, 0.24);
}

.site-header__cta-link:hover {
    background: var(--action-green-hover);
    color: #fff !important;
}

/* --- Mobile Menu (Burger) --- */
.burger-menu {
    display: none; /* Erstmal versteckt */
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 5px;
}

.burger-menu span {
    width: 30px;
    height: 3px;
    background-color: #f2f5f8;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile Drawer (Der Kasten) */
.mobile-menu {
    display: none; 
    background: rgba(18, 27, 32, 0.95); 
    position: absolute;
    top: 100%; 
    left: 0;
    width: 100%;
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
    border-top: 1px solid rgba(109, 154, 173, 0.28);
    padding: 0;
    flex-direction: column;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 9999;
}

.mobile-menu a {
    display: block;
    padding: 15px 20px;
    color: #eef2f6;
    font-weight: 400;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.2s;
}

.mobile-menu a:hover { background-color: rgba(255,255,255,0.05); color: var(--header-link-hover); }
.mobile-menu a.active { color: var(--header-link-hover); }

.mobile-lang-box {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 10px;
    padding-top: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    margin-left: 12px;
    margin-right: 12px;
    margin-bottom: 12px;
}

.mobile-lang-box p {
    padding: 0 12px 8px;
    font-size: 0.78rem;
    color: #aeb8bf;
    margin: 0;
}

.mobile-lang-links {
    display: flex;
    flex-wrap: wrap;
}

.mobile-lang-links a {
    flex: 1;
    text-align: center;
    border: none;
    color: #e6edf2;
    font-weight: 500;
    padding: 10px 6px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-lang-links a.active {
    color: #7ac2b6;
}

.mobile-lang-links a:hover {
    background: rgba(255,255,255,0.05);
    color: #d2dde5;
}

/* Animation des Burger Icons */
.burger-menu.open span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.burger-menu.open span:nth-child(2) { opacity: 0; }
.burger-menu.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -7px); }

/* --- RESPONSIVE SWITCH (WICHTIG!) --- */
@media (max-width: 1100px) {
    .desktop-only { display: none !important; }
    .burger-menu { display: flex !important; }
    
    .mobile-menu.show {
        display: flex;
        animation: slideDownMenu 0.3s ease-out;
    }
    .site-header__main {
        min-height: 76px;
        padding: 0.9rem 0;
    }
    .site-header__meta {
        display: none;
    }
    .site-logo-image {
        height: 42px;
        max-width: min(210px, 50vw);
    }
}

/* Firefox: reduzierte Effektstufe für flüssigeres Scrollen */
@supports (-moz-appearance: none) {
    header,
    .mobile-menu,
    .modal-overlay,
    .tip-popup-overlay,
    .vx-modal-overlay,
    .legal-modal-overlay,
    .age-gate__backdrop {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .pulse-anim {
        animation: none !important;
    }

    .profile-card:hover,
    .offer-box:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@keyframes slideDownMenu {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
    /* 
       1. Zeile: Dunkler Schleier (50% schwarz), damit weißer Text lesbar bleibt.
       2. Zeile: Dein Bild (Pfad ggf. anpassen!)
    */
    /* --hero-bg wird in includes/header.php über siteAssetUrl() gesetzt.
       Fallback: site.example/img/header.webp (wenn keine site/-Installation existiert). */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), var(--hero-bg, url('../site.example/img/header.webp')); 
    
    /* 'cover' sorgt dafür, dass dein 600px Bild die Box immer komplett füllt, 
       egal wie breit der Bildschirm ist. */
    background-size: cover; 
    background-position: center; 
    
    /* Hier stellen wir die Höhe ein. 
       40vh sind ca. 40% der Bildschirmhöhe. 
       Das ist kompakt genug, damit man Profile sieht, aber groß genug für das Bild. */
    height: 40vh; 
    min-height: 350px; 
    
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    color: #ffffff; 
    padding: 0 20px;
    position: relative; /* Für sauberes Stacking */
}

/* Schatten für bessere Lesbarkeit auf unruhigen Bildern */
.hero h1 { 
    font-size: 2.5rem; 
    margin-bottom: 0.5rem; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.7); 
}
.hero p { 
    margin-bottom: 1.5rem; 
    font-size: 1.2rem; 
    opacity: 1; /* Volle Deckkraft */
    text-shadow: 0 1px 5px rgba(0,0,0,0.7);
    font-weight: 500;
}

.city-hero {
    min-height: 320px;
    height: 42vh;
    padding-top: 34px;
    padding-bottom: 34px;
}

.city-hero h1 {
    max-width: 900px;
    margin-bottom: 0.7rem;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.city-hero p {
    max-width: 760px;
    margin-bottom: 1.25rem;
    font-size: clamp(1rem, 2vw, 1.16rem);
    line-height: 1.65;
    color: rgba(255,255,255,0.92);
}

.city-hero__cta {
    min-width: 280px;
    border-radius: 14px;
    padding: 13px 24px;
    box-shadow: 0 10px 24px rgba(22, 86, 46, 0.22);
}

@media (max-width: 768px) {
    .city-hero {
        min-height: 280px;
        height: auto;
        padding-top: 28px;
        padding-bottom: 28px;
    }
    .city-hero h1 {
        font-size: 1.8rem;
        line-height: 1.12;
    }
    .city-hero p {
        font-size: 0.98rem;
        line-height: 1.58;
        margin-bottom: 1rem;
    }
    .city-hero__cta {
        min-width: 0;
        width: min(100%, 360px);
    }
}

/* =========================================
   4. LAYOUT & CONTAINER
   ========================================= */
.container { 
    max-width: var(--max-width); 
    margin: 20px auto; 
    padding: 0 var(--padding); 
}

.content-block {
    position: relative;
    padding: 6px 0;
}

.content-block-soft {
    background: linear-gradient(180deg, rgba(247, 250, 251, 0.82), rgba(255, 255, 255, 0));
    border-radius: 22px;
    padding: 20px 18px;
    margin-left: -18px;
    margin-right: -18px;
}

.content-block-alt {
    background: linear-gradient(180deg, rgba(243, 247, 248, 0.72), rgba(255, 255, 255, 0));
    border-radius: 22px;
    padding: 20px 18px;
    margin-left: -18px;
    margin-right: -18px;
}

.two-column-block { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
    margin-bottom: 60px; 
}
.two-column-block p {
    text-align: justify;
}
@media(max-width: 768px) { .two-column-block { grid-template-columns: 1fr; } }

.seo-content-section {
    margin: 34px 0 46px;
    padding: clamp(28px, 3.2vw, 44px);
    border-radius: 22px;
    background: linear-gradient(180deg, #eef4f5 0%, #f7fafb 100%);
    border: 1px solid rgba(31, 43, 47, 0.1);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.seo-content-intro {
    max-width: 790px;
    margin: 0 auto 28px;
    text-align: center;
}

.seo-content-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #4d6e6c;
}

.seo-content-intro h2 {
    margin: 0 0 12px;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    line-height: 1.2;
    color: #1f2b2f;
    font-weight: 700;
}

.seo-content-intro p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.75;
    color: #5c666d;
}

.seo-content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.seo-card {
    background: linear-gradient(180deg, #fdfefe 0%, #f7fbfc 100%);
    border: 1px solid rgba(31, 43, 47, 0.11);
    border-radius: 18px;
    padding: clamp(20px, 2.4vw, 30px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.seo-card h3 {
    margin: 0 0 14px;
    font-size: clamp(1.14rem, 2.1vw, 1.5rem);
    line-height: 1.28;
    color: #1f2b2f;
    font-weight: 700;
}

.seo-card p {
    margin: 0;
    color: #4d5a61;
    line-height: 1.86;
    font-size: 1rem;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.partner-box-modern {
    margin-top: 28px;
    padding: clamp(18px, 2.2vw, 28px);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(236, 244, 244, 1), rgba(246, 250, 251, 1));
    border: 1px solid rgba(31, 43, 47, 0.1);
    text-align: center;
}

.partner-box-modern h3 {
    margin: 0 0 14px;
    font-size: 1.18rem;
    color: #1f2b2f;
    font-weight: 700;
}

.partner-links-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.partner-links-modern a {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    text-decoration: none;
    color: #24413d;
    background: rgba(31, 175, 75, 0.08);
    border: 1px solid rgba(31, 175, 75, 0.16);
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.2s ease;
}

.partner-links-modern a:hover {
    transform: translateY(-1px);
    background: rgba(31, 175, 75, 0.14);
    border-color: rgba(31, 175, 75, 0.24);
    color: #1e3834;
}

@media(max-width: 980px) {
    .seo-content-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 768px) {
    .content-block-soft,
    .content-block-alt {
        border-radius: 16px;
        padding: 16px 12px;
        margin-left: -12px;
        margin-right: -12px;
    }
    .seo-content-section {
        margin: 28px 0 36px;
        padding: 20px 16px;
        border-radius: 16px;
    }
    .seo-content-intro {
        text-align: left;
        margin-bottom: 18px;
    }
    .seo-content-intro h2 {
        font-size: 1.3rem;
    }
    .seo-card {
        border-radius: 14px;
        padding: 16px;
    }
    .seo-card p {
        font-size: 0.96rem;
        line-height: 1.75;
    }
    .partner-box-modern {
        border-radius: 14px;
        padding: 16px;
    }
    .partner-links-modern a {
        width: 100%;
        justify-content: center;
    }
}

/* Trennlinien */
.section-divider {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin: 25px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 24px;
    font-size: clamp(1.55rem, 2.3vw, 1.95rem);
    line-height: 1.18;
    color: #243137;
    font-weight: 700;
    letter-spacing: -0.015em;
}

/* Breadcrumbs */
.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: #738089;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(245, 248, 249, 0.92);
    border: 1px solid rgba(31, 43, 47, 0.08);
}
.breadcrumb a {
    color: #738089;
    text-decoration: none;
    transition: color 0.2s ease;
}
.breadcrumb a:hover {
    color: #405058;
}
.breadcrumb-separator {
    color: #9ba7af;
    font-weight: 500;
}
.breadcrumb span {
    color: #2c3940;
    font-weight: 600;
}

/* =========================================
   5. STÄDTE GRID (Buttons)
   ========================================= */
.city-list {
    display: grid;
    gap: 15px;
    padding: 0;
    list-style: none;
    grid-template-columns: repeat(2, 1fr); /* Mobile */
}
@media (min-width: 768px) { .city-list { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .city-list { grid-template-columns: repeat(6, 1fr); } }

.city-list li { height: 100%; }

.city-list li a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    min-height: 60px;
    padding: 10px 5px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.city-list li a:hover {
    background: var(--action-green);
    color: #fff;
    border-color: var(--action-green);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(31, 175, 75, 0.28);
}

/* =========================================
   6. DATING PROFILE GRID
   ========================================= */
.profile-grid {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .profile-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .profile-grid { grid-template-columns: repeat(6, 1fr); } }

/* Startseite: größere Karten, 4 Spalten Desktop, 1 Spalte Mobile */
.profile-grid-home {
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 768px) {
    .profile-grid-home {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1100px) {
    .profile-grid-home {
        grid-template-columns: repeat(4, 1fr);
    }
}

.profile-card {
    background: var(--card-bg);
    border: 1px solid rgba(24, 38, 43, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    cursor: pointer;
    font-size: 0.9rem;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    border-color: rgba(31, 175, 75, 0.16);
}

.profile-img-wrapper {
    position: relative;
    aspect-ratio: 4 / 5;
    min-height: 280px;
    overflow: hidden;
    background: #eee;
    cursor: pointer;
}

.profile-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.profile-img-wrapper img {
    filter: none;
    object-position: center top;
}
.profile-card:hover .profile-img-wrapper img { transform: scale(1.03); }

.profile-grid-home .profile-card {
    border-radius: 22px;
}

.profile-grid-home .profile-img-wrapper {
    min-height: 300px;
}

@media (max-width: 767px) {
    .profile-grid-home .profile-img-wrapper {
        min-height: 260px;
    }
    .profile-grid-home {
        gap: 18px;
    }
}

.profile-media-gradient {
    position: absolute;
    inset: auto 0 0 0;
    height: 34%;
    background: linear-gradient(to top, rgba(13, 23, 28, 0.28), rgba(13, 23, 28, 0.03));
    pointer-events: none;
}

.profile-media-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    opacity: 0;
    transition: opacity 0.22s ease;
    font-size: 1.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.45);
    pointer-events: none;
}

.profile-card:hover .profile-media-icon {
    opacity: 0.88;
}

.online-status {
    position: absolute; bottom: 10px; right: 10px;
    width: 7px; height: 7px;
    background: var(--action-green);
    border: 1.5px solid rgba(255,255,255,0.92);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(13, 23, 28, 0.16), 0 0 6px rgba(31, 175, 75, 0.3);
}

.profile-info { padding: 10px 8px; text-align: center; }
.profile-name { font-weight: 700; font-size: 0.95rem; color: var(--text-main); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-location { font-size: 0.8rem; color: var(--text-muted); }
.profile-buttons { margin-top: 10px; display: flex; flex-direction: column; gap: 9px; }

.profile-grid-home .profile-info {
    padding: 16px 15px 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.profile-grid-home .profile-name {
    font-size: 1.04rem;
    margin-bottom: 5px;
    line-height: 1.25;
    white-space: normal;
    font-weight: 700;
}

.profile-name-link {
    color: #243137;
    text-decoration: none;
}

.profile-grid-home .profile-location {
    font-size: 0.9rem;
    margin-bottom: 11px;
    color: #6b7780;
    line-height: 1.35;
}

.profile-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 10px;
    min-height: 38px;
    align-content: flex-start;
}

.profile-category-tag {
    display: inline-block;
    font-size: 0.74rem;
    line-height: 1;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(36, 49, 55, 0.06);
    color: #5d6971;
    border: 1px solid rgba(36, 49, 55, 0.1);
}

.profile-category-tag:first-child {
    background: rgba(31, 175, 75, 0.12);
    color: #1d6f3b;
    border-color: rgba(31, 175, 75, 0.2);
}

.profile-grid-home .profile-buttons {
    margin-top: auto;
    padding-top: 14px;
}

.profile-grid-home .btn-grey {
    border-radius: 10px;
    font-size: 0.92rem;
    padding: 10px 12px;
    background: #f6f8f9;
    border: 1px solid rgba(24, 38, 43, 0.12);
    color: #2f3b40;
    font-weight: 600;
}

.profile-grid-home .btn-green-action {
    border-radius: 10px;
    font-size: 0.93rem;
    letter-spacing: 0.01em;
    padding: 11px 12px;
    box-shadow: 0 6px 14px rgba(22, 86, 46, 0.24);
}

.profile-grid-home .btn-grey:hover {
    background: #f0f3f5;
    border-color: rgba(24, 38, 43, 0.18);
    color: #243137;
}

.profile-overview-section {
    margin-top: 18px;
    margin-bottom: 8px;
}

.profile-overview-cta {
    margin: 30px auto 26px;
    max-width: 100%;
    padding: 0 6px;
}

.profile-overview-cta-btn {
    width: 100%;
    border-radius: 8px;
}

/* =========================================
   7. BUTTONS & ANIMATIONEN
   ========================================= */
.btn-grey {
    display: block; background: #f1f1f1; color: #777;
    text-align: center; padding: 8px; font-size: 0.85rem;
    border-radius: 4px; border: 1px solid #ddd; font-weight: 600;
}
.btn-grey:hover { background: #e4e4e4; color: #333; }

.btn-green-action, .btn-cta {
    background-color: var(--action-green);
    color: #fff;
    text-align: center;
    font-weight: bold;
    border-radius: 4px; border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(22, 86, 46, 0.22);
    border-bottom: 1px solid rgba(20, 119, 52, 0.35);
}

.btn-green-secondary {
    background: linear-gradient(180deg, #1c9c44 0%, #19863b 100%);
    box-shadow: 0 5px 12px rgba(22, 86, 46, 0.16);
    border-bottom: 1px solid rgba(20, 119, 52, 0.24);
}

.btn-green-action { padding: 10px; font-size: 0.9rem; text-transform: uppercase; width: 100%; display: block; }
.btn-cta { padding: 12px 30px; font-size: 1rem; display: inline-block; }

.btn-green-action:hover, .btn-cta:hover { background-color: var(--action-green-hover); color: #fff; }
.btn-green-action:active, .btn-cta:active { background-color: var(--action-green-active); color: #fff; }
.btn-green-secondary:hover {
    background: linear-gradient(180deg, #18883d 0%, #167535 100%);
}
.btn-green-secondary:active {
    background: linear-gradient(180deg, #167535 0%, #146930 100%);
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(31, 175, 75, 0.65); transform: scale(1); }
    70% { box-shadow: 0 0 0 10px rgba(31, 175, 75, 0); transform: scale(1.02); }
    100% { box-shadow: 0 0 0 0 rgba(31, 175, 75, 0); transform: scale(1); }
}
.pulse-anim { animation: pulse-green 3.2s infinite; }

/* =========================================
   8. MODAL BOX
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 16, 22, 0.72);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.modal-box {
    background: #fff;
    width: min(960px, calc(100vw - 36px));
    border-radius: 26px;
    box-shadow: 0 30px 80px rgba(10, 18, 24, 0.28);
    position: relative;
    overflow: hidden;
    animation: slideDown 0.3s ease-out;
}
@keyframes slideDown { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 999px;
    background: rgba(24, 38, 43, 0.06);
    color: #6b747a;
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.modal-close:hover {
    background: rgba(24, 38, 43, 0.1);
    color: #243137;
    transform: scale(1.04);
}

.modal-body {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    align-items: center;
    padding: 34px 34px 20px;
}
.modal-img-wrapper {
    border-radius: 20px;
    overflow: hidden;
    background: #eef2f3;
    min-height: 360px;
    border: 1px solid rgba(24, 38, 43, 0.08);
}
.modal-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.modal-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.signup-modal__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5f7f7a;
}
.modal-headline {
    margin: 0;
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    line-height: 1.14;
    color: #243137;
    font-weight: 700;
}
.modal-highlight {
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(111, 199, 192, 0.1), rgba(111, 199, 192, 0.04));
    border: 1px solid rgba(111, 199, 192, 0.18);
}
.modal-highlight p {
    margin: 0;
    font-size: 1.42rem;
    line-height: 1.28;
    color: #243137;
    font-weight: 500;
}
.modal-highlight strong {
    color: #2b7f79;
    font-weight: 700;
}
.signup-modal__copy {
    margin: 16px 0 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #65727a;
}
.modal-footer {
    padding: 6px 34px 34px;
    background: #fff;
}

.btn-modal-cta {
    display: block;
    width: 100%;
    background: var(--action-green); color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(22, 86, 46, 0.24);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-modal-cta:hover {
    background: var(--action-green-hover);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(22, 86, 46, 0.3);
    color: #fff;
}
.btn-modal-cta:active { background: var(--action-green-active); color: #fff; }

@media (max-width: 900px) {
    .modal-box {
        width: min(740px, calc(100vw - 28px));
    }
    .modal-body {
        grid-template-columns: 250px 1fr;
        gap: 24px;
        padding: 28px 24px 16px;
    }
    .modal-img-wrapper {
        min-height: 320px;
    }
    .modal-headline {
        font-size: clamp(1.6rem, 4.5vw, 2.2rem);
    }
    .modal-highlight p {
        font-size: 1.18rem;
    }
    .modal-footer {
        padding: 6px 24px 24px;
    }
}

@media (max-width: 640px) {
    .modal-box {
        border-radius: 20px;
    }
    .modal-close {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
        font-size: 1.35rem;
    }
    .modal-body {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px 16px 8px;
    }
    .modal-img-wrapper {
        min-height: 240px;
        border-radius: 14px;
    }
    .modal-headline {
        font-size: 1.45rem;
        line-height: 1.2;
    }
    .modal-highlight {
        margin-top: 14px;
        padding: 12px 13px;
        border-radius: 12px;
    }
    .modal-highlight p {
        font-size: 1.03rem;
    }
    .signup-modal__copy {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    .modal-footer {
        padding: 8px 16px 18px;
    }
    .btn-modal-cta {
        font-size: 1.02rem;
        border-radius: 12px;
        padding: 14px 14px;
    }
}

/* =========================================
   9. FOOTER (Modern Dark)
   -----------------------------------------
   Alle Farben werden per CSS-Variable aus theme.css gesteuert:
     --footer-bg              Hintergrund der Footer-Fläche
     --footer-fg              Haupt-Textfarbe
     --footer-fg-muted        gedämpfte Texte (Meta/Headlines/Copyright)
     --footer-link            Farbe der Navigationslinks
     --footer-link-hover      Hover-Farbe der Navigationslinks
     --footer-border          obere Trennlinie + Haupt-Divider
     --footer-surface         Hintergrund der Mini-Panels (Age-Badge,
                              Legal-Panel, Kategorie-Chips)
     --footer-surface-border  Rand dieser Mini-Panels
     --footer-accent          Akzent (Eyebrow "UNSER TIPP", Panel-Links)
     --logo-main / --logo-accent – Logo (wird auch im Header genutzt)
   ========================================= */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-fg);
    padding: 44px 0 24px;
    margin-top: 48px;
    width: 100%;
    border-top: 1px solid var(--footer-border);
    box-shadow: 0 -8px 24px rgba(0,0,0,0.2);
}

.site-footer__inner {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 var(--padding);
}

.site-footer__top {
    display: grid;
    grid-template-columns: minmax(320px, 1.1fr) minmax(320px, 0.9fr);
    gap: 56px;
    align-items: start;
}

.site-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer__categories--full {
    margin: 0 0 24px;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--footer-surface-border);
}

.site-footer__logo {
    display: inline-flex;
    align-items: baseline;
    text-decoration: none;
    font-family: "Avenir Next", "Nunito Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-weight: 800;
    font-size: clamp(1.45rem, 2.1vw, 2rem);
    line-height: 1;
    letter-spacing: -0.02em;
}

.site-footer__logo--image {
    align-items: center;
    line-height: 0;
}

.site-footer__logo-image {
    display: block;
    height: 56px;
    width: auto;
    max-width: min(280px, 70vw);
    object-fit: contain;
}

.site-footer__logo-main {
    color: var(--logo-main, #f2eee7);
}

.site-footer__logo-accent {
    color: var(--logo-accent, #6fb6ab);
    margin-left: 1px;
}

.site-footer__domain,
.site-footer__partner,
.site-footer__meta-link {
    margin: 0;
    color: var(--footer-fg-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.site-footer__domain {
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}

.site-footer__partner a,
.site-footer__meta-link a {
    color: var(--footer-link);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer__partner a:hover,
.site-footer__meta-link a:hover {
    color: var(--footer-link-hover);
    border-color: var(--footer-surface-border);
}

.site-footer__meta-link {
    margin-top: 2px;
    font-size: 0.82rem;
}

.site-footer__age-badge {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--footer-surface);
    border: 1px solid var(--footer-surface-border);
    display: inline-flex;
    flex-direction: column;
    gap: 7px;
    width: fit-content;
    max-width: 220px;
}

.site-footer__age-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--footer-fg-muted);
    font-weight: 700;
}

.site-footer__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
    align-items: start;
}

.site-footer__link-group h3,
.site-footer__categories h3 {
    margin: 0 0 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--footer-fg-muted);
    letter-spacing: 0.07em;
}

.site-footer__nav ul,
.site-footer__legal-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__nav li + li,
.site-footer__legal-links li + li {
    margin-top: 10px;
}

.site-footer__nav a,
.site-footer__legal-links a {
    color: var(--footer-link);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    line-height: 1.45;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer__nav a:hover,
.site-footer__legal-links a:hover {
    color: var(--footer-link-hover);
}

.site-footer__legal {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.site-footer__legal-panels {
    display: grid;
    gap: 14px;
}

.site-footer__legal-panel {
    padding: 18px 18px 16px;
    border-radius: 18px;
    background: var(--footer-surface);
    border: 1px solid var(--footer-surface-border);
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.site-footer__legal-panel-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--footer-accent);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer__legal-panel h4 {
    margin: 0 0 10px;
    color: var(--footer-fg);
    font-size: 1rem;
}

.site-footer__legal-panel-body {
    color: var(--footer-fg-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.site-footer__legal-panel-body p + p {
    margin-top: 10px;
}

.site-footer__legal-panel-body a {
    color: var(--footer-accent);
    border-bottom: 1px solid color-mix(in srgb, var(--footer-accent) 24%, transparent);
}

.site-footer__categories {
    margin-top: 0;
}

.site-footer__category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-footer__category-links a {
    display: inline-flex;
    align-items: center;
    padding: 9px 13px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--footer-link);
    background: var(--footer-surface);
    border: 1px solid var(--footer-surface-border);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.site-footer__category-links a:hover {
    color: var(--footer-link-hover);
    background: color-mix(in srgb, var(--footer-accent) 18%, transparent);
    border-color: color-mix(in srgb, var(--footer-accent) 32%, transparent);
    transform: translateY(-1px);
}

.site-footer__divider {
    margin: 22px 0 14px;
    height: 1px;
    background: var(--footer-surface-border);
}

.site-footer__bottom {
    color: var(--footer-fg-muted);
    font-size: 0.92rem;
}

.site-footer__bottom p {
    margin: 0;
}
.legal-disclaimer {
    max-width: var(--max-width);
    margin: 16px auto 6px;
    padding: 0 var(--padding);
    font-size: 0.85rem;
    color: var(--text-main);
}

.legal-disclaimer-box {
    max-width: 100%;
    margin: 0 auto;
    padding: 18px 20px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(242, 247, 246, 1), rgba(255, 255, 255, 1));
    border: 1px solid rgba(31, 43, 47, 0.1);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.legal-disclaimer-label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #597a74;
}

.legal-disclaimer p {
    color: #556068;
    line-height: 1.75;
    font-size: 0.97rem;
}

body.legal-modal-open {
    overflow: hidden;
}

html.has-age-gate,
body.has-age-gate {
    overflow: hidden;
}

.age-gate[hidden] {
    display: none !important;
}

.age-gate {
    position: fixed;
    inset: 0;
    z-index: 6500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.age-gate__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 9, 14, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.age-gate__dialog {
    position: relative;
    z-index: 1;
    width: min(980px, 100%);
    text-align: center;
    color: #ffffff;
}

.age-gate__badge {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.age-gate__badge-circle {
    width: clamp(145px, 20vw, 210px);
    height: clamp(145px, 20vw, 210px);
    border-radius: 999px;
    background: #f11814;
    border: 11px solid #f6f8f9;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
}

.age-gate__badge-circle span {
    font-size: clamp(2.1rem, 5.6vw, 3.6rem);
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.age-gate__title {
    max-width: 900px;
    margin: 0 auto 14px;
    font-size: clamp(1.55rem, 3.8vw, 3rem);
    line-height: 1.14;
    font-weight: 760;
    color: #ffffff;
    text-wrap: balance;
}

.age-gate__description {
    max-width: 920px;
    margin: 0 auto 24px;
    font-size: clamp(0.98rem, 1.6vw, 1.45rem);
    line-height: 1.52;
    color: rgba(244, 247, 250, 0.95);
}

.age-gate__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: min(620px, 100%);
    min-height: 70px;
    padding: 0 28px;
    border: none;
    border-radius: 36px;
    background: #78c645;
    color: #ffffff;
    font-size: clamp(1.2rem, 2.4vw, 1.8rem);
    font-weight: 760;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}

.age-gate__button:hover {
    background: #69b739;
    transform: translateY(-1px);
}

.age-gate__button:active {
    transform: translateY(0);
}

.legal-modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(9, 13, 18, 0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 4000;
}

.legal-modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.legal-modal {
    position: relative;
    width: min(760px, 100%);
    max-height: min(84vh, 920px);
    overflow: auto;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(248, 251, 252, 0.98), rgba(255, 255, 255, 1));
    border: 1px solid rgba(31, 43, 47, 0.1);
    box-shadow: 0 30px 80px rgba(9, 13, 18, 0.28);
}

.legal-modal__inner {
    padding: clamp(24px, 3vw, 34px);
}

.legal-modal__close {
    position: sticky;
    top: 14px;
    margin-left: auto;
    margin-right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 999px;
    background: rgba(17, 26, 32, 0.08);
    color: #334149;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2;
}

.legal-modal__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #5f827b;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-modal__title {
    margin: 0 0 14px;
    color: #1d2c35;
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    line-height: 1.2;
}

.legal-modal__body {
    color: #54626a;
    font-size: 0.98rem;
    line-height: 1.78;
}

.legal-modal__body p + p {
    margin-top: 12px;
}

.legal-modal__body a {
    color: #1e8771;
    border-bottom: 1px solid rgba(30, 135, 113, 0.24);
}

@media (max-width: 768px) {
    .legal-disclaimer {
        margin-top: 12px;
    }
    .legal-disclaimer-box {
        padding: 14px 14px;
        border-radius: 12px;
    }
    .legal-disclaimer p {
        font-size: 0.9rem;
        line-height: 1.68;
    }
    .legal-modal-overlay {
        padding: 14px;
    }
    .legal-modal {
        max-height: 90vh;
        border-radius: 20px;
    }
    .age-gate {
        padding: 18px;
    }
    .age-gate__badge {
        margin-bottom: 16px;
    }
    .age-gate__description {
        margin-bottom: 18px;
    }
    .age-gate__button {
        min-width: 100%;
        min-height: 58px;
        border-radius: 30px;
        font-size: 1.12rem;
    }
    .profile-overview-cta {
        margin: 22px auto 18px;
        padding: 0;
    }
}
.jusprog-logo { height: 30px; width: auto; vertical-align: middle; display: block; filter: brightness(0.95); }

@media (max-width: 980px) {
    .site-footer__top {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .site-footer__links {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .site-footer__legal-panels {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 34px 0 20px;
        margin-top: 38px;
    }
    .site-footer__domain,
    .site-footer__partner,
    .site-footer__meta-link {
        font-size: 0.86rem;
    }
    .site-footer__links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .site-footer__age-badge {
        max-width: 200px;
    }
    .site-footer__category-links a {
        font-size: 0.84rem;
        padding: 8px 11px;
    }
    .site-footer__bottom {
        font-size: 0.86rem;
    }
    .site-logo-image {
        height: 38px;
        max-width: min(180px, 56vw);
    }
    .site-footer__logo-image {
        height: 48px;
        max-width: min(220px, 72vw);
    }
}

/* =========================================
   10. EXTRAS (für Unterseiten)
   ========================================= */
.content-layout { display: grid; grid-template-columns: 3fr 1fr; gap: 40px; align-items: start; }
@media(max-width: 900px) { .content-layout { grid-template-columns: 1fr; } }

.city-page-intro {
    margin-bottom: 34px;
    padding: clamp(22px, 3vw, 34px);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(244, 248, 249, 0.92), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(31, 43, 47, 0.08);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.city-page-intro__content {
    max-width: 920px;
    margin-bottom: 22px;
}

.city-page-intro__eyebrow,
.city-profiles__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5f7f7a;
}

.city-page-intro h1,
.city-profiles h2 {
    margin: 0 0 14px;
    line-height: 1.16;
    color: #243137;
    letter-spacing: -0.02em;
}

.city-page-intro h1 {
    font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.city-page-intro p,
.city-profiles__intro p {
    max-width: 880px;
    color: #5e6970;
    line-height: 1.78;
    font-size: 1.04rem;
}

.city-profiles {
    margin-top: 10px;
    padding: clamp(22px, 3vw, 34px);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(248, 250, 251, 0.8), rgba(255, 255, 255, 1));
    border: 1px solid rgba(31, 43, 47, 0.06);
}

.city-profiles__intro {
    margin-bottom: 24px;
}

.city-profiles__intro h2 {
    font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.sidebar-card {
    padding: 22px 18px 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, #f8fbfc 0%, #ffffff 100%);
    border: 1px solid rgba(31, 43, 47, 0.08);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.sidebar h3 {
    font-size: 1.08rem;
    margin-bottom: 14px;
    color: #44545c;
    border-bottom: 1px solid rgba(31, 43, 47, 0.1);
    padding-bottom: 12px;
    line-height: 1.35;
}
.sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.sidebar ul li {
    border-bottom: 1px solid #edf1f3;
}
.sidebar ul li a {
    display: block;
    padding: 12px 15px;
    color: #66737b;
    border-radius: 12px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.sidebar ul li a:hover {
    background: rgba(111, 182, 171, 0.1);
    color: #243137;
    box-shadow: inset 0 0 0 1px rgba(111, 182, 171, 0.22);
    transform: translateX(2px);
}
.sidebar-banner {
    margin: 0;
    text-align: center;
    padding: 10px 0;
}
.sidebar-banner img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 14px;
}

.sidebar-info-box {
    padding: 20px 18px;
    background: linear-gradient(180deg, #f4f8f9 0%, #ffffff 100%);
    border: 1px solid rgba(31, 43, 47, 0.08);
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.sidebar-info-box h4 {
    margin: 0 0 10px;
    font-size: 1rem;
    color: #2e3a40;
}

.sidebar-info-link {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--action-green);
    text-decoration: none;
    border-bottom: 1px solid rgba(31, 175, 75, 0.24);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.sidebar-info-link:hover {
    color: var(--action-green-hover);
    border-color: rgba(24, 144, 61, 0.34);
}

.seo-text p { margin-bottom: 1.5rem; text-align: justify; }
.seo-text h2 { margin-top: 2rem; margin-bottom: 1rem; font-size: 1.5rem; color: var(--brand-dark); }
.highlight { font-weight: bold; color: var(--text-main); }

/* Offer Boxes */
.offer-list { margin-top: 18px; }
.offer-box {
    display: grid;
    grid-template-columns: 170px 1fr 220px;
    gap: 24px;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(24, 38, 43, 0.08);
    padding: 22px;
    margin-bottom: 18px;
    border-radius: 22px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.035);
}
.offer-box:hover {
    border-color: rgba(31, 175, 75, 0.14);
    box-shadow: 0 9px 20px rgba(15, 23, 42, 0.06);
    transform: translateY(-2px);
}
.offer-img {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 170px;
    cursor: pointer;
    background: #eef2f3;
    border: 1px solid rgba(24, 38, 43, 0.08);
}
.offer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.offer-content { flex: 1; }
.offer-content h3 {
    margin-bottom: 6px;
    font-size: 1.24rem;
    line-height: 1.25;
    color: #243137;
}
.offer-content p {
    font-size: 0.97rem;
    color: #5f6970;
    margin-bottom: 0;
    line-height: 1.72;
}
.offer-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 190px;
}

.city-profile-card__status {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 8px;
    border-radius: 50%;
    background: var(--action-green);
    vertical-align: 2px;
    box-shadow: 0 0 0 2px rgba(31, 175, 75, 0.12);
}

.city-profile-card__location {
    font-size: 0.9rem;
    color: #6d7880;
    margin-bottom: 10px;
}

.city-profile-card__btn-secondary {
    border-radius: 12px;
    padding: 11px 12px;
    background: #f6f8f9;
    border: 1px solid rgba(24, 38, 43, 0.12);
    color: #2f3b40;
    font-weight: 600;
}

.city-profile-card__btn-primary {
    border-radius: 12px;
    padding: 11px 12px;
}

@media(max-width: 900px) {
    .offer-box {
        grid-template-columns: 140px 1fr;
    }
    .offer-buttons {
        grid-column: 1 / -1;
        min-width: 0;
    }
}

@media(max-width: 768px) {
    .city-page-intro,
    .city-profiles {
        padding: 18px 14px;
        border-radius: 18px;
    }
    .city-page-intro p,
    .city-profiles__intro p {
        font-size: 0.97rem;
        line-height: 1.7;
    }
    .offer-box {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: left;
        padding: 16px;
        border-radius: 16px;
    }
    .offer-img {
        min-height: 220px;
        border-radius: 14px;
    }
    .offer-buttons {
        width: 100%;
    }
}

/* Premium Box */
.premium-box {
    border: 1px solid rgba(24, 38, 43, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f8faf9 100%);
    margin: 28px 0 10px;
    position: relative;
    padding: 26px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
    display: grid;
    grid-template-columns: 150px 1fr 240px;
    gap: 24px;
    align-items: center;
    border-radius: 24px;
}

.premium-box--article {
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
}

.premium-box--article .box-content {
    grid-column: 1;
}

.premium-box--article .premium-btn {
    grid-column: 2;
    align-self: center;
    white-space: nowrap;
}

.premium-box--article .box-content p {
    margin: 0;
    text-align: left;
}
.premium-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(31, 175, 75, 0.12);
    color: #1d6f3b;
    padding: 6px 12px;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 999px;
    border: 1px solid rgba(31, 175, 75, 0.18);
}
.premium-kicker {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5f7f7a;
}
.box-logo { flex: 0 0 150px; height: 100px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.box-logo .premium-box-logo { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.box-content { flex: 1; }
.box-content h3 {
    margin: 0 0 12px;
    font-size: 1.42rem;
    color: #243137;
}
.box-content ul { margin-bottom: 0; }
.box-content li { margin-bottom: 8px; font-size: 0.98rem; color: #556068; line-height: 1.55; }
.box-content li::before { content: "✓ "; color: var(--action-green); font-weight: bold; }
.premium-actions {
    text-align: center;
}
.premium-btn {
    min-width: 220px;
    display: inline-block;
    text-decoration: none;
    border-radius: 14px;
    padding: 13px 16px;
}
.premium-trust {
    margin-top: 8px;
    font-size: 0.84rem;
    color: #758188;
}

@media(max-width: 980px) {
    .premium-box {
        grid-template-columns: 120px 1fr;
    }
    .premium-actions {
        grid-column: 1 / -1;
    }
}

@media(max-width: 768px) {
    .premium-box {
        grid-template-columns: 1fr;
        padding: 18px 16px;
        border-radius: 18px;
    }
    .box-logo {
        height: auto;
        justify-content: flex-start;
    }
    .premium-actions {
        text-align: left;
    }
    .premium-btn {
        width: 100%;
        min-width: 0;
        text-align: center;
    }
    .premium-box--article {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .premium-box--article .premium-btn {
        grid-column: 1;
        width: 100%;
    }
}

/* =========================================
   10. Sonstiges (Modern Dark)
   ========================================= */
.justify { text-align: justify; }

.clean-list {
  list-style: none;
  padding: 0;
  margin: 15px 0 15px 0;
}

.clean-list li {

  padding: 0 0 8px 24px;
  position: relative;
  line-height: 1.5;
}

.clean-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #007acc;
  font-size: 1.4em;
  line-height: 1;
}

/* --- REGISTRIERUNGS-MODAL STYLES --- */
#registerModal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(10, 16, 22, 0.72);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    align-items: center;
    justify-content: center;
    padding: 20px 14px;
    box-sizing: border-box;
}

#registerModal .register-card {
    background: linear-gradient(180deg, #fcfcfb 0%, #f7f8f7 100%);
    width: 100%;
    max-width: 700px;
    padding: 34px 34px 30px;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(10, 18, 24, 0.28);
    box-sizing: border-box;
    text-align: left;
    position: relative;
    margin: 0 auto;
    border: 1px solid rgba(24, 38, 43, 0.08);
}

.reg-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 999px;
    background: rgba(24, 38, 43, 0.06);
    color: #6b747a;
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.reg-modal-close:hover {
    background: rgba(24, 38, 43, 0.1);
    color: #243137;
    transform: scale(1.04);
}

.vx-header {
    text-align: center;
    margin-bottom: 26px;
}

.vx-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5f7f7a;
}

.vx-logo {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #b63d6f;
    margin: 0;
    text-transform: uppercase;
}
.vx-subtitle {
    color: #68737b;
    margin: 14px auto 0;
    max-width: 520px;
    font-size: 1.05rem;
    line-height: 1.55;
    font-weight: 500;
}

#vxRegisterForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vx-form-group {
    text-align: left;
    margin-bottom: 0;
    position: relative;
}
.vx-label {
    display: block;
    font-weight: 700;
    color: #243137;
    margin-bottom: 10px;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
}
.vx-input {
    width: 100%;
    min-height: 60px;
    padding: 0 18px;
    border: 1px solid rgba(24, 38, 43, 0.12);
    border-radius: 16px;
    font-size: 1.08rem;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    color: #243137;
    background: rgba(255,255,255,0.92);
}
.vx-input::placeholder {
    color: #97a0a6;
}
.vx-input:focus {
    border-color: rgba(111, 199, 192, 0.65);
    box-shadow: 0 0 0 4px rgba(111, 199, 192, 0.14);
    background: #fff;
    outline: none;
}

.vx-input.input-error {
    border-color: #c13f6d !important;
    background-color: #fdf2f2;
    box-shadow: 0 0 0 4px rgba(193, 63, 109, 0.12);
}
.vx-error-message {
    color: #b83866;
    font-size: 0.86rem;
    margin-top: 6px;
    display: none;
    font-weight: 500;
}
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

.vx-helper-text {
    font-size: 0.9rem;
    color: #7b858c;
    margin-top: 8px;
    line-height: 1.45;
}
.vx-submit-btn {
    background: linear-gradient(180deg, #b63d6f 0%, #a53363 100%);
    color: white;
    border: none;
    width: 100%;
    min-height: 60px;
    padding: 14px 18px;
    font-size: 1.16rem;
    font-weight: 800;
    border-radius: 18px;
    cursor: pointer;
    margin-top: 4px;
    box-shadow: 0 14px 28px rgba(182, 61, 111, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    letter-spacing: 0.01em;
}
.vx-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(182, 61, 111, 0.26);
    filter: brightness(1.02);
}
.vx-submit-btn:active {
    transform: translateY(0);
    filter: brightness(0.98);
}
.vx-legal-notice {
    font-size: 0.95rem;
    color: #66717a;
    margin-top: 6px;
    line-height: 1.7;
    text-align: left;
    max-width: 620px;
}
.vx-legal-notice a {
    color: #516c77;
    text-decoration: none;
    border-bottom: 1px solid rgba(81, 108, 119, 0.34);
}
.vx-legal-notice a:hover {
    color: #2b7f79;
    border-color: rgba(43, 127, 121, 0.48);
}
.vx-age-warning {
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(182, 61, 111, 0.08), rgba(182, 61, 111, 0.04));
    border: 1px solid rgba(182, 61, 111, 0.14);
    color: #6a5861;
    font-size: 0.99rem;
    line-height: 1.65;
    font-weight: 500;
    text-align: left;
}

.vx-age-warning-label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9a4a69;
}

@media (max-width: 768px) {
    #registerModal {
        padding: 14px 10px;
    }
    #registerModal .register-card {
        max-width: 100%;
        border-radius: 20px;
        padding: 20px 16px 18px;
    }
    .reg-modal-close {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
        font-size: 1.35rem;
    }
    .vx-header {
        margin-bottom: 18px;
        padding-right: 26px;
    }
    .vx-logo {
        font-size: 2.2rem;
    }
    .vx-subtitle {
        font-size: 0.96rem;
        margin-top: 10px;
    }
    #vxRegisterForm {
        gap: 14px;
    }
    .vx-input {
        min-height: 54px;
        font-size: 1rem;
        border-radius: 12px;
    }
    .vx-submit-btn {
        min-height: 54px;
        font-size: 1.04rem;
        border-radius: 12px;
    }
    .vx-legal-notice {
        font-size: 0.88rem;
        line-height: 1.6;
    }
    .vx-age-warning {
        margin-top: 14px;
        border-radius: 12px;
        padding: 12px 13px;
        font-size: 0.9rem;
        line-height: 1.55;
    }
}

/* --- Idle-Popup "UNSER TIPP" --- */
.tip-popup-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 16, 22, 0.72);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}
.tip-popup-box {
    background: linear-gradient(180deg, #fcfcfb 0%, #f7f8f7 100%);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(10, 18, 24, 0.26);
    max-width: 460px;
    width: 100%;
    max-height: 90vh;
    position: relative;
    overflow: hidden;
    padding: 22px 22px 20px;
    border: 1px solid rgba(24, 38, 43, 0.08);
    display: flex;
    flex-direction: column;
}
.tip-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 999px;
    background: rgba(24, 38, 43, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    color: #6b747a;
    cursor: pointer;
    padding: 0;
    z-index: 2;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.tip-popup-close:hover {
    background: rgba(24, 38, 43, 0.1);
    color: #243137;
    transform: scale(1.04);
}
.tip-popup-header {
    margin-bottom: 12px;
    padding-right: 44px;
}
.tip-popup-eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5f7f7a;
}
.tip-popup-title {
    margin: 0;
    font-size: clamp(1.3rem, 2.4vw, 1.65rem);
    font-weight: 700;
    line-height: 1.15;
    color: #243137;
}
.tip-popup-content {
    padding: 0;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.tip-popup-offer {
    padding: 12px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(111, 199, 192, 0.06), rgba(255,255,255,0.8));
    border: 1px solid rgba(24, 38, 43, 0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}
.tip-popup-preview {
    border-radius: 14px;
    overflow: hidden;
    background: #eef2f3;
    border: 1px solid rgba(24, 38, 43, 0.08);
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tip-popup-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 55vh;
    object-fit: contain;
}
.tip-popup-actions {
    margin-top: 14px;
    flex: 0 0 auto;
}
.tip-popup-btn {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 12px 18px;
    background: var(--action-green);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-align: center;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
    box-shadow: 0 8px 20px rgba(22, 86, 46, 0.24);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.tip-popup-btn:hover {
    background: var(--action-green-hover);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(22, 86, 46, 0.3);
    color: #fff;
}
.tip-popup-btn:active {
    background: var(--action-green-active);
}

@media (max-width: 768px) {
    .tip-popup-overlay {
        padding: 10px;
    }
    .tip-popup-box {
        max-width: 360px;
        max-height: 86vh;
        border-radius: 18px;
        padding: 16px 14px 14px;
    }
    .tip-popup-close {
        top: 8px;
        right: 8px;
        width: 34px;
        height: 34px;
        font-size: 1.25rem;
    }
    .tip-popup-header {
        margin-bottom: 10px;
        padding-right: 30px;
    }
    .tip-popup-title {
        font-size: 1.2rem;
    }
    .tip-popup-offer {
        border-radius: 12px;
        padding: 8px;
    }
    .tip-popup-preview {
        border-radius: 10px;
    }
    .tip-popup-img {
        max-height: 48vh;
    }
    .tip-popup-actions {
        margin-top: 10px;
    }
    .tip-popup-btn {
        min-height: 46px;
        border-radius: 12px;
        font-size: 0.95rem;
    }
}

/* =========================================
   MOBILE OVERHAUL
   - Smartphone-Optimierung (Modals, Forms, Spacing)
   - Performance: backdrop-filter aus, Hover-FX nur f. Maus
   - Erreichbarer Close-Button auf allen Modals
   ========================================= */

/* Verhindert iOS-Auto-Resize bei Rotation */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Hover-Effekte nur f. echte Zeigegeräte (kein Re-Paint auf Touch) */
@media (hover: none) {
    .modal-close:hover,
    .reg-modal-close:hover,
    .tip-popup-close:hover,
    .legal-modal__close:hover {
        transform: none;
        background: rgba(24, 38, 43, 0.06);
        color: #6b747a;
    }
    .vx-submit-btn:hover,
    .btn-modal-cta:hover,
    .tip-popup-btn:hover,
    .age-gate__button:hover {
        transform: none;
        filter: none;
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
    }
    .profile-card:hover,
    .profile-card:hover .profile-img-wrapper img {
        transform: none;
    }
    .pulse-anim {
        animation: none;
    }
    /* Globale Hover-Transitionen auf Links abschalten (kein Effekt auf Touch) */
    a {
        transition: none;
    }
}

@media (max-width: 768px) {
    /* ---- Performance: Blur deaktivieren, kräftigerer solider Hintergrund ---- */
    #registerModal,
    .modal-overlay,
    .tip-popup-overlay,
    .legal-modal-overlay {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(8, 14, 20, 0.86);
    }
    .age-gate__backdrop {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(4, 9, 14, 0.92);
    }

    /* Sticky-Header: Blur auf Mobil aus → kein Repaint bei jedem Scroll */
    header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    /* ---- Modale auf volle dynamische Viewport-Höhe (iOS-Toolbar-Fix) ---- */
    #registerModal,
    .modal-overlay,
    .tip-popup-overlay,
    .legal-modal-overlay,
    .age-gate {
        height: 100dvh;
        min-height: 100svh;
    }

    /* ---- Overlay-Scroll erlauben, falls Inhalt > Viewport ---- */
    .modal-overlay,
    .tip-popup-overlay {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        align-items: flex-start;
        padding: 14px 12px max(20px, env(safe-area-inset-bottom));
    }
    #registerModal {
        align-items: flex-start;
        padding: 14px 12px max(20px, env(safe-area-inset-bottom));
    }

    /* =========================================
       REGISTER MODAL (VISIT-X) – kompakt
       ========================================= */
    #registerModal .register-card {
        padding: 18px 16px 16px;
        border-radius: 18px;
        box-shadow: 0 12px 28px rgba(10, 18, 24, 0.28);
        background: #fcfcfb;
    }
    .vx-header {
        margin-bottom: 12px;
        padding-right: 44px;
    }
    .vx-eyebrow {
        margin-bottom: 4px;
        font-size: 0.7rem;
    }
    .vx-logo {
        font-size: 1.85rem;
        letter-spacing: -0.02em;
    }
    .vx-subtitle {
        margin-top: 6px;
        font-size: 0.92rem;
        line-height: 1.4;
    }
    #vxRegisterForm {
        gap: 10px;
    }
    .vx-form-group {
        margin-bottom: 0;
    }
    .vx-label {
        margin-bottom: 4px;
        font-size: 0.88rem;
    }
    /* WICHTIG: 16px Font-Size verhindert iOS-Auto-Zoom beim Fokus */
    .vx-input {
        min-height: 44px;
        padding: 0 14px;
        font-size: 16px;
        border-radius: 12px;
        background: #fff;
    }
    .vx-helper-text {
        margin-top: 4px;
        font-size: 0.8rem;
        line-height: 1.35;
    }
    .vx-error-message {
        font-size: 0.8rem;
        margin-top: 4px;
    }
    .vx-submit-btn {
        min-height: 48px;
        margin-top: 6px;
        font-size: 1rem;
        font-weight: 700;
        border-radius: 12px;
        box-shadow: 0 6px 14px rgba(182, 61, 111, 0.22);
    }
    .vx-legal-notice {
        margin-top: 4px;
        font-size: 0.78rem;
        line-height: 1.5;
    }
    .vx-age-warning {
        margin-top: 12px;
        padding: 10px 12px;
        font-size: 0.82rem;
        line-height: 1.5;
        border-radius: 12px;
    }
    .vx-age-warning-label {
        margin-bottom: 4px;
        font-size: 0.7rem;
    }

    /* =========================================
       REGISTER CLOSE-BUTTON – immer erreichbar
       Fixed an Viewport-Top-Right, scrollt nicht weg.
       ========================================= */
    .reg-modal-close {
        position: fixed;
        top: max(10px, env(safe-area-inset-top));
        right: max(10px, env(safe-area-inset-right));
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
        background: rgba(255, 255, 255, 0.94);
        color: #243137;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
        z-index: 10001;
    }

    /* =========================================
       CONVERSION MODAL (.modal-box / signup-modal)
       ========================================= */
    .modal-box {
        width: 100%;
        max-width: 100%;
        border-radius: 18px;
        box-shadow: 0 12px 28px rgba(10, 18, 24, 0.28);
        animation: none;
    }
    .modal-body {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px 14px 6px;
    }
    .modal-img-wrapper {
        min-height: 180px;
        max-height: 38dvh;
        border-radius: 12px;
    }
    .modal-img-wrapper img {
        height: 100%;
        max-height: 38dvh;
    }
    .modal-headline {
        font-size: 1.3rem;
        line-height: 1.22;
    }
    .signup-modal__eyebrow {
        margin-bottom: 6px;
        font-size: 0.72rem;
    }
    .modal-highlight {
        margin-top: 10px;
        padding: 10px 12px;
        border-radius: 12px;
    }
    .modal-highlight p {
        font-size: 0.98rem;
        line-height: 1.35;
    }
    .signup-modal__copy {
        margin-top: 10px;
        font-size: 0.9rem;
        line-height: 1.55;
    }
    .modal-footer {
        padding: 6px 14px 14px;
    }
    .btn-modal-cta {
        font-size: 1rem;
        padding: 12px 14px;
        border-radius: 12px;
        box-shadow: 0 6px 14px rgba(22, 86, 46, 0.22);
    }
    /* Conversion-Modal Close-Button: fixed an Viewport */
    .modal-close {
        position: fixed;
        top: max(10px, env(safe-area-inset-top));
        right: max(10px, env(safe-area-inset-right));
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
        background: rgba(255, 255, 255, 0.94);
        color: #243137;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
        z-index: 10001;
    }

    /* =========================================
       LEGAL MODAL – kompakter, Close-Button fixed
       ========================================= */
    .legal-modal-overlay {
        padding: 0;
        align-items: stretch;
        justify-content: stretch;
    }
    .legal-modal {
        width: 100%;
        max-height: 100dvh;
        border-radius: 0;
        border: none;
        background: #fff;
        box-shadow: none;
    }
    .legal-modal__inner {
        padding: 20px 16px max(24px, env(safe-area-inset-bottom));
    }
    .legal-modal__close {
        position: fixed;
        top: max(10px, env(safe-area-inset-top));
        right: max(10px, env(safe-area-inset-right));
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
        margin: 0;
        background: rgba(17, 26, 32, 0.92);
        color: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
        z-index: 10001;
    }
    .legal-modal__title {
        font-size: 1.25rem;
        margin: 0 0 10px;
        padding-right: 50px;
    }
    .legal-modal__body {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    /* =========================================
       TIP POPUP – kompakter, Close-Button fixed
       ========================================= */
    .tip-popup-box {
        width: 100%;
        max-width: 360px;
        max-height: 86dvh;
        padding: 14px 12px 12px;
        border-radius: 16px;
        box-shadow: 0 12px 28px rgba(10, 18, 24, 0.28);
        background: #fcfcfb;
    }
    .tip-popup-header {
        margin-bottom: 8px;
        padding-right: 36px;
    }
    .tip-popup-eyebrow {
        margin-bottom: 4px;
        font-size: 0.7rem;
    }
    .tip-popup-title {
        font-size: 1.15rem;
    }
    .tip-popup-offer {
        padding: 8px;
        border-radius: 12px;
        background: #f3f7f6;
        box-shadow: none;
    }
    .tip-popup-preview {
        border-radius: 10px;
    }
    .tip-popup-img {
        max-height: 42dvh;
        object-fit: contain;
    }
    .tip-popup-actions {
        margin-top: 10px;
    }
    .tip-popup-btn {
        min-height: 44px;
        font-size: 0.95rem;
        border-radius: 12px;
        box-shadow: 0 6px 14px rgba(22, 86, 46, 0.22);
    }
    .tip-popup-close {
        position: fixed;
        top: max(8px, env(safe-area-inset-top));
        right: max(8px, env(safe-area-inset-right));
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
        background: rgba(255, 255, 255, 0.94);
        color: #243137;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
        z-index: 10002;
    }

    /* =========================================
       AGE GATE – kompakter
       ========================================= */
    .age-gate {
        padding: 16px 14px max(20px, env(safe-area-inset-bottom));
    }
    .age-gate__badge {
        margin-bottom: 12px;
    }
    .age-gate__badge-circle {
        width: 110px;
        height: 110px;
        border-width: 7px;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
    }
    .age-gate__badge-circle span {
        font-size: 1.85rem;
    }
    .age-gate__title {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    .age-gate__description {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 14px;
    }
    .age-gate__button {
        min-height: 50px;
        font-size: 1rem;
        border-radius: 26px;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
    }

    /* =========================================
       Modal-Animationen mobil reduzieren (CPU-Schonung)
       ========================================= */
    .modal-box,
    #registerModal .register-card,
    .tip-popup-box {
        animation: none;
    }
}

/* Bei reduzierter Bewegung alle Modal-Animationen ausschalten */
@media (prefers-reduced-motion: reduce) {
    .modal-box,
    #registerModal .register-card,
    .tip-popup-box,
    .pulse-anim {
        animation: none !important;
    }
    .vx-submit-btn,
    .btn-modal-cta,
    .tip-popup-btn,
    .age-gate__button,
    .modal-close,
    .reg-modal-close,
    .tip-popup-close,
    .legal-modal__close {
        transition: none !important;
    }
}