/* =========================================================================
   MealME — mealme.cloud
   Design system: D5 „Editorial Midnight" (Token-Quelle: App `MealME/src/index.css`).
   No external fonts (Instrument Sans lokal gebündelt, OFL), no trackers.
   Dark + light mode (App-Default: System).
   ========================================================================= */

/* ---------- Instrument Sans (lokal, DSGVO: kein Google-Fonts-Request) ---------- */
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/instrument-sans-400-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: 'Instrument Sans'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/instrument-sans-400-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; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/instrument-sans-500-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: 'Instrument Sans'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/instrument-sans-500-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; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/instrument-sans-600-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: 'Instrument Sans'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/instrument-sans-600-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; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/instrument-sans-700-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: 'Instrument Sans'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/instrument-sans-700-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; }


/* ---------- Instrument Serif (lokal, Display-Akzent des D5-Webdesigns) ---------- */
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/instrument-serif-400-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: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/instrument-serif-400-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; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/instrument-serif-400-italic-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: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/instrument-serif-400-italic-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; }

/* ---------- Tokens (D5) ---------- */
:root {
  --brand:        #3ddb7e;   /* D5 accent (dark) — überschrieben im Light-Theme */
  --brand-bright: #5fe896;
  --brand-deep:   #2c8c55;   /* D5 accent (light) */
  --brand-ink:    #0d1410;   /* D5 on-accent (dark) */

  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --maxw: 1180px;
  --gutter: 22px;

  --ff: 'Instrument Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;

  --t-fast: .16s ease;
  --t:      .26s cubic-bezier(.4,0,.2,1);

  --shadow:    0 1px 2px rgba(0,0,0,.06), 0 8px 30px rgba(0,0,0,.08);
  --shadow-lg: 0 30px 80px -20px rgba(0,0,0,.35);
}

/* Dark (default) — D5 „Editorial Midnight" */
html, :root {
  --bg:        #101411;
  --bg-2:      #131814;
  --surface:   #161c17;
  --surface-2: #1b221c;
  --border:    rgba(238,240,233,.12);   /* d5-hair */
  --border-2:  rgba(238,240,233,.22);
  --text:      #eef0e9;                 /* d5-ink */
  --text-2:    #9aa294;                 /* d5-muted */
  --text-3:    #5d655c;                 /* d5-faint */
  --accent:    #3ddb7e;                 /* d5-accent */
  --glow:      rgba(61,219,126,.30);    /* d5-glow */
  --accent-dim: rgba(61,219,126,.12);   /* d5-accent-dim */
  --hero-grad: radial-gradient(60% 80% at 70% 0%, rgba(61,219,126,.12), transparent 60%);
  --shadow:    0 1px 2px rgba(0,0,0,.4), 0 14px 40px rgba(0,0,0,.45);
  --shadow-lg: 0 40px 100px -30px rgba(0,0,0,.75);
  color-scheme: dark;
}

/* Light — D5 warm Off-White */
html[data-theme="light"] {
  --bg:        #faf9f5;
  --bg-2:      #f3f1ea;
  --surface:   #ffffff;
  --surface-2: #f3f1ea;
  --border:    rgba(28,30,26,.14);      /* d5-hair */
  --border-2:  rgba(28,30,26,.24);
  --text:      #1c1e1a;                 /* d5-ink */
  --text-2:    #5f635a;                 /* d5-muted — WCAG-AA (>=4.5:1 auf #faf9f5; Audit 2026-06-15) */
  --text-3:    #73776c;                 /* d5-faint — WCAG-AA-Kontrast */
  --accent:    #27804d;                 /* d5-accent — abgedunkelt für AA (Grün auf Weiß) */
  --glow:      rgba(0,0,0,0);           /* d5-glow: light = transparent */
  --accent-dim: rgba(44,140,85,.10);    /* d5-accent-dim (light) */
  --hero-grad: none;
  --brand:        #27804d;              /* Light: Accent ersetzt Neon — AA-abgedunkelt (Audit 2026-06-15) */
  --brand-bright: #36a866;
  --brand-ink:    #ffffff;              /* d5-on-accent (light) */
  --shadow:    0 1px 2px rgba(16,24,40,.05), 0 12px 34px rgba(16,24,40,.08);
  --shadow-lg: 0 40px 90px -32px rgba(16,24,40,.22);
  color-scheme: light;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--ff);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background var(--t), color var(--t);
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--brand); color: var(--brand-ink); }
h1,h2 { line-height: 1.08; letter-spacing: -.028em; font-weight: 500; }
h3,h4 { line-height: 1.2; letter-spacing: -.015em; font-weight: 600; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.hidden { display: none !important; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(56px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 76px) 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.section-head { max-width: 720px; margin: 0 auto clamp(34px, 5vw, 60px); }
.section-head.center { text-align: center; }
h2.h { font-size: clamp(28px, 4.4vw, 46px); margin: 14px 0 0; }
.lead { color: var(--text-2); font-size: clamp(16px, 1.6vw, 19px); margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 15.5px;
  border: 1px solid transparent; transition: transform var(--t-fast), background var(--t), border-color var(--t), opacity var(--t);
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 8px 26px -8px var(--glow); }
.btn--primary:hover { background: var(--brand-bright); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border-2); }
.btn--ghost:hover { border-color: var(--brand); color: var(--text); }
.btn--lg { padding: 16px 28px; font-size: 16.5px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
.site-header.scrolled { border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand b { color: var(--text); }
.brand span { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 10px; }
.nav-links a {
  padding: 9px 13px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--text-2);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-spacer { flex: 1; }
.nav-tools { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 11px; display: inline-grid; place-items: center;
  color: var(--text-2); border: 1px solid var(--border); background: var(--surface);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.icon-btn:hover { color: var(--text); border-color: var(--border-2); }
.icon-btn svg { width: 19px; height: 19px; }

/* Language menu */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; height: 40px; border-radius: 11px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-weight: 700; font-size: 14px; }
.lang-btn:hover { color: var(--text); border-color: var(--border-2); }
.lang-btn svg { width: 16px; height: 16px; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 6px;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast); z-index: 120;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 10px 12px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: var(--text-2);
}
.lang-menu button:hover { background: var(--surface-2); color: var(--text); }
.lang-menu button[aria-current="true"] { color: var(--brand); }
.lang-menu button[aria-current="true"]::after { content: "✓"; font-weight: 800; }

/* Mobile menu toggle + drawer */
.menu-toggle { display: none; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta-desktop { display: none; }
  .menu-toggle { display: inline-grid; }
  .mobile-drawer {
    position: fixed; inset: 66px 0 0 0; z-index: 90; background: var(--bg);
    padding: 18px var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity var(--t), transform var(--t), visibility var(--t);
    overflow-y: auto;
  }
  .mobile-drawer.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-drawer a { padding: 15px 8px; font-size: 19px; font-weight: 700; border-bottom: 1px solid var(--border); }
  .mobile-drawer .btn { margin-top: 18px; }
}
@media (min-width: 901px) { .mobile-drawer { display: none; } }

/* ---------- Home (D5-Webdesign: Hero + Gauge + Chips + Proof) ---------- */
.kicker { font-size: 11.5px; font-weight: 600; color: var(--accent); letter-spacing: .16em; text-transform: uppercase; }
.hero { position: relative; padding: clamp(56px, 7vw, 84px) 0 30px; overflow: visible; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.2vw, 76px); line-height: 1.02; }
.hero .lead { font-size: 17px; color: var(--text-2); line-height: 1.6; margin-top: 22px; max-width: 460px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.store-note { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 18px; font-size: 12px; color: var(--text-3); }

.hero-stage { position: relative; display: flex; justify-content: center; }
.hero-gauge { position: absolute; left: 50%; top: 54%; transform: translate(-50%, -50%);
  width: min(620px, 130vw); height: min(620px, 130vw); pointer-events: none; overflow: visible; }
.hero-gauge .track { stroke: var(--border); opacity: .55; }
.hero-gauge .fill { stroke: var(--accent); filter: drop-shadow(0 0 10px var(--glow)); }
.hero-gauge .bonus { stroke: #7db9dd; }
html[data-theme="light"] .hero-gauge .bonus { stroke: #4f93bd; }
@media (prefers-reduced-motion: no-preference) {
  .hero-gauge .fill { stroke-dasharray: 0 1000; animation: gauge-fill 1.6s cubic-bezier(.22,1,.36,1) .3s forwards; }
  .hero-gauge .bonus { stroke-dasharray: 0 1000; animation: bonus-fill .9s cubic-bezier(.22,1,.36,1) 1.5s forwards; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-gauge .fill { stroke-dasharray: var(--fill-len) 1000; }
  .hero-gauge .bonus { stroke-dasharray: var(--bonus-len) 1000; }
}
@keyframes gauge-fill { to { stroke-dasharray: var(--fill-len) 1000; } }
@keyframes bonus-fill { to { stroke-dasharray: var(--bonus-len) 1000; } }

.phone { width: 320px; max-width: 82vw; border-radius: 42px; border: 1.5px solid var(--border); overflow: hidden;
  background: var(--bg); box-shadow: 0 40px 90px rgba(0,0,0,.45); position: relative; z-index: 2; }
html[data-theme="light"] .phone { box-shadow: 0 32px 70px rgba(20,32,24,.22); }
.phone img { width: 100%; }
.phone-sm { width: 250px; border-radius: 34px; }
.shot-l { display: none; }
html[data-theme="light"] .shot-l { display: block; }
html[data-theme="light"] .shot-d { display: none; }

.stat-chip { position: absolute; z-index: 3; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 12px 16px; backdrop-filter: blur(10px); box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.stat-chip .num { font-size: 22px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat-chip .lbl { font-size: 10.5px; color: var(--text-2); margin-top: 2px; }
.chip-left { left: -8px; top: 24%; }
.chip-right { right: -16px; bottom: 20%; }
.chip-right .num { color: #7db9dd; }
html[data-theme="light"] .chip-right .num { color: #4f93bd; }

.proof { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: 64px; }
.proof-inner { display: flex; justify-content: space-between; gap: 10px 24px; padding: 18px 0;
  font-size: 12.5px; color: var(--text-2); flex-wrap: wrap; }
.proof-inner span b { color: var(--text); font-weight: 600; }

/* Feature-Strecke */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 26px; }
.feature-row.flip > .feature-copy { order: 2; }
.feature-copy ul { margin: 26px 0 0; display: flex; flex-direction: column; gap: 14px; }
.feature-copy li { display: flex; gap: 12px; font-size: 14.5px; color: var(--text-2); line-height: 1.55; }
.feature-copy li b { color: var(--text); font-weight: 600; }
.tick { width: 18px; height: 18px; border-radius: 6px; background: var(--accent-dim); color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
  font-size: 11px; font-weight: 700; }
.feature-shot { display: flex; justify-content: center; position: relative; }
.feature-shot .halo { position: absolute; inset: 10% 18%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent-dim), transparent 70%); }

/* Screens-Galerie */
.gallery { display: flex; gap: 22px; margin-top: 44px; justify-content: center; align-items: flex-start; }
.gallery > .phone-sm:nth-child(2) { margin-top: 36px; }
.gallery > .phone-sm:nth-child(3) { margin-top: 8px; }
.gallery > .phone-sm:nth-child(4) { margin-top: 44px; }
.gallery-cap { text-align: center; font-size: 12px; color: var(--text-3); margin-top: 26px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step .n { width: 38px; height: 38px; border-radius: 11px; background: var(--brand); color: var(--brand-ink); font-weight: 800; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-size: 18px; }
.step p { color: var(--text-2); font-size: 15px; margin-top: 8px; }

/* ---------- Download-CTA (D5: grosser Gauge-Bogen) ---------- */
.cta2 { margin-top: 110px; border-top: 1px solid var(--border); position: relative; overflow: hidden; }
.cta2-inner { text-align: center; padding: 100px 32px 110px; position: relative; }
.cta2-gauge { position: absolute; left: 50%; bottom: -340px; transform: translateX(-50%);
  width: 760px; height: 760px; pointer-events: none; opacity: .5; overflow: visible; }
.cta2 h2 { font-size: clamp(36px, 4.6vw, 56px); }
.cta2 .btn { margin-top: 36px; }
.cta2 .micro { font-size: 12px; color: var(--text-3); margin-top: 16px; }

/* App store badge (inline svg button) */
.store-badge { display: inline-flex; align-items: center; gap: 11px; background: #000; color: #fff; border: 1px solid #2a2e36;
  padding: 10px 18px; border-radius: 13px; }
html[data-theme="light"] .store-badge { background:#000; color:#fff; }
.store-badge svg { width: 26px; height: 26px; }
.store-badge .sb { text-align: left; line-height: 1.1; }
.store-badge .sb small { font-size: 10px; opacity: .8; display:block; }
.store-badge .sb b { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.store-badge.soon { opacity: .55; cursor: default; }
.store-badge.soon:hover { opacity: .55; }

/* ---------- Roadmap ---------- */
.rm-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; max-width: max-content; margin: 0 auto clamp(34px,5vw,52px); }
.rm-tab { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: 14.5px; color: var(--text-2); transition: color var(--t-fast), background var(--t-fast); }
.rm-tab .cnt { font-size: 12px; padding: 1px 8px; border-radius: 999px; background: var(--surface-2); color: var(--text-3); }
.rm-tab .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.rm-tab:hover { color: var(--text); }
.rm-tab.active { background: var(--brand); color: var(--brand-ink); }
.rm-tab.active .cnt { background: rgba(7,20,10,.18); color: var(--brand-ink); }
@media (max-width: 720px){ .rm-tabs { max-width: 100%; border-radius: 18px; } .rm-tab { flex: 1 1 40%; justify-content: center; } }

.rm-panel { display: none; }
.rm-panel.active { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.rm-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.rm-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; border-left: 4px solid var(--s-color, var(--border-2)); }
.rm-item .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.rm-item .tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--s-color, var(--text-2)); }
.rm-item .tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--s-color, var(--text-2)); }
.rm-item .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); }
.rm-item .ico svg { width: 18px; height: 18px; }
.rm-item h3 { font-size: 17.5px; }
.rm-item p { color: var(--text-2); font-size: 14.5px; margin-top: 7px; }
.rm-empty { text-align: center; color: var(--text-3); padding: 40px; }
.rm-legend { display:flex; flex-wrap:wrap; gap:18px; justify-content:center; margin-top: 34px; color: var(--text-3); font-size: 13px; }
.rm-legend span { display:inline-flex; align-items:center; gap:7px; }
.rm-legend i { width:9px;height:9px;border-radius:50%; display:inline-block; }
@media (max-width: 680px){ .rm-list { grid-template-columns: 1fr; } }

/* ---------- Language blocks (legal pages) ---------- */
.lang-block { display: none; }
html[lang="de"] .lang-block[data-lang="de"],
html[lang="en"] .lang-block[data-lang="en"],
html[lang="es"] .lang-block[data-lang="es"],
html[lang="pt"] .lang-block[data-lang="pt"] { display: block; }
html:not([lang]) .lang-block[data-lang="de"] { display: block; }

/* ---------- Article / legal ---------- */
.page-hero { padding: clamp(40px,6vw,72px) 0 0; }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 50px); }
.page-hero .lead { max-width: 720px; }
.updated { color: var(--text-3); font-size: 14px; margin-top: 14px; }
.article { max-width: 800px; margin: 0 auto; }
.article h2 { font-size: clamp(21px, 2.6vw, 27px); margin: 40px 0 14px; padding-top: 12px; }
.article h3 { font-size: 18px; margin: 26px 0 8px; }
.article p, .article li { color: var(--text-2); font-size: 16px; }
.article p { margin: 12px 0; }
.article ul, .article ol { margin: 12px 0; padding-left: 22px; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li { margin: 7px 0; }
.article a { color: var(--accent); font-weight: 600; }
.article a:hover { text-decoration: underline; }
.article strong { color: var(--text); }
.article table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.article th, .article td { text-align: left; padding: 11px 13px; border: 1px solid var(--border); vertical-align: top; }
.article th { background: var(--surface); color: var(--text); font-weight: 700; }
.article td { color: var(--text-2); }
.callout { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--brand); border-radius: var(--radius-sm); padding: 16px 20px; margin: 22px 0; }
.callout p { margin: 6px 0; color: var(--text-2); }
.callout strong { color: var(--text); }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin: 28px 0; }
.toc b { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); }
.toc ol { margin: 12px 0 0; padding-left: 20px; }
.toc a { color: var(--accent); font-weight: 600; font-size: 15px; }

/* TOC card list for support */
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.info-card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); }
.info-card .ico svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 18px; }
.info-card p { color: var(--text-2); margin-top: 8px; font-size: 15px; }
.info-card a.mail { display: inline-block; margin-top: 12px; color: var(--accent); font-weight: 700; }

/* Steps for account deletion */
.del-steps { counter-reset: d; display: grid; gap: 14px; margin: 22px 0; }
.del-step { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.del-step .n { counter-increment: d; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: var(--brand-ink); font-weight: 800; display: grid; place-items: center; }
.del-step .n::before { content: counter(d); }
.del-step h3 { font-size: 17px; }
.del-step p { color: var(--text-2); margin-top: 5px; font-size: 15px; }

/* ---------- Footer (kompakt, D5-Webdesign) ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0 44px; margin-top: 40px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 18px 24px; flex-wrap: wrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 12.5px; color: var(--text-2); }
.foot-links a:hover { color: var(--text); }
.foot .fine { font-size: 11.5px; color: var(--text-3); }
.foot-small { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.foot-small small { display: block; color: var(--text-3); font-size: 11.5px; line-height: 1.6; }
.foot-small a { color: var(--text-2); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-ctas, .store-note { justify-content: center; }
  .hero-stage { order: -1; margin-bottom: 10px; }
  .feature-row, .feature-row.flip { grid-template-columns: 1fr; gap: 36px; }
  .feature-row.flip > .feature-copy { order: 0; }
  .gallery { flex-wrap: wrap; }
  .chip-left { left: 4px; }
  .chip-right { right: 4px; }
  .cards-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: 28px; }
  .hero-grid { gap: 12px; }
  .hero .lead { margin-top: 16px; }
  .hero-ctas { margin-top: 22px; }
  .store-note { display: none; }
  .proof { margin-top: 16px; }
  .fgrid, .steps, .stats { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-cta .btn { width: 100%; }
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; } }

/* Theme-abhängige Showcase-Screenshots (D5: dark site -> dark shots, light -> light) */
.media-card .sc-light { display: none; }
html[data-theme="light"] .media-card .sc-light { display: block; }
html[data-theme="light"] .media-card .sc-dark { display: none; }

/* Sprachmenü: 25 Einträge -> scrollbar */
.lang-menu { max-height: min(62vh, 460px); overflow-y: auto; }

/* D5 Light hat keinen Glow (Token transparent) — Blur-Layer ganz aus,
   sonst wäscht das Chrome-Compositing den Hero aus (blur auf transparenter Fläche). */
html[data-theme="light"] .phone-glow { display: none; }

/* Brand (D5-Webdesign: F3-SVG + Uppercase-Wortmarke, theme-dual) */
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand img { width: 24px; height: 24px; border-radius: 0; }
.brand b { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.brand b span { color: var(--accent); }
.brand .logo-l { display: none; }
html[data-theme="light"] .brand .logo-l { display: block; }
html[data-theme="light"] .brand .logo-d { display: none; }
.nav-links a { font-size: 13.5px; font-weight: 500; }

/* ===== FAQ (SEO/2026-06-13) — native <details> accordion, theme-aware ===== */
.faq { max-width: 760px; margin: clamp(28px,4vw,44px) auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600; font-size: 1.02rem; color: var(--text); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--accent); transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 22px 20px; color: var(--text-2); line-height: 1.6; max-width: 64ch; }

/* ===== Early-Access-Modal (Android-Warteliste, 2026-06-14) — theme-aware ===== */
.ea-overlay{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(8,10,9,.66);backdrop-filter:blur(4px)}
.ea-overlay[hidden]{display:none}
.ea-modal{position:relative;width:100%;max-width:460px;background:var(--bg-2);border:1px solid var(--border);border-radius:var(--radius-lg);padding:clamp(26px,5vw,40px);box-shadow:0 30px 80px rgba(0,0,0,.45)}
.ea-x{position:absolute;top:12px;right:14px;background:none;border:0;color:var(--text-2);font-size:30px;line-height:1;cursor:pointer;padding:4px 8px}
.ea-x:hover{color:var(--text)}
.ea-modal h3{font-size:clamp(24px,4vw,30px);margin:10px 0 8px}
.ea-sub{color:var(--text-2);line-height:1.5;margin-bottom:20px}
.ea-form{display:flex;flex-direction:column;gap:12px}
.ea-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.ea-form input[type=email]{width:100%;padding:14px 16px;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit}
.ea-form input[type=email]:focus{outline:none;border-color:var(--accent)}
.ea-form .btn{width:100%;justify-content:center}
.ea-note{margin-top:14px;font-size:13px;color:var(--text-3);line-height:1.5}
.ea-msg{margin-top:16px;font-weight:600}
.ea-msg.ok{color:var(--accent)}
.ea-msg.err{color:#e2574c}
