/* =============================================================================
   feedback.* marketing — shared stylesheet
   -----------------------------------------------------------------------------
   Every vertical loads this file unchanged. The per-vertical <style> block in
   <head> only redefines the custom properties declared in
   src/verticals/engine/theme.mjs, so a colour change never means touching CSS.

   Typefaces are the same as alpin.cx for every vertical, reaching this file
   only through --font-display / --font-body (theme.mjs): GT Alpina Condensed
   is vendored below, exactly like src/app/alpincx/alpincx.css; Epilogue comes
   from Bunny Fonts (see theme.mjs) — the one third-party host the pages
   touch; nothing else is external.
   ========================================================================== */

@font-face {
  font-family: "GT Alpina Condensed";
  src: url("/fonts/GT-Alpina-Condensed-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GT Alpina Condensed";
  src: url("/fonts/GT-Alpina-Condensed-Regular-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "GT Alpina Condensed";
  src: url("/fonts/GT-Alpina-Condensed-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GT Alpina Condensed";
  src: url("/fonts/GT-Alpina-Condensed-Bold-Italic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ------------------------------------------------------------------ tokens */

:root {
  color-scheme: light;

  --shell: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --ink-soft: rgb(var(--ink-rgb) / 0.68);
  --ink-faint: rgb(var(--ink-rgb) / 0.5);
  --line: rgb(var(--ink-rgb) / 0.1);
  --line-strong: rgb(var(--ink-rgb) / 0.18);
  --surface: #fff;
  --tint: rgb(var(--brand-rgb) / 0.08);

  --shadow-sm: 0 1px 2px rgb(var(--ink-rgb) / 0.05), 0 1px 3px rgb(var(--ink-rgb) / 0.06);
  --shadow-md: 0 4px 12px rgb(var(--ink-rgb) / 0.06), 0 12px 28px rgb(var(--ink-rgb) / 0.07);
  --shadow-lg: 0 8px 24px rgb(var(--ink-rgb) / 0.08), 0 28px 64px rgb(var(--ink-rgb) / 0.12);

  --step-1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step0: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  --step1: clamp(1.15rem, 1.08rem + 0.34vw, 1.34rem);
  --step2: clamp(1.5rem, 1.3rem + 0.9vw, 2.05rem);
  --step3: clamp(1.95rem, 1.6rem + 1.7vw, 3rem);
  --step4: clamp(2.45rem, 1.85rem + 2.8vw, 4.05rem);

  /* CMS chart blocks (src/lib/chart.mjs) read exactly these five. Derived from
     the per-vertical theme variables above, so each vertical's charts wear its
     own brand with nothing added to its config file. */
  --chart-accent: var(--brand);
  --chart-ink: var(--ink);
  --chart-muted: var(--ink-soft);
  --chart-grid: var(--line-strong);
  --chart-surface: var(--surface);
}

/* ------------------------------------------------------------------- reset */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

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

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

/* Several components set an explicit `display`, which would otherwise beat the
   UA rule for [hidden] and leave the cookie notice permanently on screen. */
[hidden] {
  display: none !important;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
  /* German compounds ("Patientenzufriedenheit") are longer than a hero column.
     Hyphenate where the browser can, hard-break rather than overflow where it
     cannot — an overflowing heading would slide under the hero card. */
  hyphens: auto;
  /* `anywhere` rather than `break-word`: only `anywhere` also shrinks the
     heading's min-content width, which is what a centred grid track measures. */
  overflow-wrap: anywhere;
}

h1 {
  font-size: var(--step4);
}
h2 {
  font-size: var(--step3);
}
h3 {
  font-size: var(--step1);
  line-height: 1.3;
}

p {
  margin: 0;
}

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

a {
  color: inherit;
}

em {
  font-style: italic;
  color: var(--brand);
}

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

/* Parked above the viewport rather than at left:-9999px, which would widen the
   document on narrow screens. */
.skip-link {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 100;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) 0;
  transform: translateY(-150%);
  transition: transform 0.15s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ------------------------------------------------------------------ layout */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(4rem, 9vw, 7.5rem);
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.eyebrow {
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.85rem;
}

.lede {
  font-size: var(--step1);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 54ch;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border: 1px solid rgb(var(--brand-rgb) / 0.16);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.9rem;
}

.badge-invert {
  color: #fff;
  background: rgb(255 255 255 / 0.12);
  border-color: rgb(255 255 255 / 0.22);
}

.tag {
  display: inline-block;
  vertical-align: middle;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--accent);
  border-radius: var(--radius-pill);
  padding: 0.18rem 0.5rem;
  margin-left: 0.35rem;
}

/* ----------------------------------------------------------------- buttons */

.btn {
  --btn-py: 0.7rem;
  --btn-px: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--btn-py) var(--btn-px);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  --btn-py: 0.5rem;
  --btn-px: 0.95rem;
  font-size: var(--step-1);
}

.btn-lg {
  --btn-py: 0.9rem;
  --btn-px: 1.6rem;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--brand-strong);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--surface);
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: var(--tint);
  border-color: var(--brand);
  color: var(--brand-strong);
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.82);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header[data-scrolled] {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex: none;
}

.wordmark {
  font-family: var(--font-body);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.wordmark-tail {
  color: var(--brand);
}

.site-nav {
  display: flex;
  gap: 1.6rem;
  margin-inline-start: auto;
  font-size: var(--step-1);
  font-weight: 500;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.site-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: none;
}

.lang-switch {
  display: flex;
  gap: 0.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.15rem;
  background: var(--surface);
}

.lang-switch a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink-faint);
  padding: 0.22rem 0.42rem;
  border-radius: var(--radius-pill);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-switch a:hover {
  color: var(--ink);
}

.lang-switch a[aria-current] {
  background: var(--brand);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.5rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1.6px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(5.6px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-5.6px) rotate(-45deg);
}

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding-block: 1rem;
}

.mobile-nav .shell {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav a:not(.btn) {
  text-decoration: none;
  color: var(--ink);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}

.mobile-nav .btn {
  margin-top: 0.75rem;
}

/* -------------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3.5rem, 8vw, 6rem);
  background: linear-gradient(180deg, var(--brand-soft) 0%, var(--bg) 62%);
}

.hero-glow {
  position: absolute;
  inset-block-start: -30%;
  inset-inline-end: -12%;
  width: min(60rem, 90vw);
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, rgb(var(--brand-rgb) / 0.22), transparent 62%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-copy > * + * {
  margin-top: 1.4rem;
}

.hero h1 {
  max-width: 15ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-proof {
  font-size: var(--step-1);
  color: var(--ink-faint);
}

/* --------------------------------------------------------- product console */

.hero-visual {
  position: relative;
  padding-bottom: 2.5rem;
}

.console-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.console-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.console-label {
  font-size: var(--step-1);
  color: var(--ink-faint);
}

.console-subject {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: var(--step1);
  letter-spacing: var(--display-tracking);
}

.pill {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.7rem;
  white-space: nowrap;
}

.pill-good {
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.console-score {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 1.1rem;
}

.score-value {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--brand-strong);
}

.stars {
  display: flex;
  gap: 2px;
}

.stars svg {
  width: 1rem;
  height: 1rem;
  fill: var(--accent);
}

.console-meta {
  font-size: var(--step-1);
  color: var(--ink-faint);
}

.console-cats {
  display: grid;
  gap: 0.7rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.console-cats li,
.bar-list li {
  display: grid;
  grid-template-columns: 7.5rem 1fr 2.2rem;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--step-1);
}

.cat-label,
.bar-label {
  color: var(--ink-soft);
}

.cat-value,
.bar-value {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--ink);
}

.meter {
  display: block;
  height: 6px;
  border-radius: var(--radius-pill);
  background: rgb(var(--ink-rgb) / 0.09);
  overflow: hidden;
}

.meter-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--brand-strong));
}

.console-toast {
  position: absolute;
  inset-inline-start: clamp(-1rem, -2vw, 0rem);
  inset-block-end: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.7rem 1rem;
  max-width: 19rem;
}

.toast-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgb(var(--brand-rgb) / 0.16);
  flex: none;
}

.toast-title {
  font-size: var(--step-1);
  font-weight: 600;
}

.toast-meta {
  font-size: 0.78rem;
  color: var(--ink-faint);
}

.toast-meta strong {
  color: var(--brand-strong);
}

/* ------------------------------------------------------------------- trust */

.trust {
  border-block: 1px solid var(--line);
  background: var(--bg-alt);
  padding-block: 1.5rem;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
}

.trust-label {
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.4rem;
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--ink-soft);
}

.trust-own {
  color: var(--brand-strong);
  background: var(--brand-soft);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.7rem;
}

/* ---------------------------------------------------------------- features */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 2.4vw, 1.75rem);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgb(var(--brand-rgb) / 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius);
  background: var(--brand-soft);
  color: var(--brand-strong);
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--ink-soft);
  font-size: var(--step-1);
  line-height: 1.6;
}

/* ---------------------------------------------------------------- showcase */

.showcase-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.showcase-copy > * + * {
  margin-top: 1.25rem;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  font-size: var(--step-1);
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.85rem;
}

.showcase-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.4rem, 3vw, 2.1rem);
}

.bar-list {
  display: grid;
  gap: 0.85rem;
}

/* -------------------------------------------------------------- dark band */

.band {
  background: var(--band);
  color: #fff;
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.band-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.band-copy > * + * {
  margin-top: 1.2rem;
}

.band-copy p {
  color: rgb(255 255 255 / 0.76);
  max-width: 42ch;
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  align-content: center;
}

.band-grid li {
  border-top: 1px solid rgb(255 255 255 / 0.18);
  padding-top: 0.9rem;
}

.band-grid h3 {
  font-size: var(--step0);
  margin-bottom: 0.35rem;
}

.band-grid p {
  font-size: var(--step-1);
  color: rgb(255 255 255 / 0.7);
  line-height: 1.55;
}

/* ----------------------------------------------------------------- pricing */

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
  gap: 1.5rem;
  align-items: start;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
}

.plan-featured {
  border-color: rgb(var(--brand-rgb) / 0.45);
  box-shadow: var(--shadow-lg);
}

.plan-badge {
  position: absolute;
  top: -0.75rem;
  inset-inline-end: 1.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.7rem;
}

.plan-price {
  font-family: var(--font-display);
  font-size: var(--step2);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  color: var(--brand-strong);
  line-height: 1.15;
}

.plan-desc {
  color: var(--ink-soft);
  font-size: var(--step-1);
}

.plan-features {
  display: grid;
  gap: 0.55rem;
  margin-block: 0.5rem 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: var(--step-1);
  color: var(--ink-soft);
}

.plan-features li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.6rem;
  align-items: start;
}

.plan-features li::before {
  content: '';
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 0.8rem no-repeat;
}

.plan .btn {
  margin-top: auto;
}

.plan-note {
  margin-top: 1.5rem;
  font-size: var(--step-1);
  color: var(--ink-faint);
  text-align: center;
}

/* ------------------------------------------------------------ testimonials */

.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr));
  gap: 1.5rem;
}

.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.quote-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step1);
  line-height: 1.45;
  letter-spacing: var(--display-tracking);
}

.quote-card blockquote::before {
  content: '\201C';
  color: var(--brand);
  margin-inline-end: 0.1em;
}

.quote-card blockquote::after {
  content: '\201D';
  color: var(--brand);
}

.outcome-headline {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: var(--step1);
  line-height: 1.35;
  letter-spacing: var(--display-tracking);
}

.outcome-headline::before {
  content: '';
  display: block;
  width: 2rem;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--brand);
  margin-bottom: 1rem;
}

.outcome-body {
  color: var(--ink-soft);
  font-size: var(--step-1);
  line-height: 1.6;
}

.quote-author {
  display: grid;
  gap: 0.1rem;
  font-size: var(--step-1);
  margin-top: auto;
}

.quote-author span {
  color: var(--ink-faint);
}

/* --------------------------------------------------------------------- cta */

.cta {
  padding-block: clamp(4rem, 9vw, 7rem);
  background: linear-gradient(180deg, var(--bg) 0%, var(--brand-soft) 100%);
  border-top: 1px solid var(--line);
}

.cta-inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1.1rem;
  max-width: 44rem;
}

/* justify-items: center sizes children to fit-content, and `overflow-wrap`
   does not shrink a long word's intrinsic width — so cap them explicitly. */
.cta-inner > * {
  max-width: 100%;
}

.cta-inner p {
  color: var(--ink-soft);
  font-size: var(--step1);
}

/* ------------------------------------------------------------------ footer */

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-block: 2.75rem;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

.footer-brand {
  display: grid;
  gap: 0.6rem;
}

.footer-brand p {
  font-size: var(--step-1);
  color: var(--ink-faint);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: var(--step-1);
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand-strong);
  text-decoration: underline;
}

.footer-legal {
  font-size: 0.78rem;
  color: var(--ink-faint);
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

@media (min-width: 48rem) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }
  .footer-links {
    justify-content: flex-end;
  }
  .footer-legal {
    grid-column: 1 / -1;
  }
}

/* ------------------------------------------------------- newsletter signup */

/* Same `nl-*` contract the React tenants use
   (src/components/newsletter-form.tsx), wearing this vertical's theme. */

.footer-top {
  display: grid;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 48rem) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 20rem);
    gap: 3rem;
  }
}

.nl {
  max-width: 34rem;
}

.nl-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: var(--step1);
  margin: 0 0 0.25rem;
}

.nl-body {
  color: var(--ink-soft);
  margin: 0 0 1rem;
  text-wrap: pretty;
}

.nl-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: center;
}

.nl-label {
  grid-column: 1 / -1;
  font-size: var(--step-1);
  color: var(--ink-soft);
}

.nl-input {
  min-width: 0;
  padding: 0.7rem 0.9rem;
  font-family: inherit;
  font-size: var(--step0);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.nl-input:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}

.nl-button {
  padding: 0.7rem 1.25rem;
  font-family: inherit;
  font-size: var(--step0);
  font-weight: 600;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}

.nl-button:hover {
  background: var(--brand-strong);
}

.nl-button[disabled] {
  opacity: 0.6;
  cursor: default;
}

.nl-error {
  margin: 0.6rem 0 0;
  font-size: var(--step-1);
  color: #b3261e;
}

.nl-note {
  margin: 0.75rem 0 0;
  font-size: var(--step-1);
  color: var(--ink-faint);
  text-wrap: pretty;
}

/* Off-screen rather than display:none — a bot that skips hidden fields is
   exactly the one this is meant to catch. */
.nl-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ------------------------------------------------------------ brand family */

/* Same `bf-*` contract the React tenants use
   (src/components/brand-family.tsx), wearing this vertical's theme. */

.bf-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: var(--step1);
  margin: 0 0 0.25rem;
}

.bf-body {
  color: var(--ink-soft);
  margin: 0 0 0.75rem;
  text-wrap: pretty;
}

.bf-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}

.bf-link:hover {
  text-decoration: underline;
}

@media (max-width: 560px) {
  .nl-row {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------- prose pages */

.prose-page {
  padding-block: clamp(3rem, 7vw, 5rem);
}

.prose {
  max-width: 46rem;
}

.prose h1 {
  font-size: var(--step3);
  margin-bottom: 1rem;
}

.prose h2 {
  font-size: var(--step1);
  margin-top: 2.5rem;
  margin-bottom: 0.6rem;
}

.prose p {
  color: var(--ink-soft);
  margin-bottom: 0.9rem;
}

.prose .lede {
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

/* Media blocks inside an article: image, video and chart figures from the CMS
   (src/verticals/engine/render.mjs). */
.article-media {
  margin: 2rem 0;
}

.article-media img,
.article-media video {
  border-radius: var(--radius);
}

.article-media figcaption {
  margin-top: 0.6rem;
  font-size: var(--step-1);
  color: var(--ink-soft);
}

/* ------------------------------------------------------------------ dialog */

.demo-dialog {
  width: min(34rem, calc(100vw - 2rem));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.demo-dialog::backdrop {
  background: rgb(var(--ink-rgb) / 0.45);
  backdrop-filter: blur(3px);
}

.demo-form {
  display: grid;
  gap: 0.85rem;
}

.dialog-close {
  position: absolute;
  top: 0.75rem;
  inset-inline-end: 0.9rem;
  width: 2rem;
  height: 2rem;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--ink-faint);
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}

.dialog-close:hover {
  color: var(--ink);
  background: var(--tint);
}

.dialog-lede {
  color: var(--ink-soft);
  font-size: var(--step-1);
  margin-bottom: 0.35rem;
}

.demo-form label {
  display: grid;
  gap: 0.3rem;
  font-size: var(--step-1);
  font-weight: 600;
}

.demo-form input,
.demo-form textarea {
  font: inherit;
  font-weight: 400;
  color: inherit;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg);
  resize: vertical;
}

.demo-form input:focus,
.demo-form textarea:focus {
  border-color: var(--brand);
  outline: 2px solid rgb(var(--brand-rgb) / 0.2);
  outline-offset: 0;
}

.form-error {
  font-size: var(--step-1);
  color: #b3261e;
}

.form-note {
  font-size: 0.78rem;
  color: var(--ink-faint);
}

.demo-success {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

/* ------------------------------------------------------------ cookie banner */

.cookie-banner {
  position: fixed;
  inset-inline: var(--gutter);
  inset-block-end: 1rem;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  max-width: var(--shell);
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.9rem 1.25rem;
  font-size: var(--step-1);
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cookie-actions a {
  color: var(--ink-soft);
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 64rem) {
  .hero-inner,
  .showcase-inner,
  .band-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero h1 {
    max-width: 20ch;
  }
  .hero-visual {
    max-width: 32rem;
  }
}

@media (max-width: 56rem) {
  .site-nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .header-inner {
    justify-content: space-between;
  }
  .header-actions {
    margin-inline-start: auto;
  }
}

@media (max-width: 34rem) {
  /* Brand + language switch + CTA + burger do not fit on a phone. The CTA is
     repeated inside the mobile nav, so drop it from the bar. */
  .header-actions > .btn {
    display: none;
  }
  .header-inner {
    gap: 0.75rem;
  }
  /* "zahnarzt.feedback" is a wide wordmark; let it shrink instead of pushing
     the burger past the viewport edge. */
  .brand {
    flex: 0 1 auto;
    min-width: 0;
  }
  .wordmark {
    font-size: 0.94rem;
  }
  .lang-switch a {
    padding-inline: 0.34rem;
  }
  .band-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .console-cats li,
  .bar-list li {
    grid-template-columns: 6rem 1fr 2.2rem;
  }
  .console-toast {
    position: static;
    margin-top: 1rem;
    max-width: none;
  }
  .hero-visual {
    padding-bottom: 0;
  }
}

/* ------------------------------------------------------- motion and print */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .cookie-banner,
  .demo-dialog,
  .hero-visual {
    display: none !important;
  }
  body {
    background: #fff;
  }
}
