:root {
    --bg-dark: #000000;
    --bg-card: rgba(15, 15, 17, 0.4);
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --accent: #818cf8; /* Soft Indigo */
    --accent-glow: rgba(129, 140, 248, 0.4);
    --accent-secondary: #c084fc; /* Soft Purple */
    
    /* Glassmorphism 2.0 Tokens */
    --glass-blur: blur(24px);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 12px 40px -10px rgba(0, 0, 0, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Systemschrift statt Google-Fonts-Einbindung: DSGVO-sauber (keine IP an Google),
       schneller und auf Apple-Geräten automatisch SF Pro = Premium-Anmutung. */
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Barrierefreiheit: Inhalte visuell verstecken, aber für Screenreader/Bots-Falle im DOM behalten */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}

/* Sichtbarer Tastatur-Fokus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* Typography refinement */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Premium Noise Texture Overlay */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Parallax Background Glow Effects */
.background-glow {
    position: absolute;
    width: clamp(500px, 50vw, 800px);
    height: clamp(500px, 50vw, 800px);
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.35;
    pointer-events: none;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.glow-1 {
    top: -20vh;
    left: -10vw;
    background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
}

.glow-2 {
    bottom: 0;
    right: -10vw;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 60%);
}

/* Dritter Glow: driftet langsam von selbst – Leben im Hintergrund auch ohne Mausbewegung */
.glow-3 {
    top: 45%;
    left: 30%;
    opacity: 0.18;
    background: radial-gradient(circle, #60a5fa 0%, transparent 60%);
    animation: glowDrift 26s ease-in-out infinite alternate;
}

@keyframes glowDrift {
    from { transform: translate(-8vw, -4vh) scale(0.9); }
    to { transform: translate(8vw, 6vh) scale(1.15); }
}

/* Textauswahl in Markenfarbe */
::selection {
    background: rgba(129, 140, 248, 0.4);
    color: #fff;
}

/* Glassmorphism 2.0 Utility */
.glass {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    border-radius: clamp(16px, 2vw, 32px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 24px;
    /* Zentrierung über left/right + margin, damit die fadeInDown-Animation
       (transform: translateY) das Zentrieren nicht überschreibt */
    left: 24px;
    right: 24px;
    margin: 0 auto;
    width: auto;
    max-width: 1200px;
    z-index: 100;
    border-radius: 100px;
    padding: 12px 24px;
    box-shadow: 0 4px 24px -4px rgba(0,0,0,0.5), inset 0 1px 0 0 rgba(255,255,255,0.1);
}

.navbar {
    transition: padding 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s, box-shadow 0.35s;
}

.navbar.scrolled {
    padding: 8px 20px;
    background: rgba(8, 8, 10, 0.75);
    box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.7), inset 0 1px 0 0 rgba(255, 255, 255, 0.08);
}

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

.brand {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #ffffff, #c7d2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.1rem;
}

.btn-nav {
    background: rgba(255,255,255,0.08);
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px 20px;
}

.btn-nav:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: #fff;
    box-shadow: 0 8px 30px var(--accent-glow), inset 0 1px 0 0 rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(to bottom right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(45deg) translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    box-shadow: 0 12px 40px rgba(129, 140, 248, 0.6), inset 0 1px 0 0 rgba(255,255,255,0.3);
    transform: translateY(-2px) scale(1.02);
}

.btn-primary:hover::after {
    transform: rotate(45deg) translateY(100%);
}

.btn:active {
    transform: scale(0.97);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(120px, 15vh, 180px) 24px clamp(60px, 10vh, 100px);
}

.hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: clamp(32px, 5vw, 80px);
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.hero-content {
    max-width: 640px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-content .subtitle {
    margin-left: 0;
    margin-right: 0;
}

.hero-content .trust-strip {
    justify-content: flex-start;
}

/* Stilisiertes iPhone-Mockup */
.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 3D-Tilt-Wrapper: Maus-Tilt liegt hier, die Schwebe-Animation auf dem Mockup selbst */
.phone-tilt {
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.phone-glow {
    position: absolute;
    inset: -10% -20%;
    background: radial-gradient(ellipse at center, rgba(129, 140, 248, 0.22) 0%, transparent 65%);
    filter: blur(40px);
    pointer-events: none;
}

.phone-mockup {
    position: relative;
    width: min(300px, 78vw);
    aspect-ratio: 9 / 19;
    border-radius: 44px;
    padding: 10px;
    background: linear-gradient(160deg, #2a2a30, #0c0c0f 40%, #1c1c22);
    box-shadow:
        0 40px 80px -20px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    animation: phoneFloat 7s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0) rotate(0.0deg); }
    50% { transform: translateY(-12px) rotate(-0.6deg); }
}

/* Sheen: alle paar Sekunden läuft ein Lichtreflex über das Glas */
.phone-mockup::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 44px;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.07) 45%, rgba(255, 255, 255, 0.13) 50%, rgba(255, 255, 255, 0.07) 55%, transparent 70%);
    background-size: 300% 100%;
    background-position: 110% 0;
    animation: phoneSheen 7s ease-in-out infinite;
    pointer-events: none;
    z-index: 4;
}

@keyframes phoneSheen {
    0%, 55% { background-position: 110% 0; }
    75%, 100% { background-position: -110% 0; }
}

.phone-notch {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 34%;
    height: 22px;
    border-radius: 100px;
    background: #000;
    z-index: 3;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 36px;
    overflow: hidden;
    background:
        radial-gradient(120% 60% at 80% -10%, rgba(129, 140, 248, 0.18) 0%, transparent 60%),
        #0a0a0d;
    display: flex;
    flex-direction: column;
    padding: 14px 14px 10px;
    position: relative;
}

.phone-statusbar {
    display: flex;
    justify-content: space-between;
    font-size: 0.62rem;
    color: #d4d4d8;
    padding: 4px 10px 10px;
    font-weight: 600;
}

.phone-status-icons { letter-spacing: 2px; opacity: 0.7; font-size: 0.45rem; }

.phone-header { padding: 2px 6px 10px; }

.phone-greeting {
    font-size: 0.62rem;
    color: #71717a;
    margin-bottom: 2px;
}

.phone-header h4 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.phone-ring-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    padding: 10px;
    margin-bottom: 10px;
}

.phone-ring { width: 82px; height: 82px; flex-shrink: 0; }

/* Tagesziel-Ring zeichnet sich beim Laden */
.phone-ring-progress {
    animation: ringDraw 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
}

@keyframes ringDraw {
    from { stroke-dashoffset: 314; }
    to { stroke-dashoffset: 100; }
}

.phone-ring-value {
    fill: #fff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.phone-ring-label {
    fill: #71717a;
    font-size: 11px;
}

.phone-ring-meta p {
    font-size: 0.68rem;
    color: #a1a1aa;
    line-height: 1.5;
}

.phone-ring-meta strong { color: #fff; font-weight: 600; }

.phone-ring-days {
    color: #a5b4fc !important;
    font-size: 0.62rem !important;
    margin-top: 3px;
}

.phone-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 10px 12px;
    margin-bottom: 8px;
}

.phone-card-dim { opacity: 0.65; }

.phone-card-icon { font-size: 1rem; }

.phone-card-title {
    font-size: 0.72rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.phone-card-sub {
    font-size: 0.6rem;
    color: #71717a;
    line-height: 1.4;
}

.phone-card > div { flex: 1; min-width: 0; }

.phone-chip {
    font-size: 0.58rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    padding: 4px 10px;
    border-radius: 100px;
    box-shadow: 0 4px 12px var(--accent-glow);
}

.phone-week-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 10px 12px 8px;
    margin-bottom: 8px;
}

.phone-week-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 44px;
    margin-top: 8px;
}

.phone-week-bars span {
    flex: 1;
    border-radius: 4px 4px 2px 2px;
    background: rgba(129, 140, 248, 0.35);
    transform-origin: bottom;
    animation: barGrow 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.phone-week-bars span:nth-child(1) { animation-delay: 1.1s; }
.phone-week-bars span:nth-child(2) { animation-delay: 1.2s; }
.phone-week-bars span:nth-child(3) { animation-delay: 1.3s; }
.phone-week-bars span:nth-child(4) { animation-delay: 1.4s; }
.phone-week-bars span:nth-child(5) { animation-delay: 1.5s; }
.phone-week-bars span:nth-child(6) { animation-delay: 1.6s; }
.phone-week-bars span:nth-child(7) { animation-delay: 1.7s; }

@keyframes barGrow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.phone-week-bars .today {
    background: linear-gradient(180deg, var(--accent), var(--accent-secondary));
    box-shadow: 0 0 10px var(--accent-glow);
}

.phone-week-bars .future {
    background: rgba(255, 255, 255, 0.07);
}

.phone-week-labels {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

.phone-week-labels span {
    flex: 1;
    text-align: center;
    font-size: 0.5rem;
    color: #52525b;
}

.phone-tabbar {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    padding: 10px 8px 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.52rem;
    color: #52525b;
    font-weight: 500;
}

.phone-tabbar .active { color: #a5b4fc; }

.mockup-note {
    margin-top: 20px;
    font-size: 0.72rem;
    color: #52525b;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #c7d2fe;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: clamp(24px, 4vh, 32px);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Fluid Typography */
.hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: clamp(24px, 4vh, 32px);
    background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Headline: Wort für Wort aus der Unschärfe (Apple-like).
   Der Text-Gradient liegt auf jedem Wort selbst, weil filter/transform auf Kind-Elementen
   das background-clip:text des Eltern-h1 brechen würde (Wörter wären unsichtbar). */
.hero-headline .w {
    display: inline-block;
    background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(26px);
    filter: blur(10px);
    animation: wordIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(0.25s + var(--wi, 0) * 0.12s);
}

@keyframes wordIn {
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto clamp(40px, 6vh, 56px);
    line-height: 1.6;
    letter-spacing: -0.01em;
}

/* Waitlist Form */
.form-container {
    width: 100%;
    max-width: 480px;
}

.waitlist-form {
    display: flex;
    padding: 6px;
    border-radius: 100px;
    margin-bottom: 16px;
    transition: border-color 0.3s;
}

.waitlist-form:focus-within {
    border-color: rgba(129, 140, 248, 0.5);
    box-shadow: 0 0 0 2px rgba(129, 140, 248, 0.2), inset 0 1px 0 0 rgba(255,255,255,0.1);
}

.waitlist-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0 24px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    width: 100%;
}

.waitlist-form input::placeholder {
    color: #71717a;
}

.microcopy {
    font-size: 0.85rem;
    color: #71717a;
    line-height: 1.5;
}

.microcopy-fine {
    opacity: 0.7;
    font-size: 0.75rem;
}

.microcopy a {
    color: #a5b4fc;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.highlight-text {
    color: #d4d4d8;
    font-weight: 500;
}

/* Formular-Statusmeldung (aria-live) */
.form-status {
    min-height: 1.4em;
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

.form-status.is-success { color: #34d399; }
.form-status.is-error { color: #f87171; }

.btn.is-success {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}

.btn.is-error {
    background: #EF4444;
}

/* Trust-Strip unter dem Hero-Formular */
.trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 28px;
    list-style: none;
    margin-top: clamp(32px, 5vh, 48px);
    padding: 0;
}

.trust-strip li {
    color: #a1a1aa;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-strip li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    box-shadow: 0 0 8px var(--accent-glow);
    flex-shrink: 0;
}

/* Stats-Band: ehrliche Kennzahlen */
.stats-band {
    max-width: 1000px;
    margin: 0 auto;
    padding: clamp(24px, 4vh, 48px) 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: clamp(28px, 4vh, 44px) 0;
}

.stat { text-align: center; }

.stat-value {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 30%, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.85rem;
    color: #71717a;
    line-height: 1.4;
}

/* Untertest-Laufband (dekorativ) */
.marquee {
    overflow: hidden;
    padding: clamp(20px, 3vh, 36px) 0;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: marqueeScroll 38s linear infinite;
}

.marquee-track span {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #52525b;
    white-space: nowrap;
}

.marquee-track i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    opacity: 0.6;
    flex-shrink: 0;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Section-Kicker (Eyebrow) */
.section-kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #a5b4fc;
    margin-bottom: 16px;
}

/* Features Section (Bento Grid) */
.features {
    padding: clamp(80px, 15vh, 160px) 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto clamp(60px, 10vh, 100px);
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-muted);
    font-size: clamp(1.1rem, 2vw, 1.25rem);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(300px, auto);
    gap: 24px;
}

.bento-card {
    position: relative;
    padding: clamp(32px, 4vw, 48px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: border-color 0.4s ease;
    transform-style: preserve-3d;
    cursor: default;
}

.bento-card .card-content {
    position: relative;
    z-index: 2;
    transform: translateZ(20px); /* 3D pop effect */
}

/* Dynamic Glow managed by JS */
.card-glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
    transition: background 0.1s ease;
}

/* Layout Assignments */
#bento-kff { grid-column: span 7; }
#bento-bms { grid-column: span 5; }
#bento-coach { grid-column: span 5; }
#bento-privacy { grid-column: span 7; }

/* Eigene SVG-Icon-Kacheln (statt Emojis) */
.icon-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    margin-bottom: 24px;
    color: #a5b4fc;
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.16), rgba(192, 132, 252, 0.07));
    border: 1px solid rgba(129, 140, 248, 0.28);
    box-shadow: 0 10px 28px -10px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.icon-tile svg {
    width: 27px;
    height: 27px;
    filter: drop-shadow(0 2px 6px rgba(129, 140, 248, 0.45));
}

/* Icon-Kachel reagiert auf Karten-Hover */
.icon-tile {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}

.bento-card:hover .icon-tile,
.step-card:hover .icon-tile {
    transform: translateY(-4px) scale(1.07) rotate(-3deg);
    box-shadow: 0 16px 36px -10px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.bento-card h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    font-weight: 600;
}

.bento-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Feature-Karten: Status-Tag (z. B. "in Entwicklung") */
.card-tag {
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #c7d2fe;
    background: rgba(129, 140, 248, 0.12);
    border: 1px solid rgba(129, 140, 248, 0.3);
}

/* Interaktive Demo-Aufgabe */
.demo {
    padding: clamp(80px, 15vh, 160px) 24px 0;
    max-width: 720px;
    margin: 0 auto;
}

.demo-card {
    padding: clamp(32px, 5vw, 56px);
    text-align: center;
}

.demo-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #71717a;
    margin-bottom: 20px;
}

.demo-question {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.demo-sequence {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.demo-sequence span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 52px;
    padding: 0 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

/* Folge-Chips poppen gestaffelt ein, sobald die Karte sichtbar wird */
.demo-card.animate-on-scroll .demo-sequence span {
    opacity: 0;
    transform: scale(0.7) translateY(8px);
}

.demo-card.animate-on-scroll.visible .demo-sequence span {
    animation: chipPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.demo-card.visible .demo-sequence span:nth-child(1) { animation-delay: 0.15s; }
.demo-card.visible .demo-sequence span:nth-child(2) { animation-delay: 0.27s; }
.demo-card.visible .demo-sequence span:nth-child(3) { animation-delay: 0.39s; }
.demo-card.visible .demo-sequence span:nth-child(4) { animation-delay: 0.51s; }
.demo-card.visible .demo-sequence span:nth-child(5) { animation-delay: 0.63s; }
.demo-card.visible .demo-sequence span:nth-child(6) { animation-delay: 0.85s; }

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

.demo-sequence .demo-blank {
    background: rgba(129, 140, 248, 0.12);
    border: 1px dashed rgba(129, 140, 248, 0.6);
    color: #a5b4fc;
}

.demo-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.demo-option {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-variant-numeric: tabular-nums;
}

.demo-option:hover:not(:disabled) {
    background: rgba(129, 140, 248, 0.15);
    border-color: rgba(129, 140, 248, 0.5);
    transform: translateY(-2px);
}

.demo-option:disabled { cursor: default; opacity: 0.55; }

.demo-option-key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.7rem;
    color: #a1a1aa;
}

.demo-option.correct {
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(16, 185, 129, 0.6);
    opacity: 1;
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.25);
}

.demo-option.incorrect {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.5);
    opacity: 1;
}

.demo-feedback {
    min-height: 1.4em;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.demo-feedback.is-success { color: #34d399; }
.demo-feedback.is-error { color: #f87171; }

.demo-explain {
    margin-top: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.demo-explain p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 14px;
}

.demo-explain strong { color: #fff; }

.demo-cta-line { font-size: 0.95rem; }

.demo-explain .btn { margin-top: 8px; }

/* Vergleichssektion */
.compare {
    padding: clamp(80px, 15vh, 160px) 24px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.compare-card {
    padding: clamp(32px, 4vw, 48px);
}

.compare-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.compare-highlight {
    border-color: rgba(129, 140, 248, 0.35);
    box-shadow: var(--glass-shadow), var(--glass-highlight), 0 0 60px -20px var(--accent-glow);
}

.compare-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.compare-list li {
    position: relative;
    padding-left: 32px;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.98rem;
}

.compare-list li::before {
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
}

.compare-con li::before { content: '✕'; color: #71717a; }
.compare-pro li::before { content: '✓'; color: #34d399; }

/* Roadmap */
.roadmap {
    padding: clamp(80px, 15vh, 160px) 24px 0;
    max-width: 1100px;
    margin: 0 auto;
}

.roadmap-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
    position: relative;
}

.roadmap-track::before {
    content: '';
    position: absolute;
    top: 7px;
    left: 4%;
    right: 4%;
    height: 2px;
    background: linear-gradient(to right, rgba(129, 140, 248, 0.6) 0%, rgba(129, 140, 248, 0.6) 45%, rgba(255, 255, 255, 0.08) 60%);
}

.roadmap-item { position: relative; padding-top: 32px; }

.roadmap-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #18181b;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.roadmap-item.done .roadmap-dot {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    border-color: transparent;
    box-shadow: 0 0 12px var(--accent-glow);
}

.roadmap-item.current .roadmap-dot {
    background: #0a0a0d;
    border-color: var(--accent);
    animation: dotPulse 2.4s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.18), 0 0 16px var(--accent-glow); }
    50% { box-shadow: 0 0 0 8px rgba(129, 140, 248, 0.08), 0 0 24px var(--accent-glow); }
}

.roadmap-item h3 {
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.roadmap-item.current h3 { color: #a5b4fc; }

.roadmap-item p {
    font-size: 0.85rem;
    color: #71717a;
    line-height: 1.55;
}

/* Zweites Formular im Banner */
.banner-form-container {
    max-width: 480px;
    margin: 0 auto;
}

.banner-form-container .waitlist-form {
    background: rgba(0, 0, 0, 0.35);
}

/* Ablauf-Sektion (3 Schritte) */
.how-it-works {
    padding: clamp(40px, 8vh, 80px) 24px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* Founding-50-Programm */
.founding {
    padding: clamp(80px, 15vh, 160px) 24px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.founding-grid { list-style: none; }

.founding-note {
    text-align: center;
    color: #71717a;
    font-size: 0.92rem;
    margin-top: 32px;
    line-height: 1.6;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    list-style: none;
    padding: 0;
    counter-reset: step;
}

.step-card {
    padding: clamp(32px, 4vw, 48px);
    text-align: left;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    box-shadow: 0 8px 24px var(--accent-glow);
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    font-weight: 600;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* FAQ-Sektion */
.faq {
    padding: 0 24px clamp(80px, 15vh, 160px);
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border-radius: 20px;
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 22px 56px 22px 28px;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    position: relative;
    transition: color 0.2s;
}

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

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
    padding: 0 28px 24px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.98rem;
}

.faq-item a {
    color: #a5b4fc;
}

/* Exclusive Banner */
.exclusive-banner {
    padding: clamp(60px, 10vh, 120px) 24px;
    max-width: 1000px;
    margin: 0 auto clamp(80px, 15vh, 160px);
    text-align: center;
}

.banner-content {
    padding: clamp(48px, 8vw, 80px) clamp(24px, 4vw, 40px);
    position: relative;
    overflow: hidden;
}

.banner-glow {
    position: absolute;
    top: -50%; left: 50%;
    transform: translateX(-50%);
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at top, rgba(129, 140, 248, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.banner-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.banner-content p {
    color: var(--text-muted);
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 40px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 32px;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-disclaimer {
    color: #52525b;
    font-size: 0.8rem;
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto 20px;
    text-align: center;
}

.copyright {
    color: #52525b;
    font-size: 0.9rem;
    text-align: center;
}

/* CSS Animations Base State */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    /* Apple-like: leichtes Blur beim Einblenden */
    filter: blur(0);
    animation-name: fadeInUpBlur;
}

@keyframes fadeInUpBlur {
    from { opacity: 0; transform: translateY(30px); filter: blur(10px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.animate-fade-in-down {
    animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered loading for grid items */
.stagger-1.visible { transition-delay: 0.0s; }
.stagger-2.visible { transition-delay: 0.1s; }
.stagger-3.visible { transition-delay: 0.2s; }
.stagger-4.visible { transition-delay: 0.3s; }

/* Reduced Motion: Animationen respektvoll deaktivieren */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .animate-fade-in-up,
    .animate-fade-in-down {
        animation: none;
        opacity: 1;
        filter: none;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .background-glow,
    .bento-card,
    .btn,
    .demo-option,
    .phone-tilt,
    .navbar {
        transition: none;
    }

    .phone-mockup,
    .phone-mockup::after,
    .phone-ring-progress,
    .phone-week-bars span,
    .roadmap-item.current .roadmap-dot,
    .marquee-track,
    .glow-3 {
        animation: none;
    }

    .hero-headline .w {
        animation: none;
        opacity: 1;
        transform: none;
        filter: none;
    }

    .icon-tile {
        transition: none;
    }

    .phone-ring-progress {
        stroke-dashoffset: 100;
    }

    .demo-card.animate-on-scroll .demo-sequence span {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .hero-content {
        max-width: 640px;
        margin: 0 auto;
        align-items: center;
        text-align: center;
    }

    .hero-content .trust-strip {
        justify-content: center;
    }

    .roadmap-track {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .roadmap-track::before {
        top: 4%;
        bottom: 4%;
        left: 7px;
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(to bottom, rgba(129, 140, 248, 0.6) 0%, rgba(129, 140, 248, 0.6) 45%, rgba(255, 255, 255, 0.08) 60%);
    }

    .roadmap-item {
        padding: 0 0 32px 36px;
    }

    .roadmap-item:last-child { padding-bottom: 0; }
}

@media (max-width: 900px) {
    .bento-grid {
        display: flex;
        flex-direction: column;
    }

    .bento-card {
        padding: 40px 32px;
        min-height: auto;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .compare-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 16px;
    }
}

@media (max-width: 600px) {
    .waitlist-form {
        flex-direction: column;
        border-radius: 24px;
        background: transparent;
        padding: 0;
        gap: 12px;
        border: none;
        box-shadow: none;
    }
    
    .waitlist-form input {
        background: var(--bg-card);
        border: 1px solid var(--glass-border);
        border-radius: 100px;
        text-align: center;
        padding: 16px;
    }
    
    .waitlist-form .btn {
        width: 100%;
    }

    /* Mobil: Textlinks ausblenden, aber den Early-Access-CTA behalten */
    .nav-links a:not(.btn-nav) { display: none; }

    .navbar {
        left: 14px;
        right: 14px;
        padding: 8px 10px 8px 18px;
    }

    .navbar .brand { font-size: 1.05rem; }

    .nav-links { gap: 0; }

    .btn-nav {
        padding: 8px 14px;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
    }
    .footer-links a { margin: 0 16px; }
}

/* DOI-Bestätigungsbanner (erscheint nach Klick auf den Bestätigungslink der E-Mail) */
.doi-banner {
    position: fixed;
    top: 96px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: min(560px, calc(100vw - 32px));
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid rgba(134, 239, 172, 0.35);
    background: rgba(10, 24, 16, 0.92);
    color: #d1fae5;
    font-size: 0.95rem;
    line-height: 1.5;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.doi-banner strong { color: #86efac; }
.doi-banner-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(134, 239, 172, 0.18);
    color: #86efac;
    font-weight: 700;
}
.doi-banner-close {
    flex-shrink: 0;
    margin-left: 4px;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    padding: 2px 6px;
}
.doi-banner-close:hover { color: #fff; }
@media (prefers-reduced-motion: no-preference) {
    .doi-banner { animation: doiBannerIn 0.4s ease-out; }
    @keyframes doiBannerIn {
        from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
        to { opacity: 1; transform: translateX(-50%) translateY(0); }
    }
}

/* Mobile-Fixes 2026-07-08: kein Horizontal-Scroll (iOS-sicher), Anker nicht von der Navbar verdeckt */
html, body { overflow-x: clip; max-width: 100%; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 110px; }
@media (max-width: 640px) {
    .waitlist-form { flex-direction: column; align-items: stretch; }
    .waitlist-form .btn { width: 100%; }
    .hero-visual, .marquee { max-width: 100%; overflow: clip; }
}
