/* VecBird – Produktseite (Bytelysis)
   Gleiche Formensprache wie MailFish: viel Weiß, große Serif-Headlines, kleine Grotesk-Texte,
   weiche Karten. Hauptfarbe Petrol (#0f8b7e) aus dem VecBird-Logo. */

@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
    src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
    src: url("../fonts/instrument-serif-latin-ext-400-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
    src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
    src: url("../fonts/instrument-serif-latin-ext-400-italic.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
    --ink: #0b1524;
    --ink-2: #2a3647;
    --muted: #667085;
    --line: #e7ebf0;
    --soft: #f4f7f7;
    --soft-2: #ecf3f2;
    --white: #fff;
    --teal: #0f8b7e;
    --teal-2: #14a594;
    --teal-deep: #0b6b61;
    --teal-ink: #073f3a;
    --teal-soft: #e6f5f2;
    --amber: #ffb43c;
    --radius: 24px;
    --radius-sm: 14px;
    --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px -8px rgba(16, 24, 40, .08);
    --shadow-lg: 0 2px 4px rgba(16, 24, 40, .04), 0 30px 60px -20px rgba(7, 63, 58, .28);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: var(--sans); font-size: 15px; line-height: 1.6; color: var(--ink);
    background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
code { font-family: var(--mono); font-size: .88em; background: var(--soft-2); padding: .1em .4em; border-radius: 6px; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
::selection { background: var(--teal); color: #fff; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 48px); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* ---------- Kopfzeile ---------- */
.topbar {
    position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 18px; }
.brand img { border-radius: 8px; }
.brand-slash { color: #c3cbd6; font-weight: 300; }
.brand-name { font-weight: 600; letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { white-space: nowrap; text-decoration: none; font-size: 14px; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover { background: var(--soft); color: var(--ink); }
.nav .nav-cta { background: var(--ink); color: #fff; margin-left: 8px; padding: 8px 16px; }
.lang-switch { display: inline-flex; margin-left: 6px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.nav .lang-switch a { padding: 4px 9px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.nav .lang-switch a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav .nav-cta:hover { background: var(--teal-deep); color: #fff; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; padding: 36px 0 72px;
    background:
        radial-gradient(60% 45% at 50% 22%, rgba(15, 139, 126, .13), rgba(15, 139, 126, 0) 100%),
        radial-gradient(40% 30% at 90% 8%, rgba(255, 180, 60, .14), rgba(255, 180, 60, 0) 100%),
        var(--white);
}
.hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(7, 63, 58, .08) 1px, transparent 1px); background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(70% 50% at 50% 30%, #000, transparent 75%);
    mask-image: radial-gradient(70% 50% at 50% 30%, #000, transparent 75%);
}
#bird-canvas { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bird-stage { width: 100%; height: clamp(120px, 17vw, 200px); display: grid; place-items: center; }
.bird-fallback { width: clamp(100px, 14vw, 140px); height: auto; border-radius: 28px; }
.bird-hint { position: relative; height: 20px; margin: -4px 0 18px; font-size: 12.5px; color: var(--muted); }
.bird-hint > span { transition: opacity .35s var(--ease), transform .35s var(--ease); display: inline-block; }
.hint-off { position: absolute; left: 50%; top: 0; transform: translate(-50%, 6px); opacity: 0; white-space: nowrap; }
.birds-gone .hint-on { opacity: 0; transform: translateY(-6px); }
.birds-gone .hint-off { opacity: 1; transform: translate(-50%, 0); }
.hint-touch { display: none; }
@media (hover: none) { .hint-touch { display: inline; } .hint-pointer { display: none; } }
.hero-inner { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.tag { border: 1px solid var(--ink); color: var(--ink); border-radius: 6px; padding: 0 6px; font-size: 11.5px; font-weight: 600; line-height: 18px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .18); }
.display {
    font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 5.6vw, 5rem);
    line-height: 1.02; letter-spacing: -.015em; max-width: 14em; text-wrap: balance;
}
.display em, .display-2 em {
    font-style: italic;
    background: linear-gradient(100deg, var(--teal-deep) 0%, var(--teal-2) 55%, #e8a33a 110%);
    -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em;
}
.lead { max-width: 640px; margin-top: 22px; font-size: 16px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px;
    font-size: 14.5px; font-weight: 500; text-decoration: none;
    transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 6px 18px -6px rgba(11, 21, 36, .45); }
.btn-dark:hover { background: var(--teal-deep); }
.btn-light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-light:hover { border-color: #cfd7e1; box-shadow: var(--shadow); }
.chips { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; max-width: 760px; font-size: 13px; color: var(--muted); }

/* Editor-Vorschau */
.app {
    width: 100%; max-width: 1080px; margin-top: 52px; text-align: left;
    background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg);
}
.app-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fbfcfc; font-size: 12.5px; }
.app-dots { display: inline-flex; gap: 6px; }
.app-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e3e7ec; }
.app-brand { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.app-brand img { border-radius: 4px; }
.app-file { border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 0 1 auto; }
.app-btns { margin-left: auto; display: inline-flex; gap: 6px; flex: none; }
.app-btns b { font-weight: 500; border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; background: #fff; }
.app-btns b.pri { background: var(--teal); border-color: var(--teal); color: #fff; }
.app-body { display: grid; grid-template-columns: 190px 1fr 190px; min-height: 340px; }
.app-lib { border-right: 1px solid var(--line); padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.app-search { border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; font-size: 12px; color: var(--ink-2); }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.app-grid img { width: 100%; aspect-ratio: 1; padding: 6px; border-radius: 8px; background: var(--soft); }
.app-canvas { background: #eef1f4; display: grid; place-items: center; padding: 22px; }
.app-canvas img { width: 100%; max-width: 620px; border-radius: 3px; box-shadow: 0 6px 20px -8px rgba(16, 24, 40, .25); background: #fff; }
.app-insp { border-left: 1px solid var(--line); padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.app-insp small { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.swatches { display: flex; gap: 6px; }
.swatches i { width: 26px; height: 18px; border-radius: 4px; border: 1px solid rgba(0, 0, 0, .1); }
.ln { height: 8px; border-radius: 4px; background: var(--soft-2); }
.ln.s { width: 60%; background: var(--teal-soft); }
.src { font-size: 11px; color: var(--ink-2); line-height: 1.35; }
.src b { font-weight: 600; color: var(--teal-deep); margin-right: 4px; }

/* ---------- Kennzahlen ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 30px 26px; display: flex; gap: 16px; align-items: flex-start; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact strong { font-family: var(--serif); font-weight: 400; font-size: 56px; line-height: .9; color: var(--teal); }
.fact span { font-size: 13.5px; color: var(--muted); }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.kicker { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 14px; }
.display-2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.05; letter-spacing: -.01em; }
.sub { margin-top: 16px; color: var(--muted); font-size: 16px; max-width: 640px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; grid-auto-flow: dense; }
.card {
    position: relative; background: var(--soft); border-radius: var(--radius); padding: 28px;
    display: flex; flex-direction: column; gap: 10px; overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s;
}
.card:hover { transform: translateY(-3px); background: var(--soft-2); box-shadow: var(--shadow); }
.card h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: 14.5px; }
.card-xl { grid-column: span 2; grid-row: span 2; display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; }
.card-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.card-tall { grid-row: span 2; }
.card-text { display: flex; flex-direction: column; gap: 10px; }
.icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--teal); font-size: 19px; box-shadow: var(--shadow); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; }
.t { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }

.mock { background: #fff; border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.mock-search { border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
.mock-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mock-grid img { width: 100%; aspect-ratio: 1; padding: 8px; border-radius: 10px; background: var(--soft); transition: transform .3s var(--ease); }
.card:hover .mock-grid img:nth-child(3n+1) { transform: translateY(-3px) rotate(-3deg); }

.recolor { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 12px; }
.mito { width: 100%; max-width: 220px; height: auto; }
.mito ellipse, .mito path { transition: fill .35s var(--ease), stroke .35s var(--ease); }
.palette { display: flex; gap: 10px; }
.palette button {
    width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; background: var(--a); cursor: pointer;
    box-shadow: 0 0 0 1px var(--line); transition: transform .2s var(--ease), box-shadow .2s;
}
.palette button:hover { transform: scale(1.08); }
.palette button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--teal); }

.brush-demo { width: 100%; height: auto; margin-top: auto; }
.helix { fill: none; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.6s var(--ease); }
.helix.a { stroke: var(--teal); }
.helix.b { stroke: var(--amber); transition-delay: .15s; }
.is-visible .helix { stroke-dashoffset: 0; }

.mock-formats { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 10px; min-height: 150px; }
.f { display: grid; place-items: center; background: var(--teal-soft); border: 1.5px solid var(--teal); border-radius: 4px; font-size: 11px; font-weight: 600; color: var(--teal-deep); transition: transform .35s var(--ease); }
.f-169 { width: 96px; height: 54px; }
.f-a4 { width: 52px; height: 74px; }
.f-col { width: 44px; height: 60px; font-size: 9px; text-align: center; }
.f-ga { width: 60px; height: 60px; }
.f-a0 { width: 84px; height: 118px; background: #fff7e8; border-color: #e8a33a; color: #9a5d00; }
.card:hover .f:nth-child(odd) { transform: translateY(-4px); }

/* ---------- Vorlagen ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; background: #fff; border-radius: 16px; padding: 10px; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.gallery figure:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #fff; border-radius: 8px; }
.gallery figcaption { font-size: 13.5px; font-weight: 500; padding: 10px 6px 2px; }

/* ---------- Ablauf ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { background: var(--soft); border-radius: var(--radius); padding: 28px; position: relative; }
.steps .num { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--teal); display: block; margin-bottom: 14px; }
.steps h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 14.5px; }

/* ---------- Lizenzen (dunkel) ---------- */
.section-deep { position: relative; background: radial-gradient(80% 60% at 15% 0%, #0f5e57 0%, transparent 60%), #071f24; color: #fff; overflow: hidden; }
.section-deep .kicker { color: #8fded2; }
.section-deep .sub { color: #b6cfcb; }
.section-deep .display-2 em { background: linear-gradient(100deg, #8fded2, #ffd28a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #d7e7e4; }
.checks i { color: #8fded2; font-size: 18px; line-height: 1.3; }
.checks strong { color: #fff; font-weight: 600; }
.credit-mock { background: #fff; color: var(--ink); border-radius: 20px; padding: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.cm-fig { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.cm-text { font-size: 12px; line-height: 1.5; color: var(--ink-2); padding: 12px 4px 6px; border-bottom: 1px dashed var(--line); }
.cm-text b { color: var(--ink); }
.licenses { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; }
.licenses span { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-deep); }

/* ---------- Export ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tcard { background: var(--soft); border-radius: var(--radius-sm); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.tcard b { font-size: 16px; font-weight: 600; }
.tcard b .bi { color: var(--teal); margin-right: 6px; }
.actions-left { justify-content: flex-start; }
.tcard span { color: var(--muted); font-size: 14px; }

/* ---------- Datenschutz ---------- */
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pcard { background: #fff; border-radius: var(--radius-sm); padding: 24px; box-shadow: var(--shadow); }
.pcard i { font-size: 22px; color: var(--teal); }
.pcard h3 { font-size: 16px; font-weight: 600; margin: 10px 0 6px; }
.pcard p { color: var(--muted); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 22px 40px 22px 0; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 300; color: var(--teal); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 40px 22px 0; font-size: 15px; }

/* ---------- CTA & Fuß ---------- */
.cta { padding: 0 0 clamp(72px, 10vw, 120px); }
.cta-inner {
    text-align: center; display: flex; flex-direction: column; align-items: center;
    background: radial-gradient(60% 80% at 50% 0%, var(--teal-soft), transparent 70%), var(--soft);
    border-radius: 32px; padding: clamp(40px, 7vw, 80px) 24px;
}
.cta-inner img { margin-bottom: 18px; border-radius: 16px; }
.cta .sub { margin-inline: auto; }
.footer { border-top: 1px solid var(--line); padding: 32px 0 40px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.footer .brand { font-size: 15px; }
.footer .brand img { border-radius: 6px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.footer-nav a, .footer .muted a { color: var(--ink-2); text-decoration: none; }
.footer-nav a:hover, .footer .muted a:hover { color: var(--teal-deep); text-decoration: underline; }
.footer .small { flex-basis: 100%; }

/* ---------- Einblenden ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .app.reveal { transform: translateY(24px) scale(.985); }
.js .app.reveal.is-visible { transform: none; }

/* ---------- Responsiv ---------- */
@media (max-width: 1060px) {
    .nav a:not(.nav-cta) { padding: 8px 9px; }
    .app-body { grid-template-columns: 160px 1fr; }
    .app-insp { display: none; }
}
/* Navigation: ab hier Menü-Knopf statt Leiste (8 Einträge passen erst ab ~1100 px) */
@media (max-width: 1100px) {
    .nav-toggle {
        display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 42px; height: 42px;
        border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; padding: 0 11px;
    }
    .nav-toggle span { display: block; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
    .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
    .nav {
        position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 2px;
        background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 18px; display: none;
    }
    .nav.open { display: flex; }
    .nav .nav-cta { margin: 8px 0 0; text-align: center; justify-content: center; display: inline-flex; gap: 6px; }
    .lang-switch { align-self: flex-start; margin: 6px 0 0 6px; }
}
@media (max-width: 960px) {
    .facts-grid { grid-template-columns: repeat(2, 1fr); }
    .fact:nth-child(3) { border-left: 0; }
    .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .card-xl { grid-column: span 2; grid-row: auto; grid-template-columns: 1fr; }
    .card-tall { grid-row: auto; }
    .gallery, .tech-grid, .privacy-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .wrap, .wrap.narrow { width: calc(100% - 32px); }
    .hero { padding-top: 36px; }
    .app-body { grid-template-columns: 1fr; min-height: 0; }
    .app-lib { display: none; }
    .app-btns b:not(.pri) { display: none; }
    .app-canvas { padding: 12px; }
    .facts-grid { grid-template-columns: 1fr; }
    .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
    .fact strong { font-size: 44px; min-width: 70px; }
    .bento, .tech-grid, .privacy-grid, .steps { grid-template-columns: 1fr; }
    .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 4px 2px 14px; margin: 0 -16px; padding-inline: 16px; scrollbar-width: thin; }
    .gallery figure { flex: 0 0 82%; scroll-snap-align: center; }
    .card-xl, .card-wide { grid-column: auto; grid-template-columns: 1fr; }
    .card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
    .helix { stroke-dashoffset: 0; }
}
