/* ============================================================
   denschMargin – Apple-style Landing Page
   Accent: #6B21A8 (Petrol) on white
   ============================================================ */

/* ── Variables ────────────────────────────────────────────── */
html {
    --accent: #6B21A8;
    --accent-hover: #581C87;
    --accent-pressed: #4C1D95;
    --accent-light: #8B5CF6;
    --accent-lighter: #C4B5FD;
    --accent-tint: rgba(107,33,168,0.08);
    --accent-tint-strong: rgba(107,33,168,0.15);
    --accent-glow: rgba(107,33,168,0.25);
    --accent-shadow: rgba(107,33,168,0.40);
    --complement: #90340E;
    --complement-light: #FB923C;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --bg-white: #ffffff;
    --bg-light: #f5f5f7;
    --bg-page: #fafafa;
    --border: rgba(0, 0, 0, 0.08);
    --success: #16A34A;
    --success-tint: #F0FDF4;
    --warning: #D97706;
    --warning-tint: #FFFBEB;
    --error: #DC2626;
    --error-tint: #FEF2F2;
    --info: #7C3AED;
    --info-tint: #F5F3FF;
    /* Icon-Farben (Light) */
    --icon-primary-bg: #E0F2FE;
    --icon-primary-fg: #6B21A8;
    --icon-secondary-bg: #FEF3C7;
    --icon-secondary-fg: #D97706;
    --icon-info-bg: #DBEAFE;
    --icon-info-fg: #2563EB;
    --icon-success-bg: #DCFCE7;
    --icon-success-fg: #16A34A;
    --icon-warning-bg: #FFEDD5;
    --icon-warning-fg: #C2410C;
    --icon-danger-bg: #FEE2E2;
    --icon-danger-fg: #DC2626;
    --icon-neutral-bg: #F1F5F9;
    --icon-neutral-fg: #64748B;
    --icon-accent2-bg: #FCE7F3;
    --icon-accent2-fg: #DB2777;
    --icon-accent3-bg: #E0E7FF;
    --icon-accent3-fg: #4F46E5;
    --icon-team-bg: #FAE8FF;
    --icon-team-fg: #A855F7;
    /* Legacy aliases */
    --primary: #1d1d1f;
    --secondary: #86868b;
    --bg: #fafafa;
    --bg-alt: #f5f5f7;
    --white: #ffffff;
    --surface: #ffffff;
    --danger: #DC2626;
}

/* ── Dark Mode ───────────────────────────────────────────── */
html[data-mode="dark"] {
    --bg-page: #0D0D0D;
    --bg-white: #161616;
    --bg-light: #1C1C1E;
    --text-primary: #F0F0F0;
    --text-secondary: #8E8E93;
    --border: rgba(255,255,255,0.08);
    --accent-tint: rgba(107,33,168,0.15);
    --accent-tint-strong: rgba(107,33,168,0.25);
    --success: #22C55E;
    --success-tint: rgba(34,197,94,0.12);
    --warning: #FBBF24;
    --warning-tint: rgba(251,191,36,0.12);
    --error: #EF4444;
    --error-tint: rgba(239,68,68,0.12);
    --info: #A78BFA;
    --info-tint: rgba(167,139,250,0.12);
    /* Icon-Farben (Dark) */
    --icon-primary-bg: rgba(107,33,168,0.15);
    --icon-primary-fg: #C4B5FD;
    --icon-secondary-bg: rgba(217,119,6,0.15);
    --icon-secondary-fg: #FBBF24;
    --icon-info-bg: rgba(37,99,235,0.15);
    --icon-info-fg: #60A5FA;
    --icon-success-bg: rgba(22,163,74,0.15);
    --icon-success-fg: #4ADE80;
    --icon-warning-bg: rgba(194,65,12,0.15);
    --icon-warning-fg: #FB923C;
    --icon-danger-bg: rgba(239,68,68,0.12);
    --icon-danger-fg: #F87171;
    --icon-neutral-bg: rgba(100,116,139,0.12);
    --icon-neutral-fg: #94A3B8;
    --icon-accent2-bg: rgba(219,39,119,0.15);
    --icon-accent2-fg: #F472B6;
    --icon-accent3-bg: rgba(79,70,229,0.15);
    --icon-accent3-fg: #818CF8;
    --icon-team-bg: rgba(168,85,247,0.15);
    --icon-team-fg: #C4B5FD;
    /* Legacy */
    --primary: #F0F0F0;
    --secondary: #8E8E93;
    --bg: #0D0D0D;
    --bg-alt: #1C1C1E;
    --white: #161616;
    --surface: #161616;
    --danger: #EF4444;
}
html[data-mode="dark"] body { background: #0D0D0D; color: #F0F0F0; }
html[data-mode="dark"] .landing-nav { background: rgba(13,13,13,0.80); border-color: rgba(255,255,255,0.06); }
html[data-mode="dark"] .nav-logo { color: #F0F0F0; }
html[data-mode="dark"] .nav-links a { color: #F0F0F0; }
html[data-mode="dark"] .hero { background: #0D0D0D; }
html[data-mode="dark"] .hero-headline { color: #F0F0F0; }
html[data-mode="dark"] .section-white { background: #0D0D0D; }
html[data-mode="dark"] .section-gray { background: #111111; }
html[data-mode="dark"] .feature-card { background: #1C1C1E; border-color: rgba(255,255,255,0.06); }
html[data-mode="dark"] .feature-card h3 { color: #F0F0F0; }
html[data-mode="dark"] .feature-icon { background: #252528; border-color: rgba(255,255,255,0.06); }
html[data-mode="dark"] .pricing { background: #111111; }
html[data-mode="dark"] .pricing__card { background: #1C1C1E; border-color: rgba(255,255,255,0.06); color: #F0F0F0; }
html[data-mode="dark"] .pricing__card--featured { box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
html[data-mode="dark"] .pricing__name { color: var(--accent-light); }
html[data-mode="dark"] .pricing__price { color: #F0F0F0; }
html[data-mode="dark"] .pricing__features li { color: rgba(255,255,255,0.7); }
html[data-mode="dark"] .pricing__badge { background: #F0F0F0; color: #0D0D0D; }
html[data-mode="dark"] .lp-footer { background: #111111; border-color: rgba(255,255,255,0.06); }
html[data-mode="dark"] .footer-logo { color: #F0F0F0; }
html[data-mode="dark"] .footer-col h4 { color: #F0F0F0; }
html[data-mode="dark"] .footer-col a { color: #8E8E93; }
html[data-mode="dark"] .footer-col a:hover { color: #F0F0F0; }
html[data-mode="dark"] .footer-bottom p { color: rgba(255,255,255,0.4); }
html[data-mode="dark"] .btn-pill-secondary { border-color: rgba(255,255,255,0.15); color: var(--accent-light); }
html[data-mode="dark"] .btn-pill-secondary:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
html[data-mode="dark"] .calc-demo { background: #1C1C1E; border-color: rgba(255,255,255,0.06); }
html[data-mode="dark"] .calc-demo-title { color: #F0F0F0; }
html[data-mode="dark"] .ingredient-row { border-color: rgba(255,255,255,0.06); }
html[data-mode="dark"] .ingredient-row.header { color: #8E8E93; }
html[data-mode="dark"] .ing-name { color: #F0F0F0; }
html[data-mode="dark"] .result-block { background: #252528; }
html[data-mode="dark"] .result-value { color: #F0F0F0; }
html[data-mode="dark"] .recipe-card { background: #1C1C1E; border-color: rgba(255,255,255,0.06); }
html[data-mode="dark"] .demo-panel { background: #111111; border-color: rgba(255,255,255,0.06); }
html[data-mode="dark"] .demo-pill { border-color: rgba(255,255,255,0.08); color: #8E8E93; }
html[data-mode="dark"] .demo-pill:hover { background: rgba(255,255,255,0.04); color: #F0F0F0; }
html[data-mode="dark"] .demo-info { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.05); }
html[data-mode="dark"] .demo-nutrition-card,
html[data-mode="dark"] .demo-cost-card { background: #1C1C1E; border-color: rgba(255,255,255,0.06); }
html[data-mode="dark"] .demo-nutri-header { color: #F0F0F0; }
html[data-mode="dark"] .rc-table tbody td { color: #F0F0F0; border-color: rgba(255,255,255,0.06); }
html[data-mode="dark"] .rc-table thead th { color: #8E8E93; border-color: rgba(255,255,255,0.08); }
html[data-mode="dark"] .rc-table tfoot td { color: #F0F0F0; border-color: rgba(255,255,255,0.08); }
html[data-mode="dark"] .rc-nutrition td { color: #F0F0F0; border-color: rgba(255,255,255,0.06); }
html[data-mode="dark"] .iphone-screen { background: linear-gradient(180deg, #4C1D95 0%, #4C1D95 60px, #111 60px); }
html[data-mode="dark"] .app-features li { color: #F0F0F0; }
html[data-mode="dark"] [data-glow] { background: linear-gradient(180deg, #48484a, #48484a); -webkit-background-clip: text; background-clip: text; }
html[data-mode="dark"] [data-glow].glow-active { background: linear-gradient(180deg, #f5f5f7 30%, #86868b 100%); -webkit-background-clip: text; background-clip: text; }
html[data-mode="dark"] .section-headline { color: #F0F0F0; }
html[data-mode="dark"] .cost-donut-center { background: #1C1C1E; }
html[data-mode="dark"] .cost-donut-val { color: #C4B5FD; }
html[data-mode="dark"] .cost-legend .dot { border-radius: 4px; }
html[data-mode="dark"] .cost-leg-item { color: #8E8E93; }
html[data-mode="dark"] .cost-leg-item b { color: #F0F0F0; }
html[data-mode="dark"] .cost-leg-item:hover,
html[data-mode="dark"] .cost-leg-item.active { background: rgba(255,255,255,0.05); }
html[data-mode="dark"] .cost-leg-highlight { background: rgba(196,181,253,0.08); }
/* Dark: Login */
html[data-mode="dark"] .login-page { background: #0D0D0D; }
html[data-mode="dark"] .login-card { background: #161616; border-color: rgba(255,255,255,0.06); box-shadow: 0 4px 24px rgba(0,0,0,0.3); }
html[data-mode="dark"] .login-logo { color: #F0F0F0; }
html[data-mode="dark"] .login-input { background: #1C1C1E; border-color: rgba(255,255,255,0.10); color: #F0F0F0; }
html[data-mode="dark"] .login-links a { color: #8E8E93; }
/* Dark: App (intern) – comprehensive overrides */
/* Page backgrounds */
html[data-mode="dark"] body { background: #0D0D0D; color: #F0F0F0; }

/* App Nav - keep accent color, don't override dm-nav background */

/* All white backgrounds → dark */
html[data-mode="dark"] .dm-card,
html[data-mode="dark"] .dc-card,
html[data-mode="dark"] .card,
html[data-mode="dark"] .edit-section,
html[data-mode="dark"] .stat-card,
html[data-mode="dark"] .koop-card,
html[data-mode="dark"] .portal-card,
html[data-mode="dark"] .pipeline-section,
html[data-mode="dark"] .lief-card,
html[data-mode="dark"] .rezept-card,
html[data-mode="dark"] .zutat-card,
html[data-mode="dark"] .calc-demo,
html[data-mode="dark"] .recipe-card,
html[data-mode="dark"] .modal,
html[data-mode="dark"] .dropdown-menu,
html[data-mode="dark"] .tooltip,
html[data-mode="dark"] .popover,
html[data-mode="dark"] .alert { background: #1C1C1E; border-color: rgba(255,255,255,0.08); }

/* Catch-all for ANY element with inline background:#fff or background:white */
html[data-mode="dark"] [style*="background:#fff"],
html[data-mode="dark"] [style*="background: #fff"],
html[data-mode="dark"] [style*="background:#ffffff"],
html[data-mode="dark"] [style*="background: #ffffff"],
html[data-mode="dark"] [style*="background:white"],
html[data-mode="dark"] [style*="background: white"],
html[data-mode="dark"] [style*="background:#FFF"],
html[data-mode="dark"] [style*="background:var(--white)"],
html[data-mode="dark"] [style*="background:var(--bg)"],
html[data-mode="dark"] [style*="background:var(--surface)"],
html[data-mode="dark"] [style*="background: var(--white)"],
html[data-mode="dark"] [style*="background: var(--bg)"] { background: #1C1C1E !important; }

/* Catch-all for light gray backgrounds */
html[data-mode="dark"] [style*="background:#f"],
html[data-mode="dark"] [style*="background: #f"] { background: #1C1C1E !important; }

/* Text colors */
html[data-mode="dark"] [style*="color:#1"],
html[data-mode="dark"] [style*="color: #1"],
html[data-mode="dark"] [style*="color:#0f"],
html[data-mode="dark"] [style*="color: #0f"],
html[data-mode="dark"] [style*="color:#333"],
html[data-mode="dark"] [style*="color: #333"],
html[data-mode="dark"] [style*="color:#111"],
html[data-mode="dark"] [style*="color:var(--text)"],
html[data-mode="dark"] [style*="color:var(--primary)"],
html[data-mode="dark"] [style*="color:var(--teal)"] { color: #F0F0F0 !important; }

/* Muted text */
html[data-mode="dark"] [style*="color:#6"],
html[data-mode="dark"] [style*="color: #6"],
html[data-mode="dark"] [style*="color:#86"],
html[data-mode="dark"] [style*="color: #86"],
html[data-mode="dark"] [style*="color:#94"],
html[data-mode="dark"] [style*="color: #94"],
html[data-mode="dark"] [style*="color:var(--text-light)"],
html[data-mode="dark"] [style*="color:var(--muted)"],
html[data-mode="dark"] [style*="color:var(--secondary)"] { color: #8E8E93 !important; }

/* Borders */
html[data-mode="dark"] [style*="border-color:#e"],
html[data-mode="dark"] [style*="border: 1px solid #e"],
html[data-mode="dark"] [style*="border: 2px solid #e"],
html[data-mode="dark"] [style*="border-bottom: 1px solid #e"],
html[data-mode="dark"] [style*="border-top: 1px solid #e"],
html[data-mode="dark"] [style*="border-color:var(--border)"] { border-color: rgba(255,255,255,0.08) !important; }

/* All headings */
html[data-mode="dark"] h1, html[data-mode="dark"] h2,
html[data-mode="dark"] h3, html[data-mode="dark"] h4 { color: #F0F0F0; }
html[data-mode="dark"] p { color: #C7C7CC; }
html[data-mode="dark"] label { color: #8E8E93; }
html[data-mode="dark"] strong { color: #F0F0F0; }
html[data-mode="dark"] a { color: var(--accent-light, #C4B5FD); }

/* All inputs */
html[data-mode="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="submit"]),
html[data-mode="dark"] select,
html[data-mode="dark"] textarea { background: #252528; border-color: rgba(255,255,255,0.10); color: #F0F0F0; }
html[data-mode="dark"] input:focus, html[data-mode="dark"] select:focus,
html[data-mode="dark"] textarea:focus { border-color: var(--accent); }
html[data-mode="dark"] input::placeholder, html[data-mode="dark"] textarea::placeholder { color: #636366; }

/* Accordions / Details */
html[data-mode="dark"] details { background: #1C1C1E; border-color: rgba(255,255,255,0.08); }
html[data-mode="dark"] details[open] { border-color: var(--accent); }
html[data-mode="dark"] summary { color: #F0F0F0; }
html[data-mode="dark"] summary:hover { background: rgba(255,255,255,0.04); }
html[data-mode="dark"] summary::after { color: var(--accent-light); }

/* Zutat-Formular */
html[data-mode="dark"] .zf-section { background: #1C1C1E; border-color: rgba(255,255,255,0.08); }
html[data-mode="dark"] .dm-label { color: #8E8E93; }
html[data-mode="dark"] .dm-btn-outline { background: transparent; color: #F0F0F0; border-color: rgba(255,255,255,0.15); }
html[data-mode="dark"] .dm-btn-outline:hover { background: rgba(255,255,255,0.06); }
html[data-mode="dark"] .dm-btn-ghost { color: #F0F0F0; }

/* Modals + Dropdowns */
html[data-mode="dark"] .modal { background: #1C1C1E; color: #F0F0F0; }
html[data-mode="dark"] .dm-ac-list { background: #252528; border-color: rgba(255,255,255,0.08); }
html[data-mode="dark"] .dm-ac-list div:hover { background: rgba(107,33,168,0.15); }

/* Tabs */
html[data-mode="dark"] .zf-tab { background: transparent; color: #8E8E93; border-color: transparent; }
html[data-mode="dark"] .zf-tab.active { color: #F0F0F0; border-color: var(--accent); }

/* Tables */
html[data-mode="dark"] table { color: #F0F0F0; }
html[data-mode="dark"] th { color: #8E8E93; border-color: rgba(255,255,255,0.08) !important; background: transparent; }
html[data-mode="dark"] td { border-color: rgba(255,255,255,0.06) !important; }
html[data-mode="dark"] tr:hover td { background: rgba(255,255,255,0.03); }
html[data-mode="dark"] thead { background: transparent; }
html[data-mode="dark"] .filter-row th { background: #161616 !important; }
html[data-mode="dark"] .col-filter { background: #1C1C1E; border-color: rgba(255,255,255,0.10); color: #F0F0F0; }

/* Buttons */
html[data-mode="dark"] .btn-ghost,
html[data-mode="dark"] .btn-outline,
html[data-mode="dark"] .btn.btn-secondary,
html[data-mode="dark"] .btn-sm.btn-secondary { background: transparent; color: #F0F0F0; border-color: rgba(255,255,255,0.15); }
html[data-mode="dark"] .btn-ghost:hover,
html[data-mode="dark"] .btn-outline:hover { background: rgba(255,255,255,0.06); }
html[data-mode="dark"] .btn-danger { background: #9D174D; }

/* Status badges */
html[data-mode="dark"] .badge { border-color: rgba(255,255,255,0.1); }

/* Edit page */
html[data-mode="dark"] .edit-hero { background: #1C1C1E; border-color: rgba(255,255,255,0.08); }
html[data-mode="dark"] .edit-hero-partner { color: #F0F0F0; }
html[data-mode="dark"] .edit-section-title { color: var(--accent-light); border-color: rgba(255,255,255,0.08); }
html[data-mode="dark"] .action-bar { background: #161616; border-color: rgba(255,255,255,0.06); box-shadow: 0 -4px 24px rgba(0,0,0,0.3); }

/* Koop/Status */
html[data-mode="dark"] .koop-card-footer { background: #161616; border-color: rgba(255,255,255,0.06); }
html[data-mode="dark"] .koop-detail { background: #161616; border-color: rgba(255,255,255,0.06); }
html[data-mode="dark"] .koop-partner { color: #F0F0F0; }
html[data-mode="dark"] .koop-honorar { color: #F0F0F0; }
html[data-mode="dark"] .filter-btn { background: #1C1C1E; color: #F0F0F0; border-color: rgba(255,255,255,0.08); }
html[data-mode="dark"] .filter-btn:hover { border-color: #F0F0F0; }
html[data-mode="dark"] .filter-btn.active { background: #F0F0F0; color: #0D0D0D; }
html[data-mode="dark"] .stat-card { color: #F0F0F0; }
html[data-mode="dark"] .stat-value { color: #F0F0F0; }
html[data-mode="dark"] .stat-label { color: #8E8E93; }

/* Pipeline */
html[data-mode="dark"] .pipe-step { border-color: rgba(255,255,255,0.08); color: #8E8E93; }
html[data-mode="dark"] .pipe-dot { background: rgba(255,255,255,0.15); }
html[data-mode="dark"] .pipe-step.done { color: #F0F0F0; }
html[data-mode="dark"] .pipe-step.active { color: #F0F0F0; }

/* Finance */
html[data-mode="dark"] .fin-block { background: #252528; }
html[data-mode="dark"] .fin-block-label { color: #8E8E93; }
html[data-mode="dark"] .fin-block-value { color: #F0F0F0; }
html[data-mode="dark"] .fin-bar-outer { background: rgba(255,255,255,0.08); }

/* File items */
html[data-mode="dark"] .file-item { background: #1C1C1E; border-color: rgba(255,255,255,0.06); }
html[data-mode="dark"] .file-item-icon { background: rgba(107,33,168,0.15); }
html[data-mode="dark"] .file-item-name { color: var(--accent-light); }

/* Lieferanten */
html[data-mode="dark"] .lief-card { background: #1C1C1E; border-color: rgba(255,255,255,0.08); color: #F0F0F0; }
html[data-mode="dark"] .lief-card:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
html[data-mode="dark"] .lief-card-meta { color: #8E8E93; }
html[data-mode="dark"] .lief-search { background: #1C1C1E; border-color: rgba(255,255,255,0.10); color: #F0F0F0; }

/* Alerts */
html[data-mode="dark"] .dc-alert-success,
html[data-mode="dark"] .alert-success { background: rgba(34,197,94,0.12); color: #22C55E; border-color: rgba(34,197,94,0.2); }
html[data-mode="dark"] .dc-alert-error,
html[data-mode="dark"] .alert-error { background: rgba(239,68,68,0.12); color: #EF4444; border-color: rgba(239,68,68,0.2); }
html[data-mode="dark"] .alert-info { background: rgba(96,165,250,0.12); color: #60A5FA; border-color: rgba(96,165,250,0.2); }

/* Scrollbar */
html[data-mode="dark"] ::-webkit-scrollbar { width: 8px; }
html[data-mode="dark"] ::-webkit-scrollbar-track { background: #0D0D0D; }
html[data-mode="dark"] ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }

/* Login page */
html[data-mode="dark"] .login-page { background: #0D0D0D; }
html[data-mode="dark"] .login-card { background: #161616; border-color: rgba(255,255,255,0.06); box-shadow: 0 4px 24px rgba(0,0,0,0.3); }
html[data-mode="dark"] .login-logo { color: #F0F0F0; }
html[data-mode="dark"] .login-input { background: #1C1C1E; border-color: rgba(255,255,255,0.10); color: #F0F0F0; }
html[data-mode="dark"] .login-links a { color: #8E8E93; }

/* Profil dropdown */
html[data-mode="dark"] .profile-dropdown,
html[data-mode="dark"] .user-menu { background: #1C1C1E; border-color: rgba(255,255,255,0.08); box-shadow: 0 8px 32px rgba(0,0,0,0.5); }

/* Tabs */
html[data-mode="dark"] .tab, html[data-mode="dark"] .nav-tab { color: #8E8E93; border-color: transparent; }
html[data-mode="dark"] .tab.active, html[data-mode="dark"] .nav-tab.active { color: #F0F0F0; border-color: var(--accent); }

/* Pagination */
html[data-mode="dark"] .pagination a { color: #8E8E93; background: #1C1C1E; border-color: rgba(255,255,255,0.08); }
html[data-mode="dark"] .pagination .active { color: #F0F0F0; background: var(--accent); }

/* Footer */
html[data-mode="dark"] .dm-footer,
html[data-mode="dark"] footer { background: #111111; border-color: rgba(255,255,255,0.06); color: #8E8E93; }

/* Icon containers – pastel backgrounds → dark tints */
html[data-mode="dark"] .start-tile-icon,
html[data-mode="dark"] .dash-icon,
html[data-mode="dark"] .tile-icon,
html[data-mode="dark"] .feature-icon-box { background: #252528 !important; }
/* Pastell-Background inline styles → dunkel */
html[data-mode="dark"] [style*="background:#fef3c7"],
html[data-mode="dark"] [style*="background: #fef3c7"] { background: rgba(217,119,6,0.15) !important; }
html[data-mode="dark"] [style*="background:#e0f2fe"],
html[data-mode="dark"] [style*="background: #e0f2fe"] { background: rgba(107,33,168,0.15) !important; }
html[data-mode="dark"] [style*="background:#dbeafe"],
html[data-mode="dark"] [style*="background: #dbeafe"] { background: rgba(37,99,235,0.15) !important; }
html[data-mode="dark"] [style*="background:#e0e7ff"],
html[data-mode="dark"] [style*="background: #e0e7ff"] { background: rgba(79,70,229,0.15) !important; }
html[data-mode="dark"] [style*="background:#dcfce7"],
html[data-mode="dark"] [style*="background: #dcfce7"] { background: rgba(22,163,74,0.15) !important; }
html[data-mode="dark"] [style*="background:#fce7f3"],
html[data-mode="dark"] [style*="background: #fce7f3"] { background: rgba(219,39,119,0.15) !important; }
html[data-mode="dark"] [style*="background:#fae8ff"],
html[data-mode="dark"] [style*="background: #fae8ff"] { background: rgba(168,85,247,0.15) !important; }
html[data-mode="dark"] [style*="background:#f0fdf4"],
html[data-mode="dark"] [style*="background: #f0fdf4"] { background: rgba(34,197,94,0.12) !important; }
html[data-mode="dark"] [style*="background:#eff6ff"],
html[data-mode="dark"] [style*="background: #eff6ff"] { background: rgba(59,130,246,0.12) !important; }
html[data-mode="dark"] [style*="background:#f5f3ff"],
html[data-mode="dark"] [style*="background: #f5f3ff"] { background: rgba(139,92,246,0.12) !important; }
html[data-mode="dark"] [style*="background:#fef2f2"],
html[data-mode="dark"] [style*="background: #fef2f2"] { background: rgba(239,68,68,0.12) !important; }
html[data-mode="dark"] [style*="background:#fff7ed"],
html[data-mode="dark"] [style*="background: #fff7ed"] { background: rgba(249,115,22,0.12) !important; }
html[data-mode="dark"] [style*="background:#fffbeb"],
html[data-mode="dark"] [style*="background: #fffbeb"] { background: rgba(251,191,36,0.12) !important; }
html[data-mode="dark"] [style*="background:#ecfdf5"],
html[data-mode="dark"] [style*="background: #ecfdf5"] { background: rgba(16,185,129,0.12) !important; }
html[data-mode="dark"] [style*="background:#FEF3C7"],
html[data-mode="dark"] [style*="background: #FEF3C7"] { background: rgba(217,119,6,0.15) !important; }
html[data-mode="dark"] [style*="background:#DBEAFE"],
html[data-mode="dark"] [style*="background: #DBEAFE"] { background: rgba(37,99,235,0.15) !important; }
html[data-mode="dark"] [style*="background:#CCFBF1"],
html[data-mode="dark"] [style*="background: #CCFBF1"] { background: rgba(20,184,166,0.15) !important; }
html[data-mode="dark"] [style*="background:#F1F5F9"],
html[data-mode="dark"] [style*="background: #F1F5F9"] { background: rgba(100,116,139,0.12) !important; }
html[data-mode="dark"] [style*="background:#EDE9FE"],
html[data-mode="dark"] [style*="background: #EDE9FE"] { background: rgba(139,92,246,0.12) !important; }
html[data-mode="dark"] [style*="background:#FEE2E2"],
html[data-mode="dark"] [style*="background: #FEE2E2"] { background: rgba(239,68,68,0.12) !important; }
html[data-mode="dark"] [style*="background:#E0F2FE"],
html[data-mode="dark"] [style*="background: #E0F2FE"] { background: rgba(14,165,233,0.15) !important; }
html[data-mode="dark"] [style*="background:#FFEDD5"],
html[data-mode="dark"] [style*="background: #FFEDD5"] { background: rgba(249,115,22,0.15) !important; }

/* System preference fallback */
@media (prefers-color-scheme: dark) {
    html:not([data-mode="light"]) {
        --bg-page: #0D0D0D; --bg-white: #161616; --bg-light: #1C1C1E;
        --text-primary: #F0F0F0; --text-secondary: #8E8E93;
        --border: rgba(255,255,255,0.08);
    }
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    background: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Frosted Glass Nav ────────────────────────────────────── */
/* ── Nav (identical to Collabs) ── */
.landing-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    height: 48px;
}
.landing-nav-inner {
    max-width: 980px; margin: 0 auto; padding: 0 22px;
    height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    font-size: 1.15rem; font-weight: 700; color: #1d1d1f;
    text-decoration: none; letter-spacing: -0.02em;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
    font-size: 0.75rem; font-weight: 400; color: #1d1d1f;
    text-decoration: none; opacity: 0.8; transition: opacity 0.2s;
    padding: 8px 12px;
}
.nav-links a:hover { opacity: 1; }
.nav-links .nav-cta {
    background: var(--accent); color: #fff;
    padding: 6px 16px; border-radius: 980px;
    font-weight: 500; opacity: 1; transition: background 0.2s;
}
.nav-links .nav-cta:hover { opacity: 0.85; }

/* ── Pill Buttons ─────────────────────────────────────────── */
.btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 980px;
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-pill-primary {
    background: var(--accent);
    color: #fff;
}

.btn-pill-primary:hover {
    background: var(--accent-hover);
}

.btn-pill-secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-pill-secondary:hover {
    background: var(--accent);
    color: #fff;
}

.btn-pill-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

/* Legacy button aliases for sub-pages */
.btn-filled {
    background: var(--accent);
    color: #fff;
}
.btn-filled:hover { background: var(--accent-hover); }
.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-sm {
    padding: 10px 22px;
    font-size: 14px;
}

/* ── Light Theme Glow (for hero/section titles) ──────────── */
[data-glow] {
    background: linear-gradient(180deg, #c4c4c6 0%, #c4c4c6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background 1.2s ease;
    padding-bottom: 0.15em;
    margin-bottom: -0.15em;
}
[data-glow].glow-active {
    background: linear-gradient(180deg, #1d1d1f 30%, #48484a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: var(--bg-white);
}

.hero-inner {
    max-width: 720px;
}

.hero-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.hero-headline {
    font-size: clamp(3rem, 9vw, 6rem);
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-secondary);
    max-width: 44ch;
    margin: 0 auto 36px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-note {
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
}
.hero-note a {
    color: var(--accent);
    font-weight: 500;
}
.hero-note a:hover { text-decoration: underline; }

/* ── Sections ─────────────────────────────────────────────── */
.section {
    padding: 120px 0;
}

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

.section-gray {
    background: var(--bg-light);
}

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

.section-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.section-headline {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ── Features Carousel (horizontal scroll) ───────────────── */
.features-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 max(24px, calc((100vw - 980px) / 2 + 24px));
}
.features-grid::-webkit-scrollbar { display: none; }

.feature-card {
    flex: 0 0 min(85vw, 680px);
    scroll-snap-align: center;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px 44px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
    transform: scale(0.985);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent);
}

.feature-card h3 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.feature-tagline {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 420px;
}

.feature-card p.feature-new {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.feature-icon-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}
.feature-icon-row .feature-icon { margin-bottom: 0; }
.badge-new {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 980px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: var(--accent);
    color: #fff;
    text-transform: uppercase;
    animation: badge-pulse 2s infinite;
}
@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(107,33,168,0.3); }
    50% { box-shadow: 0 0 0 6px rgba(107,33,168,0); }
}

/* ── Calculator Demo ─────────────────────────────────────── */
.calc-demo {
    background: var(--bg-white);
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 36px;
    max-width: 860px;
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.calc-demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--bg-light);
}
.calc-demo-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}
.calc-demo-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-light);
    padding: 5px 14px;
    border-radius: 980px;
}
.ingredient-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-light);
    font-size: 15px;
}
.ingredient-row.header {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    padding-bottom: 10px;
}
.ingredient-row:last-of-type { border-bottom: none; }
.ing-name { color: var(--text-primary); font-weight: 500; }
.ing-qty  { color: var(--text-secondary); }
.ing-price { color: var(--text-secondary); }
.ing-cost  { color: var(--accent); font-weight: 700; }

.calc-result {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--bg-light);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.result-block {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}
.result-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.result-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}
.result-value.accent  { color: var(--accent); }
.result-value.success { color: #16A34A; }
.result-unit {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* ── Recipe Card Demo ────────────────────────────────────── */
.recipe-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.rc-header {
    background: linear-gradient(135deg, #6B21A8 0%, #0891b2 100%);
    color: #fff;
    padding: 24px 28px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.rc-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.rc-meta {
    font-size: 12px;
    opacity: 0.75;
    margin-top: 4px;
}
.rc-nutriscore { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.rc-nutriscore-label { font-size: 10px; font-weight: 700; letter-spacing: 0.05em; opacity: 0.7; }
.nutriscore-pills { display: flex; gap: 4px; align-items: flex-end; }
.ns {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
}
.ns-a { background: #00823e; }
.ns-b { background: #73b81f; }
.ns-c { background: #f9c931; color: #1a1a1a; }
.ns-d { background: #e87d22; }
.ns-e { background: #e63e11; }
.ns-dim { opacity: 0.4; }
.ns-active { opacity: 1; transform: scale(1.18); }

.rc-body {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 0;
}
.rc-left {
    padding: 24px 28px;
    border-right: 1px solid var(--bg-light);
    overflow-x: auto;
}
.rc-right {
    padding: 24px;
}
.rc-section-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: 10px;
    margin-top: 16px;
}
.rc-section-label:first-child { margin-top: 0; }

/* RC Table */
.rc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.rc-table thead th {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: left;
    padding: 4px 6px 8px;
    border-bottom: 1px solid var(--border);
}
.rc-table thead th.text-right,
.rc-table tbody td.text-right,
.rc-table tfoot td.text-right { text-align: right; }
.rc-table tbody td {
    padding: 8px 6px;
    border-bottom: 1px solid var(--bg-light);
    color: var(--text-primary);
}
.rc-table tfoot td {
    padding: 10px 6px;
    font-weight: 600;
    color: var(--text-primary);
    border-top: 2px solid var(--border);
}
.rc-hint {
    font-weight: 400;
    font-size: 11px;
    color: var(--text-secondary);
}
.rc-vk td { color: var(--accent); font-weight: 600; }
.rc-margin td { color: #16A34A; font-weight: 700; font-size: 14px; }
.rc-footnote { font-size: 11px; color: var(--text-secondary); margin-top: 12px; }

/* Mix rows */
.mix-header { background: rgba(107,33,168,0.04); }
.mix-header td { padding: 8px 6px 4px; }
.mix-header strong { color: var(--accent); }
.mix-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 600;
    background: rgba(107,33,168,0.08);
    color: var(--accent);
    border: 1px solid rgba(107,33,168,0.15);
    padding: 1px 8px;
    border-radius: 980px;
    margin-left: 6px;
}
.mix-info {
    font-size: 11px;
    color: var(--text-secondary);
    margin-left: 8px;
}
.mix-row td {
    font-size: 12px;
    color: var(--text-secondary);
    padding: 5px 6px;
    border-bottom: 1px solid var(--bg-light);
}
.mix-indent { padding-left: 22px !important; }
.mix-indent::before { content: '\21B3 '; }

/* RC Nutrition */
.rc-nutrition {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 16px;
}
.rc-nutrition td {
    padding: 4px 0;
    border-bottom: 1px solid var(--bg-light);
}
.rc-nutrition td:first-child { color: var(--text-primary); }
.rc-nutrition td:last-child { text-align: right; font-weight: 500; color: var(--text-primary); }

/* RC Tags */
.rc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 14px;
}
.tag {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 980px;
    font-weight: 500;
}
.tag-warn { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.tag-ok { background: #f0fdf4; color: #14532d; border: 1px solid #bbf7d0; }
.tag-temp {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}
.rc-temp-note { font-size: 11px; color: var(--text-secondary); margin-top: 5px; }
.rc-ingredients-list {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

/* Donut Chart */
.rc-cost-chart {
    display: flex;
    align-items: center;
    gap: 16px;
}
.donut {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(
        #047857 0% 20.4%,
        #B45309 20.4% 50.4%,
        #1D4ED8 50.4% 56.4%,
        #9D174D 56.4% 66.4%,
        #6B21A8 66.4% 74.4%,
        #6B21A8 74.4% 100%
    );
    position: relative;
    flex-shrink: 0;
}
.donut-center {
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.donut-value { font-size: 12px; font-weight: 800; color: #6B21A8; }
.donut-label { font-size: 7px; color: var(--text-secondary); font-weight: 600; }
.donut-legend { display: flex; flex-direction: column; gap: 3px; font-size: 10px; color: var(--text-secondary); }
.donut-legend b { font-weight: 700; color: var(--text-primary); margin-right: 2px; }
.dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    margin-right: 4px;
    vertical-align: middle;
}

/* RC Footer */
.rc-footer {
    padding: 16px 28px;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* ── Demo Panel (Pill Switcher like denschLink Privacy) ──── */
.demo-panel {
    background: var(--bg-light);
    border-radius: 24px;
    border: 1px solid var(--border);
    height: 560px;
    position: relative;
    overflow: hidden;
    max-width: 1080px;
    margin: 0 auto;
}

.demo-left {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 280px;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 3;
}

.demo-pills {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.demo-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    margin-top: 3px;
    border-radius: 980px;
    background: transparent;
    border: 1px solid rgba(0,0,0,0.06);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
    font-family: inherit;
    width: fit-content;
}
.demo-pill:first-child { margin-top: 0; }
.demo-pill:hover { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.1); color: var(--text-primary); }
.demo-pill.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(107,33,168,0.25);
}

.demo-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--text-secondary);
    flex-shrink: 0;
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
    opacity: 0.4;
}
.demo-pill:hover .demo-pill-dot { opacity: 0.7; background: var(--text-primary); }
.demo-pill.active .demo-pill-dot {
    background: #fff;
    opacity: 1;
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(255,255,255,0.5);
}
.demo-pill-name { pointer-events: none; }

.demo-info {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0;
    transition: max-height 0.5s cubic-bezier(0.16,1,0.3,1),
                opacity 0.35s ease,
                margin 0.4s ease,
                padding 0.4s ease;
    background: rgba(0,0,0,0.03);
    backdrop-filter: blur(16px);
    border-radius: 14px;
    padding: 0 14px;
    border: 1px solid transparent;
}
.demo-info.active {
    max-height: 120px;
    opacity: 1;
    margin: 5px 0 3px;
    padding: 10px 14px;
    border-color: rgba(0,0,0,0.05);
}
.demo-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Visual (right side) */
.demo-visual {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: calc(100% - 280px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 16px;
}

.demo-vis {
    position: absolute;
    inset: 16px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    transform: scale(0.92) translateY(16px);
    transition: all 0.6s cubic-bezier(0.16,1,0.3,1);
    pointer-events: none;
    overflow: hidden;
}
.demo-vis.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

/* Demo-vis inner cards – compact to fit without scroll */
.demo-vis .calc-demo,
.demo-vis .recipe-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-shadow: none;
}

.demo-vis .calc-demo {
    padding: 20px 24px;
}
.demo-vis .calc-demo-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
}
.demo-vis .calc-demo-title { font-size: 16px; }
.demo-vis .ingredient-row { padding: 7px 0; font-size: 13px; }
.demo-vis .ingredient-row.header { font-size: 10px; padding-bottom: 6px; }
.demo-vis .calc-result { margin-top: 16px; padding-top: 16px; gap: 12px; }
.demo-vis .result-block { padding: 12px; border-radius: 12px; }
.demo-vis .result-label { font-size: 9px; margin-bottom: 4px; }
.demo-vis .result-value { font-size: 22px; }
.demo-vis .result-unit { font-size: 12px; }

.demo-vis .recipe-card .rc-header { padding: 16px 20px; }
.demo-vis .recipe-card .rc-title { font-size: 15px; }
.demo-vis .recipe-card .rc-meta { font-size: 10px; }
.demo-vis .rc-table { font-size: 11px; }
.demo-vis .rc-table thead th { font-size: 9px; padding: 3px 4px 6px; }
.demo-vis .rc-table tbody td { padding: 5px 4px; }
.demo-vis .rc-table tfoot td { padding: 6px 4px; font-size: 11px; }
.demo-vis .mix-badge { font-size: 8px; padding: 1px 6px; }

.demo-nutrition-card,
.demo-cost-card {
    background: var(--bg-white);
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    padding: 24px;
    width: 100%;
}
.demo-nutri-header {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin-bottom: 2px;
}
.demo-nutri-subtitle {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.demo-vis .rc-nutrition td { padding: 3px 0; font-size: 12px; }
.demo-vis .rc-section-label { font-size: 10px; margin-bottom: 6px; margin-top: 12px; }
.demo-vis .rc-tags { gap: 4px; margin-bottom: 4px; }
.demo-vis .tag { font-size: 10px; padding: 2px 8px; }
.demo-vis .tag-temp { font-size: 10px; padding: 3px 10px; }
.demo-vis .rc-temp-note { font-size: 10px; margin-top: 3px; }
.demo-vis .rc-ingredients-list { font-size: 10px; padding: 8px 10px; border-radius: 8px; margin-bottom: 0; }

/* ── Animated Cost Donut (SVG arc segments) ──── */
.cost-anim {
    display: flex;
    align-items: center;
    gap: 36px;
    margin-top: 8px;
}
.cost-donut-wrap { flex-shrink: 0; }
.cost-donut {
    width: 270px;
    height: 270px;
    position: relative;
}
.cost-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}
.cost-svg path {
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), filter 0.4s;
    cursor: pointer;
}
.cost-svg path.highlight {
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}
/* Animate from nothing */
.cost-donut.anim-in .cost-svg path {
    animation: seg-pop 0.6s cubic-bezier(0.16,1,0.3,1) backwards;
}
.cost-donut.anim-in .cost-svg path:nth-child(1) { animation-delay: 0.1s; }
.cost-donut.anim-in .cost-svg path:nth-child(2) { animation-delay: 0.2s; }
.cost-donut.anim-in .cost-svg path:nth-child(3) { animation-delay: 0.3s; }
.cost-donut.anim-in .cost-svg path:nth-child(4) { animation-delay: 0.4s; }
.cost-donut.anim-in .cost-svg path:nth-child(5) { animation-delay: 0.5s; }
.cost-donut.anim-in .cost-svg path:nth-child(6) { animation-delay: 0.6s; }
@keyframes seg-pop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.cost-donut-center {
    position: absolute;
    inset: 50px;
    border-radius: 50%;
    background: var(--bg-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.03);
    pointer-events: none;
    z-index: 2;
}
.cost-donut-val {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #6B21A8;
    transition: color 0.3s;
}
.cost-donut-lbl {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 4px;
    transition: color 0.3s;
}

.cost-legend {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.cost-leg-item {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    cursor: default;
}
.cost-leg-item b { font-weight: 700; color: var(--text-primary); margin-right: 2px; }
.cost-leg-item .dot { width: 12px; height: 12px; border-radius: 4px; transition: transform 0.3s; }
.cost-leg-item:hover,
.cost-leg-item.active {
    background: rgba(0,0,0,0.05);
    transform: translateX(6px);
}
.cost-leg-item:hover .dot,
.cost-leg-item.active .dot {
    transform: scale(1.4);
}
.cost-leg-highlight {
    background: rgba(107,33,168,0.06);
    font-weight: 600;
    color: var(--text-primary);
}

/* Compact recipe card body */
.rc-body-compact {
    padding: 14px 20px;
}

@media (max-width: 900px) {
    .demo-panel { height: auto; }
    .demo-left { position: relative; width: 100%; padding: 24px 20px; }
    .demo-visual {
        position: relative;
        width: 100%;
        height: 420px;
        padding: 0 16px 16px;
    }
    .demo-vis {
        position: absolute;
        inset: 0 16px 16px;
        overflow-y: auto;
    }
}

/* ── App Section ──────────────────────────────────────────── */
.app-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.app-text { flex: 1; }
.app-text .section-headline { text-align: left; }
.app-text .section-eyebrow { text-align: left; }

.app-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 420px;
}

.app-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
    padding: 0;
}
.app-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* iPhone Mockup */
.app-mockup { display: flex; justify-content: center; flex-shrink: 0; }
.iphone-frame {
    width: 280px;
    height: 560px;
    background: #1d1d1f;
    border-radius: 44px;
    padding: 14px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.15), inset 0 0 0 2px rgba(255,255,255,0.08);
    position: relative;
}
/* Dynamic Island */
.iphone-notch {
    width: 90px;
    height: 24px;
    background: #000;
    border-radius: 20px;
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 3px #1d1d1f;
}
.iphone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #4C1D95 0%, #4C1D95 60px, #F0FDFE 60px);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
}

/* ── Realistic App Mockup (matching real screenshot) ── */
.m-header {
    width: 100%; background: #4C1D95; padding: 52px 16px 10px;
    display: flex; align-items: center; justify-content: space-between;
}
.m-header__logo { font-size: 14px; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.m-header__logo span { color: #C4B5FD; }
.m-header__badge { font-size: 8px; font-weight: 600; color: rgba(255,255,255,0.6); letter-spacing: 0.08em; }

.m-body { flex: 1; padding: 14px 14px 6px; overflow: hidden; background: #F0FDFE; }

/* Greeting */
.m-greeting { margin-bottom: 12px; }
.m-greeting__title { font-size: 16px; font-weight: 700; color: #1a1a1a; }
.m-greeting__sub { font-size: 9px; color: #64748B; margin-top: 2px; }

/* Stats tiles */
.m-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.m-tile {
    border-radius: 12px; padding: 10px 10px 8px;
    display: flex; flex-direction: column; gap: 4px;
    border: 1px solid rgba(107,33,168,0.12);
    background: #fff;
}
.m-tile svg { width: 20px; height: 20px; padding: 3px; border-radius: 6px; flex-shrink: 0; }
.m-tile--yellow svg { background: #FEF3C7; }
.m-tile--blue svg { background: #DBEAFE; }
.m-tile--teal svg { background: #CCFBF1; }
.m-tile--gray svg { background: #F1F5F9; }
.m-tile__num { font-size: 18px; font-weight: 800; color: #1a1a1a; line-height: 1; }
.m-tile__label { font-size: 8px; font-weight: 500; color: #64748B; }

.m-section-label {
    font-size: 8px; font-weight: 700; color: #94A3B8; text-transform: uppercase;
    letter-spacing: 0.06em; margin-bottom: 6px; margin-top: 4px;
    display: flex; align-items: center; justify-content: space-between;
}
.m-section-link { font-size: 8px; font-weight: 600; color: #6B21A8; text-transform: none; letter-spacing: 0; }

.m-recipe {
    display: flex; align-items: center; justify-content: space-between;
    background: #fff; border-radius: 10px; padding: 8px 10px; margin-bottom: 4px;
    border: 1px solid rgba(0,0,0,0.04);
}
.m-recipe__name { font-size: 10px; font-weight: 600; color: #1a1a1a; display: block; }
.m-recipe__meta { font-size: 7px; color: #94A3B8; }
.m-recipe__pct { font-size: 11px; font-weight: 700; }

.m-nav {
    display: flex; background: #fff; border-top: 1px solid rgba(0,0,0,0.06);
    padding: 6px 0 10px;
}
.m-nav__item {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.m-nav__item span { font-size: 7px; color: #94A3B8; font-weight: 500; }
.m-nav__item--active span { color: #4C1D95; font-weight: 700; }
.m-nav__item svg { width: 14px; height: 14px; }

/* ── CTA Section (accent background) ── */
.section-cta { background: var(--accent); text-align: center; padding: 120px 0; }
.cta-content h2 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700; color: #fff; line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 16px; }
.cta-content p { font-size: 1.25rem; color: rgba(255,255,255,0.7); margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-filled-white { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 980px; font-size: 1.05rem; font-weight: 500; background: #fff; color: #1d1d1f; text-decoration: none; transition: all 0.4s cubic-bezier(0.16,1,0.3,1); }
.btn-filled-white:hover { background: rgba(255,255,255,0.9); transform: scale(1.02); }
.btn-outline-white { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 980px; font-size: 1.05rem; font-weight: 500; background: transparent; color: rgba(255,255,255,0.85); border: 1.5px solid rgba(255,255,255,0.3); text-decoration: none; transition: all 0.4s cubic-bezier(0.16,1,0.3,1); }
.btn-outline-white:hover { border-color: rgba(255,255,255,0.6); }
@media (max-width: 768px) { .section-cta { padding: 80px 0; } .cta-content h2 { font-size: 36px; } }

/* ── Pricing Section ─────────────────────────────────────── */
.pricing {
    padding: 120px 0;
    background: var(--bg-light);
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 880px;
    margin: 0 auto;
    align-items: center;
    perspective: 1200px;
}

/* Outer cards: slightly behind */
.pricing__card {
    background: var(--bg-white);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    transform: scale(0.93);
}
.pricing__card:first-child {
    transform-origin: right center;
    margin-right: -16px;
}
.pricing__card:last-child {
    transform-origin: left center;
    margin-left: -16px;
}

/* Featured (middle card): accent background, in front */
.pricing__card--featured {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 20px 60px rgba(107, 33, 168, 0.3), 0 8px 24px rgba(0,0,0,0.1);
    z-index: 3;
    transform: scale(1);
    opacity: 1;
    padding: 44px 32px;
}

.pricing__card--featured .pricing__name { color: rgba(255,255,255,0.7); }
.pricing__card--featured .pricing__price { color: #fff; }
.pricing__card--featured .pricing__price span { color: rgba(255,255,255,0.6); }
.pricing__card--featured .pricing__features li { color: rgba(255,255,255,0.9); }
.pricing__card--featured .pricing__features li::before { color: #fff; }

.pricing__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #1d1d1f;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 5px 16px;
    border-radius: 980px;
    letter-spacing: 0.03em;
}

.pricing__name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.pricing__price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin: 8px 0;
    letter-spacing: -0.03em;
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.pricing__price span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.pricing__features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    flex: 1;
}

.pricing__features li {
    padding: 5px 0;
    font-size: 0.85rem;
    color: var(--text-primary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.pricing__features li::before {
    content: '\2713';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}
.pricing__card--featured .pricing__features li::before { color: rgba(255,255,255,0.8); }

/* Featured Button: white on accent */
.pricing__card--featured .btn-pill-primary {
    background: #fff;
    color: var(--accent);
}
.pricing__card--featured .btn-pill-primary:hover {
    background: rgba(255,255,255,0.9);
}

/* Hover: outer cards lift slightly */
.pricing__card:not(.pricing__card--featured):hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

@media (max-width: 768px) {
    .pricing__grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        gap: 16px;
        perspective: none;
    }
    .pricing__card,
    .pricing__card:first-child,
    .pricing__card:last-child {
        transform: none;
        opacity: 1;
        margin: 0;
    }
    .pricing__card--featured {
        order: -1;
    }
}

/* ── Footer (identical across all sites) ── */
.lp-footer { background: #f5f5f7; border-top: 1px solid rgba(0,0,0,0.08); padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-logo { font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif; font-size: 18px; font-weight: 700; color: #1d1d1f; margin-bottom: 12px; letter-spacing: -0.02em; }
.footer-logo span { color: var(--accent); }
.footer-desc { font-size: 14px; color: #86868b; line-height: 1.6; max-width: 280px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: #1d1d1f; margin-bottom: 4px; }
.footer-col a { font-size: 13px; color: #86868b; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: #1d1d1f; }
.footer-bottom { border-top: 1px solid rgba(0,0,0,0.08); padding-top: 24px; text-align: center; }
.footer-bottom p { font-size: 13px; color: #86868b; }
.footer-heart { font-size: 11px; color: rgba(0,0,0,0.2); margin-top: 6px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ── Reveal Animations (now handled by scroll-fx.css) ────── */
/* Legacy .reveal kept for sub-pages that still use the old system */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
                transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
    .app-section {
        flex-direction: column;
        text-align: center;
        gap: 48px;
    }

    .app-text .section-headline,
    .app-text .section-sub,
    .app-text .section-eyebrow {
        text-align: center;
    }

    .app-text .section-sub {
        max-width: 100%;
    }

    .app-mockup {
        order: -1;
        transform: scale(0.85);
        transform-origin: top center;
        margin-bottom: -40px;
    }
    .calc-result { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
    .dm-rc-body { grid-template-columns: 1fr !important; }
    .dm-rc-body .rc-left { border-right: none !important; border-bottom: 1px solid var(--bg-light); }
    .rc-body { grid-template-columns: 1fr; }
    .rc-left { border-right: none; border-bottom: 1px solid var(--bg-light); }
}

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

    .hero {
        min-height: auto;
        padding: 120px 24px 80px;
    }

    .hero-headline {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }

    .section {
        padding: 80px 0;
    }

    .feature-card {
        padding: 36px 28px;
    }

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

    .btn-pill-lg {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 36px;
    }

    .section-headline {
        font-size: 30px;
    }

    .calc-demo { padding: 24px 20px; }
    .ingredient-row { grid-template-columns: 1fr 1fr; gap: 6px; font-size: 13px; }
    .calc-result { grid-template-columns: 1fr; }
    .iphone-frame { width: 260px; height: 520px; border-radius: 40px; }
    .iphone-screen { border-radius: 28px; }
}

/* ── Sub-page shared styles ───────────────────────────────── */
header:has(.header-inner) {
    background: var(--primary);
    padding: 20px 0;
}

.header-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-inner .logo,
.logo {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo span { color: #C4B5FD; }

.header-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.header-nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 980px;
    border: 1.5px solid rgba(255,255,255,0.25);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
}
.header-nav a:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}

/* ── Page Hero (Sub-Pages) ── */
.page-hero { padding: 70px 24px 50px; text-align: center; }
.page-label {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

h1 {
    font-size: 52px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.page-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Legal Pages (AGB, Datenschutz, Impressum) ──────────── */
.legal-wrap { max-width: 720px; margin: 0 auto; padding: 80px 24px 60px; }
.legal-wrap h1 { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; }
.legal-wrap .legal-stand { font-size: 14px; color: var(--text-secondary); margin-bottom: 32px; }
.legal-wrap h2 { font-size: 18px; font-weight: 700; color: var(--accent); margin: 36px 0 12px; }
.legal-wrap h3 { font-size: 15px; font-weight: 600; margin: 24px 0 8px; }
.legal-wrap p, .legal-wrap li { font-size: 15px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 12px; }
.legal-wrap ul, .legal-wrap ol { margin: 10px 0 16px 20px; }
.legal-wrap li { margin-bottom: 6px; }
.legal-wrap a { color: var(--accent); text-decoration: none; font-weight: 500; }
.legal-wrap a:hover { text-decoration: underline; }
.legal-wrap strong { color: var(--text-primary); }
.legal-wrap code { font-size: 14px; background: var(--bg-light); padding: 2px 6px; border-radius: 4px; }
@media (max-width: 768px) { .legal-wrap h1 { font-size: 28px; } .legal-wrap { padding: 70px 16px 40px; } }

/* Sub-page CTA box */
.cta-box {
    background: var(--accent-hover);
    color: #fff;
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}
.cta-box h2 { font-size: 32px; font-weight: 700; margin-bottom: 16px; color: #fff; }
.cta-box p { font-size: 16px; color: rgba(255,255,255,0.8); margin-bottom: 28px; }
.cta-box a { display: inline-block; background: #C4B5FD; color: var(--accent-hover); padding: 14px 32px; border-radius: 980px; font-weight: 700; text-decoration: none; font-size: 15px; }

/* Sub-page footer */
footer:has(.footer-inner) {
    background: var(--accent-hover);
    color: #fff;
    padding: 32px 0;
    text-align: center;
}
.footer-inner { max-width: 800px; margin: 0 auto; padding: 0 24px; font-size: 13px; line-height: 1.8; color: rgba(255,255,255,0.7); }
.footer-inner a { color: #C4B5FD; text-decoration: none; }
.footer-links-row { display: flex; justify-content: center; gap: 24px; margin-top: 16px; flex-wrap: wrap; }
.footer-links-row a { color: rgba(255,255,255,0.6); font-size: 13px; text-decoration: none; }
.footer-links-row a:hover { color: #fff; }

/* FAQ styles */
.faq-section { max-width: 800px; margin: 0 auto; padding: 20px 24px 80px; }
.faq-category { font-size: 12px; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin: 48px 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); }
details { background: var(--bg-white); border-radius: 16px; margin-bottom: 12px; overflow: hidden; border: 1px solid var(--border); transition: border-color 0.3s; }
details[open] { border-color: var(--accent); }
summary { padding: 20px 24px; font-size: 16px; font-weight: 600; color: var(--text-primary); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 22px; font-weight: 300; color: var(--accent); flex-shrink: 0; line-height: 1; }
details[open] summary::after { content: '\2212'; }
summary:hover { background: var(--bg-light); }
.faq-answer { padding: 0 24px 24px; font-size: 15px; color: var(--text-secondary); line-height: 1.75; }
.faq-answer p { margin-bottom: 10px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul { margin: 10px 0 10px 20px; }
.faq-answer li { margin-bottom: 6px; }
.faq-answer a { color: var(--accent); text-decoration: none; font-weight: 500; }
.faq-answer a:hover { text-decoration: underline; }
.faq-answer strong { color: var(--text-primary); }

@media (max-width: 768px) {
    h1 { font-size: 36px; }
    .page-hero { padding: 48px 16px 32px; }
    .faq-section { padding: 0 16px 60px; }
    .cta-box { padding: 32px 24px; }
    .header-nav a { font-size: 12px; padding: 6px 12px; }
}

/* ============================================================
   APP STYLES (Sub-Pages – carried over, adapted to new vars)
   ============================================================ */

/* ── App Nav ── */
.dm-app {
    min-height: 100vh;
    background: var(--bg-page);
    display: flex;
    flex-direction: column;
}

/* ── DDL Global Keyframes ── */
@keyframes ddl-fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes ddl-scaleIn {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes ddl-barGrow {
    from { width: 0; }
}
@keyframes ddl-slideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.dm-nav {
    background: linear-gradient(135deg, #4C1D95 0%, #6B21A8 100%);
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18), 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}
.dm-nav-logo {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0;
}
.dm-nav-logo span { color: #C4B5FD; }
.dm-nav-cust-sep {
    color: rgba(255,255,255,0.35);
    font-size: 14px;
    font-weight: 400;
    margin: 0 8px;
    line-height: 1;
}
.dm-nav-cust-logo {
    height: 26px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    display: block;
    border-radius: 3px;
}
.dm-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}
.dm-nav-link {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.2s cubic-bezier(.4,0,.2,1);
}
.dm-nav-link:hover, .dm-nav-link.active {
    background: rgba(255,255,255,0.14);
    color: #fff;
    transform: translateY(-1px);
}
.dm-nav-actions { display: flex; align-items: center; gap: 12px; }
.dm-nav-user { font-size: 13px; color: rgba(255,255,255,0.65); }
.dm-nav-logout {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.2s cubic-bezier(.4,0,.2,1);
}
.dm-nav-logout:active { transform: scale(0.96); }
.dm-nav-logout:hover { background: rgba(255,0,0,0.15); color: #fca5a5; border-color: rgba(255,100,100,0.3); }

/* Produkt-Switcher Dropdown */
.dm-nav-actions .ds-user-dropdown { position: relative; display: inline-block; }
.dm-nav-actions .ds-user-btn {
    background: none; border: none; color: rgba(255,255,255,0.85); cursor: pointer;
    font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 5px;
    padding: 6px 12px; border-radius: 8px; transition: background 0.15s;
    font-family: inherit; white-space: nowrap;
}
.dm-nav-actions .ds-user-btn:hover { background: rgba(255,255,255,0.12); }
.dm-nav-actions .ds-user-arrow { font-size: 10px; transition: transform 0.2s; color: rgba(255,255,255,0.5); }
.dm-nav-actions .ds-user-dropdown.open .ds-user-arrow { transform: rotate(180deg); }
.ds-user-menu {
    display: none; position: absolute; top: calc(100% + 6px); right: 0;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15); min-width: 220px; z-index: 9999;
    padding: 8px; overflow: hidden;
}
.ds-user-dropdown.open .ds-user-menu { display: block; }
.ds-menu-current { padding: 10px 12px; }
.ds-menu-label { display: block; font-size: 11px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; padding: 4px 12px; }
.ds-menu-product-active { display: block; font-size: 14px; font-weight: 700; color: #0f172a; margin-top: 2px; }
.ds-menu-divider { height: 1px; background: #e2e8f0; margin: 4px 0; }
.ds-menu-item {
    display: block; padding: 9px 12px; text-decoration: none; color: #334155;
    font-size: 14px; border-radius: 8px; transition: background 0.15s; font-weight: 500;
}
.ds-menu-item:hover { background: #f1f5f9; color: #0f172a; }
.ds-menu-logout { color: #dc2626; }
.ds-menu-logout:hover { background: #fef2f2; color: #b91c1c; }

/* Mobile-only Elemente */
.dm-hamburger { display: none !important; border: none; background: none; }
.dm-mobile-menu { display: none !important; }

/* App Main */
.dm-main {
    flex: 1;
    padding: 32px 28px 60px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Page Header */
.dm-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
    gap: 16px;
    flex-wrap: wrap;
    animation: ddl-fadeUp .45s ease both;
}
.dm-page-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2px;
    letter-spacing: -.3px;
}
.dm-page-sub { font-size: 14px; color: var(--text-secondary); }

/* Buttons */
.dm-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
    border: none;
    text-decoration: none;
}
.dm-btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light, #8B5CF6));
    color: #fff;
    box-shadow: 0 3px 12px rgba(107,33,168,0.25), 0 1px 3px rgba(0,0,0,0.08);
}
.dm-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(107,33,168,0.35), 0 2px 5px rgba(0,0,0,0.1);
}
.dm-btn-primary:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(107,33,168,0.2); }
.dm-btn-outline {
    background: var(--bg-white, transparent);
    color: var(--accent);
    border: 1.5px solid var(--accent);
    box-shadow: 0 1px 4px rgba(107,33,168,0.06);
}
.dm-btn-outline:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(107,33,168,0.2);
}
.dm-btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1.5px solid var(--border);
}
.dm-btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(107,33,168,0.08);
}
.dm-btn-danger { background: transparent; color: var(--danger); border: 1.5px solid rgba(220,38,38,0.3); }
.dm-btn-danger:hover { background: var(--danger); color: #fff; box-shadow: 0 3px 10px rgba(220,38,38,0.2); }

/* Gefüllte Action-Varianten (z. B. beim Bild-Upload) */
.dm-btn-download {
    background: linear-gradient(135deg, #64748b, #94a3b8);
    color: #fff;
    box-shadow: 0 3px 12px rgba(100,116,139,0.25), 0 1px 3px rgba(0,0,0,0.08);
    border: none;
}
.dm-btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(100,116,139,0.35), 0 2px 5px rgba(0,0,0,0.1);
    filter: brightness(1.05);
}
.dm-btn-download:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(100,116,139,0.2); }

.dm-btn-delete {
    background: linear-gradient(135deg, #dc2626, #f87171);
    color: #fff;
    box-shadow: 0 3px 12px rgba(220,38,38,0.25), 0 1px 3px rgba(0,0,0,0.08);
    border: none;
}
.dm-btn-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(220,38,38,0.35), 0 2px 5px rgba(0,0,0,0.1);
    filter: brightness(1.05);
}
.dm-btn-delete:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(220,38,38,0.2); }

.dm-btn-sm { padding: 6px 14px; font-size: 13px; }

/* Stat Cards */
.dm-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.dm-stat {
    background: var(--bg-white);
    border-radius: 14px;
    padding: 20px 22px;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.02);
    transition: all .25s cubic-bezier(.4,0,.2,1);
    animation: ddl-fadeUp .45s ease both;
    position: relative;
    overflow: hidden;
}
.dm-stat::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light, #8B5CF6));
    opacity: 0;
    transition: opacity .25s;
}
.dm-stat:hover::before { opacity: 1; }
.dm-stat:nth-child(1) { animation-delay: .05s; }
.dm-stat:nth-child(2) { animation-delay: .1s; }
.dm-stat:nth-child(3) { animation-delay: .15s; }
.dm-stat:nth-child(4) { animation-delay: .2s; }
.dm-stat:nth-child(5) { animation-delay: .25s; }
.dm-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(107,33,168,0.1), 0 8px 24px rgba(0,0,0,0.05);
    border-color: var(--accent);
}
.dm-stat-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary); margin-bottom: 8px; }
.dm-stat-value { font-size: 28px; font-weight: 800; color: var(--text-primary); line-height: 1; }
.dm-stat-value.teal  { color: var(--accent); }
.dm-stat-value.green { color: #16A34A; }
.dm-stat-value.amber { color: #D97706; }
.dm-stat-sub { font-size: 12px; color: var(--text-secondary); margin-top: 4px; }

/* Table */
.dm-card {
    background: var(--bg-white);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: visible;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 6px 16px rgba(0,0,0,0.03);
}
/* Kein transform/animation auf .dm-card — Stacking-Context würde position:fixed Dropdowns einfangen */
.dm-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid var(--bg-light);
}
.dm-card-title { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.dm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.dm-table thead th {
    background: var(--bg-light);
    padding: 12px 24px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}
.dm-table tbody td {
    padding: 14px 24px;
    border-bottom: 1px solid var(--bg-light);
    color: var(--text-primary);
    vertical-align: middle;
}
.dm-table tbody tr:last-child td { border-bottom: none; }
.dm-table tbody tr:hover { background: var(--accent-tint, rgba(107,33,168,0.03)); }
.dm-table tbody tr[data-rid] { transition: background .12s, transform .12s; }
.dm-table tbody tr[data-rid]:hover { transform: translateX(2px); }

/* Export Tables */
.export-table thead th {
    padding: 10px 16px;
    letter-spacing: .06em;
    border-bottom: 1.5px solid var(--border);
}
.export-table tbody td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--border);
}
.export-table tbody tr:hover { background: var(--accent-tint, rgba(107,33,168,0.03)); }
.export-table tbody tr { transition: background .12s; }
.export-table tfoot td {
    padding: 12px 16px;
    font-weight: 700;
    font-size: 13px;
    background: var(--bg-light);
    border-top: 2px solid var(--border);
}
td.cell-ok   { background: var(--icon-success-bg, #dcfce7); color: #15803d !important; font-weight: 700; border-radius: 6px; }
td.cell-warn { background: var(--warning-tint, #fef9c3); color: #a16207 !important; font-weight: 700; border-radius: 6px; }
td.cell-bad  { background: var(--icon-danger-bg, #fee2e2); color: #b91c1c !important; font-weight: 700; border-radius: 6px; }
html[data-mode="dark"] td.cell-ok   { background: rgba(22,163,74,0.12) !important; color: #4ADE80 !important; }
html[data-mode="dark"] td.cell-warn { background: rgba(217,119,6,0.12) !important; color: #FBBF24 !important; }
html[data-mode="dark"] td.cell-bad  { background: rgba(239,68,68,0.12) !important; color: #F87171 !important; }

/* Badges */
.badge-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 980px;
    font-size: 11px;
    font-weight: 700;
    transition: transform .15s;
}
.badge-tag:hover { transform: scale(1.06); }
.badge-green { background: rgba(22,163,74,0.1); color: #16A34A; }
.badge-amber { background: rgba(217,119,6,0.1); color: #D97706; }
.badge-red   { background: rgba(220,38,38,0.1); color: #DC2626; }
.badge-teal  { background: rgba(107,33,168,0.1); color: var(--accent); }

/* Progress Bar */
.progress-bar {
    height: 8px;
    border-radius: 4px;
    background: var(--bg-light);
    overflow: hidden;
    min-width: 80px;
}
.progress-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light, #8B5CF6));
    animation: ddl-barGrow .7s cubic-bezier(.4,0,.2,1) both;
    box-shadow: 0 1px 4px rgba(107,33,168,0.15);
}
.progress-fill.good   { background: linear-gradient(90deg, #16A34A, #4ADE80); box-shadow: 0 1px 4px rgba(22,163,74,0.15); }
.progress-fill.warn   { background: linear-gradient(90deg, #D97706, #FBBF24); box-shadow: 0 1px 4px rgba(217,119,6,0.15); }
.progress-fill.danger { background: linear-gradient(90deg, #DC2626, #F87171); box-shadow: 0 1px 4px rgba(220,38,38,0.15); }

/* Forms */
.dm-form { display: flex; flex-direction: column; gap: 20px; }
.dm-field { display: flex; flex-direction: column; gap: 6px; }
.dm-label { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.dm-input, .dm-select, .dm-textarea {
    padding: 11px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 14px;
    font-family: inherit;
    background: var(--bg-white);
    color: var(--text-primary);
    transition: border-color 0.2s cubic-bezier(.4,0,.2,1), box-shadow 0.2s cubic-bezier(.4,0,.2,1);
    width: 100%;
}
input, select, textarea {
    color: var(--text-primary);
}
.dm-input:focus, .dm-select:focus, .dm-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(107,33,168,0.12), 0 2px 8px rgba(107,33,168,0.08);
}
.dm-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230E7490' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 40px; }
.dm-hint { font-size: 12px; color: var(--text-secondary); }
.dm-row { display: grid; gap: 16px; }
.dm-row-2 { grid-template-columns: 1fr 1fr; }
.dm-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.dm-row-4 { grid-template-columns: 2fr 1fr 1fr 1fr; }

/* Ingredient Calculator Table */
.ing-table-wrap { overflow-x: auto; }
.ing-calc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ing-calc-table thead th {
    background: var(--bg-light);
    padding: 10px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
}
.ing-calc-table tbody td { padding: 8px 8px; border-bottom: 1px solid var(--bg-light); vertical-align: middle; }
.ing-calc-table tbody tr:last-child td { border-bottom: none; }
.ing-calc-table .ing-input { padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.ing-calc-table .ing-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(107,33,168,0.1), 0 1px 4px rgba(107,33,168,0.06); }
.ing-calc-table .cost-cell { font-weight: 700; color: var(--accent); font-size: 14px; }
.ing-calc-table .total-row td { background: var(--bg-light); font-weight: 700; padding: 12px 16px; }

/* Result Panel */
.calc-result-panel {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light, #8B5CF6) 100%);
    color: #fff;
    border-radius: 16px;
    padding: 24px 28px;
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(107,33,168,0.25), 0 8px 24px rgba(0,0,0,0.08);
    animation: ddl-fadeUp .5s ease .2s both;
}
.result-item .r-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.55); margin-bottom: 6px; }
.result-item .r-value { font-size: 22px; font-weight: 800; color: #fff; white-space: nowrap; }
.result-item .r-value.highlight { color: #C4B5FD; }
.result-item .r-sub { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 2px; }
.result-item .r-sub-highlight { font-size: 14px; font-weight: 700; color: #C4B5FD; }

/* Login Page */
.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--bg-page);
}
.login-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06), 0 16px 48px rgba(0,0,0,0.08);
    animation: ddl-scaleIn .4s ease both;
}
.login-logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.login-logo span { color: var(--accent); }
.login-tagline { font-size: 13px; color: var(--text-secondary); margin-bottom: 32px; }
.login-title { font-size: 22px; font-weight: 700; color: var(--text-primary); margin-bottom: 24px; }
.login-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light, #8B5CF6));
    color: #fff;
    padding: 13px;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    margin-top: 4px;
    transition: all 0.2s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 3px 14px rgba(107,33,168,0.3), 0 1px 3px rgba(0,0,0,0.08);
}
.login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107,33,168,0.4), 0 2px 6px rgba(0,0,0,0.1);
}
.login-submit:active { transform: translateY(0); }
.login-forgot { font-size: 13px; color: var(--text-secondary); text-align: right; margin-top: 8px; }
.login-forgot a { color: var(--accent); font-weight: 500; }
.login-forgot a:hover { text-decoration: underline; }
.login-footer { font-size: 13px; color: var(--text-secondary); text-align: center; margin-top: 20px; }
.login-footer a { color: var(--accent); font-weight: 600; }
.login-error {
    background: rgba(220,38,38,0.06);
    border: 1px solid rgba(220,38,38,0.15);
    color: #DC2626;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Empty State */
.empty-state { text-align: center; padding: 64px 24px; color: var(--text-secondary); animation: ddl-fadeUp .5s ease both; }
.empty-state-icon { font-size: 48px; margin-bottom: 16px; }
.empty-state h3 { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.empty-state p { font-size: 14px; margin-bottom: 24px; }

/* Breadcrumb */
.dm-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); margin-bottom: 20px; }
.dm-breadcrumb a { color: var(--accent); }
.dm-breadcrumb span { color: var(--border); }

/* Alert */
.dm-alert {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    margin-bottom: 20px;
    animation: ddl-slideIn .35s ease both;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.dm-alert-success { background: rgba(22,163,74,0.06); border: 1px solid rgba(22,163,74,0.15); color: #16A34A; }
.dm-alert-error   { background: rgba(220,38,38,0.06); border: 1px solid rgba(220,38,38,0.15); color: #DC2626; }

/* Grid Utilities */
.dm-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.dm-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dm-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dm-grid-decl { display: grid; grid-template-columns: 1fr 1fr 2fr 1.6fr; gap: 24px; }

/* ============================================================
   APP RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
    .dm-stats { grid-template-columns: repeat(2, 1fr); }
    .calc-result-panel { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    /* App Navigation */
    .dm-nav { padding: 0 12px; height: 52px; flex-wrap: nowrap; }
    .dm-nav-logo { font-size: 15px; }
    .dm-nav-links, .dm-nav-actions { display: none !important; }

    .dm-hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 36px;
        height: 36px;
        padding: 6px;
        border: none;
        background: none;
        border-radius: 6px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .dm-hamburger:active { background: rgba(255,255,255,0.12); }
    .dm-hamburger span {
        display: block;
        height: 2px;
        background: rgba(255,255,255,0.85);
        border-radius: 1px;
        transition: transform 0.25s, opacity 0.25s;
    }
    .dm-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .dm-hamburger.open span:nth-child(2) { opacity: 0; }
    .dm-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .dm-mobile-menu {
        display: none !important;
        position: fixed;
        top: 52px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #4C1D95;
        z-index: 99;
        padding: 8px 16px 24px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        animation: dm-menu-in 0.2s ease-out;
    }
    .dm-mobile-menu.open { display: block !important; }
    @keyframes dm-menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

    .dm-mobile-menu a {
        display: block;
        color: rgba(255,255,255,0.8);
        font-size: 15px;
        font-weight: 600;
        padding: 14px 16px;
        border-radius: 8px;
        transition: background 0.15s;
    }
    .dm-mobile-menu a:active,
    .dm-mobile-menu a.active { background: rgba(255,255,255,0.12); color: #fff; }
    .dm-mobile-menu .dm-mobile-sep { height: 1px; background: rgba(255,255,255,0.12); margin: 8px 0; }
    .dm-mobile-menu .dm-mobile-user { font-size: 12px; color: rgba(255,255,255,0.5); padding: 8px 16px 4px; display: block; }

    /* App Main */
    .dm-main { padding: 16px 12px 40px; }
    .dm-page-header { flex-direction: column; gap: 12px; align-items: stretch; margin-bottom: 20px; }
    .dm-page-title { font-size: 20px; }
    .dm-page-sub { font-size: 12px; }
    .dm-page-header > div:last-child { display: flex; flex-wrap: wrap; gap: 6px; }

    .dm-btn { padding: 8px 14px; font-size: 12px; }
    .dm-btn-sm { padding: 5px 10px; font-size: 11px; }
    .dm-card { border-radius: 10px; }
    .dm-card-header { padding: 12px 14px; flex-wrap: wrap; gap: 8px; }
    .dm-card-title { font-size: 14px; }
    .dm-table thead th { padding: 8px 10px; font-size: 10px; }
    .dm-table tbody td { padding: 10px 10px; font-size: 13px; }
    .export-table thead th { padding: 8px 10px; }
    .export-table tbody td { padding: 8px 10px; font-size: 13px; }
    .calc-result-panel { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
    .result-item .r-value { font-size: 20px; }
    .dm-stat { padding: 14px 16px; }
    .dm-stat-value { font-size: 22px; }
    .dm-stats { grid-template-columns: 1fr 1fr; }
    .dm-grid-2, .dm-grid-3, .dm-grid-4, .dm-grid-decl { grid-template-columns: 1fr; }
    .aw-grid { grid-template-columns: 1fr; gap: 12px; }
    .aw-tile { padding: 20px 16px; }
    .export-summary { grid-template-columns: 1fr !important; gap: 10px; }
    .dm-input, .dm-select { font-size: 14px; }
    .dm-label { font-size: 12px; }
    .dm-field { margin-bottom: 4px; }
    #pk-layout, #rk-layout { flex-direction: column; height: auto; }
    #pk-sidebar, #rk-sidebar { width: 100% !important; max-height: 50vh; border-right: none; border-bottom: 1.5px solid var(--border); flex-shrink: 1; }
    details summary { font-size: 14px; }
    .dm-row-2, .dm-row-3, .dm-row-4 { grid-template-columns: 1fr; }
    .header-nav a { font-size: 12px; padding: 6px 12px; }
}

/* ═══════════════════════════════════════════════════════════
   Einheitliche Tile-Karten (Start, Lieferanten, Lager,
   Auswertung, Einstellungen) – immer gleiche Größe & Aufbau
   ═══════════════════════════════════════════════════════════ */
.dm-tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 24px;
    /* Staggered tile animation via nth-child */
}
.dm-tile-grid .dm-tile:nth-child(1) { animation-delay: .05s; }
.dm-tile-grid .dm-tile:nth-child(2) { animation-delay: .1s; }
.dm-tile-grid .dm-tile:nth-child(3) { animation-delay: .15s; }
.dm-tile-grid .dm-tile:nth-child(4) { animation-delay: .2s; }
.dm-tile-grid .dm-tile:nth-child(5) { animation-delay: .25s; }
.dm-tile-grid .dm-tile:nth-child(6) { animation-delay: .3s; }
.dm-tile-grid .dm-tile:nth-child(7) { animation-delay: .35s; }
.dm-tile-grid .dm-tile:nth-child(8) { animation-delay: .4s; }
.dm-tile-grid .dm-tile:nth-child(9) { animation-delay: .45s; }
.dm-tile-grid .dm-tile:nth-child(10) { animation-delay: .5s; }
.dm-tile {
    background: var(--bg-white, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    color: var(--text, #1e293b);
    min-height: 220px;
    transition: all .25s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.02);
    animation: ddl-fadeUp .45s ease both;
    position: relative;
    overflow: hidden;
}
.dm-tile::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent, #6B21A8), var(--accent-light, #8B5CF6));
    opacity: 0;
    transition: opacity .25s;
}
.dm-tile:hover::before { opacity: 1; }
.dm-tile:hover {
    border-color: var(--accent, #6B21A8);
    box-shadow: 0 4px 16px rgba(107,33,168, .12), 0 8px 24px rgba(0,0,0,.05);
    transform: translateY(-3px);
}
.dm-tile:active { transform: translateY(-1px); }
.dm-tile-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 4px;
    transition: transform .25s cubic-bezier(.4,0,.2,1);
}
.dm-tile:hover .dm-tile-icon { transform: scale(1.08) rotate(-3deg); }
.dm-tile-icon svg { width: 24px; height: 24px; }
.dm-tile-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary, #1e293b);
    line-height: 1.3;
}
.dm-tile-desc {
    font-size: 13px;
    color: var(--text-secondary, #64748b);
    line-height: 1.5;
    flex: 1;
}
.dm-tile-meta {
    font-size: 12px;
    color: var(--text-secondary, #64748b);
    padding-top: 10px;
    border-top: 1px solid var(--border, #e5e7eb);
    margin-top: 4px;
    line-height: 1.5;
}
.dm-tile-meta strong {
    color: var(--text-primary, #1e293b);
    font-weight: 700;
}
.dm-tile-action {
    margin-top: 8px;
    align-self: flex-start;
}


/* ============================================================
   denschOrder Specifics — Konfigurator-Demo, Foodhall,
   Integrationen, FAQ, Beta-Form
   (Ergänzungen die margin nicht hat — gleicher Style-Rahmen)
   ============================================================ */

/* ── Beta-Banner (oberhalb Nav) ─────────────────────────── */
.beta-banner {
    background: var(--accent);
    color: #fff;
    text-align: center;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
}
.beta-banner a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.beta-banner a:hover { opacity: 0.85; }

/* ── Konfigurator-Demo ───────────────────────────────────── */
.do-konfig-product {
    display: flex; gap: 24px; align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 24px; margin-bottom: 24px;
}
.do-konfig-image {
    width: 80px; height: 80px;
    background: var(--accent-tint);
    border-radius: 16px;
    font-size: 44px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.do-konfig-product h3 { margin: 0 0 4px; font-size: 22px; font-weight: 700; }
.do-konfig-marke {
    display: inline-block;
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    background: color-mix(in srgb, var(--marke-color) 12%, transparent);
    color: var(--marke-color);
    padding: 4px 10px;
    border-radius: 980px;
    margin-bottom: 8px;
}
.do-konfig-price { display: flex; align-items: baseline; gap: 8px; }
.do-konfig-price #konfig-price {
    font-size: 28px; font-weight: 800;
    color: var(--accent);
    transition: transform 0.18s, color 0.18s;
    display: inline-block;
}
.do-konfig-price-label { font-size: 12px; color: var(--text-secondary); }

.do-konfig-step { margin-bottom: 20px; }
.do-konfig-step-header {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 10px;
}
.do-konfig-step-name { font-weight: 700; font-size: 15px; color: var(--text-primary); }
.do-konfig-step-pflicht {
    font-size: 11px; color: var(--accent);
    text-transform: uppercase; letter-spacing: 0.08em;
    font-weight: 700;
}
.do-konfig-options { display: flex; flex-wrap: wrap; gap: 8px; }
.do-konfig-opt {
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 980px;
    padding: 10px 18px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s;
    color: var(--text-primary);
    font-family: inherit;
}
.do-konfig-opt:hover { border-color: var(--accent-light); }
.do-konfig-opt.active {
    background: var(--accent-tint);
    border-color: var(--accent);
    color: var(--accent);
    font-weight: 600;
}
.do-konfig-opt-delta { font-size: 12px; color: var(--text-secondary); margin-left: 6px; }
.do-konfig-opt.active .do-konfig-opt-delta { color: var(--accent); }
.do-konfig-warenkorb-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
    border-top: 1px solid var(--border);
    padding-top: 20px; margin-top: 20px;
}

html[data-mode="dark"] .do-konfig-opt { background: #252528; color: #F0F0F0; }
html[data-mode="dark"] .do-konfig-opt.active { background: rgba(107,33,168,0.25); color: #C4B5FD; border-color: var(--accent-light); }

/* ── Foodhall-Demo ───────────────────────────────────────── */
.do-foodhall-demo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 56px;
}
.do-foodhall-marke {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-left: 6px solid var(--m-color, var(--accent));
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.do-foodhall-marke:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.do-foodhall-marke span { font-size: 36px; line-height: 1; }
.do-foodhall-marke div { margin-top: 8px; font-weight: 700; color: var(--m-color, var(--accent)); }
.do-foodhall-marke-add {
    border-style: dashed;
    border-left-style: solid;
    color: var(--text-secondary);
    font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    min-height: 100px;
}
html[data-mode="dark"] .do-foodhall-marke { background: #1C1C1E; border-color: rgba(255,255,255,0.08); border-left-color: var(--m-color); }

.do-foodhall-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    color: var(--text-primary);
    font-size: 15px;
}

/* ── Integrationen ──────────────────────────────────────── */
.do-integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 64px;
}
.do-integration-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 15px;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.do-integration-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.do-integration-custom {
    background: var(--accent-tint);
    color: var(--accent);
    border-color: var(--accent);
    border-style: dashed;
}
html[data-mode="dark"] .do-integration-card { background: #1C1C1E; border-color: rgba(255,255,255,0.08); color: #F0F0F0; }
html[data-mode="dark"] .do-integration-custom { background: rgba(107,33,168,0.2); color: #C4B5FD; }

.do-integration-flow {
    display: flex; flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
}
.do-flow-step {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 20px;
    display: flex; align-items: center; gap: 10px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-primary);
}
.do-flow-step span {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 13px;
    flex-shrink: 0;
}
.do-flow-arrow { color: var(--accent); font-size: 24px; font-weight: 700; }
html[data-mode="dark"] .do-flow-step { background: #1C1C1E; border-color: rgba(255,255,255,0.08); color: #F0F0F0; }

/* ── FAQ ─────────────────────────────────────────────────── */
.do-faq {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.do-faq[open] {
    border-color: var(--accent);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.do-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 24px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    display: flex; justify-content: space-between; align-items: center;
}
.do-faq summary::-webkit-details-marker { display: none; }
.do-faq summary::after {
    content: '+';
    color: var(--accent);
    font-size: 24px;
    line-height: 1;
    margin-left: 12px;
}
.do-faq[open] summary::after { content: '−'; }
.do-faq p {
    padding: 0 24px 20px;
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}
html[data-mode="dark"] .do-faq { background: #1C1C1E; border-color: rgba(255,255,255,0.08); }

/* ── Beta-Form ───────────────────────────────────────────── */
.do-form {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 36px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    max-width: 880px;
    margin: 48px auto 0;
}
.do-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}
.do-form-field { display: flex; flex-direction: column; gap: 6px; }
.do-form-field label {
    font-weight: 600; font-size: 13px;
    color: var(--text-primary);
}
.do-form-field input,
.do-form-field select,
.do-form-field textarea {
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    color: var(--text-primary);
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.do-form-field input:focus,
.do-form-field select:focus,
.do-form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.do-form-field textarea { resize: vertical; min-height: 100px; }
.do-form-group {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 20px;
    margin: 16px 0;
}
.do-form-group legend {
    font-weight: 600; font-size: 13px;
    padding: 0 8px;
    color: var(--text-primary);
}
.do-form-group label {
    display: inline-flex; align-items: center; gap: 6px;
    margin: 4px 16px 4px 0;
    font-size: 14px;
    cursor: pointer;
    color: var(--text-primary);
}
.do-form-checkbox label {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
}
.do-form-checkbox input { margin-top: 3px; }
.do-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important; height: 1px !important;
    opacity: 0; pointer-events: none;
}
.do-form-submit {
    margin-top: 24px;
    text-align: center;
}
.do-form-note {
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}
.do-form-result {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    display: none;
}
.do-form-result.success {
    display: block;
    background: rgba(22,163,74,0.10);
    color: #16A34A;
    border: 1px solid #16A34A;
}
.do-form-result.error {
    display: block;
    background: rgba(220,38,38,0.10);
    color: #DC2626;
    border: 1px solid #DC2626;
}

html[data-mode="dark"] .do-form { background: #161616; border-color: rgba(255,255,255,0.08); }
html[data-mode="dark"] .do-form-field input,
html[data-mode="dark"] .do-form-field select,
html[data-mode="dark"] .do-form-field textarea {
    background: #1C1C1E;
    border-color: rgba(255,255,255,0.10);
    color: #F0F0F0;
}
html[data-mode="dark"] .do-form-group { border-color: rgba(255,255,255,0.08); }

/* ── In CTA-Section umbauen für unsere Beta-Form ────────── */
.section-cta .do-form { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); color: #fff; }
.section-cta .do-form label, .section-cta .do-form legend { color: rgba(255,255,255,0.95); }
.section-cta .do-form-field input,
.section-cta .do-form-field select,
.section-cta .do-form-field textarea {
    background: rgba(255,255,255,0.95);
    color: #1d1d1f;
    border-color: rgba(255,255,255,0.3);
}
.section-cta .do-form-field input:focus,
.section-cta .do-form-field select:focus,
.section-cta .do-form-field textarea:focus {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.4);
}
.section-cta .do-form-checkbox label,
.section-cta .do-form-note { color: rgba(255,255,255,0.85); }
.section-cta .do-form-checkbox a { color: #fff; text-decoration: underline; }
.section-cta .do-form-group { border-color: rgba(255,255,255,0.3); }

/* CTA-Section h2 + p anpassen */
.section-cta .cta-content h2 { font-size: clamp(2.5rem, 6vw, 4rem); }
.section-cta .cta-content p  { color: rgba(255,255,255,0.85); }

/* ── pricing__grid darf 4 Spalten max sein bei uns ───────── */
@media (min-width: 769px) {
    /* margin behält 3 Spalten — wir auch */
}

/* ── 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;
    }
}


/* ============================================================
   Tracking-Sektion: Display-Mockup, Phone-Mockup, Nummernkreise
   ============================================================ */

.do-tracking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 8px;
}
.do-tracking-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}
html[data-mode="dark"] .do-tracking-card { background: #1C1C1E; border-color: rgba(255,255,255,0.08); }
.do-tracking-card-eyebrow {
    color: var(--accent);
    font-size: 12px; font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}
.do-tracking-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}
.do-tracking-card > p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 20px;
}

/* ── Display-Mockup ──────────────────────────────────────── */
.do-mock-display {
    background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
    border-radius: 14px;
    padding: 20px;
    color: #fff;
    margin-top: auto;
    box-shadow: 0 8px 24px rgba(15,23,42,0.20);
}
.do-mock-display-head {
    display: flex; justify-content: space-between; align-items: baseline;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding-bottom: 12px; margin-bottom: 16px;
}
.do-mock-display-title {
    font-size: 13px; font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.7;
}
.do-mock-display-clock {
    font-size: 13px;
    font-feature-settings: 'tnum';
    opacity: 0.6;
}
.do-mock-display-cols {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 16px;
}
.do-mock-col-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.55;
    margin-bottom: 10px;
}
.do-mock-num {
    font-size: 26px;
    font-weight: 800;
    font-feature-settings: 'tnum';
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 6px;
    text-align: center;
    letter-spacing: -0.02em;
}
.do-mock-num-arbeit {
    background: rgba(251,191,36,0.18);
    color: #FCD34D;
    border: 1px solid rgba(251,191,36,0.30);
}
.do-mock-num-fertig {
    background: rgba(34,197,94,0.18);
    color: #4ADE80;
    border: 1px solid rgba(34,197,94,0.30);
}
.do-mock-num-pulse {
    animation: doMockPulse 1.6s ease-in-out infinite;
    background: rgba(34,197,94,0.30);
    color: #fff;
    box-shadow: 0 0 12px rgba(34,197,94,0.5);
}
@keyframes doMockPulse {
    0%, 100% { transform: scale(1);    box-shadow: 0 0 12px rgba(34,197,94,0.5); }
    50%      { transform: scale(1.06); box-shadow: 0 0 22px rgba(34,197,94,0.8); }
}

/* ── Phone-Mockup ──────────────────────────────────────── */
.do-mock-phone {
    background: linear-gradient(135deg, var(--accent-tint) 0%, var(--bg-light) 100%);
    border-radius: 14px;
    padding: 20px;
    margin-top: auto;
    display: flex;
    justify-content: center;
}
html[data-mode="dark"] .do-mock-phone { background: linear-gradient(135deg, rgba(107,33,168,0.20), #252528); }
.do-mock-phone-screen {
    background: var(--bg-white);
    border-radius: 22px;
    padding: 22px 18px;
    width: 100%;
    max-width: 220px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
}
html[data-mode="dark"] .do-mock-phone-screen { background: #1C1C1E; border-color: rgba(255,255,255,0.08); }
.do-mock-phone-num-label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}
.do-mock-phone-num {
    font-size: 56px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.04em;
    font-feature-settings: 'tnum';
    line-height: 1;
    margin-bottom: 8px;
}
.do-mock-phone-status {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.do-mock-phone-bar {
    height: 6px;
    background: var(--bg-light);
    border-radius: 980px;
    overflow: hidden;
    margin-bottom: 10px;
}
html[data-mode="dark"] .do-mock-phone-bar { background: #252528; }
.do-mock-phone-bar-fill {
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 980px;
    animation: doBarShimmer 2.4s ease-in-out infinite;
}
@keyframes doBarShimmer {
    0%, 100% { width: 50%; }
    50%      { width: 65%; }
}
.do-mock-phone-eta {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 14px;
}
.do-mock-phone-steps {
    display: flex; flex-direction: column; gap: 4px;
    text-align: left;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}
html[data-mode="dark"] .do-mock-phone-steps { border-color: rgba(255,255,255,0.08); }
.do-mock-step {
    font-size: 11px;
    color: var(--text-muted);
    padding: 2px 0;
}
.do-mock-step-done   { color: var(--text-secondary); }
.do-mock-step-active { color: var(--accent); font-weight: 700; }

/* ── Nummernkreis-Mockup ──────────────────────────────── */
.do-mock-num-ranges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}
.do-mock-num-range {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 14px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--r-color) 8%, transparent);
    border-left: 3px solid var(--r-color);
}
.do-mock-num-range span {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}
.do-mock-num-range strong {
    font-size: 14px;
    color: var(--r-color);
    font-feature-settings: 'tnum';
    letter-spacing: 0.02em;
}
html[data-mode="dark"] .do-mock-num-range { background: color-mix(in srgb, var(--r-color) 16%, transparent); }
