/*
 * shop.invento-concept.de – Stylesheet
 * Keine externen Ressourcen, Systemschriften, CSP-tauglich (keine Inline-Styles nötig).
 *
 * LAYOUT-VERTRAG (auch für die Rechtsseiten):
 *   .skip-link  .site-header > .container.header-inner > .brand + .btn
 *   main#main.legal.container  (h1/h2/h3/p/ul/ol/table, .note, .muster)
 *   .form .form-field(label+input) .form-check .btn .btn-primary .btn-outline
 *   .alert .alert-error .alert-success   .site-footer (aus web/partials/footer.html)
 *   Keine style="..."-Attribute verwenden (CSP style-src 'self').
 */

/* ---------- Tokens ---------------------------------------------------------- */
:root {
  --navy-950: #060b16;
  --navy-900: #0b1426;
  --navy-800: #111e36;
  --navy-700: #1a2a48;
  --slate-50: #f6f8fb;
  --slate-100: #eef2f7;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --cyan-300: #67e8f9;
  --cyan-400: #22d3ee;
  --cyan-700: #0e7490;
  --cyan-800: #155e75;
  --sky-400: #38bdf8;

  --bg: #ffffff;
  --bg-alt: var(--slate-50);
  --surface: #ffffff;
  --surface-2: var(--slate-100);
  --border: var(--slate-200);
  --border-strong: var(--slate-300);
  /* Rahmen von Bedienelementen (WCAG 1.4.11, >= 3:1): #7c8aa0 = 3,5:1 auf #fff, 3,1:1 auf #eef2f7 */
  --input-border: #7c8aa0;
  --input-border-hover: #64748b;
  --control-accent: var(--cyan-700);
  --text: var(--slate-900);
  --text-muted: var(--slate-600);
  --link: var(--cyan-700);
  --link-hover: var(--cyan-800);
  --focus: var(--cyan-700);
  --accent-soft: #ecfeff;
  --accent-line: #a5f3fc;
  --success-bg: #f0fdf4;
  --success-border: #bbf7d0;
  --success-text: #166534;
  --error-bg: #fef2f2;
  --error-border: #fecaca;
  --error-text: #b91c1c;
  --info-bg: #f0f9ff;
  --info-border: #bae6fd;

  --dark-text: #e6edf6;
  --dark-muted: #a3b3c8;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18), 0 4px 10px -6px rgba(15, 23, 42, .12);
  --shadow-lg: 0 40px 80px -30px rgba(2, 8, 23, .55), 0 18px 36px -18px rgba(2, 8, 23, .45);

  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --container: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 4rem;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1426;
    --bg-alt: #0e1930;
    --surface: #111e36;
    --surface-2: #16243f;
    --border: #22324f;
    --border-strong: #2f4266;
    /* #6b7fa3 = 4,1:1 auf #111e36, 3,8:1 auf #16243f */
    --input-border: #6b7fa3;
    --input-border-hover: #8a9cc0;
    --control-accent: #67e8f9;
    --text: #e6edf6;
    --text-muted: #a3b3c8;
    --link: #67e8f9;
    --link-hover: #a5f3fc;
    --focus: #67e8f9;
    --accent-soft: rgba(34, 211, 238, .10);
    --accent-line: rgba(103, 232, 249, .35);
    --success-bg: rgba(34, 197, 94, .12);
    --success-border: rgba(74, 222, 128, .35);
    --success-text: #86efac;
    --error-bg: rgba(239, 68, 68, .12);
    --error-border: rgba(248, 113, 113, .45);
    --error-text: #fca5a5;
    --info-bg: rgba(56, 189, 248, .10);
    --info-border: rgba(56, 189, 248, .35);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow: 0 12px 30px -12px rgba(0, 0, 0, .55);
  }
}

/* ---------- Basis ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: 1.18;
  letter-spacing: -.02em;
  font-weight: 750;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.2rem + 2.4vw, 2.9rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 1rem + .4vw, 1.25rem); letter-spacing: -.01em; }
h4 { font-size: 1.05rem; }

p, ul, ol, dl, table, pre, figure { margin: 0 0 1rem; }
p { text-wrap: pretty; }
ul, ol { padding-left: 1.3rem; }
li + li { margin-top: .35rem; }
strong, b { font-weight: 700; }
small { font-size: .875rem; }

a { color: var(--link); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--link-hover); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }

code, kbd, pre, samp { font-family: var(--font-mono); font-size: .92em; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
/* Keyword-Komposita nicht am Bindestrich trennen – erst ab 600px (sonst Überlauf auf kleinen Handys) */
@media (min-width: 600px) { .nowrap-md { white-space: nowrap; } }

/* ---------- Skip-Link ------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: .75rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--cyan-400);
  color: var(--navy-950);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: .75rem; color: var(--navy-950); }

/* ---------- Layout ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem); }
.section-alt { background: var(--bg-alt); }
.section-tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4rem); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.section-head.text-center { margin-inline: auto; }
.section-head p { color: var(--text-muted); font-size: 1.125rem; }

.kicker {
  display: inline-block;
  margin-bottom: .75rem;
  color: var(--link);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.grid { display: grid; gap: clamp(1rem, .75rem + 1vw, 1.5rem); }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Header ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-950);
  color: var(--dark-text);
  border-bottom: 1px solid rgba(148, 163, 184, .14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: #fff;
  font-weight: 750;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
}
.brand::before {
  content: "";
  width: 1.9rem;
  height: 1.9rem;
  flex: none;
  border-radius: 8px;
  background: url("/favicon.svg") center / contain no-repeat;
}
.brand:hover { color: #fff; }

.header-nav { display: none; }
.header-nav ul { display: flex; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.header-nav li + li { margin: 0; }
.header-nav a { color: var(--dark-muted); font-size: .95rem; font-weight: 550; text-decoration: none; }
.header-nav a:hover { color: #fff; }
@media (min-width: 900px) {
  .header-nav { display: block; margin-left: auto; margin-right: 1.25rem; }
}

/* ---------- Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 2.9rem;
  padding: .7rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-400), var(--sky-400));
  color: var(--navy-950);
  box-shadow: 0 8px 22px -10px rgba(34, 211, 238, .75);
}
.btn-primary:hover {
  color: var(--navy-950);
  box-shadow: 0 12px 28px -10px rgba(34, 211, 238, .95);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--link);
  color: var(--link);
}
.btn-outline:hover { background: var(--accent-soft); color: var(--link-hover); }

.btn-ghost {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.btn-sm { min-height: 2.4rem; padding: .45rem 1rem; font-size: .93rem; }
.btn-lg { min-height: 3.4rem; padding: .9rem 1.8rem; font-size: 1.1rem; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; }

.btn-withdraw { white-space: nowrap; }

/* ---------- Hero ------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 560px at 85% -10%, rgba(34, 211, 238, .20), transparent 60%),
    radial-gradient(900px 520px at -15% 110%, rgba(37, 99, 235, .25), transparent 60%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--dark-text);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 4rem);
  align-items: center;
  padding-block: clamp(1.75rem, .5rem + 2.5vw, 3rem) clamp(3rem, 2rem + 4vw, 5rem);
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  padding: .35rem .85rem;
  border: 1px solid rgba(103, 232, 249, .35);
  border-radius: 999px;
  background: rgba(34, 211, 238, .08);
  color: var(--cyan-300);
  font-size: .85rem;
  font-weight: 650;
}
.eyebrow::before {
  content: "";
  width: .5rem; height: .5rem;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, .2);
}

.hero h1 { color: #fff; margin-bottom: .9rem; line-height: 1.1; }
.hero h1 .hl {
  background: linear-gradient(120deg, var(--cyan-300), var(--sky-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (forced-colors: active) {
  .hero h1 .hl { color: CanvasText; background: none; }
}

.hero-lead { max-width: 40rem; color: var(--dark-muted); font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); line-height: 1.55; }

.hero-benefits { margin: 1rem 0 1.25rem; padding: 0; list-style: none; }
.hero-benefits li {
  position: relative;
  padding-left: 2rem;
  color: var(--dark-text);
  font-weight: 550;
}
.hero-benefits li + li { margin-top: .5rem; }
.hero-benefits li::before {
  content: "";
  position: absolute;
  left: 0; top: .2em;
  width: 1.3rem; height: 1.3rem;
  border-radius: 50%;
  background: rgba(34, 211, 238, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2367e8f9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 62% no-repeat;
}

.price-block { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .9rem; margin-bottom: 1rem; }
.price-amount { color: #fff; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.price-note { color: var(--dark-text); font-weight: 600; }
.price-net { flex-basis: 100%; margin: 0; color: var(--dark-muted); font-size: .95rem; }

.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--dark-muted);
  font-size: .92rem;
}
.trust-row li { display: inline-flex; align-items: center; gap: .45rem; margin: 0; }
.trust-row svg { width: 1.15rem; height: 1.15rem; color: var(--cyan-300); flex: none; }

/* Produkt-Mockup (Buch) mit CSS-Fallback, falls cover.webp fehlt */
.mockup {
  position: relative;
  display: grid;
  justify-items: center;
  perspective: 1800px;
  padding-block: 1rem;
}
.mockup::before {
  content: "";
  position: absolute;
  inset: 12% 8% 0;
  background: radial-gradient(closest-side, rgba(34, 211, 238, .35), transparent);
  filter: blur(30px);
}

.book {
  position: relative;
  width: min(78%, 340px);
  aspect-ratio: 800 / 1131;
  container-type: inline-size;
  border-radius: 4px 12px 12px 4px;
  background: var(--navy-800);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .06);
  transform: rotateY(-17deg) rotateX(5deg) rotateZ(1deg);
  transform-style: preserve-3d;
}
.book img,
.book-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.book img { object-fit: cover; z-index: 2; }
.book::before {
  /* Rücken-Glanz */
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7%;
  z-index: 3;
  border-radius: 4px 0 0 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}
.book::after {
  /* Seitenkanten */
  content: "";
  position: absolute;
  top: 1.5%; bottom: 1.5%; right: -10px;
  width: 10px;
  border-radius: 0 3px 3px 0;
  background: repeating-linear-gradient(90deg, #f1f5f9 0 1px, #cbd5e1 1px 2px);
  transform: rotateY(60deg);
  transform-origin: left center;
}

.book-fallback {
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 11cqw 10cqw 9cqw;
  overflow: hidden;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(34, 211, 238, .35), transparent 60%),
    radial-gradient(90% 50% at 0% 100%, rgba(37, 99, 235, .45), transparent 60%),
    linear-gradient(160deg, #0f1d38, #060b16);
  color: #fff;
}
.book-fallback .bf-brand { font-size: 4.2cqw; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan-300); }
.book-fallback .bf-rule { width: 22cqw; height: 1.2cqw; margin: 7cqw 0 6cqw; border-radius: 1cqw; background: linear-gradient(90deg, var(--cyan-400), var(--sky-400)); }
.book-fallback .bf-title { font-size: 11.5cqw; font-weight: 800; line-height: 1.02; letter-spacing: -.03em; }
.book-fallback .bf-sub { margin-top: 5cqw; font-size: 4.6cqw; line-height: 1.35; color: var(--dark-muted); }
.book-fallback .bf-foot { margin-top: auto; font-size: 4cqw; font-weight: 650; color: var(--cyan-300); }

/* Kennzahlen unter dem Buch – verdecken weder Titel noch Untertitel des Covers */
.book-badges {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}
.book-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin: 0;
  padding: .5rem .85rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: var(--navy-900);
  color: #fff;
  font-size: .85rem;
  font-weight: 650;
  box-shadow: var(--shadow);
}
.book-badges li + li { margin: 0; }
.book-badge strong { color: var(--cyan-300); }

/* Bild fehlt (per JS erkannt): Fallback zeigen */
.img-missing img { display: none; }

/* ---------- Karten ---------------------------------------------------------- */
.card {
  position: relative;
  height: 100%;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .45rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card p { color: var(--text-muted); }

.icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--link);
}
.icon svg { width: 1.4rem; height: 1.4rem; }

.card-problem .icon { background: var(--error-bg); color: var(--error-text); }

.benefit-card { border-top: 3px solid var(--cyan-400); }

/* Themen-Karten (Keyword-Themen) */
.topic-card { display: flex; flex-direction: column; }
.topic-trap {
  margin-top: auto;
  padding: .8rem 1rem;
  border-left: 3px solid var(--cyan-400);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--accent-soft);
  color: var(--text);
  font-size: .95rem;
}
.topic-trap strong { color: var(--link); }
.card .topic-trap { color: var(--text); }

/* ---------- Inhaltsverzeichnis --------------------------------------------- */
.toc-grid {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) { .toc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .toc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.toc-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: .25rem 1rem;
  align-items: start;
  margin: 0;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.toc-item + .toc-item { margin: 0; }
.toc-item:hover { border-color: var(--accent-line); box-shadow: var(--shadow); transform: translateY(-2px); }
.toc-nr {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: var(--cyan-300);
  font-weight: 800;
  font-size: .95rem;
  font-variant-numeric: tabular-nums;
}
.toc-item h3 { margin: .15rem 0 0; font-size: 1.05rem; }
.toc-item p { margin: 0; color: var(--text-muted); font-size: .95rem; line-height: 1.5; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
}
@media (min-width: 720px) {
  .stats { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; }
}
.stats li, .stats li + li { margin: 0; }
.stats strong { display: block; font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.4rem); line-height: 1.1; letter-spacing: -.03em; color: var(--text); overflow-wrap: anywhere; }
.stats span { color: var(--text-muted); font-size: .95rem; }

/* ---------- Kapitelaufbau -------------------------------------------------- */
.flow {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 2rem;
  margin: 0 0 2rem;
  padding: 0 1.75rem 0 0;   /* Platz für den Pfeil am Zeilenende (kein horizontaler Überlauf) */
  list-style: none;
}
.flow li {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  padding: .5rem 1rem .5rem .75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 650;
  font-size: .95rem;
}
.flow li::before {
  content: "";
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--cyan-400);
}
/* Pfeil zwischen den Chips (dekorativ; die Reihenfolge trägt die <ol>) */
.flow li:not(:last-child)::after {
  content: "→";
  content: "→" / "";
  position: absolute;
  right: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-weight: 700;
}
.steps-intro { max-width: 46rem; margin: 0 0 clamp(1.5rem, 1rem + 1.5vw, 2.25rem); color: var(--text-muted); font-size: 1.05rem; }

.steps { display: grid; gap: clamp(1.25rem, 1rem + 1.5vw, 2rem); margin: 0; padding: 0; list-style: none; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 799.98px) {
  /* mobil: Vorschaubild klein links, Text rechts */
  .step { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 0 1rem; align-items: start; }
  .step .page-shot { grid-row: span 2; }
  .step h3 { margin-top: 0; }
  .page-shot::after { right: .4rem; bottom: .4rem; padding: .15rem .45rem; font-size: .65rem; }
}
.step { margin: 0; }
.step + .step { margin: 0; }
.step h3 { margin: 1rem 0 .35rem; }
.step h3 span { color: var(--link); }
.step p { color: var(--text-muted); margin: 0; }

.page-shot {
  position: relative;
  aspect-ratio: 800 / 1131;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow);
}
.page-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; z-index: 1; }
/* CSS-Seitenattrappe (sichtbar, solange kein Bild vorhanden ist) */
.page-shot::before {
  content: "";
  position: absolute;
  inset: 8% 9% 8%;
  background:
    linear-gradient(#0f1d38, #0f1d38) 0 0 / 55% 5% no-repeat,
    linear-gradient(#22d3ee, #22d3ee) 0 8.5% / 18% 1% no-repeat,
    repeating-linear-gradient(#e2e8f0 0 2.2%, transparent 2.2% 5%) 0 16% / 100% 84% no-repeat;
}
.page-shot--detail::before {
  background:
    linear-gradient(#0f1d38, #0f1d38) 0 0 / 70% 4% no-repeat,
    linear-gradient(#ecfeff, #ecfeff) 0 9% / 100% 16% no-repeat,
    repeating-linear-gradient(#e2e8f0 0 2%, transparent 2% 4.6%) 0 93% / 100% 70% no-repeat;
}
.page-shot--prompt::before {
  background:
    linear-gradient(#0f1d38, #0f1d38) 0 0 / 60% 4% no-repeat,
    repeating-linear-gradient(rgba(103, 232, 249, .55) 0 2%, transparent 2% 4.4%) 30% 47% / 80% 70% no-repeat,
    linear-gradient(#0b1426, #0b1426) 0 45% / 100% 78% no-repeat;
}
.page-shot::after {
  content: "Vorschau";
  content: "Vorschau" / "";
  position: absolute;
  z-index: 2;
  right: .75rem;
  bottom: .75rem;
  padding: .25rem .65rem;
  border-radius: 999px;
  background: rgba(11, 20, 38, .85);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
}

/* ---------- Beispiel-Prompt ------------------------------------------------ */
.prompt-wrap { max-width: 56rem; margin-inline: auto; }
.prompt-window {
  margin: 0;
  overflow: hidden;
  border: 1px solid #1f2f4f;
  border-radius: var(--radius);
  background: #0a1222;
  color: #dbe7f5;
  box-shadow: var(--shadow-lg);
}
.prompt-head { display: block; }
.prompt-bar {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid #1f2f4f;
  background: #0e1a31;
}
.prompt-bar span { width: .7rem; height: .7rem; border-radius: 50%; background: #334155; }
.prompt-bar span:nth-child(1) { background: #f87171; }
.prompt-bar span:nth-child(2) { background: #fbbf24; }
.prompt-bar span:nth-child(3) { background: #34d399; }
.prompt-title {
  display: block;
  padding: 1rem 1.25rem 0;
  color: var(--cyan-300);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.prompt-text {
  max-height: 30rem;
  margin: 0;
  padding: 1rem 1.25rem 1.5rem;
  overflow: auto;
  color: #dbe7f5;
  font-size: .9rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}
.prompt-text:focus-visible { outline-offset: -3px; }
.prompt-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1rem; }
.prompt-actions p { margin: 0; color: var(--text-muted); font-size: .95rem; }
.copy-status { min-height: 1.5em; }

/* ---------- Zielgruppe ------------------------------------------------------ */
.fit-card h3 { display: flex; align-items: center; gap: .6rem; }
.fit-list { margin: 0; padding: 0; list-style: none; }
.fit-list li { position: relative; padding-left: 1.9rem; }
.fit-list li + li { margin-top: .75rem; }
.fit-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .2em;
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 60%;
}
.fit-yes .fit-list li::before {
  background-color: #dcfce7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23166534' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.fit-no .fit-list li::before {
  background-color: #fee2e2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b91c1c' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
}
.fit-yes { border-top: 3px solid #22c55e; }
.fit-no { border-top: 3px solid #f87171; }
.fit-list li { color: var(--text); }

/* ---------- Chips ----------------------------------------------------------- */
.chip-group + .chip-group { margin-top: 1.75rem; }
.chip-group h3 { font-size: 1rem; color: var(--text-muted); font-weight: 650; letter-spacing: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.chips li {
  margin: 0;
  padding: .45rem .95rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 600;
  font-size: .95rem;
}
.chips li + li { margin: 0; }
.chips-accent li { border-color: var(--accent-line); background: var(--accent-soft); }
.trademark-note { margin-top: 1.75rem; color: var(--text-muted); font-size: .88rem; }

/* ---------- Autor ----------------------------------------------------------- */
.author {
  display: grid;
  gap: 1.5rem 2rem;
  align-items: start;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 720px) { .author { grid-template-columns: auto 1fr; } }
.author-avatar {
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: var(--cyan-300);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -.02em;
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.author-role { margin-top: -.35rem; color: var(--link); font-weight: 650; }
.author p { color: var(--text-muted); }
.author p.author-role { color: var(--link); }

/* ---------- Lieferumfang --------------------------------------------------- */
.delivery {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(34, 211, 238, .16), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: var(--dark-text);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) { .delivery { grid-template-columns: 1.3fr .7fr; } }
.delivery h2 { color: #fff; }
.delivery .kicker { color: var(--cyan-300); }
.spec-list { display: grid; gap: .85rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .spec-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.spec-list li { display: flex; gap: .75rem; margin: 0; color: var(--dark-text); }
.spec-list svg { flex: none; width: 1.35rem; height: 1.35rem; margin-top: .15rem; color: var(--cyan-300); }
.delivery-buy {
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  text-align: center;
}
.delivery-buy .price-amount { display: block; }
.delivery-buy p { margin: .25rem 0 1.1rem; color: var(--dark-muted); font-size: .95rem; }

/* ---------- CTA-Band -------------------------------------------------------- */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  background: var(--accent-soft);
}
.cta-band p { margin: 0; font-weight: 650; }
.cta-band p span { display: block; color: var(--text-muted); font-weight: 500; font-size: .95rem; }

/* ---------- FAQ ------------------------------------------------------------- */
.faq { max-width: 52rem; margin-inline: auto; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.faq details + details { margin-top: .75rem; }
.faq summary {
  position: relative;
  padding: 1.1rem 3.25rem 1.1rem 1.25rem;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: .7rem;
  height: .7rem;
  border-right: 2.5px solid var(--link);
  border-bottom: 2.5px solid var(--link);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:focus-visible { outline-offset: -3px; border-radius: var(--radius); }
.faq .faq-a { padding: 0 1.25rem 1.1rem; color: var(--text-muted); }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* ---------- Kaufbereich ---------------------------------------------------- */
.section-buy {
  background:
    radial-gradient(900px 500px at 0% 0%, rgba(34, 211, 238, .10), transparent 60%),
    var(--bg-alt);
}
.buy-grid { display: grid; gap: clamp(1.5rem, 1rem + 1.5vw, 2.25rem) clamp(2rem, 1.5rem + 2vw, 3.5rem); align-items: start; }
.buy-head > :last-child { margin-bottom: 0; }
@media (min-width: 960px) {
  .buy-grid {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: "head form" "info form";
  }
  .buy-head { grid-area: head; }
  .buy-form { grid-area: form; }
  .buy-info { grid-area: info; position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.buy-info > p.text-muted { margin-top: 1.25rem; }

.buy-info .check-list { margin: 0 0 1.75rem; }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .22em;
  width: 1.2rem; height: 1.2rem;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7490' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.buy-withdraw {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-muted);
  font-size: .95rem;
}
.buy-withdraw p { margin: 0; flex: 1 1 14rem; }

.buy-form {
  padding: clamp(1.25rem, 1rem + 2vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.buy-form h3 { font-size: 1.15rem; }

/* ---------- Formulare ------------------------------------------------------- */
.form fieldset { margin: 0 0 1.25rem; padding: 0; border: 0; min-width: 0; }
.form legend { margin-bottom: 1rem; padding: 0; font-size: 1.15rem; font-weight: 750; }
.form-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.form-field { margin-bottom: 1.1rem; }
.form-field label,
.form label.form-label {
  display: block;
  margin-bottom: .35rem;
  font-weight: 650;
  font-size: .97rem;
}
.form-field .req { color: var(--text-muted); font-weight: 500; font-size: .88rem; }

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form input[type="date"],
.form input[type="number"],
.form select,
.form textarea,
.form-field input:not([type="checkbox"]):not([type="radio"]) {
  display: block;
  width: 100%;
  min-height: 3rem;
  padding: .7rem .9rem;
  border: 1.5px solid var(--input-border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form textarea { min-height: 7rem; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: var(--text-muted); opacity: .8; }
.form input:hover, .form textarea:hover, .form select:hover { border-color: var(--input-border-hover); }
.form input:focus-visible, .form textarea:focus-visible, .form select:focus-visible {
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 3px var(--accent-line);
}
.form [aria-invalid="true"] { border-color: var(--error-text) !important; }
.form [aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 3px var(--error-border); }

.field-hint,
.form-field small { display: block; margin: .35rem 0 0; color: var(--text-muted); font-size: .88rem; }
.field-error { margin: .35rem 0 0; color: var(--error-text); font-size: .9rem; font-weight: 600; }
.field-error::before { content: "⚠ "; content: "⚠ " / ""; }

.form-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem;
  align-items: start;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1.5px solid var(--input-border);
  border-radius: 10px;
  background: var(--surface-2);
}
.form-check input[type="checkbox"] {
  width: 1.35rem;
  height: 1.35rem;
  margin: .15rem 0 0;
  accent-color: var(--control-accent);
  cursor: pointer;
}
.form-check label { font-size: .95rem; line-height: 1.5; cursor: pointer; }
.form-check.is-invalid,
.form-check:has(input[aria-invalid="true"]) { border-color: var(--error-text); }
.form-check .field-error { grid-column: 1 / -1; margin: 0; }

.form-legal { color: var(--text-muted); font-size: .9rem; }

/* Honeypot-Felder (für Menschen unsichtbar) */
.hp-field,
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.order-summary {
  margin: 0 0 1.25rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
}
.order-summary h3 { margin-bottom: .75rem; font-size: 1.05rem; }
.order-summary table { width: 100%; margin: 0; border-collapse: collapse; font-size: .95rem; }
.order-summary th,
.order-summary td { padding: .4rem 0; vertical-align: top; text-align: left; }
.order-summary th { width: 38%; padding-right: 1rem; color: var(--text-muted); font-weight: 550; }
.order-summary td.num, .order-summary th.num { text-align: right; }
.order-summary .sum-row th,
.order-summary .sum-row td { padding-top: .7rem; border-top: 1px solid var(--border-strong); color: var(--text); font-size: 1.1rem; font-weight: 800; }
.order-summary .tax-row th, .order-summary .tax-row td { font-size: .9rem; }
@media (max-width: 479.98px) {
  /* schmale Displays: Tabelle entkoppeln (sonst landen die Block-Zellen in der schmalen
     ersten Spalte) – Beschriftung über dem Wert, Preiszeilen als Zeile mit Betrag rechts */
  .order-summary table,
  .order-summary tbody,
  .order-summary tr { display: block; width: 100%; }
  .order-summary th,
  .order-summary td { display: block; width: auto; padding: 0; }
  .order-summary tr:not(.tax-row):not(.sum-row) th { padding-top: .5rem; font-size: .85rem; }
  .order-summary tr:not(.tax-row):not(.sum-row) td { padding-bottom: .35rem; }
  .order-summary tr.tax-row,
  .order-summary tr.sum-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: .35rem; }
  .order-summary tr:not(.tax-row):not(.sum-row) + tr.tax-row { margin-top: .5rem; padding-top: .6rem; border-top: 1px solid var(--border); }
  .order-summary tr.sum-row { margin-top: .5rem; padding-top: .6rem; border-top: 1px solid var(--border-strong); }
  .order-summary .sum-row th,
  .order-summary .sum-row td { padding-top: 0; border-top: 0; }
}

.btn-buy { margin-top: .25rem; }
.btn-subline { margin: .5rem 0 0; color: var(--text-muted); font-size: .9rem; text-align: center; }

/* ---------- Hinweise -------------------------------------------------------- */
.alert {
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--info-border);
  border-left-width: 4px;
  border-radius: 10px;
  background: var(--info-bg);
  color: var(--text);
}
.alert p:last-child, .alert ul:last-child { margin-bottom: 0; }
.alert-error { border-color: var(--error-border); border-left-color: var(--error-text); background: var(--error-bg); }
.alert-error strong:first-child { color: var(--error-text); }
.alert-success { border-color: var(--success-border); border-left-color: var(--success-text); background: var(--success-bg); }
.alert:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.alert[hidden] { display: none; }

/* ---------- Rechtsseiten / einfache Seiten --------------------------------- */
.container.legal {
  max-width: calc(52rem + 2 * var(--gutter));
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(3rem, 2rem + 4vw, 5rem);
}
.legal h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.7rem); margin-bottom: 1.25rem; }
.legal h2 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.65rem); margin-top: 2.5rem; }
.legal h3 { font-size: 1.15rem; margin-top: 1.75rem; }
.legal h2:first-child, .legal h3:first-child { margin-top: 0; }
.legal p, .legal li { overflow-wrap: anywhere; }
.legal ul, .legal ol { margin-bottom: 1.1rem; }
.legal table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.legal th, .legal td { padding: .6rem .75rem; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.legal th { background: var(--surface-2); font-weight: 650; }
.legal .table-wrap { overflow-x: auto; margin-bottom: 1rem; }
.legal .lead { color: var(--text-muted); font-size: 1.125rem; }
.legal .note {
  margin: 1.5rem 0;
  padding: 1rem 1.2rem;
  border: 1px solid var(--info-border);
  border-left: 4px solid var(--link);
  border-radius: 10px;
  background: var(--info-bg);
}
.legal .note p:last-child { margin-bottom: 0; }
.legal .muster {
  margin: 1.25rem 0;
  padding: 1.25rem 1.4rem;
  border: 1.5px dashed var(--border-strong);
  border-radius: 10px;
  background: var(--surface-2);
  font-family: var(--font);
  font-size: .97rem;
  line-height: 1.7;
  white-space: pre-wrap;
}
.legal .muster:has(> p) { white-space: normal; }
.legal .muster p { margin: 0 0 .45rem; }
.legal .muster p:last-child { margin-bottom: 0; }
.legal details {
  margin: 1rem 0 1.5rem;
  padding: 0 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}
.legal details > summary { padding: .85rem 0; cursor: pointer; font-weight: 650; }
.legal details[open] > summary { margin-bottom: .75rem; border-bottom: 1px solid var(--border); }
.legal details textarea {
  display: block;
  width: 100%;
  min-height: 22rem;
  margin-bottom: 1rem;
  padding: .85rem 1rem;
  border: 1px solid var(--input-border);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: .9rem;
  line-height: 1.55;
  resize: vertical;
}
.legal section[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
.legal .form, .legal form {
  margin: 1.5rem 0 2rem;
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.legal form > :first-child { margin-top: 0; }
.legal .meta { color: var(--text-muted); font-size: .92rem; }
.legal .breadcrumb { margin-bottom: 1.5rem; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; color: var(--text-muted); font-size: .9rem; }
.legal .breadcrumb li { margin: 0; }
.legal .breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--border-strong); }

.next-steps { margin: 1.5rem 0 2rem; padding: 0; list-style: none; counter-reset: ns; }
.next-steps li {
  counter-increment: ns;
  position: relative;
  padding: 1rem 1rem 1rem 3.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.next-steps li + li { margin-top: .75rem; }
.next-steps li::before {
  content: counter(ns);
  position: absolute;
  left: 1rem; top: 1rem;
  display: grid;
  place-items: center;
  width: 1.8rem; height: 1.8rem;
  border-radius: 50%;
  background: var(--cyan-400);
  color: var(--navy-950);
  font-weight: 800;
  font-size: .9rem;
}
.next-steps h2 { margin: 0 0 .25rem; font-size: 1.1rem; }
.next-steps p { margin: 0; color: var(--text-muted); }
.next-steps p + p { margin-top: .5rem; }

.order-ref {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 6px;
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-weight: 700;
}

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- Footer ---------------------------------------------------------- */
.site-footer {
  background: var(--navy-950);
  color: var(--dark-muted);
  font-size: .95rem;
}
.site-footer a { color: var(--dark-text); }
.site-footer a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: var(--cyan-300); }
.footer-grid {
  display: grid;
  gap: 2rem;
  padding-block: 3rem 2rem;
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { margin-bottom: .75rem; }
.footer-title { margin: 0 0 .75rem; color: #fff; font-weight: 700; font-size: .95rem; letter-spacing: .02em; }
.footer-nav ul { margin: 0; padding: 0; list-style: none; }
.footer-nav li + li { margin-top: .45rem; }
.footer-withdraw p { margin-bottom: .85rem; }
.site-footer .btn-outline { border-color: var(--cyan-300); color: var(--cyan-300); }
.site-footer .btn-outline:hover { background: rgba(34, 211, 238, .1); color: #fff; }
.footer-bottom {
  position: relative;
  padding-block: 1.5rem 2rem;
  font-size: .85rem;
}
.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid rgba(148, 163, 184, .15);
}
.footer-bottom p { margin-bottom: .5rem; }
.footer-trademark { max-width: 60rem; }
.footer-copy { margin: 0; }

/* Fallback für kompaktes Footer-Markup (.footer-inner, .trademark, .copyright) */
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-block: 2.5rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer-inner .trademark,
.footer-inner .copyright { flex-basis: 100%; margin: 0; font-size: .85rem; }

/* ---------- Sticky CTA (mobil) --------------------------------------------- */
.sticky-cta { display: none; }
@media (max-width: 767.98px) {
  .page-home { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
  html:has(.page-home) { scroll-padding-bottom: 5.5rem; }
  .sticky-cta {
    position: fixed;
    z-index: 60;
    left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(148, 163, 184, .18);
    background: var(--navy-950);
    color: #fff;
    transition: transform .25s ease, opacity .25s ease;
  }
  .sticky-cta.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }
  .sticky-cta-price { margin: 0; line-height: 1.2; }
  .sticky-cta-price strong { display: block; font-size: 1.15rem; }
  .sticky-cta-price span { color: var(--dark-muted); font-size: .8rem; }
}

/* ---------- Animationen (nur ohne Bewegungsreduktion) ---------------------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .hero-copy > :nth-child(5) { animation-delay: .24s; }
  .hero-copy > :nth-child(n+6) { animation-delay: .3s; }
  .mockup .book { animation: book-in 1s cubic-bezier(.2, .7, .2, 1) .15s both; }
  .book-badge { animation: rise .8s cubic-bezier(.2, .7, .2, 1) .6s both; }

  @supports (animation-timeline: view()) {
    .reveal {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes book-in {
  from { opacity: 0; transform: rotateY(-35deg) rotateX(8deg) translateY(20px); }
  to { opacity: 1; transform: rotateY(-17deg) rotateX(5deg) rotateZ(1deg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* ---------- Druck ----------------------------------------------------------- */
@media print {
  .site-header, .sticky-cta, .skip-link, .footer-withdraw, .header-nav { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-footer { background: none; color: #000; }
  .site-footer a { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
  .legal .muster, .legal .note { break-inside: avoid; }
}
