/* ============================================================
   ATPL PERFORMANCE — Website
   Tokens 1:1 aus design/tokens.css der Guides, damit Shop und
   PDF wie aus einem Guss wirken. Fach-Kennfarben pro Element
   über --accent (inline gesetzt).
   ============================================================ */

@font-face { font-family: "Instrument Sans"; src: url("/fonts/InstrumentSans.ttf") format("truetype"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/InstrumentSans-Italic.ttf") format("truetype"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Liberation Serif"; src: url("/fonts/LiberationSerif-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Liberation Serif"; src: url("/fonts/LiberationSerif-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/JetBrainsMono.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }

:root {
  --navy: #182837;
  --navy-2: #213547;
  --navy-3: #2c4357;
  --slate: #4a5b65;
  --ink: #1a2733;
  --muted: #5c6b74;
  --line: #dce1e3;
  --line-soft: #e8ecee;
  --paper: #ffffff;
  --panel: #f4f6f7;
  --panel-2: #eef1f2;
  --on-dark: #dfe4e7;
  --on-dark-muted: #9fb0bb;

  --link: #2a6099;
  --link-deep: #1c4470;
  --link-soft: #e9f0f7;

  --trap: #b0472b; --trap-soft: #f9ece7;
  --aid: #2f7d5b;  --aid-soft: #e8f3ed;
  --tip: #3a6ea5;  --tip-soft: #e9f0f7;

  --accent: #2f7d8a;
  --accent-deep: #1f5560;
  --accent-soft: #e8f2f3;

  --serif: "Liberation Serif", "Times New Roman", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(24, 40, 55, .06), 0 1px 1px rgba(24, 40, 55, .04);
  --shadow-md: 0 8px 24px -8px rgba(24, 40, 55, .18), 0 2px 6px rgba(24, 40, 55, .06);
  --shadow-lg: 0 30px 60px -20px rgba(10, 20, 30, .45);
  --cut: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--link-deep); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; margin: 0; color: var(--navy); }
h4, h5 { margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); }

/* ---------- Eyebrow / Section-Kopf (wie sec-eyebrow im Guide) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--link); font-weight: 600;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.alt { background: var(--panel); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(34px, 4.6vw, 54px); margin-top: 16px; }
.section-head p { margin-top: 18px; font-size: 19px; color: var(--muted); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--navy); --b-fg: #fff; --b-bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 8px;
  background: var(--b-bg); color: var(--b-fg); border: 1.5px solid var(--b-bd);
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .1s ease;
}
.btn:hover { --b-bg: var(--navy-3); --b-bd: var(--navy-3); color: var(--b-fg); }
.btn:active { transform: scale(.97); }
.btn.light { --b-bg: #fff; --b-fg: var(--navy); --b-bd: #fff; }
.btn.light:hover { --b-bg: var(--on-dark); --b-bd: var(--on-dark); }
.btn.ghost { --b-bg: transparent; --b-fg: var(--navy); --b-bd: var(--line); }
.btn.ghost:hover { --b-bd: var(--navy); }
.btn.ghost-dark { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255,255,255,.28); }
.btn.ghost-dark:hover { --b-bd: #fff; }
.btn.accent { --b-bg: var(--accent); --b-bd: var(--accent); }
.btn.accent:hover { --b-bg: var(--accent-deep); --b-bd: var(--accent-deep); }
.btn.block { width: 100%; }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn[disabled] { opacity: .55; cursor: default; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Announcement + Header ---------- */
.announce {
  background: var(--navy-2); color: var(--on-dark); font-size: 14px; text-align: center;
  padding: 9px var(--gutter);
}
.announce strong { color: #fff; font-weight: 600; }
.announce a { color: #fff; }
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; }
.nav a:hover { color: var(--link); }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: 8px; border: 1.5px solid var(--line);
  background: #fff; color: var(--navy); font-weight: 600; font-size: 15px;
}
.cart-btn:hover { border-color: var(--navy); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: inline-grid; place-items: center;
  background: var(--navy); color: #fff; font-family: var(--mono); font-size: 12px; font-weight: 700;
}
.cart-count[data-empty="true"] { background: var(--line); color: var(--muted); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; color: var(--navy); }
.menu-btn svg { width: 26px; height: 26px; }
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
         background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 17px; }
  .menu-btn { display: inline-flex; }
  .cart-btn { margin-left: auto; }
  .cart-btn .cart-label { display: none; }
  .site-header .wrap { gap: 10px; }
  .brand img { height: 34px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; background: radial-gradient(ellipse 70% 90% at 78% 45%, #2a4258 0%, #1e3244 45%, var(--navy) 80%); color: var(--on-dark); overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 120px);
}
.hero::before { /* feines Raster wie auf einem Kartenblatt */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero .eyebrow { color: #7fb3bd; }
.hero h1 { color: #fff; font-size: clamp(46px, 6.2vw, 84px); margin-top: 22px; line-height: 1; }
.hero h1 .nw { white-space: nowrap; }
.hero h1 em { font-style: italic; font-weight: 400; color: #8cc2cc; display: block; }
.hero-lede { margin-top: 26px; font-size: clamp(18px, 1.6vw, 20.5px); line-height: 1.6; max-width: 34em; color: var(--on-dark); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-size: 14.5px; color: var(--on-dark-muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: #8cc2cc; }

.cover-fan { position: relative; aspect-ratio: 1 / 1; max-width: 560px; margin-left: auto; width: 100%; }
.cover-fan a { position: absolute; width: 46%; top: 50%; left: 50%; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
/* Buchblock: helle Seitenkanten rechts/unten + Schlagschatten, damit Navy auf Navy lesbar bleibt */
.cover-fan img {
  width: 100%; border-radius: 3px 6px 6px 3px; outline: 1px solid rgba(255,255,255,.14); outline-offset: -1px;
  box-shadow: 3px 3px 0 #e4e9ec, 6px 6px 0 #c4ced4, 0 30px 50px -12px rgba(5,10,16,.7);
}
.cover-fan a:nth-child(1) { transform: translate(-104%, -46%) rotate(-8deg); z-index: 1; }
.cover-fan a:nth-child(2) { transform: translate(-50%, -54%) rotate(0deg); z-index: 3; }
.cover-fan a:nth-child(3) { transform: translate(4%, -46%) rotate(8deg); z-index: 2; }
.cover-fan a:nth-child(1):hover { transform: translate(-108%, -52%) rotate(-10deg); }
.cover-fan a:nth-child(2):hover { transform: translate(-50%, -60%) rotate(0deg); }
.cover-fan a:nth-child(3):hover { transform: translate(8%, -52%) rotate(10deg); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .cover-fan { max-width: 440px; margin: 8px auto 0; aspect-ratio: 1.15 / 1; }
}

/* ---------- Kennzahlen ---------- */
.stats { border-bottom: 1px solid var(--line-soft); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 8px; text-align: center; border-left: 1px solid var(--line-soft); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--mono); font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; color: var(--navy); letter-spacing: -.02em; }
.stat span { font-size: 14.5px; color: var(--muted); }
@media (max-width: 700px) {
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}

/* ---------- Feature-Raster (Callout-Typen) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.feature h3 { font-family: var(--sans); font-size: 19px; font-weight: 600; letter-spacing: 0; margin: 18px 0 8px; color: var(--navy); }
.feature p { color: var(--muted); font-size: 16px; }
.callout-demo {
  border-radius: 6px; padding: 14px 16px; font-size: 14.5px; line-height: 1.5; color: var(--ink);
  border-left: 3px solid var(--c); background: var(--c-soft);
}
.callout-demo .lbl { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c); margin-bottom: 6px; }
.callout-demo.trap { --c: var(--trap); --c-soft: var(--trap-soft); }
.callout-demo.aid { --c: var(--aid); --c-soft: var(--aid-soft); }
.callout-demo.tip { --c: var(--tip); --c-soft: var(--tip-soft); }
.lo-demo { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lo-chip { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--link-deep); background: var(--link-soft); padding: 4px 9px; border-radius: 4px; }
.num-demo { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; font-size: 14.5px; }
.num-demo span:nth-child(even) { font-family: var(--mono); font-weight: 700; color: var(--navy); text-align: right; }
.num-demo span:nth-child(odd) { color: var(--muted); }
.feature.wide { grid-column: span 1; }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* ---------- Look inside ---------- */
.inside-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.inside-tab {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px;
  padding: 8px 16px; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px;
}
.inside-tab::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.inside-tab[aria-selected="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.pages-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.page-thumb {
  padding: 0; border: 0; background: none; text-align: left;
  border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-md); outline-offset: 4px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.page-thumb:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -16px rgba(24,40,55,.35); }
.page-thumb img { width: 100%; aspect-ratio: 210 / 297; object-fit: cover; object-position: top; background: #fff; }
.pages-row[hidden] { display: none; }
@media (max-width: 760px) {
  .pages-row { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .page-thumb { scroll-snap-align: start; }
}
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(860px, 94vw); max-height: 94vh; }
.lightbox::backdrop { background: rgba(12, 20, 28, .82); }
.lightbox img { max-height: 88vh; width: auto; margin: 0 auto; border-radius: 6px; box-shadow: var(--shadow-lg); background: #fff; }
.lightbox-close {
  position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow-md);
}

/* ---------- Shop ---------- */
.bundle {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  background: var(--navy); color: var(--on-dark); border-radius: var(--radius); padding: clamp(28px, 4vw, 52px);
  clip-path: var(--cut); margin-bottom: 28px; overflow: hidden;
}
.bundle-tag {
  display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--navy); background: #8cc2cc; padding: 5px 10px; border-radius: 4px;
}
.bundle h3 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); margin: 16px 0 12px; }
.bundle p { color: var(--on-dark); max-width: 32em; }
.bundle ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.bundle li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.bundle li i { width: 12px; height: 12px; border-radius: 3px; background: var(--accent); flex: none; }
.bundle li span { font-family: var(--mono); color: var(--on-dark-muted); font-size: 13.5px; }
.bundle-buy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.bundle-covers { display: flex; margin-bottom: 8px; }
.bundle-covers img { width: 31%; max-width: 120px; border-radius: 2px 4px 4px 2px; outline: 1px solid rgba(255,255,255,.14); outline-offset: -1px; box-shadow: 2px 2px 0 #e4e9ec, 4px 4px 0 #c4ced4, 0 14px 24px -8px rgba(0,0,0,.6); }
.bundle-covers img + img { margin-left: -6%; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.price { font-family: var(--mono); font-weight: 700; font-size: 40px; color: #fff; letter-spacing: -.02em; }
.price-note { font-size: 14.5px; color: var(--on-dark-muted); }
.save-pill { font-family: var(--mono); font-size: 13px; font-weight: 700; color: #0f2a20; background: #8fd1b0; padding: 4px 9px; border-radius: 4px; }
@media (max-width: 860px) { .bundle { grid-template-columns: 1fr; gap: 28px; } }

.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.guide-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
}
.guide-card:hover { box-shadow: var(--shadow-md); }
.guide-cover {
  display: block; background: linear-gradient(180deg, var(--accent-soft), #fff); padding: 30px 20% 0;
  border-bottom: 1px solid var(--line-soft); overflow: hidden;
}
.guide-cover img { border-radius: 3px 6px 0 0; box-shadow: 0 -2px 30px -8px rgba(24,40,55,.35); transition: transform .3s ease; }
.guide-card:hover .guide-cover img { transform: translateY(-6px); }
.guide-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.guide-code { font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .12em; color: var(--accent-deep); }
.guide-body h3 { font-size: 27px; }
.guide-body h3 a { color: inherit; text-decoration: none; }
.guide-body h3 a:hover { color: var(--accent-deep); }
.guide-facts { display: flex; gap: 16px; font-size: 14px; color: var(--muted); font-family: var(--mono); }
.guide-body p { color: var(--muted); font-size: 15.5px; }
.guide-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.guide-price b { font-family: var(--mono); font-size: 26px; color: var(--navy); display: block; line-height: 1.1; }
.guide-price small { font-size: 12.5px; color: var(--muted); }
@media (max-width: 960px) { .guides { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .guides { grid-template-columns: 1fr; } }
.shop-note { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14.5px; color: var(--muted); justify-content: center; }
.shop-note span { display: inline-flex; gap: 8px; align-items: center; }
.shop-note svg { width: 16px; height: 16px; color: var(--aid); }

/* ---------- Roadmap ---------- */
.progress { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.progress-bar { flex: 1; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; max-width: 420px; }
.progress-bar i { display: block; height: 100%; background: var(--navy); border-radius: 4px; }
.roadmap { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.subject {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px 18px 16px;
  display: flex; flex-direction: column; gap: 6px; min-height: 148px; overflow: hidden;
}
.subject::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); opacity: .35; }
.subject .code { font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--accent); letter-spacing: .1em; }
.subject h4 { font-size: 16.5px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.subject .status { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); }
.subject.live { border-color: var(--accent); background: linear-gradient(180deg, #fff, var(--accent-soft)); }
.subject.live::before { opacity: 1; }
.subject.live .status { color: var(--aid); font-weight: 600; }
.subject.live a.cover-link::after { content: ""; position: absolute; inset: 0; }
.subject a { text-decoration: none; }
.notify-btn {
  border: 1.5px solid var(--line); background: #fff; color: var(--navy); border-radius: 6px; padding: 5px 10px;
  font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.notify-btn:hover { border-color: var(--navy); }
.notify-btn[aria-pressed="true"] { background: var(--aid-soft); border-color: var(--aid); color: var(--aid); }
.notify-btn svg { width: 14px; height: 14px; }
.notify-panel {
  margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: end; box-shadow: var(--shadow-sm);
}
.notify-panel[hidden] { display: none; }
.notify-panel p { color: var(--muted); font-size: 15px; }
.notify-panel b { color: var(--navy); }
@media (max-width: 700px) { .notify-panel { grid-template-columns: 1fr; } }

/* ---------- Formulare ---------- */
.field { display: flex; gap: 10px; flex-wrap: wrap; }
.input {
  flex: 1 1 240px; min-height: 48px; padding: 0 16px; border-radius: 8px; border: 1.5px solid var(--line);
  font: inherit; font-size: 16px; color: var(--ink); background: #fff;
}
.input:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px var(--link-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin-top: 12px; line-height: 1.45; }
.check input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--navy); flex: none; }
.form-msg { margin-top: 12px; font-size: 15px; font-weight: 500; }
.form-msg.ok { color: var(--aid); }
.form-msg.err { color: var(--trap); }

/* ---------- Leseprobe ---------- */
.sample {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center;
}
.sample-visual { position: relative; max-width: 420px; margin: 0 auto; width: 100%; }
.sample-visual img { border-radius: 6px; box-shadow: var(--shadow-lg); background: #fff; }
.sample-visual img:first-child { position: relative; z-index: 2; width: 82%; }
.sample-visual img:last-child { position: absolute; z-index: 1; width: 70%; right: 0; top: 14%; transform: rotate(5deg); opacity: .95; }
.sample-copy h2 { font-size: clamp(34px, 4.4vw, 50px); margin: 16px 0 16px; }
.sample-copy > p { color: var(--muted); font-size: 18px; margin-bottom: 26px; }
.sample-copy ul { margin: 0 0 26px; padding: 0; list-style: none; display: grid; gap: 8px; }
.sample-copy li { display: flex; gap: 10px; align-items: baseline; }
.sample-copy li::before { content: "◆"; color: var(--aid); font-size: 12px; }
@media (max-width: 860px) { .sample { grid-template-columns: 1fr; } .sample-visual { max-width: 340px; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 380px 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-photo { position: relative; }
.about-photo img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; clip-path: var(--cut); }
.about-photo figcaption {
  position: absolute; left: 16px; bottom: 16px; background: rgba(24,40,55,.86); color: #fff; padding: 8px 12px;
  border-radius: 6px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em;
}
.about h2 { font-size: clamp(34px, 4.4vw, 50px); margin: 16px 0 6px; }
.about-role { font-family: var(--mono); font-size: 13.5px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.about-text { margin-top: 22px; display: grid; gap: 16px; font-size: 18px; color: var(--ink); }
.about-sign { margin-top: 24px; font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--slate); }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.cred { font-size: 13.5px; font-weight: 600; color: var(--navy); background: var(--panel); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about-photo { max-width: 340px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-weight: 600; font-size: 18px; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--slate); border-bottom: 2px solid var(--slate); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 680px; }

/* ---------- Schluss-CTA ---------- */
.cta-band { background: var(--navy); color: var(--on-dark); text-align: center; padding: clamp(64px, 8vw, 104px) 0; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; font-size: clamp(38px, 5vw, 64px); }
.cta-band h2 em { font-style: italic; font-weight: 400; color: #8cc2cc; }
.cta-band p { margin: 18px auto 32px; max-width: 34em; font-size: 19px; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: #111e2a; color: var(--on-dark-muted); padding: 56px 0 32px; font-size: 15px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer img { height: 40px; width: auto; margin-bottom: 16px; }
.site-footer h5 { color: #fff; font-size: 13px; font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13.5px; }
@media (max-width: 800px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .wrap > div:first-child { grid-column: 1 / -1; } }

/* ---------- Warenkorb (Drawer) ---------- */
.drawer-scrim { position: fixed; inset: 0; background: rgba(12, 20, 28, .5); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); z-index: 100; background: #fff;
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .26s cubic-bezier(.2,.7,.2,1);
  box-shadow: -20px 0 60px -20px rgba(12,20,28,.35);
}
body.cart-open .drawer { transform: none; }
body.cart-open .drawer-scrim { opacity: 1; pointer-events: auto; }
body.cart-open { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line-soft); }
.drawer-head h2 { font-size: 26px; }
.icon-btn { width: 40px; height: 40px; border-radius: 8px; border: 0; background: var(--panel); color: var(--navy); display: grid; place-items: center; }
.icon-btn:hover { background: var(--panel-2); }
.icon-btn svg { width: 20px; height: 20px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; }
.drawer-empty { text-align: center; padding: 48px 8px; color: var(--muted); }
.drawer-empty p { margin-bottom: 20px; }
.line-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.line-item img { width: 56px; border-radius: 2px 4px 4px 2px; box-shadow: var(--shadow-sm); }
.line-thumbs { position: relative; width: 56px; height: 79px; }
.line-thumbs img { position: absolute; width: 42px; }
.line-thumbs img:nth-child(1) { left: 0; top: 0; }
.line-thumbs img:nth-child(2) { left: 7px; top: 9px; }
.line-thumbs img:nth-child(3) { left: 14px; top: 18px; }
.line-item h4 { font-size: 16px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.line-item small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.line-item .lp { font-family: var(--mono); font-weight: 700; color: var(--navy); text-align: right; }
.line-item .remove { display: block; margin-top: 4px; margin-left: auto; background: none; border: 0; padding: 0; font-size: 13px; color: var(--muted); text-decoration: underline; }
.line-item .remove:hover { color: var(--trap); }
.upsell {
  margin-top: 18px; border: 1.5px dashed var(--aid); background: var(--aid-soft); border-radius: 8px; padding: 16px;
  font-size: 15px; color: #1d4d38;
}
.upsell b { color: #143a29; }
.upsell .btn { margin-top: 12px; --b-bg: var(--aid); --b-bd: var(--aid); }
.upsell .btn:hover { --b-bg: #256449; --b-bd: #256449; }
.bundle-applied { margin-top: 16px; display: flex; gap: 10px; align-items: center; background: var(--aid-soft); color: #1d4d38; border-radius: 8px; padding: 12px 14px; font-size: 14.5px; font-weight: 500; }
.bundle-applied svg { width: 18px; height: 18px; color: var(--aid); flex: none; }
.drawer-foot { border-top: 1px solid var(--line-soft); padding: 20px 24px 24px; background: var(--panel); }
.total-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.total-row span { font-weight: 600; color: var(--navy); }
.total-row b { font-family: var(--mono); font-size: 26px; color: var(--navy); }
.drawer-foot small { display: block; color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.pay-icons { display: flex; justify-content: center; gap: 14px; margin-top: 14px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 120;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 8px; box-shadow: var(--shadow-lg);
  font-size: 15px; display: flex; gap: 14px; align-items: center; max-width: calc(100vw - 32px);
  visibility: hidden; opacity: 0; transition: transform .25s ease, opacity .25s ease, visibility 0s .25s;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; opacity: 1; transition: transform .25s ease, opacity .25s ease; }
.toast button { background: none; border: 0; color: #8cc2cc; font-weight: 600; padding: 0; text-decoration: underline; }

/* ---------- Dialog (Checkout-Hinweis) ---------- */
.modal { border: 0; border-radius: 12px; padding: 28px; max-width: 460px; width: calc(100vw - 32px); box-shadow: var(--shadow-lg); color: var(--ink); }
.modal::backdrop { background: rgba(12, 20, 28, .6); }
.modal h3 { font-size: 26px; margin-bottom: 10px; }
.modal p { color: var(--muted); margin-bottom: 10px; font-size: 16px; }
.modal pre { background: var(--panel); border-radius: 6px; padding: 10px 12px; font-size: 13px; white-space: pre-wrap; margin: 0 0 18px; }

/* ---------- Produktseite ---------- */
.crumbs { font-size: 14px; color: var(--muted); padding: 22px 0 0; }
.crumbs a { color: var(--muted); }
.product-hero { padding: 28px 0 clamp(56px, 8vw, 96px); background: linear-gradient(180deg, var(--accent-soft) 0%, #fff 75%); }
.product-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; margin-top: 24px; }
.product-cover { position: sticky; top: 100px; }
.product-cover img { border-radius: 4px 8px 8px 4px; box-shadow: var(--shadow-lg); max-width: 420px; width: 100%; margin: 0 auto; }
.product-info h1 { font-size: clamp(44px, 6vw, 72px); margin: 12px 0 18px; }
.product-info .tagline { font-size: 21px; color: var(--ink); line-height: 1.5; }
.product-info .intro { margin-top: 18px; color: var(--muted); font-size: 17px; }
.buy-box { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 24px; box-shadow: var(--shadow-sm); }
.buy-box .price-row .price { color: var(--navy); }
.buy-box .price-row .price-note { color: var(--muted); }
.buy-box .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.buy-box .actions .btn { flex: 1 1 200px; }
.buy-box .bundle-hint { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 15px; color: var(--muted); }
.buy-box .bundle-hint button { background: none; border: 0; padding: 0; color: var(--link); font-weight: 600; text-decoration: underline; }
.spec { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-top: 22px; }
.spec div { background: #fff; padding: 14px 12px; text-align: center; }
.spec b { display: block; font-family: var(--mono); font-size: 22px; color: var(--navy); }
.spec span { font-size: 12.5px; color: var(--muted); }
.highlights { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.highlights li { display: flex; gap: 12px; align-items: baseline; }
.highlights li::before { content: "◆"; color: var(--accent); font-size: 12px; flex: none; }
@media (max-width: 860px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-cover { position: static; }
  .product-cover img { max-width: 280px; }
  .spec { grid-template-columns: 1fr 1fr; }
}
.toc { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 48px; }
.toc li { break-inside: avoid; display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); align-items: baseline; }
.toc .n { font-family: var(--mono); font-weight: 700; color: var(--accent); font-size: 14px; }
.toc .t { font-weight: 500; color: var(--ink); }
.toc .p { font-family: var(--mono); font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .toc { columns: 1; } }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) 0; }
.legal h1 { font-size: clamp(38px, 5vw, 56px); margin-bottom: 10px; }
.legal .updated { color: var(--muted); font-size: 14.5px; margin-bottom: 32px; }
.legal h2 { font-family: var(--sans); font-size: 20px; font-weight: 600; margin: 34px 0 10px; letter-spacing: 0; }
.legal p, .legal li { color: var(--ink); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.draft-note { background: var(--trap-soft); border-left: 3px solid var(--trap); padding: 14px 16px; border-radius: 6px; font-size: 15px; margin-bottom: 28px; }

/* ---------- Danke-Seite ---------- */
.thanks { text-align: center; max-width: 640px; margin: 0 auto; padding: clamp(72px, 10vw, 140px) 0; }
.thanks .check-badge { width: 72px; height: 72px; border-radius: 50%; background: var(--aid-soft); color: var(--aid); display: grid; place-items: center; margin: 0 auto 24px; }
.thanks .check-badge svg { width: 34px; height: 34px; }
.thanks h1 { font-size: clamp(40px, 5vw, 60px); margin-bottom: 18px; }
.thanks p { color: var(--muted); font-size: 18px; margin-bottom: 14px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Feinschliff ---------- */
.subject h4 a { color: inherit; }
.bundle li span { white-space: nowrap; }
@media (max-width: 560px) {
  .roadmap { grid-template-columns: 1fr 1fr; gap: 10px; }
  .subject { min-height: 0; padding: 14px 12px 12px 16px; }
  .subject h4 { font-size: 15px; }
  .subject .status > span { font-size: 12px; }
  .notify-btn { padding: 5px 8px; }
}
