/* ============================================================
   DimLab — Software für die Luftfahrt
   Theme: Dark default, Light via [data-theme="light"]
   ============================================================ */

:root {
    --bg: #07090d;
    --bg-soft: #0c0f15;
    --bg-elev: #11151d;
    --fg: #e8edf5;
    --fg-muted: rgba(235,240,248,0.78);
    --fg-dim: #9aa4b2;
    --border: rgba(255,255,255,0.08);
    --border-strong: rgba(255,255,255,0.14);
    --accent-1: #3bb4f5;
    --accent-2: #22d3ee;
    --gradient-brand: linear-gradient(90deg, #3bb4f5 0%, #22d3ee 100%);
    --gradient-brand-hover: linear-gradient(90deg, #5cc3f8 0%, #4ddef2 100%);
    --gradient-brand-vert: linear-gradient(180deg, #ffffff 0%, #22d3ee 100%);
    --gradient-headline: linear-gradient(96deg, #ffffff 0%, #a5e4ff 28%, #5ec8ff 58%, #22d3ee 88%, #0ea5e9 100%);
    --shadow-lg: 0 30px 80px -20px rgba(0,0,0,0.7);
    --shadow-glow: 0 10px 40px -10px rgba(34,211,238,0.35);
    --gradient-fade: linear-gradient(180deg, rgba(7,9,13,0) 0%, rgba(7,9,13,0.85) 70%, rgba(7,9,13,1) 100%);
    --font-display: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    --max-w: 1200px;
    --pad-x: clamp(20px, 4vw, 48px);
}

[data-theme="light"] {
    --bg: #f6f8fb;
    --bg-soft: #ffffff;
    --bg-elev: #ffffff;
    --fg: #0a1018;
    --fg-muted: rgba(10,16,24,0.72);
    --fg-dim: #5a6573;
    --border: rgba(10,16,24,0.08);
    --border-strong: rgba(10,16,24,0.18);
    --gradient-fade: linear-gradient(180deg, rgba(246,248,251,0) 0%, rgba(246,248,251,0.85) 70%, rgba(246,248,251,1) 100%);
    /* Hellmodus: Verlaufs-Überschriften dunkel, sonst weiß-auf-weiß auf hellen Flächen */
    --gradient-headline: linear-gradient(96deg, #0a1018 0%, #1d5cbf 55%, #0473ad 100%);
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* ---------- Body grain (nateherk-style subtle noise) ---------- */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 200;
    opacity: 0.035;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    mix-blend-mode: overlay;
}
[data-theme="light"] body::after { opacity: 0.06; mix-blend-mode: multiply; }

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px var(--pad-x);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(10,10,10,0.5);
    transition: background 0.3s ease, padding 0.3s ease;
}
.nav::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background:
        linear-gradient(90deg, transparent, rgba(59,180,245,0.6), rgba(34,211,238,0.6), transparent),
        rgba(255,255,255,0.08);
}
[data-theme="light"] .nav::after {
    background:
        linear-gradient(90deg, transparent, rgba(59,180,245,0.5), rgba(34,211,238,0.5), transparent),
        rgba(10,16,24,0.1);
}
[data-theme="light"] .nav { background: rgba(250,250,250,0.7); }

.nav.scrolled {
    background: rgba(10,10,10,0.85);
    padding-top: 12px;
    padding-bottom: 12px;
}
[data-theme="light"] .nav.scrolled { background: rgba(255,255,255,0.9); }

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.01em;
}
.nav-logo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gradient-brand);
    box-shadow: 0 0 14px rgba(34,211,238,0.55);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    font-weight: 500;
}
.nav-links a:not(.nav-cta) {
    color: var(--fg-muted);
    transition: color 0.2s ease;
}
.nav-links a:not(.nav-cta):hover { color: var(--fg); }
.nav-cta {
    padding: 9px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--gradient-brand);
    color: #031018 !important;
    font-weight: 600;
    box-shadow: var(--shadow-glow);
    transition: filter 0.2s ease, transform 0.15s ease;
}
.nav-cta:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}
.theme-toggle {
    background: none;
    border: 1px solid var(--border-strong);
    color: var(--fg);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}
.theme-toggle:hover { background: var(--bg-elev); }
.theme-toggle svg { width: 16px; height: 16px; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    padding: 140px var(--pad-x) 80px;
    background: var(--bg);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(59,180,245,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,180,245,0.05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.95;
}
[data-theme="light"] .hero-video { opacity: 0.7; }
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7,9,13,0.85) 0%, rgba(7,9,13,0.55) 35%, rgba(7,9,13,0.1) 65%, transparent 100%),
        linear-gradient(180deg, rgba(7,9,13,0) 0%, rgba(7,9,13,0) 70%, rgba(7,9,13,0.95) 100%);
    z-index: 1;
}
[data-theme="light"] .hero-overlay {
    background:
        linear-gradient(90deg, rgba(246,248,251,0.93) 0%, rgba(246,248,251,0.72) 35%, rgba(246,248,251,0.28) 65%, rgba(246,248,251,0.08) 100%),
        linear-gradient(180deg, rgba(246,248,251,0) 0%, rgba(246,248,251,0) 70%, rgba(246,248,251,0.95) 100%);
}
.hero-content .hero-headline,
.hero-content .hero-sub {
    text-shadow: 0 2px 24px rgba(7,9,13,0.7);
}
[data-theme="light"] .hero-content .hero-headline,
[data-theme="light"] .hero-content .hero-sub {
    text-shadow: 0 2px 24px rgba(246,248,251,0.8);
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    text-align: left;
    display: grid;
    grid-template-columns: minmax(0, 620px) 1fr;
    gap: 40px;
}
.hero-copy {
    grid-column: 1;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--fg-dim);
    margin-bottom: 24px;
    text-transform: uppercase;
}
.hero-eyebrow .dot,
.section-eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-1);
    box-shadow: 0 0 10px rgba(34,211,238,0.6);
    flex-shrink: 0;
}
.hero-eyebrow .dash {
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-1), transparent);
    flex-shrink: 0;
}
.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(44px, 8vw, 96px);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.96;
    margin-bottom: 28px;
    background: var(--gradient-headline);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
[data-theme="light"] .hero-headline {
    background: linear-gradient(96deg, #0a1018 0%, #1d5cbf 55%, #0473ad 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-sub {
    font-size: clamp(15px, 1.5vw, 18px);
    color: var(--fg-muted);
    max-width: 560px;
    margin: 0 0 40px;
    line-height: 1.6;
}
.hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 72px;
}
.btn {
    padding: 13px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    background: var(--gradient-brand);
    color: #031018;
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.btn-primary::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    left: -100%;
    width: 60%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent);
    transition: left 0.7s ease;
    pointer-events: none;
}
.btn-primary:hover::before { left: 130%; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost {
    background: rgba(255,255,255,0.02);
    color: var(--fg);
    border-color: rgba(255,255,255,0.14);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover {
    border-color: rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.05);
}
[data-theme="light"] .btn-ghost {
    background: rgba(10,16,24,0.02);
    border-color: rgba(10,16,24,0.14);
}
[data-theme="light"] .btn-ghost:hover {
    background: rgba(10,16,24,0.05);
    border-color: rgba(10,16,24,0.28);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 0 28px;
    margin: 0 0 60px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.14);
    justify-content: start;
}
[data-theme="light"] .hero-stats {
    border-top-color: rgba(10,16,24,0.14);
}
.stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-right: 20px;
}
.stat + .stat {
    border-left: 1px solid rgba(255,255,255,0.14);
    padding-left: 36px;
}
[data-theme="light"] .stat + .stat {
    border-left-color: rgba(10,16,24,0.14);
}
.stat-number {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.stat-label {
    font-size: 11px;
    color: var(--fg-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: left;
}

.scroll-cue {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--fg-muted);
    font-size: 11px;
    letter-spacing: 0.3em;
    animation: bounce 2.4s ease-in-out infinite;
}
.scroll-cue svg { width: 16px; height: 16px; }
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ---------- Section divider (nateherk-style gradient line) ---------- */
.divider {
    height: 1px;
    border: 0;
    margin: 0;
    background: linear-gradient(90deg, transparent, rgba(59,180,245,0.75), rgba(34,211,238,0.75), transparent);
    opacity: 0.7;
}

/* ---------- Section eyebrow ---------- */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--fg-dim);
    margin-bottom: 16px;
    text-transform: uppercase;
}

/* ---------- Powered by Marquee ---------- */
.marquee-section {
    padding: 80px var(--pad-x);
    text-align: center;
    background: var(--bg-soft);
    position: relative;
    overflow: hidden;
}
.marquee-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(50% 100% at 50% 50%, rgba(59,180,245,0.04), transparent 75%);
}
.marquee-section > * { position: relative; z-index: 1; }
.marquee {
    overflow: hidden;
    position: relative;
    margin-top: 32px;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
    display: flex;
    gap: clamp(40px, 5vw, 80px);
    animation: marquee 28s linear infinite;
    width: max-content;
}
.marquee-item {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.4vw, 32px);
    font-weight: 600;
    color: var(--fg-muted);
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: color 0.3s ease;
}
.marquee-item:hover { color: var(--fg); }
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- Product Sections ---------- */
.product {
    padding: clamp(80px, 12vw, 160px) var(--pad-x);
    position: relative;
    overflow: hidden;
}
.product-alt { background: var(--bg-soft); }
.product::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(60% 50% at 50% 0%, rgba(59,180,245,0.08), transparent 70%),
        radial-gradient(600px 400px at 15% 20%, rgba(59,180,245,0.06), transparent 60%),
        radial-gradient(500px 350px at 85% 80%, rgba(34,211,238,0.05), transparent 60%);
}
.product .product-inner { position: relative; z-index: 1; }

.product-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
}
.product-inner-reverse .product-text { order: 2; }
.product-inner-reverse .product-visual { order: 1; }

.product-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}
.product-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
}
.product-text h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.02;
    background: var(--gradient-brand-vert);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
[data-theme="light"] .product-text h2 {
    background: linear-gradient(180deg, #0a1018 0%, #2168d6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.product-tagline {
    font-size: clamp(18px, 2vw, 24px);
    color: var(--fg);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
}
.product-desc {
    font-size: 16px;
    color: var(--fg-muted);
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 520px;
}
.product-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.badge {
    padding: 7px 14px;
    border: 1px solid rgba(34,211,238,0.35);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-2);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(34,211,238,0.08);
}
.badge-live {
    border-color: rgba(52,211,153,0.45);
    color: #34d399;
    background: rgba(52,211,153,0.10);
    box-shadow: 0 0 24px -6px rgba(52,211,153,0.4);
}
.badge-live::before {
    content: '●';
    margin-right: 6px;
    color: #34d399;
    animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.feature-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    gap: 14px;
    max-width: 540px;
}
.feature-list li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 14px;
    align-items: start;
}
.feature-list li strong {
    color: var(--fg);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.005em;
}
.feature-list li span {
    color: var(--fg-muted);
    font-size: 14px;
    line-height: 1.5;
}
.feat-icon {
    display: block;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    border-radius: 5px;
    background: var(--gradient-brand);
    box-shadow: 0 0 12px rgba(34,211,238,0.35);
    position: relative;
    flex-shrink: 0;
}
.feat-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23031018' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat;
}
.product-target {
    font-size: 13px;
    color: var(--fg-muted);
    margin: 0 0 28px;
    padding: 10px 14px;
    background: rgba(59,180,245,0.06);
    border-left: 2px solid var(--accent-2);
    border-radius: 4px;
}
.product-target strong { color: var(--fg); font-weight: 600; }

/* iPhone Mockup */
.product-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.phone-mockup {
    position: relative;
    width: 280px;
    aspect-ratio: 9 / 19;
    background: #0a0a0a;
    border-radius: 44px;
    padding: 10px;
    box-shadow:
        0 0 0 2px rgba(255,255,255,0.06),
        var(--shadow-lg);
    overflow: hidden;
}
.phone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 36px;
    display: block;
}
.phone-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 24px;
    background: #000;
    border-radius: 100px;
    z-index: 2;
}

/* ---------- FAQ ---------- */
.faq {
    padding: clamp(80px, 12vw, 140px) var(--pad-x);
    position: relative;
    overflow: hidden;
}
.faq::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(60% 50% at 20% 0%, rgba(59,180,245,0.08), transparent 70%),
        radial-gradient(50% 40% at 80% 100%, rgba(34,211,238,0.06), transparent 70%);
}
.faq-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.faq h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.02;
    margin-bottom: 56px;
    background: var(--gradient-brand-vert);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
[data-theme="light"] .faq h2 {
    background: linear-gradient(180deg, #0a1018 0%, #2168d6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 56px;
}
.faq-item h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--fg);
    margin-bottom: 10px;
    letter-spacing: -0.005em;
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.faq-item h3::before {
    content: "";
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-2);
    box-shadow: 0 0 8px rgba(34,211,238,0.5);
    transform: translateY(-2px);
}
.faq-item p {
    color: var(--fg-muted);
    font-size: 14.5px;
    line-height: 1.65;
    margin: 0;
    padding-left: 16px;
}
.faq-item a {
    color: var(--accent-2);
    border-bottom: 1px solid rgba(34,211,238,0.3);
    transition: border-color 0.2s ease;
}
.faq-item a:hover { border-bottom-color: var(--accent-2); }

/* ---------- About ---------- */
.about {
    padding: clamp(80px, 12vw, 160px) var(--pad-x);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.about::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(70% 50% at 50% 0%, rgba(59,180,245,0.1), transparent 70%),
        radial-gradient(500px 320px at 50% 100%, rgba(34,211,238,0.06), transparent 65%);
}
.about-inner {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.about h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.02;
    margin-bottom: 32px;
    background: var(--gradient-brand-vert);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
[data-theme="light"] .about h2 {
    background: linear-gradient(180deg, #0a1018 0%, #2168d6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.about-text {
    font-size: clamp(16px, 1.4vw, 19px);
    color: var(--fg-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}
.about-text-muted {
    font-size: 14px;
    color: var(--fg-dim);
    letter-spacing: 0.02em;
}

/* ---------- Footer ---------- */
.footer {
    padding: 48px var(--pad-x);
    background: var(--bg-soft);
}
.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--fg-muted);
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}
.footer-links {
    display: flex;
    gap: 28px;
}
.footer-links a {
    color: var(--fg-muted);
    transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--fg); }

/* ---------- Legal pages (Datenschutz / Impressum) ---------- */
.legal {
    padding: 140px var(--pad-x) 80px;
    max-width: 820px;
    margin: 0 auto;
    min-height: 100vh;
}
.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--fg-dim);
    font-size: 14px;
    margin-bottom: 32px;
    transition: color 0.2s ease;
}
.legal-back svg { width: 16px; height: 16px; }
.legal-back:hover { color: var(--accent-2); }

.legal h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.02;
    margin-bottom: 40px;
    background: var(--gradient-brand-vert);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
[data-theme="light"] .legal h1 {
    background: linear-gradient(180deg, #0a1018 0%, #2168d6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--fg);
    margin: 40px 0 12px;
    letter-spacing: -0.01em;
}
.legal h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--fg);
    margin: 24px 0 8px;
}
.legal p,
.legal li {
    color: var(--fg-muted);
    line-height: 1.75;
    margin-bottom: 12px;
    font-size: 15px;
}
.legal ul { padding-left: 22px; margin-bottom: 16px; }
.legal a {
    color: var(--accent-2);
    text-decoration: none;
    border-bottom: 1px solid rgba(34,211,238,0.3);
    transition: border-color 0.2s ease, color 0.2s ease;
}
.legal a:hover {
    color: var(--accent-1);
    border-bottom-color: var(--accent-1);
}
.legal strong { color: var(--fg); font-weight: 600; }
.legal-notice {
    background: rgba(34,211,238,0.06);
    border: 1px solid rgba(34,211,238,0.18);
    border-radius: 12px;
    padding: 18px 22px;
    margin: 28px 0;
}
.legal-notice p {
    margin: 0;
    color: var(--accent-2);
    font-size: 14px;
}
.legal-meta {
    margin-top: 56px;
    color: var(--fg-dim);
    font-size: 13px;
}

.impressum-block {
    margin: 8px 0 24px;
}
.imp-img {
    display: block;
    max-width: 100%;
    height: auto;
}
.imp-firma {
    margin-bottom: 8px;
}
.imp-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--fg-muted);
    font-size: 15px;
}
.imp-row .imp-img { display: inline-block; }
.imp-inline { vertical-align: middle; }
.impressum-hint {
    margin-top: 14px;
    font-size: 13px;
    color: var(--fg-dim);
    font-style: italic;
}
[data-theme="light"] .imp-img {
    filter: invert(1) hue-rotate(180deg);
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
    .nav-links { gap: 12px; }
    .nav-links a:not(.nav-cta) { display: none; }
    .nav-cta { padding: 7px 14px; font-size: 13px; }

    /* Hero — kompakter, aber Layout-Stil erhalten */
    .hero { padding: 120px var(--pad-x) 60px; min-height: auto; }
    .hero-content { grid-template-columns: 1fr; }
    .hero-headline {
        font-size: clamp(36px, 11vw, 56px);
        letter-spacing: -0.045em;
    }
    .hero-sub { font-size: 15px; margin-bottom: 32px; }
    .hero-ctas { gap: 10px; margin-bottom: 48px; }
    .btn { padding: 11px 20px; font-size: 14px; }

    /* Stats — bleibt 3-spaltig wie bei Nate, aber kompakter */
    .hero-stats {
        gap: 0 16px;
        padding-top: 20px;
    }
    .stat-number { font-size: clamp(22px, 6vw, 32px); }
    .stat-label { font-size: 10px; }
    .stat { padding-right: 8px; }
    .stat + .stat { padding-left: 16px; }

    /* Produkt-Sektionen */
    .product { padding: 72px var(--pad-x); }
    .product-inner,
    .product-inner-reverse {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .product-inner-reverse .product-text { order: 1; }
    .product-inner-reverse .product-visual { order: 2; }
    .product-text h2 { font-size: clamp(32px, 9vw, 44px); }
    .product-tagline { font-size: 18px; }
    .phone-mockup { width: 240px; }

    /* Marquee + About + FAQ */
    .marquee-item { font-size: 18px; }
    .about { padding: 72px var(--pad-x); }
    .about h2 { font-size: clamp(32px, 9vw, 44px); }
    .faq { padding: 72px var(--pad-x); }
    .faq h2 { font-size: clamp(32px, 9vw, 44px); margin-bottom: 40px; }
    .faq-grid { grid-template-columns: 1fr; gap: 24px; }
    .feature-list { gap: 12px; }
    .feature-list li strong { font-size: 14.5px; }
    .feature-list li span { font-size: 13.5px; }

    /* Footer */
    .footer-inner { flex-direction: column; text-align: center; gap: 16px; }
    .footer-links { gap: 18px; }
}

@media (max-width: 420px) {
    .hero-headline { font-size: clamp(32px, 10vw, 44px); }
    .hero-stats { gap: 0 10px; }
    .stat + .stat { padding-left: 12px; }
    .stat { padding-right: 4px; }
}

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

/* ─────────────────────────────────────────────
   PHILOSOPHIE, TECH-STACK, ROADMAP
   ───────────────────────────────────────────── */
.philosophy, .techstack, .roadmap {
    padding: 100px var(--pad-x);
}
.philosophy-inner, .techstack-inner, .roadmap-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    text-align: center;
}
.philosophy h2, .techstack h2, .roadmap h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 16px 0 20px;
}
.philosophy-lead, .techstack-lead, .roadmap-lead {
    color: var(--fg-muted);
    font-size: 17px;
    max-width: 640px;
    margin: 0 auto 64px;
    line-height: 1.6;
}

/* Philosophie */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
}
.philosophy-card {
    padding: 36px 28px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--bg-soft);
    position: relative;
    transition: all 0.25s;
}
.philosophy-card:hover {
    border-color: var(--border-strong);
    background: var(--bg-elev);
    transform: translateY(-3px);
}
.philosophy-num {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}
.philosophy-card h3 {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    margin: 0 0 14px;
    color: var(--fg);
    line-height: 1.3;
}
.philosophy-card p {
    color: var(--fg-muted);
    font-size: 14.5px;
    line-height: 1.65;
    margin: 0;
}

/* Tech-Stack */
.techstack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    text-align: left;
}
.tech-card {
    padding: 24px 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-soft);
    transition: all 0.2s;
}
.tech-card:hover {
    border-color: rgba(34,211,238,0.4);
    background: var(--bg-elev);
}
.tech-emoji {
    font-size: 28px;
    margin-bottom: 14px;
    display: block;
}
.tech-name {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--fg);
    font-size: 15px;
    margin-bottom: 6px;
}
.tech-desc {
    color: var(--fg-muted);
    font-size: 13px;
    line-height: 1.55;
}

/* Roadmap */
.roadmap-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    max-width: 880px;
    margin: 0 auto;
}
.roadmap-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 32px;
    padding: 28px 32px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--bg-soft);
    transition: all 0.2s;
}
.roadmap-item:hover {
    border-color: var(--border-strong);
    background: var(--bg-elev);
}
.roadmap-time {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.roadmap-quarter {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--fg);
}
.roadmap-status {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 4px 10px;
    border-radius: 100px;
    width: fit-content;
    border: 1px solid var(--border);
    color: var(--fg-dim);
}
.roadmap-item.roadmap-done .roadmap-status {
    color: #34d399;
    border-color: rgba(52,211,153,0.35);
    background: rgba(52,211,153,0.08);
}
.roadmap-item.roadmap-current .roadmap-status {
    color: var(--accent-2);
    border-color: rgba(34,211,238,0.4);
    background: rgba(34,211,238,0.08);
    box-shadow: 0 0 24px -8px rgba(34,211,238,0.5);
}
.roadmap-content h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--fg);
}
.roadmap-content p {
    color: var(--fg-muted);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 920px) {
    .philosophy-grid { grid-template-columns: 1fr; gap: 16px; }
    .techstack-grid { grid-template-columns: repeat(2, 1fr); }
    .roadmap-item { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
}
@media (max-width: 540px) {
    .techstack-grid { grid-template-columns: 1fr; }
    .philosophy, .techstack, .roadmap { padding: 70px var(--pad-x); }
    .philosophy-lead, .techstack-lead, .roadmap-lead { margin-bottom: 40px; }
}

/* DimLab-Logo im Header (ersetzt den früheren nav-logo-dot) */
.nav-logo-img {
    height: 28px;
    width: auto;
    display: block;
}

/* Offizielles App-Store-Badge (2026-07-10) */
.store-badge-link{display:inline-flex;align-items:center;}
.store-badge{height:54px;width:auto;display:block;}
.store-badge-link:hover .store-badge{opacity:.85;}

/* ============================================================
   Apps-Bühne (Startseite) — 4 App-Karten
   ============================================================ */
.apps {
    padding: 110px var(--pad-x);
}
.apps-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}
.apps-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin: 14px 0 12px;
}
.apps-lead {
    color: var(--fg-muted);
    max-width: 560px;
    margin-bottom: 48px;
}
.app-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.app-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--bg-soft);
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.app-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34,211,238,0.45);
    box-shadow: var(--shadow-glow);
}
.app-card-media {
    background: var(--bg-elev);
    border-right: 1px solid var(--border);
    overflow: hidden;
}
.app-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    min-height: 240px;
}
.app-card-body {
    padding: 26px 26px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.app-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
}
.app-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}
.app-card-head h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.app-card-body p {
    color: var(--fg-muted);
    font-size: 15px;
    line-height: 1.55;
}
.app-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}
.app-card-tag {
    font-size: 12px;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    color: var(--fg-dim);
}
.app-card-link {
    color: var(--accent-1);
    font-weight: 600;
    font-size: 14px;
}
.app-card:hover .app-card-link {
    color: var(--accent-2);
}

/* Hero: Hinweis auf echtes App-Video */
.hero-video-note {
    position: absolute;
    right: var(--pad-x);
    bottom: 22px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: 0.02em;
    color: var(--fg-dim);
    max-width: 380px;
    text-align: right;
}
.hero-video-note .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-2);
    box-shadow: 0 0 8px rgba(34,211,238,0.7);
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .app-cards { grid-template-columns: 1fr; }
    .app-card { grid-template-columns: 160px 1fr; }
}
@media (max-width: 620px) {
    .app-card { grid-template-columns: 1fr; }
    .app-card-media { border-right: none; border-bottom: 1px solid var(--border); }
    .app-card-media img { max-height: 220px; min-height: 0; object-position: center 12%; }
    .apps { padding: 80px var(--pad-x); }
    /* Hero auf Mobil: Overlay verstärken, damit Text über dem Video lesbar bleibt */
    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(7,9,13,0.72) 0%, rgba(7,9,13,0.55) 55%, rgba(7,9,13,0.95) 100%);
    }
    [data-theme="light"] .hero-overlay {
        background:
            linear-gradient(180deg, rgba(246,248,251,0.8) 0%, rgba(246,248,251,0.6) 55%, rgba(246,248,251,0.96) 100%);
    }
    .hero { flex-wrap: wrap; }
    .hero-video-note { position: static; flex-basis: 100%; margin-top: 26px; text-align: left; max-width: none; }
}

/* ============================================================
   Eigene Liniensymbole (di-ic) — ersetzen alle Emojis
   ============================================================ */
.di-ic {
    width: 26px;
    height: 26px;
    color: var(--accent-1);
    flex-shrink: 0;
}
.vt-card-icon .di-ic { width: 22px; height: 22px; }
.ru-card-icon .di-ic { width: 22px; height: 22px; color: #E0A33C; }
.gate-circle .di-ic { width: 26px; height: 26px; }
.gate-coach .gate-circle .di-ic { color: #fbbf24; }
.gate-bereit .gate-circle .di-ic { color: #34d399; }
.di-ic-inline {
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    vertical-align: -0.18em;
}

/* Mobile-Burger-Menü */
.nav-burger {
    display: none;
    background: none;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    width: 40px;
    height: 40px;
    color: var(--fg);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 12px;
}
.nav-burger svg { width: 22px; height: 22px; }
@media (max-width: 760px) {
    .nav-burger { display: inline-flex; }
    .nav.nav-open .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        background: var(--bg-elev);
        border-bottom: 1px solid var(--border-strong);
        padding: 14px var(--pad-x) 18px;
        box-shadow: 0 24px 48px -12px rgba(0,0,0,0.6);
    }
    .nav.nav-open .nav-links a:not(.nav-cta) {
        display: block;
        width: 100%;
        padding: 11px 0;
        font-size: 16px;
    }
    .nav.nav-open .nav-links .nav-cta { margin-top: 10px; }
}

/* Voraussetzungen-Zeile unter den Store-Buttons */
.app-req {
    margin-top: 14px;
    font-size: 13px;
    color: var(--fg-dim);
    text-align: center;
}
