/* ═══════════════════════════════════════════════════════════════
   FlipHunter — Finale Landing Page (Basis: "Zentrale", verfeinert)
   Animierter Hintergrund: Partikel-Netz + Glow-Orbs + Film-Grain.
   Markenrot, keine Fake-Daten, dynamische Pläne (JS), ruhige Typo.
   ═══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Inter';
  font-weight: 400 900;
  src: url('../assets/fonts/inter-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 400 600;
  src: url('../assets/fonts/jbmono-variable.woff2') format('woff2');
}

:root {
  --bg:        #08080d;
  --bg-deep:    #050508;
  --surface:   #0e0e16;
  --surface-2:  #14141f;
  --red:       #e11d2e;
  --red-bright:#ff2440;
  --red-dark:   #9f0e1e;
  --text:      #f2f2ff;
  --muted:     #8b8ba8;
  --faint:     #5a5a75;
  --line:      rgba(255, 255, 255, 0.08);
  --glow:      rgba(225, 29, 46, 0.35);
  --font: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-y: scroll; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(225, 29, 46, 0.4); color: #fff; }
.mono { font-family: var(--mono); }
.accent { color: var(--red); }
a { color: inherit; }

/* ═══ Animierter Hintergrund ═══ */
#particles {
  position: fixed; inset: 0; z-index: -3;
  pointer-events: none;
}
.orb {
  position: fixed; border-radius: 50%; z-index: -2;
  filter: blur(80px); pointer-events: none;
  animation: orbDrift 20s ease-in-out infinite alternate;
}
.orb-1 {
  width: 420px; height: 420px; top: -140px; right: -100px;
  background: radial-gradient(circle, rgba(225, 29, 46, 0.16), transparent 70%);
}
.orb-2 {
  width: 360px; height: 360px; bottom: -120px; left: -100px;
  background: radial-gradient(circle, rgba(159, 14, 30, 0.14), transparent 70%);
  animation-delay: -8s;
}
@keyframes orbDrift {
  to { transform: translate(30px, -20px) scale(1.1); }
}
.grain {
  position: fixed; inset: 0; z-index: -1; opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ═══ Navbar ═══ */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05rem clamp(1.2rem, 5vw, 3.5rem);
  background: rgba(8, 8, 13, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s, background .4s;
}
.nav.scrolled { border-color: var(--line); background: rgba(8, 8, 13, 0.92); }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 700; letter-spacing: -.02em; }
.brand .accent { color: var(--red); }
.nav-links { display: flex; gap: 2.2rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .9rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: .6rem; }
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: transparent; border: 1px solid var(--line); border-radius: 8px;
  width: 40px; height: 40px; padding: 9px; cursor: pointer;
}
.nav-burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══ Buttons — ENTSÄTTIGT (User-Vorgabe v3, Punkt 2):
   dunkler Rot-Ton, kein Glow-Shadow, Hover minimal heller ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .68rem 1.4rem; border-radius: 10px;
  font-weight: 600; font-size: .88rem; cursor: pointer;
  text-decoration: none; color: #fff; border: 1px solid transparent;
  background: #9f1224;
  box-shadow: none;
  transition: background .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn:hover { background: #b81a2e; transform: translateY(-1px); box-shadow: none; }
.btn:active { background: #94121f; transform: none; }
.btn.ghost { background: transparent; color: var(--muted); box-shadow: none; }
.btn.ghost:hover { color: var(--text); background: transparent; }
.btn.soft { background: transparent; color: var(--text); border-color: var(--line); box-shadow: none; }
.btn.soft:hover { border-color: var(--red); color: var(--red); background: transparent; transform: none; }
.btn.big { padding: .92rem 1.9rem; font-size: .95rem; }
.btn.block { width: 100%; }

/* ═══ Hero ═══ */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
  max-width: 1120px; margin: 0 auto;
  padding: 4rem clamp(1.2rem, 5vw, 3.5rem) 5rem;
  min-height: 86vh;
}
.kicker { color: var(--red); font-size: .76rem; letter-spacing: .08em; margin-bottom: 1.1rem; }
.kicker .blip {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #2fd69a; margin-right: 2px; vertical-align: middle;
  animation: blipPulse 2.4s ease-in-out infinite;
}
@keyframes blipPulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.hero-title { font-size: clamp(2.2rem, 5.5vw, 3.9rem); font-weight: 800; line-height: 1.05; letter-spacing: -.045em; margin-bottom: 1.2rem; }
.ht-line { display: block; overflow: hidden; }
.ht-line .grad, .ht-line .accent { display: inline-block; transform: translateY(105%); animation: lineUp .9s var(--ease) forwards; }
.ht-line:first-child .grad { animation-delay: .1s; }
.ht-line:last-child { animation: lineUp .9s var(--ease) .22s both; }
.hero-title .grad {
  background: linear-gradient(120deg, #ff4d5c 0%, var(--red) 55%, var(--red-dark) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 0 24px rgba(225, 29, 46, 0.25));
}
@keyframes lineUp { to { transform: translateY(0); } }
.lead { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.16rem); max-width: 460px; margin-bottom: 2rem; animation: fadeUp .9s var(--ease) .3s both; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp .9s var(--ease) .38s both; }
.dot-sep { color: var(--faint); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ═══ KPI-Mono-Zeile (unauffällig, unterm Hero) ═══ */
.kpi-line {
  display: flex; align-items: center; gap: .6rem;
  margin-top: 2.2rem; color: var(--faint);
  font-size: .74rem; letter-spacing: .1em;
  animation: fadeUp .9s var(--ease) .46s both;
}
.kpi-line .kpi-num { color: var(--text); font-weight: 600; }
.kpi-line .dot-sep { color: rgba(225,29,46,.5); }

/* ═══ Deal-Karte (echte sold-Items, V4-Glas-Look) ═══ */
.deal-card {
  position: relative;
  max-width: 100%;
  background: linear-gradient(165deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px 18px 12px;
  box-shadow: 0 50px 100px -55px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.09);
  animation: cardFloat 7s ease-in-out infinite;
}
@keyframes cardFloat { 50% { transform: translateY(-8px); } }
.deal-card::before {
  content: ""; position: absolute; top: 0; left: 14%; right: 14%;
  height: 1.5px; border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,36,64,.7), transparent);
}
/* Ecken-Marker (V2-DNA, subtil) */
.corners { position: relative; }
.corners::after {
  content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none;
  right: -1px; bottom: -1px; border-color: rgba(255,36,64,.5); border-style: solid;
  border-width: 0 1.5px 1.5px 0; border-bottom-right-radius: 20px;
}
.deal-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .66rem; letter-spacing: .16em;
  color: var(--faint); margin-bottom: 12px;
}
.deal-head .live { color: #2fd69a; display: flex; align-items: center; gap: 6px; }
.deal-head .live .blip {
  width: 5px; height: 5px; border-radius: 50%; background: #2fd69a;
  animation: blipPulse 1.8s ease-in-out infinite;
}
.drow {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 13px; align-items: center;
  padding: 9px 10px; border-radius: 12px;
  transition: background .15s;
}
.drow:hover { background: rgba(255,255,255,.045); }
.drow + .drow { margin-top: 2px; }
.dimg {
  width: 44px; height: 44px; border-radius: 10px; object-fit: cover;
  border: 1px solid var(--line); background: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--faint); overflow: hidden;
}
.drow .info b {
  display: block; font-size: .86rem; font-weight: 700; letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.drow .info span { font-size: .72rem; color: var(--faint); white-space: nowrap; }
/* Clipping-Fix (06.09.): auf kleinen Dimensionen darf die Sub-Zeile
   umbrechen (nowrap + overflow:visible trieb die Karte 19px über den Rand) */
@media (max-width: 620px) {
  .drow .info span { white-space: normal; line-height: 1.45; }
  .deal-card { padding: 16px 14px 10px; }
  .deal-foot { flex-wrap: wrap; gap: 4px 12px; }
  .drow .score { padding: 5px 7px; font-size: .85rem; }
}
.drow .score {
  text-align: right; font-family: var(--mono);
  font-size: .92rem; font-weight: 700; color: #2fd69a;
  padding: 6px 9px; border-radius: 8px;
  background: rgba(47,214,154,.1);
  border: 1px solid rgba(47,214,154,.25);
}
.drow .score.low { color: var(--faint); background: rgba(255,255,255,.04); border-color: var(--line); }
/* Score-Farblogik (SCORE_KONZEPT.md): ≥80 grün (default), 60-79 amber, <60 grau */
.drow .score.mid { color: var(--amber, #f5b53f); background: rgba(245,181,63,.08); border-color: rgba(245,181,63,.25); }
.deal-foot {
  margin-top: 10px; padding-top: 11px;
  border-top: 1px solid rgba(255,255,255,.045);
  display: flex; justify-content: space-between;
  font-size: .64rem; letter-spacing: .12em; color: var(--faint);
}
/* Reveal-Zustände via landing_extras.js */
.pre-reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.pre-reveal.in-reveal { opacity: 1; transform: none; }

/* ═══ Sections ═══ */
.section { padding: 4.5rem clamp(1.2rem, 5vw, 3.5rem); max-width: 1080px; margin: 0 auto; }
.section.alt { max-width: none; }
.sec-head { text-align: center; margin-bottom: 3rem; }
.eyebrow { color: var(--red); font-size: .76rem; letter-spacing: .1em; }
.price-note { display: block; color: var(--faint); font-size: .7rem; margin-top: .5rem; }
.price-more { color: var(--red); text-decoration: none; font-size: 12.5px; }
.price-more:hover { text-decoration: underline; }
.sec-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; margin: .5rem 0; }
.sec-head .accent { color: var(--red); }
.sub { color: var(--muted); }

/* Tools */
.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; max-width: 1080px; margin: 0 auto; padding: 0 1.2rem; }
.tool {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  opacity: 0; transform: translateY(18px);
}
.tool.in { opacity: 1; transform: none; transition-delay: var(--d, 0s); }
.tool:hover { transform: translateY(-3px); border-color: rgba(225,29,46,.3); box-shadow: 0 14px 40px -20px var(--glow); }
.tool h3 { font-size: 1rem; margin-bottom: .35rem; }
.tool p { color: var(--muted); font-size: .9rem; }

/* ═══ Feeds-Panel (echte Feeds, ohne Toggles/Badge) ═══ */
.feed-panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px 14px;
  max-width: 640px; margin: 0 auto;
  box-shadow: 0 30px 70px -45px rgba(0,0,0,.9);
}
.feed-head {
  display: flex; justify-content: space-between;
  font-size: .66rem; letter-spacing: .16em; color: var(--faint);
  margin-bottom: 8px;
}
.frow {
  display: grid; grid-template-columns: 1fr auto auto; gap: 14px;
  align-items: center; padding: 12px 6px;
}
.frow + .frow { border-top: 1px solid rgba(255,255,255,.045); }
.fname { font-size: .9rem; font-weight: 700; }
.fmeta { font-size: .68rem; color: var(--faint); text-align: right; }
.fflt { font-size: .66rem; color: var(--red); text-align: right; min-width: 62px; }
.feed-foot {
  margin-top: 8px; padding-top: 11px;
  border-top: 1px solid rgba(255,255,255,.045);
  text-align: center; font-size: .64rem; letter-spacing: .12em; color: var(--faint);
}

/* ═══ Alert-Kanäle (Inline-SVG-Icons, Dashboard-Stil) ═══ */
.channels {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; max-width: 860px; margin: 0 auto;
}
.chan {
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255,255,255,.02);
  padding: 18px 14px; text-align: center;
  font-size: .74rem; color: var(--muted);
  transition: border-color .2s, transform .2s;
}
.chan:hover { border-color: rgba(225,29,46,.45); transform: translateY(-3px); color: var(--text); }
.chan svg { color: var(--red); margin-bottom: 6px; display: inline-block; }
.chan b { display: block; color: var(--text); font-size: .82rem; }
.chan span { font-size: .7rem; color: var(--faint); }

/* ═══ FAQ (Phase 2): natives Accordion <details>, V4-Stil ═══ */
.faq-list { max-width: 640px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.02);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item:hover { border-color: rgba(225,29,46,.35); }
.faq-item[open] { border-color: rgba(225,29,46,.45); background: rgba(255,255,255,.03); }
.faq-item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 15px 18px;
  cursor: pointer;
  font-weight: 600; font-size: .95rem;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .landing-icon {
  flex: none; color: var(--red);
  transition: transform .25s var(--ease);
}
.faq-item[open] summary .landing-icon { transform: rotate(180deg); }
.faq-item p {
  padding: 0 18px 16px;
  color: var(--muted); font-size: .9rem; line-height: 1.65;
  animation: faqOpen .3s var(--ease);
}
@keyframes faqOpen { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ═══ Preise (dynamisch via JS, Quelle: DB plan_tiers) ═══ */
#preise { max-width: 1240px; }
.price-row {
  display: grid; gap: 1.4rem;
  /* FIX (Audit-Nachweis): minmax(0,1fr) erzeugte 44 Geister-Spalten (0px).
     minmax(230px,1fr) + max-width 1080px = echte 4er-Reihe.
     Punkt 6 (06.09.): Panels ETWAS breiter → 1160px, damit
     "Preis-Aggregator ... / Tag" in EINE Zeile passt. */
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-auto-rows: 1fr; /* gleiche Höhe */
  align-items: stretch;
  max-width: 1160px; margin: 0 auto;
}
.p-card { height: 100%; }
.p-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem 1.8rem;
  display: flex; flex-direction: column; gap: 1.1rem; position: relative;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s, opacity .4s var(--ease);
}
.p-card:hover { transform: translateY(-4px); }
.p-card.hot { border-color: rgba(225,29,46,.4); box-shadow: 0 0 50px -22px var(--glow); }
.p-flag {
  position: absolute; top: -12px; right: 18px;
  padding: .3rem .8rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--red-bright), var(--red-dark));
  font-size: .7rem; font-weight: 600; color: #fff;
  box-shadow: 0 6px 20px -6px var(--glow);
  /* Punkt 2 (06.09.): Badge-„Verbuggtheit" — der Badge hing an der Karten-
     Ecke und wurde vom Hot-Glow/floating Elementen überdeckt bzw. clipped.
     Fix: über allem (z-index), keine Overflow-Beschneidung, weiße Mindest-
     Kantenhöhe, inset-Border für klare Kante. */
  z-index: 2;
  white-space: nowrap;
  letter-spacing: .02em;
  border: 1px solid rgba(255,255,255,.22);
}
.p-card { overflow: visible; } /* Badge ragt oben über die Kartenkante */
.p-name { font-weight: 700; font-size: 1.05rem; }
.p-price { display: flex; align-items: baseline; gap: .4rem; min-height: 3rem; }
.p-price b { font-size: 2rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.p-price b:not(.p-invite)::before { content: "€"; font-size: 1.05rem; color: var(--red); }
.p-price .per { color: var(--faint); font-size: .88rem; }
/* "Auf Einladung" genauso groß wie der Geldbetrag (2rem), damit die
   Preiszeile in allen Karten identisch wirkt. */
.p-price .p-invite { font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; }
/* Clipping-Fix (06.09.): "Auf Einladung" ist breiter als schmale Karten-
   Innenräume (4er-Grid → ~186px). Grundwert: 1.5rem + umbrechbar —
   überall ohne Clipping; Identität bleibt (gleiche Zeilenhöhe via p-price
   min-height). */
.p-price .p-invite { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.2; white-space: normal; }
.p-year { color: var(--faint); font-size: .8rem; min-height: 1.2em; line-height: 1.2; }
.p-year.is-empty { visibility: hidden; }

/* Features: max 3 Punkte (User-Vorgabe), gleiche Höhe in allen Karten.
   User-Korrektur v3 Punkt 5: KEINE Umrandungen der li-Zeilen — Text bleibt. */
.p-card .p-feats {
  list-style: none; display: flex; flex-direction: column; gap: .6rem;
  max-height: 8em; overflow: hidden;
  min-height: calc(1.6em * 3 + .6rem * 2); /* 3 Punkte fest */
}
.p-card .p-feats li {
  color: var(--muted); font-size: .92rem; padding-left: 1.3rem; position: relative;
  max-height: 1.6em; line-height: 1.6; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}
.p-card .p-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* Berechtigungs-Auflistung (aus DB plan_values, nichts erfunden).
   User-Korrektur v3 Punkt 5: nur die Umrandung entfernen, Inhalt bleibt. */
.p-perms {
  border-top: none; padding-top: 1rem; margin-top: .2rem;
}
.p-perms-title { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: .5rem; }
.p-perms ul { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.p-perms li { display: flex; justify-content: space-between; gap: .6rem; font-size: .86rem; color: var(--muted); }
.p-perms li b { color: var(--text); font-weight: 600; white-space: nowrap; }
/* Punkt 6 (06.09.): "Preis-Aggregator <Wert> / Tag" soll in EINE Zeile.
   Der Label-Span wird mit ellipsis beschnitten, der Wert bleibt rechts. */
.p-perms li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-perms { min-height: 5.2em; }
.p-card .btn { margin-top: auto; }

/* ═══ Plan-Info-Modal (Markdown "Mehr erfahren") ═══ */
.p-modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.p-modal.open { display: flex; }
.p-modal-backdrop {
  position: absolute; inset: 0; background: rgba(4, 4, 8, 0.72);
  backdrop-filter: blur(6px);
}
.p-modal-box {
  position: relative; z-index: 1;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); max-width: 560px; width: 100%;
  max-height: 82vh; overflow: auto; padding: 2rem 2.2rem;
  zoom: 0.85; /* 17.09. (User: "rauszoomen") — proportional, keine Neu-Anordnung */
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8);
  animation: modalIn .3s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.p-modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-size: 1rem;
  transition: color .2s, border-color .2s;
}
.p-modal-close:hover { color: var(--text); border-color: var(--red); }
.p-modal-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 1.2rem; }
.p-modal-body { color: var(--muted); font-size: .95rem; line-height: 1.7; }
.p-modal-body h2, .p-modal-body h3 { color: var(--text); font-weight: 700; margin: 1.2rem 0 .5rem; letter-spacing: -.01em; }
.p-modal-body h2 { font-size: 1.15rem; }
.p-modal-body h3 { font-size: 1rem; }
.p-modal-body h2:first-child, .p-modal-body h3:first-child { margin-top: 0; }
.p-modal-body p { margin: .5rem 0; }
.p-modal-body ul { margin: .5rem 0 .5rem 1.1rem; list-style: disc; }
.p-modal-body li { margin: .3rem 0; }
.p-modal-body strong { color: var(--text); font-weight: 600; }
body.modal-open { overflow: hidden; }

/* ═══ Final ═══ */
.final { text-align: center; padding: 5rem clamp(1.2rem, 5vw, 3.5rem) 6rem; border-top: 1px solid var(--line); }
.final h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -.03em; }
.final h2 .grad { background: linear-gradient(120deg, #ff4d5c 0%, var(--red) 55%, var(--red-dark) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.final p { color: var(--muted); margin: .8rem 0 2rem; }

/* ═══ Footer — dreigeteilt (© links außen, Preise/Pläne EXAKT in der
       Seitenmitte, Rechtliches rechts außen) — volle Breite (User 20.09.:
       'Platzierung passt nicht' — die 1200px-Einrückung ließ bei breiten
       Screens beidseitig Leerraum; Mitte wirkte verschoben) ═══ */
.footer { width: 100%; border-top: 1px solid var(--line); }
.f-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.4rem;
  /* Volle Breite: nur Seiten-Padding, KEIN max-width — © klebt links außen,
     Rechtliches rechts außen, unabhängig von der Auflösung. */
  padding: 1.8rem clamp(1.5rem, 4vw, 3rem);
  color: var(--faint); font-size: .84rem;
}
/* Mitte EXAKT in der Seitenmitte — unabhängig davon, wie breit © links und
   Rechtliches rechts sind (auflösungsunabhängig, User-Vorgabe 'Nicht alle
   Menschen haben die gleiche Auflösung'). */
.f-links-center {
  position: absolute; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
}
.f-legal { flex: none; }
.f-links { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.f-links-right { flex: none; }
.f-links a { color: var(--muted); text-decoration: none; }
.f-links a:hover { color: var(--text); }

/* ═══ Responsive ═══ */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding: 2.5rem 1.2rem; }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .kpi-line { flex-wrap: wrap; justify-content: center; }

  .tools { grid-template-columns: repeat(2, 1fr); max-width: 560px; }
  .price-row { grid-template-columns: repeat(2, 1fr); max-width: 560px; }
  .channels { grid-template-columns: repeat(2, 1fr); }
  /* Footer: untereinander, LINKSBÜNDIG (User-Vorgabe v3, Punkt 8).
     20.09.: .f-links-center ist jetzt absolute zentriert — auf Mobile
     zurück in den Fluss (sonst Überlappung mit © / Rechtliches). */
  .f-inner { display: flex; flex-direction: column; align-items: flex-start; }
  .f-links-center { position: static; transform: none; white-space: normal; }
}
@media (max-width: 620px) {
  .tools, .price-row { grid-template-columns: 1fr; max-width: 420px; }
}
@media (max-width: 620px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(8,8,13,.98); flex-direction: column; padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--line); gap: 1rem; }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
}

/* ═══ Mobile-Feinschliff (JS-Klasse .is-mobile: Erkennung + Performance) ═══ */
.is-mobile {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
.is-mobile .orb { width: 240px; height: 240px; filter: blur(52px); }
.is-mobile .grain { opacity: .02; }
.is-mobile .btn { min-height: 46px; }
.is-mobile .hero { min-height: 0; padding-top: 2.2rem; }
.is-mobile .hero-title { font-size: clamp(1.9rem, 9vw, 2.6rem); }
.is-mobile .hero-cta { width: 100%; }
.is-mobile .hero-cta .btn { flex: 1; }
.is-mobile .section { padding-top: 2.8rem; padding-bottom: 2.8rem; }
.is-mobile .p-card { padding: 1.5rem 1.2rem; }
.is-mobile .deal-card { animation: none; }
.is-mobile .frow { grid-template-columns: 1fr auto; }
.is-mobile .fmeta { display: none; }
.is-mobile .footer { padding: 0; }
.is-mobile .f-inner { padding: 1.6rem 1.2rem; }
.is-mobile .f-links { gap: 1.4rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
/* Fix-Runde 06.09.: Score-Chip ohne Wert (score=0, Phase 2) */
.drow .score.score-none { color: var(--faint); background: rgba(255,255,255,.04); border-color: var(--line); }
/* Keine sold-Deals → Hero einspaltig zentriert (Karte ist ganz ausgeblendet) */
.hero:has(> .deal-card:only-child), .hero.no-deals { grid-template-columns: 1fr; }

/* ═══ V4.4-Bridge: flüssige Zwischenstufen (921-1279px) ═══
   Zwischen Desktop (fix 4er) und Tablet (2er) skaliert alles
   stufenlos statt umzuspringen. */
@media (min-width: 921px) and (max-width: 1279px) {
  .tools { grid-template-columns: repeat(4, 1fr); gap: clamp(.7rem, 1.6vw, 1.2rem); padding: 0 1.2rem; max-width: none; }
  .tool { padding: clamp(1rem, 2vw, 1.4rem); }
  .price-row { gap: clamp(.8rem, 1.6vw, 1.4rem); max-width: none; padding: 0 1.2rem; }
  .p-card { padding: clamp(1.4rem, 2.6vw, 2rem) clamp(1.2rem, 2.2vw, 1.8rem); }
  .section { padding-left: clamp(1.2rem, 4vw, 3.5rem); padding-right: clamp(1.2rem, 4vw, 3.5rem); }
  .hero { padding-left: clamp(1.2rem, 4vw, 3.5rem); padding-right: clamp(1.2rem, 4vw, 3.5rem); }
}

/* ═══ V5-Footnote: Footer-Links 2+2 statt 3+1 ═══
   4 Links = immer 2 Spalten × 2 Zeilen (mobile), sonst eine Zeile. */
.f-links { display: grid; grid-template-columns: repeat(2, auto); gap: .8rem 2.4rem; justify-items: start; }
@media (min-width: 921px) {
  .f-links { display: flex; gap: 2.2rem; }
  /* Footer dreigeteilt (20.09.): © links · Preise/Pläne MITTE · Rechtliches RECHTS */
  .f-links-center { justify-content: center; }
  .f-links-right { justify-content: flex-end; }
}

/* Plan A3.2: AGB-/Zahlungspflicht-Hinweis unter Plan-Karten-CTAs */
.p-legal-note { font-size: 11px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.p-legal-note a { color: var(--muted); text-decoration: underline; }

/* ═══ A11y: Skip-Link + Fokus (Phase 3/P12) + Form-Busy (Phase 1) ═══ */
/* Identisch zu base.css (Landing lädt landing.css separat) */
.skip-link {
  position: absolute;
  left: -9999px; top: 0;
  z-index: 10000;
  background: var(--color-surface, #14141c);
  color: #fff;
  padding: 10px 16px;
  border: 1px solid var(--color-accent, #e11d2e);
  border-radius: 0 0 8px 0;
  text-decoration: none;
  font-size: 13px;
}
.skip-link:focus-visible {
  left: 0;
  outline: 2px solid var(--color-accent, #e11d2e);
  outline-offset: 2px;
}
:focus-visible {
  outline: 2px solid var(--color-accent, #e11d2e);
  outline-offset: 2px;
}
button.is-busy {
  opacity: .65;
  cursor: progress;
  pointer-events: none;
}
button.is-busy::before {
  content: "";
  display: inline-block;
  width: 12px; height: 12px;
  margin-right: 7px;
  vertical-align: -1px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: fh-busy-spin .7s linear infinite;
}
@keyframes fh-busy-spin { to { transform: rotate(360deg); } }
