/* Inter lokal gehostet (keine Verbindung zu Google Fonts) */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,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-display: swap; font-weight: 100 900; src: url("/fonts/inter-latin.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; }

/* FABULOUS EMAIL – Landing Page. Gleiche Tokens wie die App: Schwarz-Weiß, Inter, Rot nur für „Löschen“. */
:root {
  --bg: #fafafa;
  --panel: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #404040;
  --muted: #737373;
  --line: #e7e7e7;
  --line-2: #d4d4d4;
  --sel: #efefef;
  --danger: #dc2626;
  --on-ink: #ffffff;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .28), 0 6px 16px rgba(0, 0, 0, .05);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --panel: #141414;
    --ink: #fafafa;
    --ink-2: #d4d4d4;
    --muted: #8a8a8a;
    --line: #242424;
    --line-2: #333333;
    --sel: #1f1f1f;
    --danger: #f04444;
    --on-ink: #0a0a0a;
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, .8), 0 6px 16px rgba(0, 0, 0, .4);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; font-feature-settings: 'cv11', 'ss01'; overflow-x: hidden; }
a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 8px 14px; border-radius: 10px; z-index: 100; text-decoration: none; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px; font: inherit; font-size: 14.5px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s; }
.btn:active { transform: scale(.98); }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--ink) 85%, var(--bg)); }
.btn-ghost { background: var(--panel); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--line-2); }
.btn-invert { background: var(--on-ink); color: var(--ink); }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px var(--gutter); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; }
.nav.scrolled { border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 14px; letter-spacing: .14em; font-weight: 500; white-space: nowrap; }
.brand b { font-weight: 800; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links + .nav-cta { margin-left: 0; }
.nav-links a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 8px; margin-left: auto; align-items: center; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; height: 36px; padding: 3px 3px 3px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); margin-right: 4px; }
.lang-switch svg { width: 16px; height: 16px; color: var(--muted); margin-right: 4px; flex: none; }
.lang-switch a { display: inline-grid; place-items: center; height: 28px; min-width: 34px; padding: 0 9px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--muted); text-decoration: none; transition: color .15s, background .15s; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current] { background: var(--ink); color: var(--on-ink); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(56px, 8vw, 120px); max-width: 1320px; margin: 0 auto; }
.hero h1 { font-size: clamp(48px, 7.4vw, 104px); line-height: .94; letter-spacing: -.055em; font-weight: 900; max-width: 9.5ch; text-wrap: balance; }
.lead { margin-top: 28px; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 52ch; line-height: 1.6; }
.hero-actions { display: flex; gap: 10px; margin-top: 34px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Demo */
.demo { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 14px; width: 100%; max-width: 460px; justify-self: center; }
.demo-head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px; }
.demo-title { font-weight: 700; font-size: 15px; }
.demo-count { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.deck { position: relative; height: 430px; border-radius: 26px; touch-action: none; }
.deck:focus { outline: none; }
.deck:focus-visible:not([data-mouse]) { outline: 2px dashed var(--line-2); outline-offset: 8px; }
.card { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 26px; padding: 26px 26px 20px; box-shadow: var(--shadow); user-select: none; -webkit-user-select: none; cursor: grab; will-change: transform; transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .28s; }
.card.dragging { transition: none; cursor: grabbing; }
.card.is-next { transform: translateY(14px) scale(.95); pointer-events: none; box-shadow: none; }
.card.is-third { transform: translateY(28px) scale(.9); pointer-events: none; box-shadow: none; opacity: .6; }
.card.fly { transition: transform .3s ease-in, opacity .3s ease-in; opacity: 0; }
.card-head { display: flex; align-items: center; gap: 12px; }
.av { width: 44px; height: 44px; border-radius: 14px; background: var(--sel); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.who { flex: 1; min-width: 0; }
.who b, .who small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who small { color: var(--muted); font-size: 13px; }
.time { color: var(--muted); font-size: 13px; }
.card h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.02em; margin: 20px 0 10px; }
.card p { color: var(--ink-2); font-size: 15px; line-height: 1.6; white-space: pre-line; }
.card .att { margin-top: auto; padding-top: 14px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.stamp { position: absolute; z-index: 2; padding: 6px 13px; border: 3px solid currentColor; border-radius: 11px; background: var(--panel); font-weight: 900; font-size: 21px; letter-spacing: .02em; opacity: 0; pointer-events: none; }
.stamp-left { top: 26px; right: 22px; transform: rotate(12deg); color: var(--danger); }
.stamp-right { top: 26px; left: 22px; transform: rotate(-12deg); color: var(--muted); }
.stamp-up, .stamp-down { top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-4deg); }
.deck-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; border: 1.5px dashed var(--line-2); border-radius: 26px; padding: 30px; }
.deck-empty strong { font-size: 24px; letter-spacing: -.02em; }
.deck-empty p { color: var(--muted); max-width: 30ch; }
.deck-empty .btn { margin-top: 8px; }
.demo-help { text-align: center; font-size: 13px; color: var(--muted); margin-top: 6px; }
.demo-pad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pad { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: background .12s, transform .1s; }
.pad:hover { background: var(--sel); }
.pad:active { transform: scale(.96); }
.pad svg { width: 20px; height: 20px; }
.pad kbd { font: inherit; font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 0 6px; }
.pad-del { color: var(--danger); }
.demo-undo { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; align-items: center; gap: 12px; padding: 7px 7px 7px 15px; border-radius: 13px; background: var(--ink); color: var(--on-ink); font-size: 13.5px; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow); }
.demo-undo button { border: 0; border-radius: 9px; padding: 6px 11px; background: var(--on-ink); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.demo-undo.out { opacity: 0; transition: opacity .2s; pointer-events: none; }
.demo-undo[hidden] { display: none; }

/* Swipe erklärt */
.swipe { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; max-width: 1320px; margin: 0 auto; padding: clamp(64px, 9vw, 140px) var(--gutter); border-top: 1px solid var(--line); }
h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1; letter-spacing: -.045em; font-weight: 900; text-wrap: balance; }
.swipe-text p { margin-top: 20px; color: var(--ink-2); font-size: 17px; max-width: 48ch; }
.compass { position: relative; aspect-ratio: 1.15; max-width: 560px; width: 100%; justify-self: center; }
.compass-card { position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: .78; transform: translate(-50%, -50%) rotate(-3deg); display: flex; flex-direction: column; gap: 8px; padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.cc-from { font-weight: 700; font-size: 13px; }
.cc-subj { font-weight: 800; font-size: 15px; line-height: 1.25; letter-spacing: -.01em; }
.cc-line { height: 8px; border-radius: 4px; background: var(--sel); margin-top: 6px; }
.cc-line.short { width: 60%; margin-top: 0; }
.dir { position: absolute; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; padding: 9px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.dir svg { width: 18px; height: 18px; }
.dir::before { content: ''; position: absolute; background: var(--line-2); }
.dir-up { top: 0; left: 50%; transform: translateX(-50%); }
.dir-down { bottom: 0; left: 50%; transform: translateX(-50%); }
.dir-left { left: 0; top: 50%; transform: translateY(-50%); color: var(--danger); }
.dir-right { right: 0; top: 50%; transform: translateY(-50%); }
.dir-up::before, .dir-down::before { left: 50%; width: 1.5px; height: 9%; }
.dir-up::before { top: 100%; }
.dir-down::before { bottom: 100%; }
.dir-left::before, .dir-right::before { top: 50%; height: 1.5px; width: 6%; }
.dir-left::before { left: 100%; }
.dir-right::before { right: 100%; }

/* Funktionen */
.features { max-width: 1320px; margin: 0 auto; padding: clamp(64px, 9vw, 140px) var(--gutter); border-top: 1px solid var(--line); }
.features h2 { max-width: 16ch; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 5vw, 64px); }
.feature { display: flex; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.feature > svg { width: 24px; height: 24px; flex: none; margin-top: 2px; }
.feature h3 { font-size: 18px; letter-spacing: -.015em; }
.feature p { margin-top: 6px; color: var(--ink-2); max-width: 46ch; }

/* Anbieter */
.providers { max-width: 1320px; margin: 0 auto; padding: clamp(64px, 9vw, 140px) var(--gutter); border-top: 1px solid var(--line); }
.providers > p { margin-top: 20px; color: var(--ink-2); font-size: 17px; max-width: 56ch; }
.provider-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.provider-list li { font-size: clamp(18px, 2.2vw, 26px); font-weight: 800; letter-spacing: -.025em; padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); }
.provider-list li:last-child { background: transparent; border-style: dashed; color: var(--ink-2); }

/* Abschluss */
.final { margin: 0 var(--gutter) clamp(32px, 5vw, 64px); padding: clamp(56px, 8vw, 120px) clamp(24px, 6vw, 96px); border-radius: 32px; background: var(--ink); color: var(--on-ink); text-align: center; display: flex; flex-direction: column; align-items: center; }
.final h2 { font-size: clamp(40px, 6vw, 84px); }
.final p { margin: 18px 0 32px; font-size: 18px; opacity: .72; max-width: 44ch; }

/* Fußzeile */
.foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px var(--gutter) 40px; color: var(--muted); font-size: 14px; }
.foot .brand { color: var(--ink); font-size: 12.5px; }
.foot nav { display: flex; gap: 20px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--ink); }
.foot .copy { margin-left: auto; }

/* Rechtliches */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(56px, 8vw, 100px); }
.legal h1 { hyphens: manual; overflow-wrap: break-word; font-size: clamp(34px, 5vw, 58px); line-height: .98; letter-spacing: -.05em; font-weight: 900; margin-bottom: 28px; }
.legal-lead { font-size: 18px; color: var(--ink-2); margin-bottom: 28px; }
.legal section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal h2 { font-size: 22px; line-height: 1.25; letter-spacing: -.02em; font-weight: 800; margin-bottom: 12px; }
.legal h3 { font-size: 16px; font-weight: 700; margin: 22px 0 6px; }
.legal p, .legal li, .legal address, .legal dd { color: var(--ink-2); font-style: normal; }
.legal p + p { margin-top: 10px; }
.legal ul { margin: 10px 0 12px 20px; }
.legal li + li { margin-top: 4px; }
.legal address { margin: 8px 0 12px; line-height: 1.7; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; margin-top: 14px; }
.legal dt { font-weight: 600; }
.legal a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal .muted { color: var(--muted); }
.legal .note { font-size: 14px; color: var(--muted); padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); margin-bottom: 24px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.toc a { text-decoration: none; font-size: 14px; font-weight: 600; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); }
.toc a:hover { border-color: var(--line-2); }
.foot nav a[aria-current] { color: var(--ink); }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: 0; } .legal dd { margin-bottom: 8px; } }

/* Einwilligung (FABULOUS ANALYTICS) */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 50; width: min(420px, calc(100vw - 32px)); padding: 18px 18px 16px; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.consent-title { font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
.consent-text { margin-top: 6px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.consent-text a { color: var(--ink); text-underline-offset: 3px; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.consent-actions .btn { height: 40px; }

/* Responsive */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .hero, .swipe { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 11ch; }
  .demo { max-width: 440px; }
  .feature-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .nav { gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .nav .btn-ghost { display: none; }
  .brand span { font-size: 12.5px; }
  .lang-switch { height: 34px; padding: 3px; margin-right: 0; }
  .lang-switch svg { display: none; }
  .lang-switch a { min-width: 30px; padding: 0 7px; font-size: 12.5px; }
  .nav-cta .btn-primary { padding: 0 14px; font-size: 13.5px; }
  .hero-actions .btn { flex: 1; }
  .deck { height: 400px; }
  .pad kbd { display: none; }
  .compass { aspect-ratio: .95; }
  .compass-card { width: 52%; }
  .dir { font-size: 13px; padding: 7px 10px; }
  .foot .copy { margin-left: 0; width: 100%; }
}
@media (max-width: 420px) {
  .nav .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .card.fly { transition: none; }
}
