/* ============================================================
   BOOKLERA Tenant-Website — Professional CSS
   Moonletmethod-Quality Design System
   Variables --primary/--secondary injected per tenant via :root
   ============================================================ */

/* ===========================================
   1. CSS RESET + BASE VARIABLES
   =========================================== */

:root {
    /* Defaults — overridden by tenant injection in base.html
       L-C (2026-04-27): Primary sanft Richtung Logo-Marineblau justiert */
    --primary: #3E5F88;
    --primary-dark: #2D4A6E;
    --primary-light: #88A8C8;
    --primary-rgb: 62, 95, 136;
    --secondary: #F0EDE8;
    --secondary-dark: #E2DED6;

    /* Brand-Farben aus dem Booklera-Logo — 2026-04-27 */
    --brand-blue: #2A4A8E;
    --brand-blue-dark: #1A2E5A;
    --brand-blue-light: #3E7BC8;
    --brand-orange: #F39C12;
    --brand-orange-light: #FFB347;
    --brand-orange-bg: rgba(243, 156, 18, 0.10);

    /* Neutrals */
    --white: #FFFFFF;
    --cream: #F0EDE8;
    --off-white: #FAFAFA;
    --dark: #1A1A2E;
    --dark-light: #2D2D44;
    --warm-gray: #7A7B8A;
    --medium-gray: #9B9BAA;
    --light-gray: #E8E8EC;
    --beige: #DDD8D0;
    --beige-dark: #C4BAB0;
    --border: #D5D5DC;
    --border-light: #EDEDF0;
    --night: #0F1B2D;

    /* Semantic */
    --success: #6BAF7A;
    --success-dark: #4A8A5A;
    --success-light: #E8F5EE;
    --error: #C45B5B;
    --error-light: #FDECEC;
    --warning: #D4A843;
    --warning-light: #FFF8E6;
    --info: #3B82F6;
    --info-light: #EFF6FF;

    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Layout */
    --max-width: 1200px;
    --max-width-narrow: 720px;
    --radius: var(--space-sm);
    --radius-lg: 12px;
    --radius-xl: var(--space-md);
    --radius-2xl: 20px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.06);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Iter 14 Phase B.1 (2026-05-05): Tenant-Frontend zusätzliche Variablen */
    --rating-gold: #E6A817;          /* Bewertungs-Sterne aktiv */
    --rating-empty: #D5D5DC;         /* Bewertungs-Sterne leer (= --border) */
    --text-primary: #1A1A2E;         /* = --dark, semantisch klarer */
    --text-secondary: #555555;       /* etwas heller als --dark, für Body-Text */
    --text-muted: #888888;           /* gedämpfter Text */
    --review-error: #D14343;         /* Bewertungs-Form Error (intensives Rot) */
    --review-error-bg: #FDEAEA;      /* helles Rot für Error-Banner */
    --review-success: #2D9A5A;       /* Bewertungs-Form Success-Text */
    --review-success-bg: #E6F4EC;    /* helles Grün für Success-Banner */

    /* Iter 14 Phase B.2 (2026-05-05): Status-Pages + Cookie + Legal */
    --notice-warning-bg: #FFF8E1;    /* Spam-Hinweis Hintergrund */
    --notice-warning-border: #F0D999;/* Spam-Hinweis Border */
    --notice-warning-text: #7A5A00;  /* Spam-Hinweis Text (warmes Braun) */
    --status-warning-accent: #E5A23B;/* Status-Icon orange (Verarbeitung/Abbruch) */
    --status-success-accent: #2F9E6A;/* Status-Icon grün (Erfolg) */
    --status-receipt-bg: #F8F6F2;    /* Rechnungs-Detail-Box Hintergrund */
    --status-receipt-text: #2A2825;  /* Rechnungs-Detail-Box Text */
    --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Z-index */
    --z-navbar: 1000;
    --z-dropdown: 2000;
    --z-modal-backdrop: 9000;
    --z-modal: 10000;
    --z-toast: 11000;
}

/* ===========================================
   2. CSS RESET
   =========================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    font-family: inherit;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

/* ===========================================
   3. CONTAINER + LAYOUT
   =========================================== */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-narrow {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ===========================================
   4. BUTTONS
   =========================================== */

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-align: center;
    line-height: 1.4;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(var(--primary-rgb), 0.32), 0 2px 6px rgba(var(--primary-rgb), 0.18);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
}

.btn-outline-dark:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn-cta {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-align: center;
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-cta:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(var(--primary-rgb), 0.32), 0 2px 6px rgba(var(--primary-rgb), 0.18);
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: btnSpin 0.6s linear infinite;
}

@keyframes btnSpin {
    to { transform: rotate(360deg); }
}

/* ===========================================
   5. NAVBAR
   =========================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-navbar);
    padding: 20px 0;
    transition: all 0.4s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

/* Brand / Logo */
.brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--white);
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

/* Hero-Logo (verticals/handwerker|ferienhaus|heilpraktiker/public_index.html)
   Marco-Bug 2026-05-23: ohne max-width nahm das Logo seine native Groesse
   an und ueberlagerte den kompletten Hero. Klein + zentriert + mit Abstand
   zum darunter liegenden Hero-Titel. */
.hero-logo {
    display: block;
    max-width: 120px;
    max-height: 120px;
    width: auto;
    height: auto;
    margin: 0 auto 24px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .hero-logo {
        max-width: 88px;
        max-height: 88px;
        margin-bottom: 18px;
    }
}

.navbar.scrolled .brand {
    color: var(--cream);
}

/* Nav Links */
.navbar nav {
    display: flex;
    gap: 36px;
    align-items: center;
}

.navbar nav a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition);
    position: relative;
}

.navbar nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.5);
    transition: width var(--transition);
}

.navbar nav a:hover::after {
    width: 100%;
}

.navbar nav a:hover {
    color: rgba(255, 255, 255, 0.95);
}

.navbar.scrolled nav a {
    color: rgba(255, 255, 255, 0.7);
}

.navbar.scrolled nav a:hover {
    color: rgba(255, 255, 255, 0.95);
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-xs);
    z-index: calc(var(--z-navbar) + 10);
}

.hamburger span {
    display: block;
    width: var(--space-lg);
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
}

.navbar.scrolled .hamburger span {
    background: var(--cream);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav Overlay (mobile) */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 27, 45, 0.6);
    z-index: calc(var(--z-navbar) - 1);
    opacity: 1;
    transition: opacity var(--transition);
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ===========================================
   6. HERO SECTION
   =========================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    /* CSS gradient as background placeholder */
    background:
        radial-gradient(ellipse at 20% 50%, rgba(var(--primary-rgb), 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(var(--primary-rgb), 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 80%, rgba(45, 45, 68, 0.8) 0%, transparent 60%),
        linear-gradient(180deg, #0F1B2D 0%, #1A1A2E 40%, #2D2D44 70%, #1A1A2E 100%);
    background-attachment: scroll;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 27, 45, 0.3) 0%,
        rgba(15, 27, 45, 0.1) 40%,
        rgba(15, 27, 45, 0.5) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 var(--space-lg);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: var(--space-xs);
    text-transform: uppercase;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    color: var(--white);
}

.hero-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: var(--space-lg);
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: var(--space-xs);
    height: var(--space-sm);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0.3;
    }
}

/* Hero decorative elements */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
    z-index: 1;
}

.hero-decoration-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
}

.hero-decoration-2 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    bottom: -100px;
    left: -100px;
}

.hero-decoration-3 {
    width: 200px;
    height: 200px;
    background: var(--white);
    top: 30%;
    left: 10%;
}

/* ===========================================
   7. SECTIONS — General
   =========================================== */

.section {
    padding: 120px 0;
}

.section-alt {
    background: var(--cream);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--warm-gray);
    line-height: 1.8;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.section-desc {
    font-size: 1rem;
    color: var(--warm-gray);
    line-height: 1.8;
}

.section-divider {
    width: 60px;
    height: 2px;
    background: var(--primary);
    margin: 24px auto var(--space-2xl);
    border-radius: 1px;
}

/* ===========================================
   8. ABOUT SECTION
   =========================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-photo-frame {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    position: relative;
    aspect-ratio: 3 / 4;
    max-width: 400px;
}

/* CSS gradient placeholder for photo */
.about-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        var(--cream) 0%,
        var(--beige) 40%,
        var(--beige-dark) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: var(--space-md);
}

.about-photo-placeholder .placeholder-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px dashed var(--beige-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-photo-placeholder .placeholder-icon svg {
    width: 36px;
    height: 36px;
    color: var(--warm-gray);
    opacity: 0.6;
}

.about-photo-placeholder .placeholder-text {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--warm-gray);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-text .section-label {
    text-align: left;
}

.about-text .section-title {
    text-align: left;
}

.about-tagline {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--primary);
    margin-bottom: var(--space-lg);
}

.about-text p {
    font-size: 0.95rem;
    color: var(--dark-light);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.about-values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.value-tag {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-light);
    padding: 8px 18px;
    border-radius: 20px;
    transition: all var(--transition);
}

.value-tag:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
}

/* ===========================================
   9. PARALLAX DIVIDER
   =========================================== */

.parallax-divider {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(var(--primary-rgb), 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(var(--primary-rgb), 0.08) 0%, transparent 40%),
        linear-gradient(135deg, #0F1B2D 0%, #1A1A2E 50%, #2D2D44 100%);
    background-attachment: fixed;
    background-size: cover;
}

.parallax-divider .parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 27, 45, 0.3);
}

.divider-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 760px;
    padding: 0 var(--space-xl);
}

/* Block entfernt 2026-05-22 (Backend-Fix Tester-Bug): .divider-content::before
   rendered hartcodiertes ❝-Symbol VOR jedem Parallax-Divider zusaetzlich zu
   den deutschen typografischen Anfuehrungszeichen „" im HTML — doppelte
   Anfuehrung wirkte unprofessionell. CSS-Pseudo-Element komplett entfernt;
   die typografischen „" im public_index.html-Template bleiben (deutsche
   Konvention). Rollback: tenant.css.bak-20260522-fix-quote auf Server. */

.divider-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-style: italic;
    color: var(--white);
    line-height: 1.5;
    letter-spacing: 0.2px;
}

.divider-quote-author {
    display: block;
    margin-top: var(--space-md);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-style: normal;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
}

/* ===========================================
   10. STORY / WHY SECTION
   =========================================== */

.story-section {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.story-text {
    margin-top: var(--space-xl);
    text-align: left;
}

.story-text p {
    font-size: 1.05rem;
    color: var(--dark-light);
    margin-bottom: 20px;
    line-height: 1.9;
}

.story-text p:first-child {
    font-size: 1.1rem;
}

/* ===========================================
   11. COURSE CATEGORY FILTERS
   =========================================== */

.course-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 1.5px solid var(--beige);
    border-radius: var(--space-lg);
    background: transparent;
    color: var(--warm-gray);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ===========================================
   12. COURSE CARDS (Kurs-Grid)
   =========================================== */

.kurs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.kurs-card {
    background: var(--white);
    border: 1px solid var(--beige);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.kurs-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.kurs-card-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.kurs-card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark);
    flex: 1;
}

/* Category Badges */
.badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.badge-yoga {
    background: rgba(138, 171, 191, 0.12);
    color: #5B8BA6;
}

.badge-pilates {
    background: rgba(168, 140, 180, 0.12);
    color: #7B6B8A;
}

.badge-fitness {
    background: rgba(210, 140, 80, 0.12);
    color: #B05A20;
}

.badge-tanz {
    background: rgba(168, 100, 180, 0.12);
    color: #8A4D9A;
}

.badge-kampfsport {
    background: rgba(196, 91, 91, 0.12);
    color: #A04040;
}

.badge-meditation {
    background: rgba(100, 140, 160, 0.12);
    color: #4A7A90;
}

.badge-kreativ {
    background: rgba(209, 52, 121, 0.12);
    color: #D13479;
}

.badge-entspannung {
    background: rgba(106, 176, 152, 0.12);
    color: #4A9A7A;
}

.badge-natur {
    background: rgba(120, 160, 80, 0.12);
    color: #5A8830;
}

.badge-category {
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--primary);
}

/* Fallback for any unknown category */
[class^="badge-"] {
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--primary);
}

/* Kurs Meta Info */
.kurs-meta {
    padding: 16px var(--space-lg);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.kurs-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--warm-gray);
}

.kurs-meta-item svg {
    width: var(--space-md);
    height: var(--space-md);
    flex-shrink: 0;
    color: var(--primary);
}

/* Kurs Description */
.kurs-description {
    padding: 0 var(--space-lg);
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    flex: 1;
}

/* Kurs Footer (Price + Slots) */
.kurs-footer {
    padding: 0 24px var(--space-sm);
}

.kurs-price {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 6px;
}

.kurs-price.gratis {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 500;
}

.kurs-credits {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
    font-family: var(--font-body);
    margin-top: 2px;
}

.modal-credit-hint {
    text-align: center;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    margin-top: -4px;
    margin-bottom: 12px;
}

.kurs-slots {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--success-dark);
}

.kurs-slots.wenig {
    color: var(--warning);
}

.kurs-slots.voll {
    color: var(--error);
}

.slots-dot {
    width: var(--space-sm);
    height: var(--space-sm);
    border-radius: 50%;
    background: var(--success);
    flex-shrink: 0;
}

.kurs-slots.wenig .slots-dot {
    background: var(--warning);
}

.kurs-slots.voll .slots-dot {
    background: var(--error);
}

/* Book Button */
.btn-book {
    display: block;
    width: calc(100% - 48px);
    margin: 12px 24px var(--space-lg);
    padding: 12px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.3px;
}

.btn-book:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.3), 0 1px 3px rgba(var(--primary-rgb), 0.18);
}

.btn-book:disabled {
    background: var(--beige);
    color: var(--warm-gray);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===========================================
   13. EMPTY STATE
   =========================================== */

.empty-state {
    text-align: center;
    padding: var(--space-4xl) var(--space-lg);
}

.empty-state-icon {
    margin-bottom: var(--space-lg);
    opacity: 0.4;
}

.empty-state-icon svg {
    color: var(--warm-gray);
}

.empty-state h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: var(--space-md);
}

.empty-state p {
    font-size: 0.95rem;
    color: var(--warm-gray);
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===========================================
   14. KONTAKT SECTION
   =========================================== */

.kontakt-section {
    background: var(--white);
}

.kontakt-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: var(--space-md);
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--dark-light);
}

.required {
    color: var(--error);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 1px solid var(--beige);
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--beige-dark);
}

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

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(196, 91, 91, 0.1);
}

.form-error {
    font-size: 0.75rem;
    color: var(--error);
    display: none;
}

.form-group.error .form-error {
    display: block;
}

.form-hint {
    font-size: 0.75rem;
    color: var(--warm-gray);
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--dark-light);
    line-height: 1.5;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--primary);
}

.checkbox-group a {
    color: var(--primary);
    text-decoration: underline;
}

.checkbox-group a:hover {
    color: var(--primary-dark);
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: var(--space-sm);
}

.btn-cancel {
    padding: 12px var(--space-lg);
    background: transparent;
    border: 1.5px solid var(--beige);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--warm-gray);
    cursor: pointer;
    transition: all var(--transition);
}

.btn-cancel:hover {
    border-color: var(--dark);
    color: var(--dark);
}

/* ===========================================
   15. SUCCESS / ERROR MESSAGES
   =========================================== */

.message-success {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
}

.message-success-icon {
    width: var(--space-3xl);
    height: var(--space-3xl);
    border-radius: 50%;
    background: var(--success-light);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto var(--space-lg);
}

.message-success h4 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: var(--space-sm);
}

.message-success p {
    font-size: 0.95rem;
    color: var(--warm-gray);
    line-height: 1.7;
}

.message-error {
    background: var(--error-light);
    color: var(--error);
    padding: 14px 20px;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    margin-top: var(--space-md);
    display: none;
}

/* ===========================================
   16. BOOKING MODAL
   =========================================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 27, 45, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 40px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    z-index: 1;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--warm-gray);
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition);
}

.modal-close:hover {
    color: var(--dark);
}

.modal h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: var(--space-sm);
    color: var(--dark);
}

.modal-subtitle {
    font-size: 0.9rem;
    color: var(--warm-gray);
    margin-bottom: var(--space-sm);
}

.modal-price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--beige);
}

.modal-price.gratis {
    color: var(--success);
}

/* ===========================================
   17. FOOTER
   =========================================== */

.footer {
    background: var(--night);
    color: rgba(255, 255, 255, 0.7);
    padding: 56px 0 20px;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(var(--primary-rgb), 0.45) 30%, rgba(var(--primary-rgb), 0.65) 50%, rgba(var(--primary-rgb), 0.45) 70%, transparent 100%);
    pointer-events: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    display: block;
    margin-bottom: 12px;
}

.footer-description {
    font-size: 0.9rem;
    max-width: 300px;
    line-height: 1.7;
}

.footer-heading { display: none;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition), transform var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom .powered {
    font-size: 0.75rem;
}

.footer-bottom .powered a {
    color: var(--primary-light);
    transition: color var(--transition);
}

.footer-bottom .powered a:hover {
    color: var(--primary);
}

/* ===========================================
   18. BACK TO TOP BUTTON
   =========================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 1;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 500;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===========================================
   19. ANIMATIONS
   =========================================== */

/* Fade In (default: up) */
.fade-in, .fade-in-left, .fade-in-right, .fade-in-scale {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade In Left */
.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fade In Right */
.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fade In Scale */
.fade-in-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children animation */
.stagger-children > * {
    transition-delay: calc(var(--index, 0) * 0.1s);
}

/* Slide Down */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Bounce */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===========================================
   20. RESPONSIVE — TABLET (1024px)
   =========================================== */

@media (max-width: 1024px) {
    .kurs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: var(--space-2xl);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: var(--space-xl);
    }
}

/* ===========================================
   21. RESPONSIVE — MOBILE (768px)
   =========================================== */

@media (max-width: 768px) {
    /* Hamburger visible */
    .hamburger {
        display: flex;
    }

    /* Nav becomes slide-in sidebar */
    .navbar nav {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        transition: right 0.4s ease;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        z-index: calc(var(--z-navbar) + 5);
    }

    .navbar nav.open {
        right: 0;
    }

    .navbar nav a {
        color: var(--dark) !important;
        font-size: 1rem;
    }

    .navbar nav a::after {
        display: none;
    }

    /* Grid adjustments */
    .kurs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-photo-frame {
        max-height: 400px;
        max-width: 300px;
        margin: 0 auto;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    /* Section spacing */
    .section {
        padding: 80px 0;
    }

    /* Hero */
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Parallax fallback on mobile */
    .parallax-divider {
        height: 300px;
        background-attachment: scroll;
    }

    .hero {
        background-attachment: scroll;
    }

    /* Footer */
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    /* Course filters */
    .course-filters {
        gap: var(--space-sm);
    }

    .filter-btn {
        padding: 6px 14px;
        font-size: 0.75rem;
    }

    /* Modal */
    .modal {
        padding: 28px var(--space-lg);
        width: 95%;
    }

    .form-actions {
        flex-direction: column;
    }
}

/* ===========================================
   22. RESPONSIVE — SMALL MOBILE (480px)
   =========================================== */

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.75rem;
        letter-spacing: 3px;
    }

    .container {
        padding: 0 var(--space-md);
    }

    .section-title {
        font-size: 1.8rem;
    }

    .kurs-card-header h3 {
        font-size: 1.2rem;
    }

    .kurs-price {
        font-size: 1.3rem;
    }

    .about-values {
        gap: 6px;
    }

    .value-tag {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
}

/* ===========================================
   23. PRINT STYLES
   =========================================== */

@media print {
    .navbar,
    .scroll-indicator,
    .back-to-top,
    .modal-overlay,
    .hamburger,
    .nav-overlay,
    .hero-decoration,
    .hero-overlay,
    .btn-book,
    .course-filters {
        display: none !important;
    }

    .hero {
        min-height: auto;
        height: auto;
        padding: 40px 0;
        background: var(--dark) !important;
        color: var(--white);
    }

    .section {
        padding: 40px 0;
    }

    .parallax-divider {
        height: auto;
        padding: 40px 0;
    }

    .kurs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .kurs-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .kurs-card:hover {
        transform: none;
        box-shadow: none;
    }

    body {
        font-size: 12pt;
    }
}

/* ===========================================
   24. PREFERS REDUCED MOTION
   =========================================== */

@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;
    }

    .fade-in,
    .fade-in-left,
    .fade-in-right,
    .fade-in-scale {
        opacity: 1;
        transform: none;
    }

    .kurs-card:hover,
    .btn:hover,
    .btn-cta:hover,
    .btn-book:hover {
        transform: none;
    }
}

/* ===========================================
   25. COURSE CARD HIDDEN STATE (for filters)
   =========================================== */

.kurs-card.hidden {
    display: none;
}

/* ===========================================
   26. SLOTS PROGRESS BAR
   =========================================== */

.slots-bar {
    width: 100%;
    height: var(--space-xs);
    background: rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    overflow: hidden;
    margin-top: var(--space-sm);
}

.slots-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.6s ease;
    background: var(--success);
}

.kurs-slots.wenig .slots-fill {
    background: var(--warning);
}

.kurs-slots.voll .slots-fill {
    background: var(--error);
}

/* ===========================================
   27. HONEYPOT SPAM PROTECTION
   =========================================== */

.ohnehonig {
    position: absolute;
    left: -9999px;
}

/* ===========================================
   28. HERO WITH REAL BACKGROUND IMAGE
   =========================================== */

/* Override hero background with real image */
.hero {
    background-image: url('/static/images/demo/hero-yoga.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Darker overlay for readability over real photo */
.hero .hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(15, 27, 45, 0.55) 0%,
        rgba(15, 27, 45, 0.35) 40%,
        rgba(15, 27, 45, 0.65) 100%
    );
}

/* Remove decorative circles when using real image */
.hero .hero-decoration {
    display: none;
}

/* ===========================================
   29. PARALLAX DIVIDERS WITH REAL IMAGES
   =========================================== */

/* Parallax-divider backgrounds with real images */
.parallax-divider {
    background-image: url('/static/images/demo/parallax-meditation.jpg');
    background-attachment: fixed; /* Dividers werden nur gerendert wenn Parallax aktiv */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.parallax-divider .parallax-overlay {
    background: rgba(15, 27, 45, 0.55);
}

.parallax-divider-1 {
    background-image: url('/static/images/demo/parallax-meditation.jpg');
}

.parallax-divider-2 {
    background-image: url('/static/images/demo/parallax-studio.jpg');
}

/* ===========================================
   30. ABOUT PHOTO WITH DECORATIVE FRAME
   =========================================== */

/* Decorative frame effect for real photos */
.about-photo-frame {
    transform: rotate(-2deg);
    border: 6px solid var(--white);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.about-photo-frame:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.18),
        0 8px 24px rgba(0, 0, 0, 0.12);
}

.about-photo-frame img {
    border-radius: var(--radius-lg);
}

/* ===========================================
   31. OFFER CARDS (Angebot Section)
   =========================================== */

.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.offer-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 48px 32px 40px;
    text-align: center;
    border: 1.5px solid var(--border-light);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--space-xs);
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(var(--primary-rgb), 0.12), 0 4px 10px rgba(15, 27, 45, 0.06);
    border-color: var(--primary-light);
}

.offer-card:hover::before {
    transform: scaleX(1);
}

.offer-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    transition: all var(--transition);
    box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb), 0.1);
}

.offer-card:hover .offer-icon {
    background: rgba(var(--primary-rgb), 0.16);
    transform: scale(1.08);
    box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb), 0.22), 0 6px 16px rgba(var(--primary-rgb), 0.18);
}

.offer-icon svg {
    width: var(--space-xl);
    height: var(--space-xl);
    color: var(--primary);
    transition: transform var(--transition);
}

.offer-card:hover .offer-icon svg {
    transform: scale(1.04);
}

.offer-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--space-md);
}

.offer-desc {
    font-size: 0.92rem;
    color: var(--warm-gray);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.offer-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.offer-features li {
    font-size: 0.85rem;
    color: var(--dark-light);
    padding: 9px 0;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.offer-features li:last-child {
    border-bottom: none;
}

.offer-features li::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--primary);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-position: center;
    background-size: 11px 11px;
    background-repeat: no-repeat;
    flex-shrink: 0;
    transition: transform var(--transition);
    box-shadow: 0 1px 3px rgba(var(--primary-rgb), 0.25);
}

.offer-card:hover .offer-features li::before {
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(var(--primary-rgb), 0.35);
}

/* ===========================================
   32. STORY SECTION ENHANCEMENTS
   =========================================== */

.story-section .section-title {
    margin-bottom: var(--space-sm);
}

/* ===========================================
   33. RESPONSIVE ADDITIONS FOR NEW SECTIONS
   =========================================== */

/* Tablet */
@media (max-width: 1024px) {
    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .offer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .offer-card {
        padding: 36px 24px var(--space-xl);
    }

    /* Parallax fallback on mobile (iOS fix) */
    .parallax-divider-1,
    .parallax-divider-2 {
        background-attachment: scroll;
    }

    .hero {
        background-attachment: scroll;
    }

    .about-photo-frame {
        transform: rotate(0deg);
    }

    .about-photo-frame:hover {
        transform: none;
    }

    .story-section {
        text-align: left;
    }

    .story-section .section-label,
    .story-section .section-title {
        text-align: center;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .offer-icon {
        width: 60px;
        height: 60px;
    }

    .offer-icon svg {
        width: 28px;
        height: 28px;
    }

    .offer-title {
        font-size: 1.2rem;
    }
}

/* ========================================
   PARALLAX HERO (dynamisches Hintergrundbild)
   ======================================== */
.hero.parallax-hero {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .hero.parallax-hero {
        background-attachment: scroll;
    }
}

/* ========================================
   FOOTER SOCIAL ICONS
   ======================================== */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: inherit;
    transition: all 0.2s ease;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(var(--primary-rgb), 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    color: var(--white);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   ADMIN: CHECKBOX-CARD (Sektionen-Toggle)
   ======================================== */
.checkbox-card {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px var(--space-md);
    border: 2px solid #e0e0e0;
    border-radius: var(--space-sm);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    user-select: none;
}

.checkbox-card:hover {
    border-color: var(--primary, #5B8BA6);
    background: rgba(91,139,166,0.04);
}

.checkbox-card input:checked + span {
    font-weight: 600;
}

.checkbox-card input:checked ~ span::before {
    border-color: var(--primary, #5B8BA6);
}

/* ========================================
   ADMIN: DESIGN-TEMPLATE-CARD
   ======================================== */
.design-template-card:hover {
    border-color: var(--primary, #5B8BA6) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.design-template-card.active {
    border-color: var(--primary, #5B8BA6) !important;
    background: rgba(91,139,166,0.04) !important;
}

/* ========================================
   MEHRFACHKARTEN — Premium Card Design
   ======================================== */
.karten-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    max-width: 960px;
    margin: 0 auto;
}

.karten-card {
    background: var(--white, #fff);
    border-radius: var(--space-md);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.karten-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.karten-card-top {
    background: linear-gradient(135deg, var(--primary, #5B8BA6), var(--primary-dark, #4a7a95));
    color: var(--white);
    padding: 28px var(--space-lg);
    text-align: center;
}

.karten-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.karten-einheiten {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
}

.karten-count {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    font-family: var(--font-heading);
}

.karten-unit {
    font-size: 0.9rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.karten-card-body {
    padding: var(--space-lg);
    text-align: center;
}

.karten-price {
    margin-bottom: 20px;
}

.karten-total {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark, #1A1A2E);
    font-family: var(--font-heading);
}

.karten-details {
    text-align: left;
}

.karten-detail-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.9rem;
    color: var(--text-muted, #6b7280);
}

.karten-detail-row:last-child {
    border-bottom: none;
}

.karten-detail-row svg {
    flex-shrink: 0;
    color: var(--primary, #5B8BA6);
}

.karten-badge {
    display: inline-block;
    margin-top: var(--space-md);
    padding: 4px var(--space-md);
    background: var(--primary-light, rgba(91,139,166,0.15));
    color: var(--primary, #5B8BA6);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .karten-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .karten-count {
        font-size: 2.5rem;
    }

    .karten-total {
        font-size: 1.6rem;
    }
}

/* ========================================
   DYNAMISCHE SEKTIONEN (tenant_sections)
   ======================================== */

/* Shared */
.ds-section {
    position: relative;
}

.ds-content {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text, #4a4a4a);
}

.ds-content p {
    margin-bottom: var(--space-md);
}

.ds-content p:last-child {
    margin-bottom: 0;
}

/* Text — zentriert */
.ds-text-block {
    text-align: center;
}

.ds-text-block .section-label {
    display: block;
    margin-bottom: var(--space-sm);
}

.ds-text-block .section-title {
    margin-bottom: var(--space-lg);
}

/* Text-Bild / Bild-Text — Grid */
.ds-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.ds-grid-reverse {
    direction: rtl;
}

.ds-grid-reverse > * {
    direction: ltr;
}

.ds-grid-text .section-label {
    display: block;
    margin-bottom: var(--space-sm);
}

.ds-grid-text .section-title {
    margin-bottom: 20px;
}

.ds-grid-text .ds-content {
    margin: 0;
    max-width: none;
}

.ds-photo-frame {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.ds-photo-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
}

/* Zitat — Fullwidth Highlight */
.ds-zitat {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px var(--space-lg);
    background-color: var(--primary, #5B8BA6);
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.ds-zitat-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 27, 45, 0.5);
}

.ds-zitat[style*="background-image"] .ds-zitat-overlay {
    background: rgba(15, 27, 45, 0.55);
}

.ds-zitat:not([style*="background-image"]) .ds-zitat-overlay {
    display: none;
}

.ds-zitat-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.ds-zitat-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: var(--space-md);
}

.ds-zitat-author {
    font-size: 1rem;
    opacity: 0.8;
    letter-spacing: 1px;
}

/* Galerie — Grid */
.ds-galerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.ds-galerie-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ds-galerie-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.ds-galerie-item {
    background: var(--bg-surface-2, #f4f4f0);
}

.ds-galerie-item img {
    width: 100%;
    height: 100%;
    /* object-fit: contain (2026-04-26) statt 'cover' damit komplettes Bild
       sichtbar bleibt — wichtig fuer Logo-Galerien (Dillner-Feedback).
       Padding 8px sorgt fuer ruhigen Rahmen, das background des Container-
       Items dient als neutraler Hintergrund. */
    object-fit: contain;
    aspect-ratio: 4/3;
    display: block;
    padding: 12px;
    box-sizing: border-box;
}

/* Mobile */
@media (max-width: 768px) {
    .ds-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .ds-grid-reverse {
        direction: ltr;
    }

    .ds-zitat-text {
        font-size: 1.3rem;
    }

    .ds-galerie-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .ds-galerie-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   DYNAMISCHE SEKTIONEN — Abwechselnde Hintergründe
   ======================================== */
/* Visuelle Trennung zwischen dynamischen Sektionen */
.ds-section + .ds-section:not(.ds-zitat) {
    border-top: 1px solid rgba(0,0,0,0.06);
}

/* Divider zwischen dynamischen Sektionen und festen Sektionen */
.ds-transition-divider {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(15,27,45,0.85) 0%, rgba(45,45,68,0.75) 100%),
        var(--secondary, #F0EDE8);
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.ds-transition-divider.has-image {
    background-attachment: fixed;
}

.ds-transition-divider .divider-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding: 0 var(--space-lg);
}

.ds-transition-divider .divider-quote {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.9;
}

/* Ohne Parallax: Eleganter Farbblock */
.ds-transition-divider.no-parallax {
    background-attachment: scroll;
    height: 200px;
    background:
        linear-gradient(135deg, var(--primary, #5B8BA6) 0%, var(--primary-dark, #4a7a95) 100%);
}

@media (max-width: 768px) {
    .ds-transition-divider {
        height: 200px;
        background-attachment: scroll;
    }

    .ds-transition-divider .divider-quote {
        font-size: 1.2rem;
    }
}

.ds-section .section-divider {
    width: 60px;
    height: 2px;
    background: var(--primary, #5B8BA6);
    margin: 16px auto var(--space-xl);
    border-radius: 2px;
    opacity: 0.5;
}

.ds-text-block .section-divider {
    margin: 16px auto var(--space-lg);
}

/* ========================================
   VIDEO-SEKTION — Grid Layout
   ======================================== */
/* Grid-Spalten-System (für Video + Galerie) */
.ds-grid-cols-1 { grid-template-columns: 1fr !important; max-width: 800px; margin-left: auto; margin-right: auto; }
.ds-grid-cols-2 { grid-template-columns: repeat(2, 1fr) !important; }
.ds-grid-cols-3 { grid-template-columns: repeat(3, 1fr) !important; }

@media (max-width: 768px) {
    .ds-grid-cols-2, .ds-grid-cols-3 { grid-template-columns: 1fr !important; }
}
@media (max-width: 1024px) and (min-width: 769px) {
    .ds-grid-cols-3 { grid-template-columns: repeat(2, 1fr) !important; }
}

.ds-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.ds-video-grid.ds-video-single {
    grid-template-columns: 1fr;
    max-width: 800px;
}

.ds-video-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ds-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}

.ds-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
}

.ds-video-container iframe,
.ds-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.ds-video-native video {
    object-fit: contain;
}

/* ========================================
   INFO-CARDS Layout — Kurs-Infos mit Tags
   ======================================== */
.ds-info-cards-grid {
    display: grid;
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}
.ds-info-cards-grid.ds-grid-cols-1 { grid-template-columns: 1fr; }
.ds-info-cards-grid.ds-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.ds-info-cards-grid.ds-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.ds-info-cards-grid.ds-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ──────────────────────────────────────────────────────────
   Ungerade letzte Karte(n) mittig zentrieren
   Funktioniert fuer 2, 3 und 4 Spalten — immer wenn die
   letzte Zeile nicht komplett gefuellt ist, wird die/werden
   die Rest-Karte(n) in der Mitte platziert.
   ────────────────────────────────────────────────────────── */

/* ─── 2-Spalten-Grid ─── */
/* 1 Rest: mittig */
.ds-info-cards-grid.ds-grid-cols-2 .ds-info-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 14px);
    margin: 0 auto;
}

/* ─── 3-Spalten-Grid ─── */
/* 1 Rest (Position 3n+1): mittige Spalte */
.ds-info-cards-grid.ds-grid-cols-3 .ds-info-card:last-child:nth-child(3n+1) {
    grid-column: 2 / 3;
}
/* 2 Rest (erste Karte Position 3n+1): in Spalten 1-2 und 2-3 zentrieren → wirkt zusammen wie 2 mittige */
.ds-info-cards-grid.ds-grid-cols-3 .ds-info-card:nth-last-child(2):nth-child(3n+1) {
    grid-column: 1 / span 2;
    justify-self: end;
    max-width: 100%;
    width: 100%;
}
.ds-info-cards-grid.ds-grid-cols-3 .ds-info-card:nth-last-child(2):nth-child(3n+1) + .ds-info-card {
    grid-column: 2 / span 2;
    justify-self: start;
    max-width: 100%;
    width: 100%;
}

/* ─── 4-Spalten-Grid ─── */
/* 1 Rest (Position 4n+1): Spalte 2-3 (mittig) */
.ds-info-cards-grid.ds-grid-cols-4 .ds-info-card:last-child:nth-child(4n+1) {
    grid-column: 2 / span 2;
    justify-self: center;
    max-width: calc(100% - 14px);
}
/* 2 Rest: Spalten 2-3 und 3-4 (mittig) */
.ds-info-cards-grid.ds-grid-cols-4 .ds-info-card:nth-last-child(2):nth-child(4n+1) {
    grid-column: 2 / span 2;
}
.ds-info-cards-grid.ds-grid-cols-4 .ds-info-card:nth-last-child(2):nth-child(4n+1) + .ds-info-card {
    grid-column: 3 / span 2;
}
/* 3 Rest: Spalten 1-2, 2-3, 3-4 → center row */
.ds-info-cards-grid.ds-grid-cols-4 .ds-info-card:nth-last-child(3):nth-child(4n+1) {
    grid-column: 1 / span 2;
    justify-self: end;
}
.ds-info-cards-grid.ds-grid-cols-4 .ds-info-card:nth-last-child(3):nth-child(4n+1) + .ds-info-card {
    grid-column: 2 / span 2;
    justify-self: center;
}
.ds-info-cards-grid.ds-grid-cols-4 .ds-info-card:nth-last-child(3):nth-child(4n+1) + .ds-info-card + .ds-info-card {
    grid-column: 3 / span 2;
    justify-self: start;
}

.ds-info-card {
    background: var(--white);
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    border-radius: 12px;
    padding: 28px var(--space-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ds-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.ds-info-card-title {
    font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
    font-size: var(--space-lg);
    font-weight: 600;
    color: var(--dark, #1A1A2E);
    margin: 0 0 6px 0;
    line-height: 1.25;
}
.ds-info-card-level {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary, #5B8BA6);
    background: rgba(var(--primary-rgb), 0.08);
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.ds-info-card-desc {
    font-size: 14px;
    line-height: 1.65;
    color: #5a5b6a;
    margin: 0 0 18px 0;
}
.ds-info-card-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ds-info-card-tags li {
    font-size: 11px;
    color: var(--primary, #5B8BA6);
    background: rgba(var(--primary-rgb), 0.08);
    padding: 5px 11px;
    border-radius: 14px;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .ds-info-cards-grid.ds-grid-cols-3,
    .ds-info-cards-grid.ds-grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .ds-info-cards-grid { grid-template-columns: 1fr !important; }
}

/* ========================================
   TAG-LISTE Layout — Kursformate / Pills
   ======================================== */
.ds-tag-liste {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
}
.ds-tag-pill {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary, #5B8BA6);
    background: rgba(var(--primary-rgb), 0.06);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    padding: 10px 20px;
    border-radius: 999px;
    transition: all 0.2s ease;
}
.ds-tag-pill:hover {
    background: rgba(var(--primary-rgb), 0.12);
    border-color: var(--primary, #5B8BA6);
}
.ds-tag-liste-note {
    text-align: center;
    font-size: 13px;
    color: #7A7B8A;
    margin-top: 20px;
}
.ds-tag-liste-note a {
    color: var(--primary, #5B8BA6);
    text-decoration: none;
}
.ds-tag-liste-note a:hover {
    text-decoration: underline;
}

/* Instagram Reels — 9:16 Portrait Aspect Ratio */
.ds-video-container.ds-video-instagram {
    padding-bottom: 0;
    height: auto;
    min-height: 600px;
    background: transparent;
}

.ds-video-container.ds-video-instagram iframe {
    position: relative;
    width: 100%;
    height: 600px;
    min-height: 600px;
}

@media (max-width: 768px) {
    .ds-video-container.ds-video-instagram,
    .ds-video-container.ds-video-instagram iframe {
        min-height: 560px;
        height: 560px;
    }
}

/* ========================================
   GALERIE — Responsive Varianten
   ======================================== */
.ds-galerie-single {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ds-galerie-single .ds-galerie-item {
    aspect-ratio: 16/10;
}

.ds-galerie-duo {
    grid-template-columns: repeat(2, 1fr) !important;
}

.ds-galerie-duo .ds-galerie-item {
    aspect-ratio: 4/3;
}

/* (2026-04-26) Diese Regel war Ueberschreibung mit aspect-ratio:auto + height:100%
   die zusammen mit object-fit: cover (vorher) Logos beschnitten hat.
   Jetzt: object-fit: contain wird global gesetzt + Padding, deshalb hier
   keine Ueberschreibung mehr noetig. Behalten als no-op fuer Backwards-Compat. */
.ds-galerie-item img {
    aspect-ratio: 4/3;
}

@media (max-width: 768px) {
    .ds-video-grid {
        grid-template-columns: 1fr;
    }

    .ds-video-card {
        border-radius: var(--space-sm);
    }

    .ds-galerie-duo {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================
   DIVIDER-SEKTIONSTYP (Trenner)
   ======================================== */

/* Parallax-Divider */
.ds-divider-parallax {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: var(--primary, #5B8BA6);
    color: var(--white);
}

.ds-divider-parallax .parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 27, 45, 0.5);
}

.ds-divider-parallax .divider-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    padding: 0 var(--space-lg);
}

.ds-divider-author {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: var(--space-sm);
    letter-spacing: 0.5px;
}

/* Farbblock-Divider */
.ds-divider-color {
    padding: 60px var(--space-lg);
    text-align: center;
    background: linear-gradient(135deg, var(--primary, #5B8BA6) 0%, var(--primary-dark, #4a7a95) 100%);
    color: var(--white);
}

.ds-divider-color-inner {
    max-width: 650px;
    margin: 0 auto;
}

.ds-divider-color-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.95;
}

/* Wellen-Divider */
.ds-divider-wave {
    padding: 20px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ds-wave-top,
.ds-wave-bottom {
    display: block;
    width: 100%;
    height: 50px;
}

.ds-wave-content {
    padding: 16px var(--space-lg);
    max-width: 600px;
    margin: 0 auto;
}

.ds-wave-content p {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted, #6b7280);
}

@media (max-width: 768px) {
    .ds-divider-parallax {
        min-height: 220px;
        background-attachment: scroll;
    }

    .ds-divider-color {
        padding: 40px 20px;
    }

    .ds-divider-color-text {
        font-size: 1.2rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE A11Y + TOUCH-TARGETS
   Behebt:
   - iOS-Safari Auto-Zoom wenn Inputs < 16px sind
   - Touch-Targets < 44x44 (Apple HIG, WCAG 2.5.5)
   - Hamburger Touch-Area
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* iOS-Zoom-Prevention: Inputs muessen ≥ 16px sein sonst zoomt Safari */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: var(--space-md);
    }

    /* Hamburger: groesseres Touch-Target */
    .hamburger {
        min-width: 44px;
        min-height: 44px;
        padding: 10px;
        justify-content: center;
    }

    /* Filter-Buttons: auf 44px anheben */
    .filter-btn {
        min-height: 44px;
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    /* Modal-Close: groesseres Touch-Target */
    .modal-close {
        min-width: 44px;
        min-height: 44px;
        padding: var(--space-sm);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Buchen-Buttons auf Mobile garantiert ≥ 44px */
    .btn,
    .btn-cta,
    .btn-book {
        min-height: 44px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   KINDGERECHTES DESIGN-SYSTEM
   Aktiviert durch Body-Klasse .theme-kids
   Effekte: Helle Hero, SVG-Deko, Wellen-Trenner, Pastell-Karten,
   Scroll-Storytelling, handgezeichnete Elemente
   ═══════════════════════════════════════════════════════════════ */

/* --- Theme-Kids Splat-Palette (fuer JS Paint-Splatter + Mal-Ecke) --- */
.theme-kids {
    --splat-color-1: #D13479;
    --splat-color-2: #559E98;
    --splat-color-3: #939DF5;
    --splat-color-4: #F5C842;
    --splat-color-5: #FF6B35;
    --splat-color-6: #4CAF50;
    --splat-color-7: #E88AB5;
    --splat-color-8: #7BC8C0;
    --paint-default: #D13479;
}

/* --- Hero: Bild bleibt erhalten, Fallback ist bunt --- */
.theme-kids .hero {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
}

/* Fallback wenn kein Hero-Bild gesetzt (kein inline style) */
.theme-kids .hero:not([style*="background-image"]) {
    background:
        radial-gradient(circle at 20% 30%, rgba(209, 52, 121, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 60%, rgba(85, 158, 152, 0.2) 0%, transparent 40%),
        linear-gradient(135deg, #FFEEEB 0%, #FFD6E8 25%, #E3E3FF 50%, #D4F0E8 75%, #FFF5EE 100%) !important;
}

.theme-kids .hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.1) 40%,
        rgba(29, 29, 29, 0.55) 100%
    );
}

.theme-kids .hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    letter-spacing: 3px;
}

.theme-kids .hero-title {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.theme-kids .hero-desc {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}

/* Hero SVG-Dekorationen (handgezeichnete Elemente) */
.theme-kids .hero-deco {
    position: absolute;
    z-index: 3;
    pointer-events: none;
}

.theme-kids .hero-deco-star {
    top: 8%;
    left: 4%;
    width: 180px;
    height: 180px;
    animation: floatStar 6s ease-in-out infinite;
}

.theme-kids .hero-deco-splash {
    bottom: 12%;
    right: 3%;
    width: 220px;
    height: 220px;
    animation: floatStar 8s ease-in-out infinite reverse;
}

.theme-kids .hero-deco-dots {
    top: 15%;
    right: 6%;
    width: 200px;
    height: 200px;
    animation: floatStar 7s ease-in-out infinite 1s;
}

.theme-kids .hero-deco-heart {
    bottom: 25%;
    left: 8%;
    width: 150px;
    height: 150px;
    animation: floatStar 9s ease-in-out infinite 0.5s;
}

.theme-kids .hero-deco-brush {
    top: 65%;
    right: 8%;
    width: 250px;
    height: 100px;
    animation: floatStar 10s ease-in-out infinite 2s;
}

.theme-kids .hero-deco-star2 {
    top: 55%;
    left: 15%;
    width: 130px;
    height: 130px;
    animation: floatStar 7s ease-in-out infinite 3s;
}

.theme-kids .hero-deco-spiral {
    top: 10%;
    left: 40%;
    width: 160px;
    height: 160px;
    animation: floatStar 11s ease-in-out infinite 1.5s;
}

.theme-kids .hero-deco-rainbow {
    bottom: 8%;
    left: 25%;
    width: 200px;
    height: 100px;
    animation: floatStar 12s ease-in-out infinite 0.8s;
}

@keyframes floatStar {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

/* --- Wellenförmige Sektions-Trenner --- */
.wave-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

.wave-divider.wave-flip svg {
    transform: scaleY(-1);
}

.wave-divider.wave-pink svg path { fill: #FFEEEB; }
.wave-divider.wave-lavender svg path { fill: #E3E3FF; }
.wave-divider.wave-mint svg path { fill: #F3FFE3; }
.wave-divider.wave-white svg path { fill: #FFFFFF; }
.wave-divider.wave-cream svg path { fill: var(--secondary, #FFEEEB); }

/* --- Farbige Kurs-Karten --- */
.theme-kids .kurs-card {
    border: none;
    border-radius: var(--radius-2xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-kids .kurs-card:hover {
    transform: translateY(-12px) rotate(-0.5deg);
    box-shadow: 0 20px 40px rgba(209, 52, 121, 0.12);
}

.theme-kids .kurs-card[data-category="Kreativ"] {
    background: linear-gradient(135deg, #FFEEEB 0%, #fff 60%);
    border-left: 4px solid #D13479;
}

.theme-kids .kurs-card[data-category="Entspannung"] {
    background: linear-gradient(135deg, #E3E3FF 0%, #fff 60%);
    border-left: 4px solid #939DF5;
}

/* --- Angebots-Karten mit Pastell-Hintergründen --- */
.theme-kids .offer-card {
    border: none;
    border-radius: var(--radius-2xl);
    padding: 40px var(--space-xl);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.theme-kids .offer-card:nth-child(1) {
    background: linear-gradient(145deg, #FFEEEB 0%, #fff 70%);
}

.theme-kids .offer-card:nth-child(2) {
    background: linear-gradient(145deg, #F3FFE3 0%, #fff 70%);
}

.theme-kids .offer-card:nth-child(3) {
    background: linear-gradient(145deg, #E3E3FF 0%, #fff 70%);
}

.theme-kids .offer-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.theme-kids .offer-icon {
    background: var(--primary);
    color: var(--white);
    width: 56px;
    height: 56px;
    border-radius: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.theme-kids .offer-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
    stroke: #fff !important;
    fill: none;
    stroke-width: 2;
}

/* --- About-Sektion: Warmer Look --- */
.theme-kids .about-photo-frame {
    border-radius: var(--space-lg);
    border: 4px solid var(--primary);
    box-shadow: 12px 12px 0 rgba(209, 52, 121, 0.1);
    aspect-ratio: auto;
}

.theme-kids .about-tagline {
    color: var(--primary);
    font-size: 1.15rem;
    font-style: normal;
    font-weight: 600;
}

.theme-kids .value-tag {
    border-radius: var(--space-lg);
    font-weight: 600;
    border: 2px solid transparent;
}

.theme-kids .value-tag:nth-child(1) { background: #FFEEEB; color: #D13479; }
.theme-kids .value-tag:nth-child(2) { background: #E3E3FF; color: #6B6BCC; }
.theme-kids .value-tag:nth-child(3) { background: #F3FFE3; color: #559E98; }
.theme-kids .value-tag:nth-child(4) { background: #FFF5EE; color: #D13479; }

.theme-kids .value-tag:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* --- Scroll-Triggered Storytelling Animationen --- */

/* Slide Up mit Bounce */
.theme-kids .fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-kids .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slide von Links mit Rotation */
.theme-kids .fade-in-left {
    opacity: 0;
    transform: translateX(-60px) rotate(-3deg);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-kids .fade-in-left.visible {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
}

/* Slide von Rechts mit Rotation */
.theme-kids .fade-in-right {
    opacity: 0;
    transform: translateX(60px) rotate(3deg);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-kids .fade-in-right.visible {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
}

/* Scale mit Spring-Effekt */
.theme-kids .fade-in-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-kids .fade-in-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger mit mehr Versatz */
.theme-kids .stagger-children > * {
    transition-delay: calc(var(--index, 0) * 0.15s);
}

/* --- Parallax-Divider: Bilder beibehalten, Parallax aktiv --- */
.theme-kids .parallax-divider {
    background-color: #E3E3FF;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

.theme-kids .parallax-divider .parallax-overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.15) 50%,
        rgba(0, 0, 0, 0.35) 100%
    );
}

.theme-kids .divider-quote {
    color: var(--white);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

/* --- Testimonials als schöne Karten --- */
.theme-kids .ds-text-block .ds-content p {
    background: var(--white);
    padding: 24px 28px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary);
    font-style: italic;
    line-height: 1.8;
}

.theme-kids .ds-text-block .ds-content p:nth-child(2) {
    border-left-color: #559E98;
}

.theme-kids .ds-text-block .ds-content p:nth-child(3) {
    border-left-color: #939DF5;
}

/* --- Galerie: Abgerundete Rahmen --- */
.theme-kids .ds-galerie-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 4px solid var(--white);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-kids .ds-galerie-item:hover {
    transform: scale(1.03) rotate(-1deg);
    box-shadow: 0 16px 40px rgba(209, 52, 121, 0.12);
}

/* --- Kontakt-Sektion --- */
.theme-kids .kontakt-section {
    background: linear-gradient(180deg, var(--white) 0%, #FFEEEB 100%);
}

/* --- Footer: Wärmer --- */
.theme-kids .footer {
    background: #1D1D1D;
}

/* --- Navbar: Wärmer im Scroll-Zustand --- */
.theme-kids .navbar.scrolled {
    background: rgba(29, 29, 29, 0.95);
}

/* --- Sektion-Alt: Pastell statt Grau --- */
.theme-kids .section-alt {
    background: #FFF9F7;
}

/* --- Handgezeichnete Unterstriche für Titel --- */
.theme-kids .section-divider {
    width: 80px;
    height: var(--space-xs);
    background: var(--primary);
    border-radius: var(--space-xs);
    position: relative;
}

.theme-kids .section-divider::after {
    content: '';
    position: absolute;
    top: var(--space-sm);
    left: 10px;
    width: 50px;
    height: 3px;
    background: #559E98;
    border-radius: 3px;
    opacity: 0.5;
}

/* --- Scroll-Progress-Indicator --- */
.theme-kids .scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #559E98, #939DF5);
    z-index: 9999;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* --- Kurs-Karten: Buchen-Button runder + verspielter --- */
.theme-kids .btn-book {
    border-radius: var(--space-md);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.theme-kids .btn-book:hover {
    box-shadow: 0 8px 24px rgba(209, 52, 121, 0.25);
}

/* --- CTA-Buttons --- */
.theme-kids .btn-primary {
    border-radius: var(--space-md);
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(209, 52, 121, 0.2);
}

.theme-kids .btn-primary:hover {
    box-shadow: 0 8px 28px rgba(209, 52, 121, 0.3);
}

/* --- Mobile Anpassungen für Kids-Theme --- */
@media (max-width: 768px) {
    .theme-kids .hero-deco { display: none; }

    .wave-divider svg { height: 40px; }

    .theme-kids .offer-card {
        padding: 28px var(--space-lg);
    }

    .theme-kids .about-photo-frame {
        box-shadow: 8px 8px 0 rgba(209, 52, 121, 0.1);
    }

    .theme-kids .ds-text-block .ds-content p {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .wave-divider svg { height: 30px; }
}

/* ═══════════════════════════════════════════════════════════════
   KIDS-THEME — ADVANCED EFFECTS
   Kinetic Typography, Farbkleckse, Glassmorphism,
   Scroll-Storytelling, Bento-Grid, Confetti
   ═══════════════════════════════════════════════════════════════ */

/* --- Farbkleckse / Paint Splashes als Hintergrund-Deko --- */
.theme-kids .section {
    position: relative;
    overflow: hidden;
}

.theme-kids .section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}

.theme-kids #about::before {
    background: radial-gradient(circle, #D13479 0%, transparent 70%);
    top: -80px;
    right: -100px;
}

.theme-kids #angebot::before {
    background: radial-gradient(circle, #559E98 0%, transparent 70%);
    bottom: -60px;
    left: -80px;
    width: 400px;
    height: 400px;
}

.theme-kids #buchen::before {
    background: radial-gradient(circle, #939DF5 0%, transparent 70%);
    top: -50px;
    left: 50%;
}

/* Zweiter Farbklecks pro Sektion */
.theme-kids .section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.theme-kids #about::after {
    background: #559E98;
    bottom: 10%;
    left: -5%;
}

.theme-kids #buchen::after {
    background: #D13479;
    bottom: 5%;
    right: -3%;
}

/* --- Kinetic Typography: Hero-Titel Buchstaben-Animation --- */
.theme-kids .hero-title {
    animation: heroTitleReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    animation-delay: 0.3s;
}

@keyframes heroTitleReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        letter-spacing: var(--space-sm);
    }
    60% {
        letter-spacing: 2px;
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        letter-spacing: normal;
    }
}

.theme-kids .hero-subtitle {
    animation: subtitleSlideIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    animation-delay: 0.1s;
}

@keyframes subtitleSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.theme-kids .hero-desc {
    animation: descFadeUp 1s ease forwards;
    opacity: 0;
    animation-delay: 0.6s;
}

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

.theme-kids .hero-buttons {
    animation: buttonsPop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
    animation-delay: 0.9s;
}

@keyframes buttonsPop {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

/* --- Glassmorphism-Buttons --- */
.theme-kids .btn-outline {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.4);
}

.theme-kids .btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

.theme-kids .btn-primary {
    position: relative;
    overflow: hidden;
}

.theme-kids .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

/* --- Micro-Interactions: Cursor + Hover --- */
.theme-kids .kurs-card {
    cursor: pointer;
    position: relative;
}

.theme-kids .kurs-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--space-xs);
    background: linear-gradient(90deg, #D13479, #559E98, #939DF5);
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-kids .kurs-card:hover::before {
    opacity: 1;
}

/* Bounce auf Icon Hover */
.theme-kids .offer-icon {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-kids .offer-card:hover .offer-icon {
    transform: scale(1.15) rotate(-5deg);
}

/* --- Bunte Sektions-Hintergründe statt Weiß --- */
.theme-kids #about {
    background: linear-gradient(180deg, #fff 0%, #FFF5EE 30%, #FFEEEB 100%);
}

.theme-kids #angebot {
    background: linear-gradient(180deg, #FFEEEB 0%, #F3FFE3 40%, #E3E3FF 100%);
}

.theme-kids #buchen {
    background: linear-gradient(180deg, #fff 0%, #E3E3FF 60%, #F3FFE3 100%);
}

.theme-kids .kontakt-section {
    background: linear-gradient(180deg, #FFF5EE 0%, #FFEEEB 40%, #FFD6E8 100%);
}

/* --- Dynamische Sektionen: Bunte Hintergründe --- */
.theme-kids .ds-section {
    background: linear-gradient(180deg, #FFF9F7 0%, #FFF5EE 100%);
}

.theme-kids .ds-section.section-alt {
    background: linear-gradient(180deg, #F3FFE3 0%, #E8F8FF 100%);
}

/* --- Scroll-Triggered Sektions-Farbwechsel (via JS Klassen) --- */
.theme-kids .section.in-view {
    transition: background 0.8s ease;
}

/* --- Regenbogen-Divider statt einfarbig --- */
.theme-kids .section-divider {
    background: linear-gradient(90deg, #D13479, #559E98, #939DF5);
    height: var(--space-xs);
    width: 80px;
}

.theme-kids .section-divider::after {
    background: linear-gradient(90deg, #939DF5, #D13479);
}

/* --- Confetti-Dots als Deko-Elemente --- */
.theme-kids .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle 3px, rgba(209, 52, 121, 0.2) 100%, transparent 100%),
        radial-gradient(circle 2px, rgba(85, 158, 152, 0.2) 100%, transparent 100%),
        radial-gradient(circle 3px, rgba(147, 157, 245, 0.15) 100%, transparent 100%),
        radial-gradient(circle 2px, rgba(243, 200, 80, 0.15) 100%, transparent 100%),
        radial-gradient(circle 2px, rgba(209, 52, 121, 0.15) 100%, transparent 100%);
    background-size: 100px 120px;
    background-position:
        15px 25px,
        55px 75px,
        85px 40px,
        35px 95px,
        70px 10px;
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
    animation: confettiDrift 20s linear infinite;
}

@keyframes confettiDrift {
    0% { background-position: 15px 25px, 55px 75px, 85px 40px, 35px 95px, 70px 10px; }
    100% { background-position: 115px 145px, 155px 195px, 185px 160px, 135px 215px, 170px 130px; }
}

/* --- About-Sektion: Bild-Overlay-Farbe --- */
.theme-kids .about-photo-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(209, 52, 121, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.theme-kids .about-photo-frame {
    position: relative;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.5s ease;
}

.theme-kids .about-photo-frame:hover {
    transform: rotate(-2deg) scale(1.02);
    box-shadow: 16px 16px 0 rgba(85, 158, 152, 0.15);
}

/* --- Navbar mit Glassmorphism --- */
.theme-kids .navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(209, 52, 121, 0.08);
}

.theme-kids .navbar.scrolled .brand {
    color: #1D1D1D;
}

.theme-kids .navbar.scrolled nav a {
    color: rgba(29, 29, 29, 0.7);
}

.theme-kids .navbar.scrolled nav a:hover {
    color: var(--primary);
}

.theme-kids .navbar.scrolled .hamburger span {
    background: #1D1D1D;
}

/* --- Animierte Punkte auf Badges --- */
.theme-kids .badge {
    position: relative;
    overflow: hidden;
}

.theme-kids .badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-kids .badge:hover::before {
    opacity: 1;
}

/* --- Logo in Navbar: Rund mit Schatten --- */
.theme-kids .brand img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(209, 52, 121, 0.2);
    border: 2px solid rgba(209, 52, 121, 0.3);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-kids .brand:hover img {
    transform: rotate(10deg) scale(1.1);
}

/* --- Footer: Bunter --- */
.theme-kids .footer {
    background: linear-gradient(180deg, #2D1F3D 0%, #1D1D1D 100%);
}

.theme-kids .footer-social a {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.theme-kids .footer-social a:hover {
    color: var(--primary);
    transform: scale(1.2) rotate(-5deg);
}

/* --- Book-Button: Glanz-Effekt --- */
.theme-kids .btn-book {
    position: relative;
    overflow: hidden;
}

.theme-kids .btn-book::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}

.theme-kids .btn-book:hover::after {
    left: 125%;
}

/* --- Pinsel-Cursor --- */
.theme-kids {
    cursor: url('/static/images/cursor-pinsel.svg') 4 28, auto;
}

.theme-kids a,
.theme-kids button,
.theme-kids summary,
.theme-kids .btn,
.theme-kids .btn-book,
.theme-kids .btn-cta,
.theme-kids .filter-btn,
.theme-kids .paint-color,
.theme-kids .paint-size,
.theme-kids .paint-clear {
    cursor: url('/static/images/cursor-pinsel.svg') 4 28, pointer;
}

/* --- Scroll-Indicator: Bunter --- */
.theme-kids .scroll-indicator span {
    border-color: var(--primary);
}

.theme-kids .scroll-indicator span::after {
    background: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════
   INTERAKTIVE MAL-ECKE (Kids-Theme)
   ═══════════════════════════════════════════════════════════════ */
.paint-playground {
    background: linear-gradient(180deg, #FFF9F7 0%, #FFEEEB 40%, #E3E3FF 100%);
}

.paint-canvas-wrap {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(209, 52, 121, 0.1);
    background: var(--white);
    border: 3px solid rgba(209, 52, 121, 0.15);
}

.paint-toolbar {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px var(--space-md);
    background: #FFF9F7;
    border-bottom: 2px solid rgba(209, 52, 121, 0.08);
    flex-wrap: wrap;
}

.paint-color {
    width: var(--space-xl);
    height: var(--space-xl);
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 0;
}

.paint-color:hover {
    transform: scale(1.2);
}

.paint-color.active {
    border-color: #1D1D1D;
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.paint-size {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.paint-size span {
    display: block;
    background: #1D1D1D;
    border-radius: 50%;
}

.paint-size.active {
    border-color: var(--primary);
    background: #FFEEEB;
}

.paint-size:hover {
    border-color: var(--primary);
}

.paint-separator {
    width: 1px;
    height: 28px;
    background: #ddd;
    margin: 0 var(--space-xs);
}

.paint-clear {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: var(--white);
    cursor: pointer;
    font-size: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.paint-clear:hover {
    border-color: #e74c3c;
    background: #ffeaea;
    transform: rotate(15deg);
}

#paintCanvas {
    display: block;
    width: 100%;
    height: 400px;
    cursor: crosshair;
    touch-action: none;
}

@media (max-width: 768px) {
    #paintCanvas { height: 280px; }
    .paint-color { width: 28px; height: 28px; }
    .paint-size { width: var(--space-xl); height: var(--space-xl); }
    .paint-toolbar { gap: 6px; padding: 10px 12px; }
}

@media (max-width: 480px) {
    #paintCanvas { height: 220px; }
}

/* ═══════════════════════════════════════════════════════════════
   PAINT-SPLATTER: Farbkleckse beim Scrollen an Seitenrändern
   ═══════════════════════════════════════════════════════════════ */
.paint-splat {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transform: scale(0) rotate(var(--rot, 0deg));
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.paint-splat.splat-in {
    animation: splatIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.paint-splat.splat-out {
    animation: splatOut 0.4s ease forwards;
}

@keyframes splatIn {
    0% {
        opacity: 0;
        transform: scale(0) rotate(var(--rot, 0deg));
    }
    50% {
        opacity: 0.35;
        transform: scale(1.3) rotate(var(--rot, 0deg));
    }
    100% {
        opacity: 0.2;
        transform: scale(1) rotate(var(--rot, 0deg));
    }
}

@keyframes splatOut {
    0% {
        opacity: 0.2;
        transform: scale(1) rotate(var(--rot, 0deg));
    }
    100% {
        opacity: 0;
        transform: scale(0.3) rotate(calc(var(--rot, 0deg) + 90deg));
    }
}

.paint-splat svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .paint-splat { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   GUT ZU WISSEN — Eltern-FAQ (Kids-Theme)
   ═══════════════════════════════════════════════════════════════ */
.gut-zu-wissen-section {
    background: linear-gradient(180deg, #FFF9F7 0%, #fff 100%);
}

.gzw-list {
    max-width: 720px;
    margin: 0 auto;
}

.gzw-item {
    border-bottom: 2px solid #f0f0f0;
    padding: 20px 0;
}

.gzw-item summary {
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    transition: color 0.3s ease;
}

.gzw-item summary:hover {
    color: var(--primary);
}

.gzw-item summary::-webkit-details-marker { display: none; }

.gzw-toggle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--warm-gray);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.gzw-item[open] .gzw-toggle {
    transform: rotate(45deg);
    border-color: var(--primary);
    color: var(--primary);
}

.gzw-item p {
    margin-top: 12px;
    font-size: 0.95rem;
    color: var(--warm-gray);
    line-height: 1.8;
    padding-right: 44px;
}

/* ═══════════════════════════════════════════════════════════════
   STANDORT-SEKTION (Kids-Theme)
   ═══════════════════════════════════════════════════════════════ */
.standort-section {
    background: linear-gradient(180deg, #E3E3FF 0%, #F3FFE3 100%);
}

.standort-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.standort-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.standort-detail {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--dark);
}

.standort-detail svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.standort-hinweis {
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.7;
    margin-top: var(--space-sm);
    font-style: italic;
}

.standort-map {
    border-radius: var(--space-md);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .standort-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* ════════════════════════════════════════════════════════════════
   LANGUAGE SWITCHER — kleiner DE/EN-Umschalter in der Navbar
   Wird nur angezeigt wenn der Tenant > 1 Sprache hat (z.B. .de + .com).
   ════════════════════════════════════════════════════════════════ */
.lang-switcher {
    display: inline-flex;
    gap: 2px;
    align-items: center;
    margin-left: 12px;
    padding: 3px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.lang-switcher-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    padding: 5px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}

.navbar nav a.lang-switcher-item::after {
    display: none; /* kein Unterstrich-Effekt im Switcher */
}

.lang-switcher-item:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.lang-switcher-item.active {
    color: var(--white);
    background: var(--primary);
    cursor: default;
}

.navbar.scrolled .lang-switcher {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.navbar.scrolled .lang-switcher-item {
    color: rgba(255, 255, 255, 0.6);
}

.navbar.scrolled .lang-switcher-item:hover {
    color: var(--white);
}

.navbar.scrolled .lang-switcher-item.active {
    color: var(--white);
    background: var(--primary);
}

/* Mobile: Switcher unter den Menue-Links anzeigen */
@media (max-width: 768px) {
    .lang-switcher {
        margin: 16px auto 0;
        padding: var(--space-xs);
    }
    .lang-switcher-item {
        min-width: 44px;
        padding: 8px 14px;
        font-size: 0.85rem;
    }
}

/* ===========================================
   KONTAKT-FORM PREMIUM POLISH (Block T1, 2026-04-23)
   - Card-Wrap mit sanftem Shadow
   - Pill-Style Radio-Buttons fuer Dringlichkeit
   - Privacy-Block mit eigener Box
   - PLZ/Ort Grid 30/70
   =========================================== */

/* Card-Wrap um die Form */
.kontakt-form-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--space-md);
    padding: 36px 36px var(--space-xl);
    box-shadow: 0 12px 32px rgba(15, 27, 45, 0.06), 0 2px 6px rgba(15, 27, 45, 0.04);
    position: relative;
}

.kontakt-form-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: var(--space-lg);
    right: var(--space-lg);
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 16px 16px 0 0;
    opacity: 0.85;
}

/* Sub-Hint im Label (z.B. "(fuer Vor-Ort-Termin)") */
.form-label-hint {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--warm-gray);
    font-size: 0.72rem;
    margin-left: var(--space-xs);
}

/* PLZ/Ort 30/70-Grid statt inline */
.form-row.form-row-plz-ort {
    grid-template-columns: 30% 1fr;
}

/* === Urgency Pills === */
.urgency-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-xs);
}

.urgency-pill {
    position: relative;
    cursor: pointer;
    margin-bottom: 0 !important;
}

.urgency-pill input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.urgency-pill .urgency-pill-label {
    display: inline-block;
    padding: 9px var(--space-md);
    border: 1.5px solid var(--border);
    border-radius: 999px;
    background: var(--white);
    color: var(--dark-light);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1px;
    text-transform: none;
    transition: all var(--transition);
    user-select: none;
    line-height: 1.2;
}

.urgency-pill:hover .urgency-pill-label {
    border-color: var(--primary-light);
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.04);
    transform: translateY(-1px);
}

.urgency-pill input[type="radio"]:checked + .urgency-pill-label {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.28);
}

.urgency-pill input[type="radio"]:focus-visible + .urgency-pill-label {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* === Privacy-Block === */
.privacy-block {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px var(--space-md);
    background: var(--off-white);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    margin: 4px 0 18px;
    font-size: 0.82rem;
    color: var(--dark-light);
    line-height: 1.5;
}

.privacy-block input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--primary);
    cursor: pointer;
}

.privacy-block label {
    cursor: pointer;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--dark-light);
}

.privacy-block a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 500;
}

.privacy-block a:hover {
    color: var(--primary-dark);
}

/* === Trust-Line unter dem Submit === */
.kontakt-trust-line {
    text-align: center;
    margin: 14px 0 0;
    font-size: 0.78rem;
    color: var(--warm-gray);
    letter-spacing: 0.2px;
}

/* === Mobile Polish === */
@media (max-width: 768px) {
    .kontakt-form-card {
        padding: 24px 18px 22px;
        border-radius: 14px;
    }
    .form-row.form-row-plz-ort {
        grid-template-columns: 1fr 1fr;
    }
    .urgency-pill .urgency-pill-label {
        padding: 8px 14px;
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    .form-row.form-row-plz-ort {
        grid-template-columns: 1fr;
    }
}

/* ===========================================
   HERO TRUST-STRIP (Block T3, 2026-04-23)
   - 3 Mini-Trust-Punkte unter Hero-Buttons
   - Mit weissem Check-Icon auf transparenter Pille
   =========================================== */

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    margin-top: 28px;
    opacity: 0;
    animation: heroTrustIn 0.9s ease 0.4s forwards;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.hero-trust-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: rgba(var(--primary-rgb), 0.85);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-position: center;
    background-size: 11px 11px;
    background-repeat: no-repeat;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

@keyframes heroTrustIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .hero-trust {
        gap: 14px;
        margin-top: 22px;
    }
    .hero-trust-item {
        font-size: 0.76rem;
    }
}

@media (max-width: 480px) {
    .hero-trust {
        flex-direction: column;
        gap: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-trust {
        opacity: 1;
        animation: none;
    }
}

/* ============================================================
   ITER 14 PHASE B.1 — Tenant-Frontend Komponenten (2026-05-05)
   Refactor: 122 inline-styles in 4 Templates → CSS-Klassen
   Templates: index.html, faq.html, bewertung_form.html,
              bewertungen_seite.html
   ============================================================ */

/* ─── Page-Layout (Bewertungen, Bewertung-Form) ─── */
.tenant-page-section {
    padding-top: 120px;
}
.tenant-page-section--with-min {
    min-height: 80vh;
}
.tenant-container-narrow {
    max-width: 600px;
}
.tenant-page-title {
    font-family: var(--font-heading);
    text-align: center;
    margin-bottom: var(--space-sm);
}
.tenant-page-intro {
    text-align: center;
    color: var(--warm-gray);
    margin-bottom: var(--space-xl);
}

/* ─── FAQ-Sektion (faq.html) ─── */
.faq-section {
    padding-top: var(--space-4xl);
}
.faq-container {
    max-width: var(--max-width-narrow);
}
.faq-list {
    margin-top: var(--space-xl);
}
.faq-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
}
.faq-card-summary {
    cursor: pointer;
    font-weight: 600;
    font-size: var(--space-md);
    color: var(--dark);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-card-summary::-webkit-details-marker {
    display: none;
}
.faq-card-answer {
    margin-top: var(--space-md);
    color: var(--warm-gray);
    line-height: 1.7;
}

/* ─── Bewertungs-Formular (bewertung_form.html) ─── */
.bewertung-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.bewertung-honeypot {
    position: absolute;
    left: -9999px;
}
.bewertung-rating-cluster {
    text-align: center;
    margin-bottom: var(--space-lg);
}
.bewertung-rating-label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
}
.bewertung-rating-row {
    display: inline-flex;
    gap: 6px;
    cursor: pointer;
}
.bewertung-rating-star {
    transition: fill 0.15s;
    cursor: pointer;
}
.bewertung-rating-hint {
    font-size: 12px;
    color: var(--rating-gold);
    margin-top: 6px;
    height: 18px;
}
.bewertung-form-label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-xs);
    font-size: 14px;
}
.bewertung-form-input,
.bewertung-form-select,
.bewertung-form-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    box-sizing: border-box;
}
.bewertung-form-textarea {
    resize: vertical;
}
.bewertung-form-hint {
    color: var(--warm-gray);
    font-size: 11px;
}
.bewertung-consent-row {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    cursor: pointer;
}
.bewertung-consent-text {
    font-size: 13px;
    color: var(--text-secondary);
}
.bewertung-feedback-error {
    display: none;
    padding: 10px 14px;
    background: var(--review-error-bg);
    color: var(--review-error);
    border-radius: var(--radius);
    margin-bottom: 12px;
    font-size: 13px;
}
.bewertung-feedback-success {
    display: none;
    padding: var(--space-md);
    background: var(--review-success-bg);
    color: var(--review-success);
    border-radius: var(--radius);
    text-align: center;
    font-size: 15px;
}
.bewertung-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

/* ─── Star-SVG (CSS-fill, weil SVG-Attribut nicht var(...) akzeptiert) ─── */
.rating-star {
    fill: var(--rating-empty);
    transition: fill 0.15s;
}
.rating-star--active {
    fill: var(--rating-gold);
}

/* ─── Bewertungen-Übersicht (bewertungen_seite.html) ─── */
.review-avg-display {
    text-align: center;
    margin-bottom: var(--space-xl);
}
.review-avg-num {
    font-size: var(--space-2xl);
    font-weight: 700;
    color: var(--primary);
}
.review-avg-stars {
    margin: 8px 0;
}
.review-avg-count {
    color: var(--warm-gray);
    font-size: 14px;
}
.review-grid {
    display: grid;
    gap: var(--space-md);
}
.review-card {
    background: var(--white);
    border-radius: 10px;
    padding: 20px var(--space-lg);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.review-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
}
.review-stars-row {
    display: flex;
    gap: 2px;
}
.review-card-date {
    font-size: 12px;
    color: var(--warm-gray);
}
.review-card-text {
    margin: 0 0 var(--space-sm);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}
.review-card-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
}
.review-empty {
    text-align: center;
    color: var(--warm-gray);
    margin-top: 40px;
}
.review-cta-wrap {
    text-align: center;
    margin-top: var(--space-xl);
}
.review-cta-btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
}

/* ─── BUG-HUNT-21 Fix (2026-05-06): starke Empty-States fuer
   Bewertungs-Sektion (Hauptseite) + Bewertungs-Seite (/bewertungen).
   Statt 1-Zeile-Text-im-Leeren: 5-Sterne-Visual + einladende Headline +
   beschreibender Text + CTA-Button. ─── */

/* Empty-State auf /bewertungen (bewertungen_seite.html) */
.review-empty-state {
    text-align: center;
    padding: 48px 16px var(--space-lg);
    margin-top: var(--space-md);
}
.review-empty-stars {
    display: inline-flex;
    gap: var(--space-xs);
    margin-bottom: 20px;
    opacity: 0.85;
}
.review-empty-title {
    font-size: 1.6rem;
    color: var(--dark);
    margin: 0 0 12px;
    font-family: var(--font-heading, inherit);
}
.review-empty-text {
    font-size: 1rem;
    color: var(--warm-gray);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Empty-State Bewertungs-Sektion auf Hauptseite (dynamic_section.html) */
.ds-bewertungen-empty-state {
    text-align: center;
    padding: 32px 16px var(--space-md);
}
.ds-empty-stars {
    display: inline-flex;
    gap: 6px;
    margin-bottom: 20px;
    opacity: 0.85;
}
.ds-empty-title {
    font-size: 1.5rem;
    color: var(--dark);
    margin: 0 0 12px;
    font-family: var(--font-heading, inherit);
}
.ds-empty-text {
    font-size: 1rem;
    color: var(--warm-gray);
    max-width: 520px;
    margin: 0 auto var(--space-lg);
    line-height: 1.7;
}
.ds-empty-cta {
    margin-top: var(--space-sm);
}

/* ─── Index-Page Phase Z.1: Dynamic CSS-Custom-Properties ─── */
/* Hero-Background-Image via Tenant-Config */
.hero-bg-dynamic {
    background-image: var(--hero-bg);
}
/* Hero-Overlay-Opacity (rgba background mit Custom Property Alpha) */
.hero-overlay-dynamic {
    background: rgba(0, 0, 0, var(--hero-overlay-alpha, 0)) !important;
}
/* About-Image Opacity */
.about-image-dynamic {
    opacity: var(--about-opacity, 1);
}
/* Parallax-Divider mit dynamischer Höhe (existing .parallax-divider hat default 400px) */
.parallax-divider--dynamic-h {
    height: var(--divider-h, 400px);
}
.parallax-divider--dynamic-bg {
    background-image: var(--divider-bg);
}
/* Transition-Divider (.ds-transition-divider helper für dynamic height) */
.divider-transition-dynamic {
    height: var(--divider-h, 200px);
}

/* ─── Index-Page Demo-Elements ─── */
/* Paint-Color-Swatch: Farbe via Custom Property statt inline */
.paint-color-swatch {
    background: var(--paint-color, currentColor);
}
/* Paint-Size-Dot: Größe via Custom Property */
.paint-size-dot {
    width: var(--dot-size, 6px);
    height: var(--dot-size, 6px);
}
.paint-size-dot--md { --dot-size: 12px; }
.paint-size-dot--lg { --dot-size: 20px; }

/* ─── Misc Index ─── */
.svg-faded {
    opacity: 0.4;
}
.iframe-rounded {
    border: 0;
    border-radius: var(--radius-xl);
}
.btn-book--waitlist {
    background: var(--warning);
    border-color: var(--warning);
}

/* ============================================================
   ITER 14 PHASE B.2 — Status-Pages + Cookie + Legal (2026-05-05)
   Refactor: 69 inline-styles in 8 Templates → CSS-Klassen
   Templates: buchung_erfolg/_abgebrochen, rechnung_bezahlt/_abgebrochen,
              cookie_einstellungen, impressum, agb, datenschutz
   ============================================================ */

/* ─── Status-Page-Section (rechnung_*) ─── */
.tenant-status-page-section {
    padding: 80px 0;
    min-height: 60vh;
}
.tenant-container-680 {
    max-width: 680px;
}
.tenant-container-560 {
    max-width: 560px;
}

/* ─── Status-Card (rechnung_*) ─── */
.tenant-status-card {
    text-align: center;
    background: var(--white);
    padding: 48px var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.tenant-status-card--success {
    border: 1px solid color-mix(in srgb, var(--status-success-accent) 25%, transparent);
    border-left: 5px solid var(--status-success-accent);
}

/* ─── Status-Icon-Circle (Status-Pages) ─── */
.tenant-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
}
.tenant-status-icon--lg {
    width: 88px;
    height: 88px;
}
.tenant-status-icon--warning {
    background: color-mix(in srgb, var(--status-warning-accent) 14%, transparent);
    color: var(--status-warning-accent);
}
.tenant-status-icon--success {
    background: color-mix(in srgb, var(--status-success-accent) 14%, transparent);
    color: var(--status-success-accent);
}

/* ─── Status-Headlines + Body-Text ─── */
.tenant-status-title {
    margin: 0 0 12px 0;
    font-size: 26px;
}
.tenant-status-title--lg {
    font-size: var(--space-xl);
    color: var(--dark);
}
.tenant-status-text {
    margin: 0 0 16px 0;
    color: var(--text-secondary);
    line-height: 1.5;
}
.tenant-status-text--lg {
    margin: 0 0 24px 0;
    font-size: 18px;
}
.tenant-status-text--small {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: color-mix(in srgb, var(--text-secondary) 70%, var(--white));
}
.tenant-status-text--final {
    margin: 0;
}

/* ─── Receipt-Info-Box (rechnung_bezahlt) ─── */
.tenant-status-receipt {
    background: var(--status-receipt-bg);
    padding: 20px var(--space-lg);
    border-radius: 10px;
    text-align: left;
    font-size: 14.5px;
    color: var(--status-receipt-text);
    display: inline-block;
    margin-bottom: var(--space-lg);
}

/* ─── Big-Char-Icon (✓ ✗ ⚠ ⌛ in buchung_*) ─── */
.tenant-big-icon {
    font-size: var(--space-3xl);
    line-height: 1;
    margin-bottom: 20px;
}
.tenant-big-icon--lg {
    font-size: 72px;
}
.tenant-big-icon--primary {
    color: var(--primary);
}
.tenant-big-icon--muted {
    color: var(--warm-gray);
}

/* ─── Section-Spacer für Status-Pages (margin-top:30px CTA-Wrap) ─── */
.tenant-cta-row {
    margin-top: 30px;
}
.tenant-status-text--lg-spaced {
    font-size: 18px;
    margin-top: 20px;
}
.tenant-status-text--muted-spaced {
    color: var(--warm-gray);
    margin-top: 10px;
}
.tenant-status-text--muted {
    color: var(--warm-gray);
}

/* ─── Buchungs-Detail-Card (buchung_erfolg) ─── */
.tenant-booking-card {
    background: var(--secondary);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin: 30px 0;
    text-align: left;
}

/* ─── Notice-Warning (Spam-Hinweis) ─── */
.tenant-notice-warning {
    margin: 20px auto 0;
    max-width: 520px;
    padding: 14px 18px;
    background: var(--notice-warning-bg);
    border: 1px solid var(--notice-warning-border);
    border-radius: 10px;
    color: var(--notice-warning-text);
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.tenant-notice-icon {
    font-size: 20px;
    line-height: 1;
}

/* ─── Cookie-Einstellungen ─── */
.cookie-settings-intro {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}
.cookie-current-state {
    background: var(--off-white);
    padding: 16px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 20px;
}
.cookie-state-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cookie-state-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cookie-state-item {
    padding: 4px 0;
}
.cookie-state-on {
    color: var(--success);
}
.cookie-state-off {
    color: var(--text-muted);
}
.cookie-state-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 10px;
}
.cookie-paragraph {
    margin-bottom: 18px;
}
.cookie-customize-btn {
    display: inline-block;
    padding: 12px var(--space-lg);
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}
.cookie-back-wrap {
    margin-top: 30px;
}
.cookie-back-link {
    color: var(--primary);
    text-decoration: none;
}

/* ─── Legal-Templates (Impressum/AGB/DSGVO) ─── */
.legal-content {
    line-height: 1.8;
}
.legal-content--small {
    font-size: 14px;
}
.legal-list-indent {
    margin: 6px 0 12px 20px;
}
.legal-list-sub-indent {
    margin: 8px 0 8px var(--space-lg);
}
.legal-section-h3 {
    margin-top: var(--space-xl);
}
.legal-last-updated {
    font-size: 12px;
    color: var(--warm-gray);
    margin-top: 30px;
}

/* ════════════════════════════════════════════════════════════════
   ITER 14 E.6 — public_index.html (CSS-Custom-Properties via Z.1)
   Tenant-Public-Page (handwerker-Dachdecker zeigt sich seinem Kunden)
   ════════════════════════════════════════════════════════════════ */

/* Hero with dynamic background image (Z.1-Pattern) */
.hero.has-bg-image {
    background-image: var(--hero-bg-image);
}

/* Hero overlay with dynamic opacity */
.hero-overlay.has-opacity {
    background: rgba(0, 0, 0, var(--hero-overlay-alpha)) !important;
}

/* About-image with dynamic opacity */
.about-image-img.has-opacity {
    opacity: var(--about-img-opacity);
}

/* Parallax-Divider with dynamic background image + height */
.parallax-divider.has-bg-image {
    background-image: var(--divider-bg-image);
    height: var(--divider-height, 400px);
}


/* ============================================================
   ITER 14 PHASE F.2 — Ferienhaus public_index Card-Layouts
   File: verticals/ferienhaus/public_index.html (Tenant-Frontend)
   ============================================================ */

.fh-objekt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: var(--space-lg);
}
.fh-objekt-card {
    background: var(--bg-surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--text-primary) 6%, transparent);
}
.fh-objekt-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.fh-objekt-noimg {
    width: 100%;
    height: 200px;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--warm-gray);
}
.fh-objekt-title {
    margin: 0 0 var(--space-sm);
    font-family: var(--font-heading);
}
.fh-objekt-meta {
    font-size: 13px;
    color: var(--warm-gray);
    margin-bottom: 12px;
}
.fh-objekt-loc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}
.fh-objekt-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}
