/* Design-Tokens */
:root {
    --bg: #0b0c0e;
    --bg-soft: #0f1114;
    --text: #e7e8ea;
    --muted: #a7abb3;
    --surface: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.12);
    --accent: #8cd3ff; /* sanftes Eisblau */
    --accent-2: #c3a8ff; /* violetter Schimmer */
    --radius: 14px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --blur: saturate(160%) blur(12px);
    --spacing: clamp(16px, 2vw, 28px);
    --container: min(1120px, 92vw);
    --h1: clamp(40px, 6vw, 72px);
    --h2: clamp(28px, 4vw, 44px);
    --h3: clamp(18px, 2.4vw, 22px);
    --lead: clamp(16px, 2.2vw, 20px);
}

/* Light Mode automatisch */
@media (prefers-color-scheme: light) {
    :root {
        --bg: #ffffff;
        --bg-soft: #f7f8fb;
        --text: #0b0c0e;
        --muted: #4b4f58;
        --surface: rgba(10, 12, 14, 0.06);
        --border: rgba(10, 12, 14, 0.12);
        --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }
}

/* Basis */
* {
    box-sizing: border-box;
}

html, body {
    padding: 0;
    margin: 0;
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: radial-gradient(1200px 600px at 80% -10%, rgba(140, 211, 255, 0.18), transparent 50%),
    radial-gradient(900px 500px at 0% 10%, rgba(195, 168, 255, 0.16), transparent 40%),
    var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

h1, h2, h3 {
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}

h1 {
    font-size: var(--h1);
    font-weight: 700;
}

h2 {
    font-size: var(--h2);
    font-weight: 700;
}

h3 {
    font-size: var(--h3);
    font-weight: 600;
}

p {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: var(--lead);
}

a {
    color: inherit;
    text-decoration: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #0b0c0e;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform .15s ease, box-shadow .2s ease, background .3s ease;
    box-shadow: 0 6px 18px rgba(140, 211, 255, .25), 0 2px 10px rgba(195, 168, 255, .15);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: none;
}

.btn--full {
    width: 100%;
}

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

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: var(--blur);
    background: color-mix(in oklab, var(--bg-soft) 65%, transparent);
    border-bottom: 1px solid var(--border);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.brand {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nav__links {
    display: flex;
    gap: 14px;
    align-items: center;
}

.nav a {
    font-weight: 500;
    color: var(--text);
}

.nav .btn {
    margin-left: 6px;
}

/* Mobile Menü (checkbox hack) */
#menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: .2s;
}

@media (max-width: 860px) {
    .hamburger {
        display: block;
    }

    .nav__links {
        position: absolute;
        inset: 68px 0 auto 0;
        display: grid;
        gap: 8px;
        padding: 16px;
        background: color-mix(in oklab, var(--bg) 90%, transparent);
        border-bottom: 1px solid var(--border);
        transform: translateY(-16px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease, transform .2s ease;
    }

    #menu-toggle:checked ~ .nav__links {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
}

/* Hero */
.hero {
    padding: calc(var(--spacing) * 4) 0 calc(var(--spacing) * 3);
}

.hero__badge {
    display: inline-block;
    padding: 6px 10px;
    font-size: .85rem;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    backdrop-filter: var(--blur);
    margin-bottom: 14px;
}

.hero .lead {
    max-width: 60ch;
}

.cta {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Mock Devices */
.devices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 42px;
}

.device {
    border-radius: calc(var(--radius) + 8px);
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(0);
    transition: transform .25s ease, box-shadow .25s ease;
    backdrop-filter: var(--blur);
}

.device:hover {
    transform: translateY(-4px);
}

.device__screen {
    border-radius: var(--radius);
    height: 255px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device--center .device__screen {
    height: 260px;
}

.gradient {
    background: radial-gradient(600px 300px at 80% 10%, rgba(140, 211, 255, .35), transparent 40%),
    radial-gradient(600px 300px at 10% 90%, rgba(195, 168, 255, .35), transparent 45%);
}

.chip {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 10px;
    font-size: .8rem;
    color: var(--text);
    background: rgba(0, 0, 0, .25);
    border: 1px solid var(--border);
    border-radius: 999px;
    backdrop-filter: var(--blur);
    white-space: normal;
    height: auto;
    max-width: calc(100% - 28px);
}

.chip--light {
    background: rgba(255, 255, 255, .25);
    color: #0b0c0e;
}

/* Sectionen */
.section {
    padding: calc(var(--spacing) * 3) 0;
}

.section--alt {
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .06));
}

.sub {
    color: var(--muted);
    margin-bottom: 22px;
}

/* Feature Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

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

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

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    transition: transform .2s ease, border-color .2s ease;
}

.card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in oklab, var(--accent) 45%, var(--border));
}

.icon {
    width: 28px;
    height: 28px;
    color: var(--accent-2);
    margin-bottom: 8px;
}

/* Showcase Shots */
.showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 960px) {
    .showcase {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .showcase {
        grid-template-columns: 1fr;
    }
}

.shot {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.shot__bar {
    height: 38px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
}

.shot__canvas {
    height: 200px;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: .02em;
}

/* Pricing */
.plans {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
}

@media (max-width: 900px) {
    .plans {
        grid-template-columns: 1fr;
    }
}

.plan {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: var(--shadow);
}

.plan--highlight {
    position: relative;
    outline: 1px solid color-mix(in oklab, var(--accent) 55%, var(--border));
    background: radial-gradient(800px 200px at 10% 0%, rgba(140, 211, 255, .12), transparent 40%),
    radial-gradient(800px 200px at 100% 100%, rgba(195, 168, 255, .12), transparent 40%),
    var(--surface);
}

.plan__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: .75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #0b0c0e;
    padding: 6px 10px;
    border-radius: 999px;
}

.price {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.price span {
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
}

.plan ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.plan li {
    margin: 6px 0;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    background: color-mix(in oklab, var(--bg-soft) 80%, transparent);
    padding: 28px 0;
}

.footer__inner {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer__links {
    display: flex;
    gap: 14px;
}

.copy {
    color: var(--muted);
    font-size: .95rem;
}

/* Kleine Motion Präferenz beachten */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* Basis: Links ohne Standard-Unterstreichung */
.nav__links a {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;              /* Platz für die Linie */
    text-decoration: none;
    color: var(--text);
}

/* Linie (unsichtbar, fährt ein/aus) */
.nav__links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: color-mix(in oklab, var(--accent) 60%, var(--border));
    transition: width .25s ease;
}

/* Hover-Effekt */
.nav__links a:hover::after {
    width: 100%;
}

/* Dauerhaft aktiv (aktuelle Seite) */
.nav__links a[aria-current="page"] {
    font-weight: 700;
}
.nav__links a[aria-current="page"]::after {
    width: 100%;
}

/* Buttons in der Navi NICHT unterstreichen */
.nav__links .btn::after {
    display: none;
}


.device__screen img {
    width:  100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}
.device__screen a { display: block; width: 100%; height: 100%; }