/* ============================================================
   websitepolitur.de: Neubau 2026-08 (Phase A)
   Design-System: refero „Say Briefly": Tokens laut Master-Spec
   notes/redesign-2026-08/SPEC.md
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ink: #1a3300;          /* Forest Ink: Primärtext, CTAs, Struktur */
  --highlight: #ffe95c;    /* Highlighter Yellow: Marker-Wash, Badges */
  --paper: #fcfaf5;        /* Cream Paper: Canvas, Karten */
  --pencil: #b6b6b6;       /* Pencil Gray: Borders/Divider */
  --whisper: #f1f1f1;      /* Whisper Gray: Muted Flächen */
  --teal: #a8e5e5;         /* Sticky Teal: Akzent/Selected */
  --mint: #d5f5c2;         /* Sticky Mint: Akzent */
  --blush: #f6d0ff;        /* Sticky Blush: Deko */
  --terracotta: #cb5521;   /* Deko-Akzent */

  --ink-60: rgba(26, 51, 0, 0.68);
  --ink-40: rgba(26, 51, 0, 0.4);
  --ink-12: rgba(26, 51, 0, 0.12);
  --paper-70: rgba(252, 250, 245, 0.7);

  --font-display: "Bricolage Grotesque", "Inter", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, monospace;

  --r-btn: 6px;
  --r-card: 14px;
  --r-nav: 16px;

  --container: 1200px;
  --gutter: 24px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3, h4, p, ul, figure { margin: 0; }

ul { padding: 0; list-style: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px dashed var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

section { padding-block: 96px; }

/* ---------- Typografie ---------- */
/* Display: Bricolage Grotesque, NUR 800, nur >= 40px (Spec) */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.08; /* Umlaut-sicher: >= 1.04 */
  text-wrap: balance;
}

.display-xl { font-size: clamp(40px, 6.3vw, 90px); line-height: 1.04; }
.display-lg { font-size: clamp(40px, 4.6vw, 66px); }
.display-md { font-size: clamp(40px, 3.8vw, 55px); }

.lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-60);
  text-wrap: pretty;
}

.mono {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* Marker-Wash hinter einzelnen Wörtern (Highlight NIE als Button-Fill) */
.hl {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 44' preserveAspectRatio='none'%3E%3Cpath d='M4 9 Q0 22 5 37 L61 41 116 38 Q120 21 115 7 L59 3 Z' fill='%23ffe95c'/%3E%3C/svg%3E");
  background-size: 100% 88%;
  background-position: center 58%;
  background-repeat: no-repeat;
  padding-inline: 0.1em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  border-radius: var(--r-btn);
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  padding: 19px 40px;
}

.btn-primary:hover { background: #142900; transform: translateY(-1px); }

.btn-primary .arrow { transition: transform 0.15s ease; }
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-outline {
  border: 1px solid var(--ink);
  background: transparent;
  padding: 8px 16px;
}

.btn-outline:hover { background: var(--ink-12); }

.btn-ghost {
  padding: 19px 24px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.btn-ghost:hover { text-decoration-thickness: 2px; }

/* Größere Outline-Variante neben Primary-CTA */
.btn-outline-lg { padding: 18px 32px; }

/* ---------- Badge (gelbe Pill mit Icon) ---------- */
.wash-badge {
  display: inline-flex;
  align-items: stretch;
}

.wash-badge .badge-icon {
  display: grid;
  place-items: center;
  width: 38px;
  background: var(--ink);
  border-radius: 6px 0 0 6px;
  color: var(--highlight);
}

.wash-badge .badge-icon svg { width: 18px; height: 18px; }

.wash-badge .badge-label {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  font-family: var(--font-mono);
  font-size: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 40' preserveAspectRatio='none'%3E%3Cpath d='M3 7 Q0 20 4 34 L150 38 296 35 Q300 19 297 5 L149 2 Z' fill='%23ffe95c'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}

/* ---------- Nav (floating Pill) ---------- */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 50;
  padding-inline: var(--gutter);
}

.nav-pill {
  max-width: var(--container);
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 16px;
  background: var(--paper);
  border: 1px dashed var(--pencil);
  border-radius: var(--r-nav);
  /* dezenter gelbstichiger Multi-Layer-Glow */
  box-shadow:
    0 0 0 6px rgba(255, 233, 92, 0.10),
    0 10px 34px rgba(255, 233, 92, 0.22),
    0 2px 10px rgba(26, 51, 0, 0.07);
}

/* Brand-Wortmarke bewusst Inter 800: Bricolage ist laut Spec nur >= 40px erlaubt */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--highlight);
  border-radius: 10px;
}

.brand-mark svg { width: 24px; height: 24px; }

.nav-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 16px;
  border-left: 1px dashed var(--pencil);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.45;
  color: var(--ink-60);
  max-width: 150px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-actions .btn-primary { padding: 12px 22px; font-size: 15px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  place-items: center;
}

.nav-toggle svg { width: 22px; height: 22px; }

.nav-toggle .icon-close { display: none; }

/* Mobile-Menü */
.nav-menu { display: contents; }

@media (max-width: 980px) {
  .nav-tag { display: none; }

  .nav-toggle { display: grid; margin-left: auto; }

  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 20px;
    background: var(--paper);
    border: 1px dashed var(--pencil);
    border-radius: var(--r-nav);
    box-shadow:
      0 0 0 6px rgba(255, 233, 92, 0.10),
      0 14px 40px rgba(26, 51, 0, 0.12);
  }

  .nav-pill { position: relative; }

  .nav-pill.open .nav-menu { display: flex; }

  .nav-pill.open .icon-burger { display: none; }
  .nav-pill.open .icon-close { display: block; }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-left: 0;
  }

  .nav-links a { padding: 10px 4px; font-size: 18px; }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    padding-top: 12px;
    border-top: 1px dashed var(--pencil);
  }

  .nav-actions .btn { justify-content: center; }

  .nav-actions .btn-outline { padding: 14px 16px; }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 72px;
  padding-bottom: 0;
  text-align: center;
  /* Scroll-Scrub (relaunch.js): rausfliegende Deko darf keinen
     horizontalen Scrollbalken erzeugen */
  overflow-x: clip;
}

.js .hero-stage .doodle,
.js .hero-stage .sticky-note {
  will-change: transform, opacity;
}

.hero .wash-badge { margin-bottom: 32px; }

.hero h1 { margin-inline: auto; max-width: 20ch; }

.hero .lead {
  max-width: 640px;
  margin: 28px auto 0;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}

.hero-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-60);
}

/* Hero-Grafik: selbstgebautes Browser-Motiv im Sketchbook-Look */
.hero-stage {
  position: relative;
  max-width: 820px;
  margin: 64px auto 0;
  padding-bottom: 24px;
}

.doodle {
  position: absolute;
  color: var(--ink);
  pointer-events: none;
}

.doodle-paper-l { top: -30px; left: -140px; width: 130px; transform: rotate(-12deg); }
.doodle-pencil-l { bottom: 60px; left: -140px; width: 150px; transform: rotate(8deg); }
.doodle-cal-r { top: -50px; right: -135px; width: 130px; transform: rotate(9deg); }
.doodle-spring-r { bottom: 40px; right: -140px; width: 160px; }
.doodle-star-1 { top: -40px; left: 12%; width: 26px; }
.doodle-star-2 { top: 30px; right: 8%; width: 20px; }

@media (max-width: 1180px) {
  .doodle-paper-l, .doodle-pencil-l, .doodle-cal-r, .doodle-spring-r { display: none; }
}

.browser {
  position: relative;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  box-shadow: 8px 8px 0 rgba(26, 51, 0, 0.08);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}

.browser-dots { display: flex; gap: 6px; }

.browser-dots span {
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

.browser-dots span:first-child { background: var(--highlight); }

.browser-url {
  flex: 1;
  max-width: 320px;
  padding: 6px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-60);
  white-space: nowrap;
  overflow: hidden;
}

.browser-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  padding: 36px;
  background: #fff;
}

.sk-line { border-radius: 4px; background: var(--whisper); height: 12px; }
.sk-line + .sk-line { margin-top: 10px; }
.sk-line.w-80 { width: 80%; }
.sk-line.w-60 { width: 60%; }

.sk-heading {
  height: 22px;
  width: 85%;
  border-radius: 5px;
  background: var(--ink);
  opacity: 0.85;
  margin-bottom: 16px;
}

.sk-heading.hl-bar {
  background: var(--highlight);
  opacity: 1;
  width: 55%;
}

.sk-btn {
  display: inline-block;
  margin-top: 20px;
  width: 130px;
  height: 34px;
  border-radius: var(--r-btn);
  background: var(--ink);
}

.sk-media {
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--mint);
  min-height: 150px;
  position: relative;
  overflow: hidden;
}

.sk-media svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.sticky-note {
  position: absolute;
  width: 130px;
  padding: 14px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  box-shadow: 4px 4px 0 rgba(26, 51, 0, 0.12);
}

.note-teal { background: var(--teal); top: -34px; right: -40px; transform: rotate(4deg); }
.note-blush { background: var(--blush); bottom: -20px; left: -44px; transform: rotate(-5deg); }

@media (max-width: 900px) {
  .note-teal { right: -8px; }
  .note-blush { left: -8px; }
}

@media (max-width: 640px) {
  .browser-body { grid-template-columns: 1fr; padding: 24px; }
  .sk-media { min-height: 110px; }
  .browser-url { max-width: 180px; }
}

/* ---------- Dark Band: So funktioniert's ---------- */
.band-dark {
  background: var(--ink);
  color: var(--paper);
  margin-top: 80px;
  padding-block: 88px;
  text-align: center;
}

.band-dark .squiggle-pencil { margin: 0 auto 20px; width: 170px; color: var(--highlight); }

.band-dark .kicker { color: var(--highlight); }

.band-flow {
  margin: 26px auto 0;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--paper-70);
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.band-flow .flow-arrow { width: 34px; color: var(--highlight); }

.branch-diagram {
  max-width: 1000px;
  margin: 20px auto 0;
  color: var(--highlight);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 4px auto 0;
  text-align: center;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  color: var(--highlight);
}

.step-icon svg { width: 30px; height: 30px; }

.step h3 { font-size: 18px; font-weight: 700; }

.step p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(252, 250, 245, 0.62);
  max-width: 270px;
  margin-inline: auto;
}

@media (max-width: 760px) {
  .branch-diagram { display: none; }
  .steps { grid-template-columns: 1fr; gap: 36px; margin-top: 40px; }
}

/* ---------- Sektions-Header (Badge + Headline zentriert) ---------- */
.section-head {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 56px;
}

.section-head .wash-badge { margin-bottom: 28px; }

.section-head .lead { max-width: 620px; margin: 24px auto 0; }

/* ---------- Scribble-Divider ---------- */
.scribble {
  width: min(900px, 86vw);
  margin: 0 auto;
  pointer-events: none;
}

.scribble-yellow { color: var(--highlight); }
.scribble-mint { color: var(--mint); }
.scribble-ink { color: var(--ink); width: min(520px, 70vw); }

/* ---------- Problem-Sektion ---------- */
.problem-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
}

.problem-intro .curl-arrow { width: 90px; color: var(--ink); }

.tag-rough {
  display: inline-flex;
  align-items: stretch;
}

.tag-rough .badge-icon {
  display: grid;
  place-items: center;
  width: 34px;
  background: var(--ink);
  border-radius: 6px 0 0 6px;
  color: var(--paper);
}

.tag-rough .badge-icon svg { width: 16px; height: 16px; }

.tag-rough .badge-label {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 40' preserveAspectRatio='none'%3E%3Cpath d='M3 7 Q0 20 4 34 L150 38 296 35 Q300 19 297 5 L149 2 Z' fill='%23cb5521'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: var(--r-card);
  padding: 24px;
  min-width: 0; /* nowrap-Inhalte (Marquee) duerfen die Grid-Spalte nicht aufziehen */
}

.problem-card h3 { font-size: 20px; font-weight: 700; margin-top: 20px; }

.problem-card p { margin-top: 10px; font-size: 16px; color: var(--ink-60); }

.card-illu {
  background: var(--whisper);
  border-radius: 10px;
  padding: 18px;
  min-height: 160px;
  display: grid;
  align-content: center;
}

.card-illu > * { min-width: 0; }

.mini-ui {
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-60);
}

.mini-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 5px 10px;
  margin-bottom: 10px;
  color: var(--ink);
}

.mini-search-bar svg { width: 12px; height: 12px; flex: none; }

.mini-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 2px;
  border-bottom: 1px dashed var(--pencil);
}

.mini-row:last-child { border-bottom: 0; }

.mini-row .bar { height: 8px; border-radius: 3px; background: var(--whisper); flex: 1; }
.mini-row .bar.dark { background: var(--ink); opacity: 0.75; }
.mini-row .rank { flex: none; width: 18px; color: var(--ink-40); }

.mini-row.you {
  color: var(--terracotta);
  border-bottom: 0;
  padding-top: 8px;
}

.mini-row.you .bar { background: var(--terracotta); opacity: 0.35; }

.mini-old {
  position: relative;
  border-style: double;
  border-width: 4px;
  font-size: 10px;
}

.mini-old .marquee {
  background: var(--highlight);
  padding: 3px 6px;
  white-space: nowrap;
  overflow: hidden;
  border: 1px solid var(--ink);
  margin-bottom: 8px;
}

.mini-old .blocks { display: flex; gap: 6px; }

.mini-old .blocks span {
  flex: 1;
  height: 26px;
  background: var(--whisper);
  border: 1px solid var(--pencil);
}

.mini-old .blocks span:nth-child(2) { transform: translateY(5px); }

.mini-old .stamp {
  position: absolute;
  right: 8px;
  bottom: 6px;
  color: var(--terracotta);
  font-weight: 700;
  transform: rotate(-6deg);
  border: 1.5px solid var(--terracotta);
  border-radius: 4px;
  padding: 1px 5px;
  background: #fff;
}

.mini-inbox .inbox-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 6px;
  margin-bottom: 8px;
  color: var(--ink);
}

.mini-inbox .inbox-head svg { width: 14px; height: 14px; }

.mini-inbox .empty-row {
  height: 12px;
  border: 1px dashed var(--pencil);
  border-radius: 4px;
  margin-top: 6px;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0 6px,
    rgba(182, 182, 182, 0.18) 6px 12px
  );
}

.mini-inbox .zero {
  margin-top: 10px;
  text-align: center;
  color: var(--terracotta);
}

@media (max-width: 900px) {
  .problem-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

/* ---------- Zahlen-Callout ---------- */
.callout { text-align: center; padding-block: 72px; }

.callout .display-lg { max-width: 21ch; margin-inline: auto; }

.callout .lead { margin: 26px auto 0; max-width: 560px; }

.callout .btn-outline { margin-top: 30px; padding: 12px 24px; }

/* ---------- Leistungs-Grid (Capability-Pills) ---------- */
.pill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  max-width: 1060px;
  margin: 0 auto;
}

.cap-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 16px 20px;
  background: var(--paper);
}

.cap-pill.mint { background: var(--mint); }

.cap-pill .cap-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
}

.cap-pill .cap-icon svg { width: 22px; height: 22px; }

.cap-pill .cap-label { font-weight: 600; font-size: 17px; }

.cap-pill .cap-arrow {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
}

.cap-pill .cap-arrow svg { width: 14px; height: 14px; }

@media (max-width: 820px) {
  .pill-grid { grid-template-columns: 1fr; max-width: 520px; }
  .cap-pill { padding: 14px 16px; }
  .cap-pill .cap-label { font-size: 16px; }
}

/* ---------- Pricing ---------- */
.included-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  max-width: 900px;
  margin: 0 auto 48px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-60);
}

.included-row li { display: inline-flex; align-items: center; gap: 8px; }

.included-row svg { width: 15px; height: 15px; color: var(--ink); flex: none; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: var(--r-card);
  padding: 32px 28px;
  box-shadow: 5px 5px 0 rgba(26, 51, 0, 0.07);
}

.price-card.featured {
  background: var(--teal);
  box-shadow: 7px 7px 0 rgba(26, 51, 0, 0.16);
}

.featured-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  padding: 6px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 40' preserveAspectRatio='none'%3E%3Cpath d='M3 7 Q0 20 4 34 L150 38 296 35 Q300 19 297 5 L149 2 Z' fill='%23ffe95c'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}

.price-name { font-size: 22px; font-weight: 700; }

.price-goal { margin-top: 6px; font-size: 15px; color: var(--ink-60); min-height: 45px; }

.price-value {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px; /* Display >= 40px */
  letter-spacing: 0.02em;
  line-height: 1.04;
}

.price-value .price-once {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-top: 6px;
  color: var(--ink-60);
}

.price-features {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px dashed var(--ink-40);
  display: grid;
  gap: 12px;
  font-size: 15.5px;
  flex: 1;
}

.price-features li { display: flex; gap: 10px; align-items: flex-start; }

.price-features svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--ink); }

.price-card .btn { margin-top: 28px; justify-content: center; }

.price-card.featured .btn-primary { box-shadow: 0 0 0 3px rgba(252, 250, 245, 0.55); }

@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .price-card.featured { order: -1; }
  .price-goal { min-height: 0; }
}

/* Zusatzleistungen */
.addons-head {
  margin: 64px 0 24px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-60);
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.addon-card {
  border: 1px solid var(--pencil);
  border-radius: 12px;
  padding: 24px;
  background: var(--paper);
}

.addon-card h4 { font-size: 17px; font-weight: 700; }

.addon-price {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink);
}

.addon-card p { margin-top: 10px; font-size: 15px; color: var(--ink-60); }

@media (max-width: 900px) {
  .addons-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}

/* ---------- Vergleichstabelle ---------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-card);
}

.compare {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 16px;
}

.compare th, .compare td {
  padding: 20px 16px;
  text-align: center;
  border-bottom: 1px dashed var(--pencil);
  vertical-align: middle;
}

.compare thead th { border-bottom: 1px solid var(--ink); }

.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }

.compare th[scope="row"] {
  text-align: left;
  font-weight: 600;
  min-width: 210px;
}

.compare thead th { font-weight: 600; font-size: 15px; }

.compare .col-us {
  background: rgba(168, 229, 229, 0.28);
  border-inline: 1px solid var(--ink);
}

.compare thead .col-us { border-top: 1px solid var(--ink); border-radius: 12px 12px 0 0; }

.compare tbody tr:last-child .col-us { border-bottom: 1px solid var(--ink); }

.us-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.us-chip .brand-mark { width: 26px; height: 26px; border-radius: 7px; }
.us-chip .brand-mark svg { width: 16px; height: 16px; }

.icon-yes, .icon-no { display: inline-block; width: 22px; height: 22px; }
.icon-yes { color: var(--ink); }
.icon-no { color: var(--terracotta); }

.compare .mono-val { font-family: var(--font-mono); font-size: 13px; color: var(--ink-60); }

.table-hint {
  display: none;
  margin-top: 12px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-40);
}

@media (max-width: 820px) {
  .table-hint { display: block; }
}

/* ---------- Kundenstimmen ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.quote-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: var(--r-card);
  padding: 28px;
}

.quote-card blockquote {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
  flex: 1;
}

.quote-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--whisper);
  border: 2px solid var(--highlight);
  box-shadow: 0 0 0 2px var(--ink);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
  flex: none;
}

.quote-person .who { font-size: 14px; line-height: 1.4; }
.quote-person .who strong { display: block; font-weight: 700; }
.quote-person .who span { color: var(--ink-60); }

@media (max-width: 900px) {
  .quote-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px dashed var(--pencil);
}

.faq-item { border-bottom: 1px dashed var(--pencil); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-size: 19px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq-icon svg { width: 14px; height: 14px; }

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--highlight);
}

.faq-item .faq-answer {
  padding: 0 44px 24px 4px;
  color: var(--ink-60);
  font-size: 17px;
}

/* ---------- Footer ---------- */
.site-footer {
  padding-top: 32px;
  overflow: hidden;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 40px;
  border-top: 1px dashed var(--pencil);
}

.footer-claim {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-60);
  text-align: right;
  max-width: 320px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  padding-block: 20px 36px;
}

.footer-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.footer-links a { text-decoration: none; font-size: 16px; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

.footer-copy {
  border-block: 1px dashed var(--pencil);
  padding-block: 22px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-60);
}

.footer-wordmark {
  position: relative;
  padding: 40px 0 24px;
  text-align: center;
}

.footer-wordmark .wm {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 10.5vw, 152px);
  letter-spacing: 0.01em;
  line-height: 1.04;
  white-space: nowrap;
}

.footer-wordmark .wm-blob {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-58%);
  width: clamp(120px, 26vw, 340px);
  color: var(--highlight);
  opacity: 0.55;
  z-index: -1;
}

.footer-wordmark .wm-pencil {
  position: absolute;
  right: 6%;
  top: -10px;
  width: clamp(70px, 10vw, 150px);
  color: var(--ink);
  transform: rotate(14deg);
}

@media (max-width: 720px) {
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-claim { text-align: left; }
}

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  .js .reveal.in {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ---------- Phase B: Pricing-CTAs, Consent-Gate, Quellen-Hinweise ---------- */
.cta-alt {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-60);
  text-align: center;
}
.cta-alt a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.addon-card .btn {
  margin-top: 16px;
  justify-content: center;
  width: 100%;
}
.addon-card .cta-alt { margin-top: 10px; }

.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-60);
  cursor: pointer;
  text-align: left;
}
.consent-row input {
  margin-top: 3px;
  accent-color: var(--ink);
  flex-shrink: 0;
}
.consent-row a { color: var(--ink); }
.consent-row strong { color: var(--ink); }

.consent-error {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--terracotta);
  min-height: 1em;
  margin-top: 8px;
  text-align: left;
}

.source-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--ink-60);
  max-width: 640px;
}
.callout .source-note { margin-inline: auto; }

.grid-note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--ink-60);
  text-align: center;
}
.grid-note a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   SUB-PAGE-KIT (Unterseiten-Relaunch Welle 1)
   Bausteine fuer check/login/danke/kuendigen/anleitung + Gruppe B.
   Owner: Faye. Aenderungsbedarf bitte ueber den Manager melden.
   ============================================================ */

/* ---------- Layout ---------- */
.sub-main { padding: 56px 0 96px; }

.container.narrow { max-width: 768px; }
.container.slim { max-width: 640px; }

.page-head {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 44px;
}
.page-head .kicker { display: block; color: var(--ink-60); margin-bottom: 16px; }
.page-head .lead { max-width: 640px; margin: 20px auto 0; }
.page-head .lead strong { color: var(--ink); }

/* ---------- Formular-Kit (Sticky-Note-Look) ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: var(--r-card);
  padding: 32px 28px;
  box-shadow: 5px 5px 0 rgba(26, 51, 0, 0.07);
}

.form-card + .form-card,
.form-card + .info-card,
.info-card + .form-card,
.info-card + .info-card { margin-top: 24px; }

.f-field { margin-bottom: 20px; }

.f-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-60);
  margin-bottom: 8px;
}
.f-label .f-label-note { text-transform: none; letter-spacing: 0.02em; }

.f-input {
  width: 100%;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: var(--r-btn);
  padding: 13px 14px;
}
.f-input:focus {
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 3px var(--highlight);
}
.f-input::placeholder { color: var(--ink-40); }

textarea.f-input { min-height: 120px; resize: vertical; }

select.f-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a3300' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 42px;
}

/* Checkbox-/Radio-Zeilen (Consent, Auswahl) */
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-60);
  margin: 18px 0;
  cursor: pointer;
}
.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--ink);
  flex: none;
  cursor: pointer;
}
.check-row strong { color: var(--ink); }
.check-row a { color: var(--ink); text-underline-offset: 3px; }
.check-row + .check-row { margin-top: 0; }

.form-error {
  color: var(--terracotta);
  font-weight: 500;
  font-size: 15px;
  margin: 14px 0 0;
  min-height: 1.2em;
}

.form-hint {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-60);
  margin-top: 18px;
}
.form-hint strong { color: var(--ink); }
.form-hint a:not(.btn) { color: var(--ink); text-underline-offset: 3px; }

.form-card .btn { width: 100%; justify-content: center; }
.form-card .btn.btn-auto { width: auto; }

/* Erfolgs-Karte */
.done-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--highlight);
  margin-bottom: 18px;
}
.done-icon svg { width: 22px; height: 22px; }

.done-title { font-size: 24px; font-weight: 700; margin-bottom: 10px; }

/* ---------- Info-Karten ---------- */
.info-card {
  background: var(--paper);
  border: 1px solid var(--pencil);
  border-radius: 12px;
  padding: 26px;
}
.info-card h2, .info-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.info-card p { color: var(--ink-60); font-size: 16px; }
.info-card p + p { margin-top: 10px; }
.info-card a:not(.btn) { color: var(--ink); text-underline-offset: 3px; }

/* Nummerierte Schritt-Zeilen (danke, thank-you) */
.step-rows { margin-top: 36px; }
.step-rows li {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px dashed var(--pencil);
}
.step-rows li:last-child { border-bottom: 1px dashed var(--pencil); }
.step-rows .num {
  font-family: var(--font-mono);
  font-size: 13px;
  flex: none;
  align-self: flex-start;
  padding: 3px 9px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30' preserveAspectRatio='none'%3E%3Cpath d='M3 5 Q0 15 4 26 L30 29 57 26 Q60 14 57 4 L29 2 Z' fill='%23ffe95c'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}
.step-rows strong { display: block; margin-bottom: 4px; }
.step-rows .txt { color: var(--ink-60); font-size: 15.5px; }
.step-rows a:not(.btn) { color: var(--ink); text-underline-offset: 3px; }

/* ---------- Legal-/Fliesstext-Typo ---------- */
.legal-copy { font-size: 16.5px; line-height: 1.65; }
.legal-copy h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 12px;
}
.legal-copy h3 { font-size: 19px; font-weight: 700; margin: 28px 0 10px; }
.legal-copy h2:first-child, .legal-copy h3:first-child { margin-top: 0; }
.legal-copy p { margin: 0 0 14px; color: var(--ink-60); }
.legal-copy strong { color: var(--ink); }
.legal-copy ul { list-style: disc; padding-left: 22px; margin: 0 0 14px; color: var(--ink-60); }
.legal-copy li { margin-bottom: 6px; }
.legal-copy a:not(.btn) { color: var(--ink); text-underline-offset: 3px; }

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--whisper);
  border-radius: 4px;
  padding: 1px 6px;
}

/* ---------- Tabs & Anleitungs-Bausteine ---------- */
.tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 28px;
}
.tab-btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--ink);
  border-radius: 6px; /* Kit-Radius Buttons (war 999px) */
  background: var(--paper);
  color: var(--ink);
  padding: 11px 20px;
  cursor: pointer;
}
.tab-btn.active { background: var(--ink); color: var(--paper); }

.subtabs-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-60);
  margin-bottom: 10px;
}
.subtabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.subtab-btn {
  font-family: var(--font-mono);
  font-size: 13px;
  border: 1px solid var(--pencil);
  border-radius: 6px; /* wie .tab-btn */
  background: var(--paper);
  color: var(--ink);
  padding: 7px 14px;
  cursor: pointer;
}
.subtab-btn.active { background: var(--mint); border-color: var(--ink); }

.tab-panel[hidden] { display: none; }

.guide-list { margin-top: 8px; }
.guide-step {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px dashed var(--pencil);
}
.guide-step:last-child { border-bottom: 1px dashed var(--pencil); }
.guide-num {
  font-family: var(--font-mono);
  font-size: 13px;
  flex: none;
  align-self: flex-start;
  padding: 3px 9px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30' preserveAspectRatio='none'%3E%3Cpath d='M3 5 Q0 15 4 26 L30 29 57 26 Q60 14 57 4 L29 2 Z' fill='%23ffe95c'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}
.guide-body h2 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.guide-body p { color: var(--ink-60); margin-bottom: 10px; }
.guide-body ul { list-style: disc; padding-left: 22px; color: var(--ink-60); margin: 0 0 10px; }
.guide-body li { margin-bottom: 5px; }
.guide-body a:not(.btn) { color: var(--ink); text-underline-offset: 3px; }
.guide-body strong { color: var(--ink); }

.guide-tip {
  background: var(--whisper);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-60);
  margin-top: 12px;
}
.tip-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  padding: 2px 8px;
  margin-right: 8px;
}

.prov-hint { display: none; }
.prov-hint.active { display: block; }

/* ---------- Kompakter Footer ---------- */
.footer-sub {
  border-top: 1px dashed var(--pencil);
  margin-top: 48px;
}
.footer-sub .footer-sub-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 28px;
  padding: 26px 0 34px;
  font-size: 14px;
  color: var(--ink-60);
}
.footer-sub a { color: var(--ink); text-decoration: none; }
.footer-sub a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-sub .brand { font-size: 17px; }
.footer-sub .brand-mark { width: 30px; height: 30px; border-radius: 8px; }
.footer-sub .brand-mark svg { width: 19px; height: 19px; }

@media (max-width: 640px) {
  .sub-main { padding-top: 40px; }
  .form-card { padding: 24px 18px; }
  .guide-step { flex-direction: column; gap: 12px; }
  .footer-sub .footer-sub-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   PORTAL-KOMPAT (Welle 3): stylt die vom Portal-Inline-Script
   gerenderten Alt-Klassen (p-card, p-btn, chip, rev-*, file-pick)
   im Relaunch-Design. Scoped auf body.portal-page. Owner: Faye.
   ============================================================ */
.portal-page .portal-head-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.portal-page .portal-user {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-60);
  overflow-wrap: anywhere;
}
.portal-page .p-card {
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: var(--r-card);
  padding: 26px 24px;
  box-shadow: 5px 5px 0 rgba(26, 51, 0, 0.07);
  margin-bottom: 24px;
}
.portal-page .p-card-accent { background: var(--mint); }
.portal-page .p-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.portal-page .p-card-title { font-size: 21px; font-weight: 700; margin: 0; }
.portal-page .p-card-meta { color: var(--ink-60); font-size: 15px; margin: 0 0 6px; }
.portal-page .p-card-meta a { color: var(--ink); text-underline-offset: 3px; }
.portal-page .chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 3px 10px;
  background: var(--whisper);
  white-space: nowrap;
}
.portal-page .chip.geliefert, .portal-page .chip.erledigt { background: var(--mint); }
.portal-page .chip.offen, .portal-page .chip.in_arbeit { background: var(--highlight); }
.portal-page .chip.abgeschlossen { background: var(--whisper); }
.portal-page .p-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 15px/1.2 var(--font-body);
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: var(--r-btn);
  padding: 12px 20px;
  text-decoration: none;
  cursor: pointer;
}
.portal-page .p-btn:hover { background: #142900; }
.portal-page .p-btn.ghost { background: transparent; color: var(--ink); }
.portal-page .p-btn.ghost:hover { background: var(--ink-12); }
.portal-page .p-btn.small { padding: 8px 14px; font-size: 14px; }
.portal-page .btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.portal-page .p-hint { color: var(--ink-60); font-size: 14.5px; line-height: 1.6; }
.portal-page .p-hint a, .portal-page .acc { color: var(--ink); text-underline-offset: 3px; }
.portal-page .p-error { color: var(--terracotta); font-weight: 500; font-size: 14.5px; min-height: 1.2em; margin: 10px 0 0; }
.portal-page .p-field { margin: 0 0 16px; }
.portal-page .p-input {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: var(--r-btn);
  padding: 12px 13px;
  min-height: 96px;
  resize: vertical;
}
.portal-page .p-input:focus { outline: none; background: #fff; box-shadow: 0 0 0 3px var(--highlight); }
.portal-page .rev-form {
  border-top: 1px dashed var(--pencil);
  margin-top: 20px;
  padding-top: 18px;
}
.portal-page .rev-form .mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; }
.portal-page .badge-count {
  background: var(--highlight);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--ink);
}
.portal-page .rev-item { border-top: 1px dashed var(--pencil); padding: 14px 0; }
.portal-page .rev-item:first-child { border-top: 0; }
.portal-page .rev-msg { margin: 8px 0 4px; font-size: 15px; }
.portal-page .rev-meta { color: var(--ink-40); font-family: var(--font-mono); font-size: 12px; margin: 0; }
.portal-page .file-pick { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.portal-page .file-pick input[type="file"] { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.portal-page .file-pick-list { font-size: 13px; color: var(--ink-40); }
.portal-page .file-pick-list.has-files { color: var(--ink-60); }

/* ============================================================
   WELLE 6 (05.09.2026, Vorgabe PDF "neue Texte"): Fristen-Badge, Add-ons,
   Vorher-Nachher-Slider, Leitfaden, Relaunch-Konfigurator.
   Nur Startseite. Design-System wie oben, Bricolage nur >= 40 px.
   ============================================================ */

#anfrage [hidden], #leitfaden [hidden], #referenzen [hidden], #pakete [hidden] { display: none !important; }

/* Honeypot: unsichtbar, nicht fokussierbar (tabindex=-1 im Markup) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Fristen-Badge ganz oben in der Preiskachel ---------- */
.deadline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  align-items: flex-start;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--highlight);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.deadline-badge svg { width: 15px; height: 15px; flex: none; margin-top: 1px; }
.price-card.featured .deadline-badge { background: var(--paper); margin-top: 6px; }

/* ---------- Add-ons unter den Kacheln ---------- */
.addons { margin-top: 64px; }
.addons-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 26px;
}
.addon-card { display: flex; flex-direction: column; }
.addon-card > .btn { margin-top: auto; }
.addon-card p { flex: none; }
.addon-card .consent-row + .consent-error { margin-bottom: 8px; }
.addons-note {
  margin-top: 18px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-60);
}

/* ---------- Vorher-Nachher-Slider ---------- */
#referenzen { padding-block: 0 24px; }
.ba { position: relative; max-width: 980px; margin: 0 auto; }
.ba-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 300px;
  border: 1px solid var(--ink);
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--paper);
  box-shadow: 5px 5px 0 rgba(26, 51, 0, 0.07);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.ba-pane { position: absolute; inset: 0; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 44px;
  margin-left: -22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  touch-action: none;
  outline: none;
}
.ba-handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: var(--ink);
}
.ba-knob {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 4px var(--paper);
}
.ba-knob svg { width: 22px; height: 22px; }
.ba-handle:focus-visible .ba-knob { box-shadow: 0 0 0 4px var(--highlight); }
.ba-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-60);
}
.ba-label-after { text-align: right; }
.ba-hint { text-align: center; margin-top: 10px; font-size: 13px; color: var(--ink-60); }

/* Vorher: das Desktop-Relikt (bewusst fremdes Grau/Blau, Serifen, Tabellen-Look) */
.ba-old {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #e9e6df;
  color: #3a3a3a;
  font-family: Georgia, "Times New Roman", serif;
}
.ba-old-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #cfcac0;
  border-bottom: 1px solid #a8a29a;
  font-family: var(--font-mono);
  font-size: 11px;
}
.ba-old-bar span { width: 9px; height: 9px; border-radius: 50%; background: #a8a29a; flex: none; }
.ba-old-bar em { margin-left: 8px; font-style: normal; color: #555; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ba-old-marquee {
  background: #1f3fbf;
  color: #fff;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 12px;
  padding: 5px 12px;
  white-space: nowrap;
  overflow: hidden;
}
.ba-old-body { display: grid; grid-template-columns: 130px 1fr; flex: 1; min-height: 0; }
.ba-old-nav {
  background: #d8d3c8;
  border-right: 2px solid #a8a29a;
  padding: 10px;
  display: grid;
  gap: 6px;
  align-content: start;
}
.ba-old-nav span {
  background: #f4f1ea;
  border: 1px solid #a8a29a;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  padding: 4px 6px;
  color: #1f3fbf;
  text-decoration: underline;
}
.ba-old-main { padding: 14px 18px; overflow: hidden; }
.ba-old-h { font-size: 22px; font-weight: 700; color: #8a1f1f; margin-bottom: 8px; }
.ba-old-line { display: block; height: 7px; background: #b9b3a7; margin: 6px 0; width: 90%; }
.ba-old-line.short { width: 55%; }
.ba-old-img {
  width: 110px;
  height: 80px;
  border: 2px inset #a8a29a;
  background: #fff;
  color: #8a8378;
  margin: 8px 0;
  display: grid;
  place-items: center;
}
.ba-old-img svg { width: 70px; }
.ba-old-foot {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 10px;
  padding: 6px 12px;
  background: #cfcac0;
  color: #555;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}

/* Nachher: Mobile-First-Auftritt im Design-System, Sticky-CTA im Daumenbereich */
.ba-new {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
}
.ba-new-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid var(--pencil);
}
.ba-new-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; }
.ba-new-brand i { width: 22px; height: 22px; border-radius: 6px; background: var(--highlight); }
.ba-new-burger { display: grid; gap: 3px; }
.ba-new-burger b { display: block; width: 18px; height: 2px; background: var(--ink); }
.ba-new-hero { padding: 22px 20px 10px; }
.ba-new-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--highlight);
}
.ba-new-h1 {
  font-family: var(--font-body); /* Kanon: Bricolage nur >= 40 px, hier Inter 800 */
  font-weight: 800;
  font-size: clamp(18px, 3.2vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 10px 0 8px;
}
.ba-new-h1 span { background: var(--highlight); padding: 0 0.1em; }
.ba-new-line { display: block; height: 6px; border-radius: 3px; background: var(--ink-12); margin: 6px 0; width: 70%; }
.ba-new-line.short { width: 45%; }
.ba-new-cta {
  display: inline-block;
  margin-top: 10px;
  padding: 9px 16px;
  border-radius: var(--r-btn);
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 500;
}
.ba-new-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 8px 20px 70px; }
.ba-new-card {
  border: 1px solid var(--pencil);
  border-radius: 10px;
  padding: 10px;
  background: #fff;
  min-height: 54px;
  display: grid;
  gap: 6px;
  align-content: start;
}
.ba-new-card.mint { background: var(--mint); }
.ba-new-card.teal { background: var(--teal); }
.ba-new-card i { display: block; width: 18px; height: 18px; border-radius: 5px; background: var(--ink-12); }
.ba-new-card b { display: block; height: 6px; border-radius: 3px; background: var(--ink-12); width: 80%; }
.ba-new-sticky {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--r-btn);
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 6px 18px rgba(26, 51, 0, 0.25);
}
.ba-new-sticky svg { width: 16px; height: 16px; }

@media (max-width: 640px) {
  .ba-stage { aspect-ratio: 4 / 3; min-height: 0; } /* min-height wuerde ueber die aspect-ratio auf die Breite uebertragen (375 px: 400 px breit) */
  .ba-old-body { grid-template-columns: 90px 1fr; }
  .ba-old-nav span { font-size: 10px; padding: 3px 5px; }
  .ba-old-h { font-size: 18px; }
  .ba-new-cards { grid-template-columns: 1fr 1fr; }
  .ba-new-card:nth-child(3) { display: none; }
  .ba-labels { flex-direction: column; }
  .ba-label-after { text-align: left; }
}

/* ---------- Leitfaden (Lead-Magnet) ---------- */
.leitfaden { padding-block: 40px 40px; }
.leitfaden-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--mint);
  border: 1px solid var(--ink);
  border-radius: 24px;
  padding: 56px 48px;
}
.leitfaden-copy .wash-badge { margin-bottom: 20px; }
.leitfaden-copy .lead { margin-top: 18px; max-width: 520px; }
.leitfaden-form,
.leitfaden-done {
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: var(--r-card);
  padding: 28px;
  box-shadow: 5px 5px 0 rgba(26, 51, 0, 0.07);
}
.leitfaden-form .check-row { margin: 4px 0 14px; font-size: 14px; }
.leitfaden-form .btn { width: 100%; justify-content: center; min-height: 44px; }
.leitfaden-form .form-hint { margin-top: 12px; font-size: 13px; }
@media (max-width: 900px) {
  .leitfaden-card { grid-template-columns: 1fr; padding: 36px 22px; }
}

/* ---------- Relaunch-Konfigurator (Multi-Step) ---------- */
.anfrage { padding-block: 40px 96px; }
.konfig, .konfig-done { max-width: 760px; margin: 0 auto; }
.konfig-done { text-align: center; }
.konfig-done .done-icon { margin-inline: auto; }
.konfig-progress { margin-bottom: 24px; }
.konfig-progress-text {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 10px;
}
.konfig-bar { height: 6px; border-radius: 999px; background: var(--ink-12); overflow: hidden; }
.konfig-bar span { display: block; height: 100%; background: var(--ink); border-radius: 999px; transition: width 0.25s ease; }
.konfig-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.konfig-legend { font-size: 22px; font-weight: 700; line-height: 1.25; margin-bottom: 18px; padding: 0; outline: none; }
.option-grid { display: grid; gap: 12px; }
.option-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.option-card:hover { background: #fff; }
.option-card input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--ink); cursor: pointer; }
.option-card:has(input:checked) { background: var(--teal); box-shadow: 3px 3px 0 rgba(26, 51, 0, 0.12); }
.option-card:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--highlight); }
.konfig-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.konfig .check-row { margin: 4px 0 0; }
.konfig-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.konfig-nav .btn { width: auto; min-height: 44px; }
.konfig-nav .btn-primary { flex: 1; }
.konfig-hint { text-align: center; }
@media (max-width: 640px) {
  .konfig-fields { grid-template-columns: 1fr; }
  .konfig-legend { font-size: 19px; }
  .konfig-nav { flex-direction: column-reverse; }
  .konfig-nav .btn { width: 100%; }
}

/* FAQ-Antwort mit Fristenliste (Welle 6) */
.faq-item .faq-answer p + p, .faq-item .faq-answer ul { margin-top: 10px; }
.faq-fristen { padding-left: 22px; display: grid; gap: 4px; }
.faq-fristen li { list-style: disc; }

/* Chat-Launcher-Zone (chat.js: .wpc-btn 48 px fixed rechts unten, bis 480 px right/bottom 14 px):
   unterhalb 768 px halten die interaktiven Bausteine der neuen Sektionen die rechte Spalte frei,
   damit der Launcher nie ein Bedienelement verdeckt (Daves Regel "nichts verdeckt"). */
@media (max-width: 767px) {
  #referenzen .ba-stage,
  #anfrage .konfig,
  #anfrage .konfig-done,
  #leitfaden .leitfaden-form,
  #leitfaden .leitfaden-done { margin-right: 48px; }
  #referenzen .ba-labels, #referenzen .ba-hint { margin-right: 48px; }
}
