/* Sharko IT-Services — Startseite (Redesign 07/2026)
   Nur die Startseite nutzt dieses Stylesheet. Projekte.html / Renew.html /
   kuendigen.html haengen weiter an site.css — das bleibt unangetastet. */

:root {
  --bg: #f4f1ea;
  --card: #fbfaf6;
  --ink: #16150f;
  --accent: oklch(0.58 0.19 40);
  --accent-bright: oklch(0.66 0.19 40);
  --line: rgba(22, 21, 15, 0.14);
  --line-strong: rgba(22, 21, 15, 0.28);
  --line-inv: rgba(244, 241, 234, 0.18);
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --wrap: 1240px;
  --pad: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Archivo, system-ui, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
::selection { background: var(--accent-bright); color: #fff; }
input, select, textarea, button { font: inherit; color: inherit; }
img { max-width: 100%; height: auto; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.6;
}
.h2 {
  margin: 14px 0 0;
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 24ch;
  text-wrap: balance;
}
.lede { margin: 18px 0 0; font-size: 17px; line-height: 1.6; opacity: 0.8; max-width: 58ch; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 15px 26px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { transform: translateY(-3px); background: var(--accent); color: var(--bg); }
.btn-ghost { border-color: var(--line-strong); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-block { display: block; width: 100%; }
.btn:disabled, .btn[data-busy='1'] { opacity: 0.6; cursor: default; transform: none; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(244, 241, 234, 0.82);
  border-bottom: 1px solid rgba(22, 21, 15, 0.1);
}
.nav-inner { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.brand { display: flex; align-items: baseline; gap: 8px; font-weight: 800; letter-spacing: -0.02em; font-size: 19px; }
.brand:hover { color: inherit; }
.brand-dim {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
}
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; font-weight: 500; }
.nav-links a { padding: 6px 0; border-bottom: 1px solid transparent; }
.nav-links a:hover { color: inherit; border-bottom-color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.switch { display: flex; gap: 2px; border: 1px solid rgba(22, 21, 15, 0.2); padding: 3px; border-radius: 2px; }
.switch button {
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 1px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.switch button.on { background: var(--ink); color: var(--bg); }

.burger { display: none; flex-direction: column; gap: 4px; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 92px 0 64px; }
.hero-glow {
  position: absolute;
  top: -80px;
  right: -60px;
  width: 520px;
  height: 520px;
  max-width: 90vw;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, oklch(0.72 0.18 40 / 0.5), transparent 66%);
  filter: blur(30px);
  animation: sk-drift 16s ease-in-out infinite;
  /* will-change befoerdert das Element auf eine eigene Compositor-Ebene, damit
     der Blur einmal gerastert und danach nur noch verschoben/skaliert wird —
     statt bei jedem Frame neu zu rechnen. */
  will-change: transform;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 56px;
  align-items: end;
}
/* Grid-Items duerfen unter ihre Inhaltsbreite schrumpfen, sonst ueberlappen
   lange Ueberschriften die Nachbarspalte statt umzubrechen. */
.hero-grid > * { min-width: 0; }
.hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 76px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 800;
}
/* Kein white-space: nowrap — im Englischen ("One monthly price.") ist die Zeile
   laenger, ein Grid-Item schrumpft nicht unter seine Inhaltsbreite und der Text
   lief in die Preiskarte. text-wrap: balance haelt die Zeilen trotzdem sauber. */
.hero h1 span { display: block; text-wrap: balance; }
.hero h1 .accent { color: var(--accent); }
.hero-eyebrow { margin-bottom: 26px; }
.hero-sub { margin: 30px 0 0; max-width: 46ch; font-size: 19px; line-height: 1.55; opacity: 0.8; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-card { border: 1px solid rgba(22, 21, 15, 0.16); background: var(--card); padding: 26px 24px 22px; border-radius: 3px; }
.hero-card .price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
/* Nur der Monatspreis ist gross — die Einrichtungsgebuehr darunter erbt sonst
   dieselbe .price-Groesse (site.js schreibt beide Betraege in .price). */
.hero-card .price-row .price { font-size: clamp(46px, 7vw, 66px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.hero-card .per { font-size: 15px; opacity: 0.65; }
.hero-card .setup-note { font-family: var(--mono); font-size: 12px; margin: 6px 0 0; opacity: 0.7; }
.hero-card hr { border: 0; border-top: 1px solid rgba(22, 21, 15, 0.12); margin: 20px 0 16px; }
.arrow-list { display: grid; gap: 9px; font-size: 14px; margin: 0; padding: 0; list-style: none; }
.arrow-list li { display: flex; gap: 10px; }
.arrow-list li::before { content: '→'; color: var(--accent); flex: none; }
.capacity {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0.6;
}
.capacity::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: sk-blink 2.4s infinite;
}

/* ── Marquee ─────────────────────────────────────────────────────────────── */
/* Zwei identische Haelften, jede min. 100vw breit — dadurch ist der Versatz
   von -50 % immer mindestens eine Bildschirmbreite und die Schleife bleibt
   auf JEDER Fenstergroesse nahtlos. Die Design-Vorlage hatte feste Breiten:
   auf breiten Monitoren lief der Streifen leer und sprang sichtbar zurueck. */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 15px 0;
  background: var(--ink);
  color: var(--bg);
}
/* will-change hebt den Streifen auf eine eigene Compositor-Ebene: die
   Transformation laeuft dann ohne Repaint im Compositor-Thread. */
.marquee-track { display: flex; width: max-content; animation: sk-marquee 34s linear infinite; will-change: transform; }
.marquee-half {
  display: flex;
  align-items: center;
  gap: 40px;
  min-width: 100vw;
  justify-content: space-around;
  padding-right: 40px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-half .sep { opacity: 0.4; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ── Sections ────────────────────────────────────────────────────────────── */
.band { padding: 90px 0 40px; }
.band-dark { background: var(--ink); color: var(--bg); padding: 96px 0; }
.band-dark .eyebrow { opacity: 0.55; }
.section-head { margin-bottom: 44px; }
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.head-row .section-head { margin-bottom: 0; }

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.plan {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: start;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 34px 32px;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.plan + .plan, .plan + .plan-custom { margin-top: 16px; }
.plan:hover { transform: translateY(-2px); }
.plan.selected { border-color: var(--accent); }
.plan-feat { background: var(--ink); color: var(--bg); border-color: rgba(244, 241, 234, 0.25); }
.plan-feat.selected { border-color: var(--accent-bright); }
.badge {
  position: absolute;
  top: -11px;
  left: 32px;
  background: var(--accent-bright);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
}
.plan-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.55; margin: 0; }
.plan-name { margin: 10px 0 0; font-size: 30px; letter-spacing: -0.03em; font-weight: 700; }
.plan-desc { margin: 12px 0 0; font-size: 15px; line-height: 1.6; opacity: 0.75; max-width: 34ch; }
.plan-price { display: flex; align-items: baseline; gap: 10px; margin-top: 26px; }
.plan-price .price { font-size: clamp(42px, 6vw, 58px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.plan-price .per { font-size: 15px; opacity: 0.65; }
.plan .setup-note { font-family: var(--mono); font-size: 12px; margin: 8px 0 0; opacity: 0.7; }
.price-old { opacity: 0.5; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); counter-reset: tick; }
.plan-feat .ticks { border-top-color: var(--line-inv); }
.ticks li {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  counter-increment: tick;
}
.plan-feat .ticks li { border-bottom-color: var(--line-inv); }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before {
  content: counter(tick, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0.5;
  width: 22px;
  flex: none;
  line-height: 1.5;
}
.plan-cta { margin-top: 22px; grid-column: 1 / -1; }
.plan-feat .btn-primary { background: var(--bg); color: var(--ink); }
.plan-feat .btn-primary:hover { background: var(--accent-bright); color: #fff; }

.plan-custom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px dashed var(--line-strong);
  padding: 26px 32px;
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.plan-custom:hover { transform: translateY(-2px); }
.plan-custom.selected { border-color: var(--accent); }
.plan-custom h3 { margin: 0; font-size: 20px; letter-spacing: -0.02em; font-weight: 700; }
.plan-custom p { margin: 8px 0 0; font-size: 15px; opacity: 0.75; max-width: 58ch; }
.plan-custom .go {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  white-space: nowrap;
}
.price-foot { margin: 22px 0 0; font-family: var(--mono); font-size: 11px; line-height: 1.7; opacity: 0.55; max-width: 70ch; }

/* ── Included grid ───────────────────────────────────────────────────────── */
.included {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.inc { background: var(--bg); padding: 26px 24px 30px; transition: background 0.3s; }
.inc:hover { background: var(--card); }
.inc-num { font-family: var(--mono); font-size: 11px; opacity: 0.5; }
.inc h4 { margin: 16px 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.inc p { margin: 0; font-size: 14px; line-height: 1.6; opacity: 0.75; }

/* ── Process ─────────────────────────────────────────────────────────────── */
.progress { height: 1px; background: var(--line-inv); position: relative; margin-bottom: 34px; }
.progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--accent-bright);
  transition: width 1.6s var(--ease);
}
.progress.on span { width: 100%; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 34px; }
.step-num { font-size: 44px; font-weight: 800; letter-spacing: -0.05em; color: var(--accent-bright); line-height: 1; }
.step h4 { margin: 14px 0 8px; font-size: 19px; font-weight: 700; }
.step p { margin: 0; font-size: 14px; line-height: 1.65; opacity: 0.75; }

/* ── Form ────────────────────────────────────────────────────────────────── */
.start-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: start; }
.start-points { margin: 28px 0 0; }
.start-points li { font-family: var(--mono); font-size: 12px; }
.start-addr {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.75;
}
.start-addr a { border-bottom: 1px solid rgba(22, 21, 15, 0.3); }

.reqform { border: 1px solid rgba(22, 21, 15, 0.16); background: var(--card); padding: 30px 28px; border-radius: 3px; display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.reqform label { display: grid; gap: 7px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.65; }
.reqform input,
.reqform select,
.reqform textarea {
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  padding: 10px 0;
  font-size: 16px;
  font-family: Archivo, system-ui, sans-serif;
  letter-spacing: normal;
  text-transform: none;
  outline: none;
  border-radius: 0;
  transition: border-color 0.25s;
}
.reqform textarea { border: 1px solid rgba(22, 21, 15, 0.2); padding: 12px; resize: vertical; }
.reqform input:focus, .reqform select:focus { border-bottom-color: var(--accent); }
.reqform textarea:focus { border-color: var(--accent); }
.budget { display: flex; align-items: baseline; gap: 6px; border-bottom: 1px solid var(--line-strong); }
.budget input { border-bottom: 0; flex: 1; min-width: 0; }
.budget .cur, .budget .usd { font-family: var(--mono); font-size: 13px; opacity: 0.6; }
.form-note { margin: 0; font-family: var(--mono); font-size: 10px; line-height: 1.7; opacity: 0.55; }
.form-note a { border-bottom: 1px solid rgba(22, 21, 15, 0.3); }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 8px 48px; border-top: 1px solid var(--line); padding-top: 40px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-size: 16px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); opacity: 0.5; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: 10px 0 0; font-size: 14px; line-height: 1.65; opacity: 0.75; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); margin-top: 60px; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 34px 48px; padding-block: 48px; }
.footer-brand p { margin: 14px 0 0; font-size: 14px; line-height: 1.6; opacity: 0.7; max-width: 34ch; }
.footer-cols { display: contents; }
.footer-cols > div { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.footer-cols h4 { margin: 0 0 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.55; font-weight: 400; }
.footer-cols a { opacity: 0.8; }
.footer-addr { opacity: 0.6; font-size: 13px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  border-top: 1px solid var(--line);
  padding-block: 26px;
  font-size: 13px;
  opacity: 0.7;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }

/* ── Projekte.html ───────────────────────────────────────────────────────── */
.page-hero { padding: 72px 0 20px; }
.back-link {
  display: inline-block;
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}
.back-link:hover { opacity: 1; color: var(--accent); }
.page-hero h1 {
  margin: 14px 0 0;
  font-size: clamp(34px, 5vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 800;
  text-wrap: balance;
}

.proj-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 26px; }
.proj-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 3px;
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.proj-card:hover { transform: translateY(-4px); border-color: var(--accent); color: inherit; }
.proj-frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); }
.proj-shot { height: 100%; }
.proj-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.proj-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(22, 21, 15, 0.72);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.25s;
}
.proj-card:hover .proj-overlay { opacity: 1; }
.proj-body {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 22px;
  border-top: 1px solid var(--line);
}
.proj-body h3 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.proj-tag { display: block; margin-top: 5px; font-size: 13px; opacity: 0.7; }
.proj-view {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  opacity: 0.75;
}
.proj-cta { text-align: center; }
.proj-cta .h2 { max-width: none; margin-inline: auto; }
.proj-cta .lede { margin-inline: auto; }
.proj-cta .btn { margin-top: 30px; }

/* ── Sticky selection bar ────────────────────────────────────────────────── */
.selbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  transform: translateY(110%);
  transition: transform 0.5s var(--ease);
  background: var(--ink);
  color: var(--bg);
  border-top: 1px solid rgba(244, 241, 234, 0.2);
}
.selbar.show { transform: translateY(0); }
.selbar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding-block: 14px; }
.selbar-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; }
.selbar-name { font-weight: 700; font-size: 15px; }
.selbar-price { font-family: var(--mono); font-size: 13px; opacity: 0.85; }
.selbar .btn { margin-left: auto; background: var(--accent-bright); color: #fff; padding: 11px 20px; font-size: 14px; }
.selbar .btn:hover { transform: translateY(-2px); background: var(--accent-bright); color: #fff; }

/* ── Modal (Stripe-Checkout) ─────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(22, 21, 15, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: sk-fade 0.15s;
}
.modal-overlay[hidden] { display: none; }
.modal-overlay.closing { opacity: 0; transition: opacity 0.15s; }
.modal-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 32px 30px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close { position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; opacity: 0.5; }
.modal-close:hover { opacity: 1; }
.modal-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.55; margin: 0; }
.modal-title { margin: 10px 0 20px; font-size: 24px; letter-spacing: -0.02em; }
.modal-summary { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 6px 0; margin-bottom: 20px; }
.modal-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; font-size: 15px; }
.consents { display: grid; gap: 14px; margin-bottom: 22px; }
.consent { display: flex; gap: 10px; font-size: 13px; line-height: 1.5; opacity: 0.85; cursor: pointer; }
.consent input { margin-top: 3px; flex: none; accent-color: var(--accent); }
.consent a { border-bottom: 1px solid var(--line-strong); }
.consent.invalid { color: #b42318; }
.consent.shake { animation: sk-shake 0.45s; }
.modal-confirm { width: 100%; }

/* ── Toast ───────────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 140%);
  z-index: 70;
  background: var(--ink);
  color: var(--bg);
  padding: 14px 22px;
  border-radius: 2px;
  font-size: 14px;
  line-height: 1.5;
  max-width: min(90vw, 460px);
  transition: transform 0.4s var(--ease);
}
.toast.show { transform: translate(-50%, 0); }

/* ── Scroll-Reveal (Klassen kommen aus site.js) ──────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease) var(--reveal-delay, 0ms),
              transform 0.7s var(--ease) var(--reveal-delay, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ── Keyframes ───────────────────────────────────────────────────────────── */
@keyframes sk-rise { from { opacity: 0; transform: translateY(0.7em); } to { opacity: 1; transform: none; } }
@keyframes sk-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes sk-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-3%, 4%, 0) scale(1.08); }
}
@keyframes sk-blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0.25; } }
@keyframes sk-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sk-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.js .rise { animation: sk-rise 0.8s both; }
.js .rise-1 { animation-delay: 0.06s; }
.js .rise-2 { animation-delay: 0.16s; }
.js .rise-3 { animation-delay: 0.26s; }
.js .rise-4 { animation-delay: 0.36s; }
.js .rise-5 { animation-delay: 0.46s; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --pad: 20px; }
  .burger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-actions .btn { display: none; }
  .hero { padding: 56px 0 48px; }
  .hero-grid { gap: 40px; }
  .band { padding: 64px 0 30px; }
  .band-dark { padding: 64px 0; }
  .plan { padding: 28px 22px; gap: 28px; }
  .plan-custom { padding: 22px; }
  .footer-legal { margin-left: 0; }
}

@media (max-width: 560px) {
  /* nowrap oben + sehr schmales Fenster: Schrift muss mitschrumpfen,
     sonst laeuft "Ein Monatspreis." aus dem Viewport. */
  .hero h1 { font-size: clamp(26px, 8.4vw, 40px); }
  .selbar-price { display: none; }
  .selbar .btn { margin-left: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .hero-glow,
  .capacity::before { animation: none; }
  .js .rise { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .progress span { transition: none; }
  * { scroll-behavior: auto; }
}
