@layer reset, tokens, base, layout, components, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  img, svg, video { display: block; max-width: 100%; height: auto; }
  input, button, textarea, select { font: inherit; color: inherit; }
  :where(ul, ol)[role="list"] { list-style: none; padding: 0; }
}

@layer tokens {
  :root {
    color-scheme: light;
    /* Farben: klinisch hell, kühles Papier, tiefes Kiefergrün statt Schwarz, Markenblau aus dem Kreuz */
    --paper:   #f5f9f8;
    --white:   #ffffff;
    --ink:     #12312c;
    --ink-2:   #4a615c;
    --line:    #d3e2de;
    --brand:   #1c7fc4;
    --brand-d: #135e93;
    --vital:   #0f9d6b;
    --tint:    #e7f2f8;

    /* Typo: Systemschriften – kein Google Fonts (DSGVO) */
    --font: "Avenir Next", "Avenir", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: "Avenir Next", "Avenir", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

    --step--1: clamp(0.84rem, 0.8rem + 0.15vw, 0.92rem);
    --step-0:  clamp(1.0rem, 0.96rem + 0.2vw, 1.125rem);
    --step-1:  clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
    --step-2:  clamp(1.5rem, 1.3rem + 0.9vw, 2.1rem);
    --step-3:  clamp(2.1rem, 1.6rem + 2.4vw, 3.6rem);

    --space-s: clamp(0.75rem, 0.7rem + 0.3vw, 1rem);
    --space-m: clamp(1.25rem, 1rem + 1vw, 2rem);
    --space-l: clamp(2.5rem, 2rem + 3vw, 5rem);
    --gutter: 1rem;
    --measure: 66ch;
    --radius-s: 6px;
    --radius-l: 18px;
  }
  @media (min-width: 48rem) { :root { --gutter: 2rem; } }
}

@layer base {
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  main section[id] { scroll-margin-top: 3.8rem; } /* Höhe der festen Kopfzeile, damit Sprungziele nicht darunter verschwinden */
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
  body {
    font-family: var(--font);
    font-size: var(--step-0);
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
  }
  h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; text-wrap: balance; font-weight: 600; letter-spacing: -0.015em; }
  h1 { font-size: var(--step-3); }
  h2 { font-size: var(--step-2); }
  h3 { font-size: var(--step-1); line-height: 1.25; }
  p, li, dd { text-wrap: pretty; }
  a { color: var(--brand-d); text-underline-offset: 0.18em; }
  :focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
  ::selection { background: var(--tint); }
}

@layer layout {
  .wrap { width: min(100% - 2 * var(--gutter), 72rem); margin-inline: auto; }
  section { padding-block: var(--space-l); }
  .section-head { max-width: 40rem; margin-bottom: var(--space-m); }
  .section-head p { color: var(--ink-2); margin-top: 0.6rem; }
}

@layer components {
  /* Kopfzeile */
  .site-header {
    position: sticky; top: 0; z-index: 20;
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.75rem; }
  .logo { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--ink); }
  .logo svg { width: 1.6rem; height: 1.6rem; flex: none; }
  .logo b { font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; }
  .logo small { display: block; font-size: 0.75rem; color: var(--ink-2); line-height: 1; }
  .nav { display: none; }
  @media (min-width: 68rem) {
    .nav { display: flex; gap: 1.6rem; align-items: center; }
    .nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; white-space: nowrap; }
    .nav a:hover { color: var(--brand-d); }
  }
  .header-phone { display: none; }
  @media (min-width: 48rem) { .header-phone { display: inline; font-size: 0.95rem; color: var(--ink-2); text-decoration: none; white-space: nowrap; flex: none; } }
  /* Ab 68rem: acht Menüpunkte brauchen den Platz – Telefon steht dann im Kontaktbereich, in der Aktionsleiste und im Mobilmenü */
  @media (min-width: 68rem) { .header-phone { display: none; } }
  @media (min-width: 68rem) and (max-width: 79.99rem) { .nav { gap: 1.15rem; } }

  /* Buttons */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    min-height: 3rem; padding: 0.7rem 1.35rem;
    border-radius: 999px; border: 1.5px solid transparent;
    font-weight: 600; text-decoration: none; cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s;
  }
  .btn-primary { background: var(--brand); color: var(--white); }
  .btn-primary:hover { background: var(--brand-d); }
  .btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
  .btn-ghost:hover { border-color: var(--ink); }
  .btn-small { min-height: 2.5rem; padding: 0.45rem 1rem; font-size: 0.95rem; }

  /* Hero */
  .hero { padding-block: var(--space-m) 0; }
  .hero h1 { max-width: 15ch; }
  .hero .lead { font-size: var(--step-1); color: var(--ink-2); max-width: 38rem; margin-top: 1rem; line-height: 1.45; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
  .hero-facts { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin-top: 1.5rem; padding: 0; list-style: none; color: var(--ink-2); font-size: var(--step--1); }
  .hero-facts li { display: flex; align-items: center; gap: 0.45rem; }
  .hero-facts li::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--vital); }

  /* Das wiedererkennbare Element: die Herzlinie */
  .pulse { width: 100%; height: 72px; margin-top: var(--space-m); color: var(--brand); overflow: visible; }
  .pulse path { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
  @media (prefers-reduced-motion: no-preference) {
    .pulse path { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 2.4s cubic-bezier(.6,.05,.3,1) .2s forwards; }
  }
  @keyframes draw { to { stroke-dashoffset: 0; } }

  .hero-photo { margin-top: -10px; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 3; background: var(--tint); }
  .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
  @media (min-width: 48rem) { .hero-photo { aspect-ratio: 21 / 9; } }

  /* Kundenleiste */
  .clients { padding-block: var(--space-m); border-bottom: 1px solid var(--line); }
  .clients p { font-size: var(--step--1); color: var(--ink-2); margin-bottom: 0.6rem; }
  .clients ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; padding: 0; list-style: none; font-weight: 600; color: var(--ink); opacity: .78; }
  .clients a { color: inherit; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; transition: text-decoration-color .2s, color .2s; }
  .clients a:hover, .clients a:focus-visible { color: var(--brand-d); text-decoration-color: currentColor; }
  .clients p a { color: var(--brand-d); font-weight: 600; text-decoration-color: currentColor; }
  .quote[id] { scroll-margin-top: 5rem; }

  /* Problem-Spiegel */
  .mirror { display: grid; gap: 0.75rem; padding: 0; list-style: none; }
  @media (min-width: 48rem) { .mirror { grid-template-columns: repeat(2, 1fr); } }
  .mirror li { background: var(--white); border-left: 3px solid var(--brand); padding: 1rem 1.2rem; border-radius: 0 var(--radius-s) var(--radius-s) 0; font-size: var(--step-1); line-height: 1.35; }
  .mirror-answer { margin-top: var(--space-m); max-width: var(--measure); font-size: var(--step-1); line-height: 1.45; }

  /* Tagesablauf – echte Abfolge, daher nummeriert */
  .day { background: var(--white); }
  .timeline { display: grid; gap: 0; padding: 0; list-style: none; counter-reset: step; position: relative; }
  .timeline li { position: relative; padding: 0 0 var(--space-m) 3.25rem; counter-increment: step; }
  .timeline li::before {
    content: counter(step); position: absolute; left: 0; top: 0;
    width: 2.25rem; height: 2.25rem; border-radius: 50%;
    display: grid; place-items: center; font-weight: 700; font-size: 0.95rem;
    background: var(--brand); color: var(--white);
  }
  .timeline li::after { content: ""; position: absolute; left: calc(1.125rem - 1px); top: 2.5rem; bottom: 0.35rem; width: 2px; background: var(--line); }
  .timeline li:last-child::after { display: none; }
  .timeline .when { display: block; font-size: var(--step--1); color: var(--vital); font-weight: 600; margin-bottom: 0.15rem; }
  .timeline p { color: var(--ink-2); max-width: 34rem; margin-top: 0.35rem; }
  @media (min-width: 60rem) {
    .timeline { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
    .timeline li { padding: 3.25rem 0 0 0; }
    .timeline li::after { left: 2.75rem; right: -1.25rem; top: calc(1.125rem - 1px); bottom: auto; width: auto; height: 2px; }
  }

  /* Messungen */
  .tests { display: grid; gap: 1rem; }
  @media (min-width: 60rem) { .tests { grid-template-columns: repeat(3, 1fr); } }
  .test { container-type: inline-size; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; display: flex; flex-direction: column; }
  .test figure { background: var(--tint); aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 1rem; }
  .test figure img { max-height: 100%; width: auto; object-fit: contain; }
  .test-body { padding: 1.25rem 1.3rem 1.4rem; display: grid; gap: 0.6rem; }
  .test-body p { color: var(--ink-2); }
  .test dl { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1rem; font-size: var(--step--1); margin-top: 0.3rem; padding-top: 0.8rem; border-top: 1px solid var(--line); }
  .test dt { color: var(--ink-2); }
  .test dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
  .note { font-size: var(--step--1); color: var(--ink-2); margin-top: var(--space-s); max-width: var(--measure); }

  /* Pakete */
  .packages { display: grid; gap: 1rem; }
  @media (min-width: 48rem) { .packages { grid-template-columns: repeat(2, 1fr); align-items: start; } }
  .packages { max-width: 56rem; } /* seit 19.11.2026 nur zwei Pakete, bündig mit der Überschrift */
  .package { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.5rem 1.4rem; display: grid; gap: 0.9rem; }
  .package.is-recommended { border: 2px solid var(--brand); }
  .package .badge { justify-self: start; font-size: var(--step--1); font-weight: 600; color: var(--brand-d); background: var(--tint); padding: 0.2rem 0.65rem; border-radius: 999px; }
  .package .price { font-size: var(--step-2); font-weight: 600; font-variant-numeric: tabular-nums; }
  .package .price small { font-size: var(--step--1); font-weight: 400; color: var(--ink-2); }
  .package ul { padding-left: 1.1rem; display: grid; gap: 0.35rem; color: var(--ink-2); }
  .package .btn { margin-top: 0.3rem; }
  .placeholder { background: #fff6d6; border-radius: 4px; padding: 0 0.25em; }

  /* Person */
  .person { display: grid; gap: var(--space-m); align-items: center; }
  @media (min-width: 48rem) { .person { grid-template-columns: 5fr 7fr; } }
  .person-photo { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 1; background: var(--tint); max-width: 26rem; }
  .person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
  .person-text p { max-width: var(--measure); margin-top: 0.9rem; }
  .app-section { background: var(--paper); } /* nicht hellblau, damit sich das Zitatband davor abhebt; nicht weiß wegen „Pakete“ danach */
  @media (min-width: 48rem) { .person.app { grid-template-columns: 7fr 5fr; } }
  .app-photo img { width: 100%; max-width: 30rem; margin-inline: auto; }
  .facts { display: grid; gap: 0.5rem; margin-top: 1.2rem; padding: 0; list-style: none; }
  .facts li { display: grid; grid-template-columns: 1.5rem 1fr; align-items: start; }
  .facts svg { width: 1.1rem; height: 1.1rem; margin-top: 0.3rem; color: var(--vital); }

  /* Vergleich */
  .compare { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-l); overflow: hidden; font-size: var(--step--1); }
  .compare th, .compare td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
  .compare thead th { background: var(--ink); color: var(--white); font-weight: 600; }
  .compare thead th:last-child { background: var(--brand); }
  .compare tbody th { font-weight: 600; width: 28%; }
  .compare td:last-child { color: var(--ink); font-weight: 600; }
  .compare td:nth-child(2) { color: var(--ink-2); }
  .table-scroll { overflow-x: auto; border-radius: var(--radius-l); border: 1px solid var(--line); }
  @media (max-width: 40rem) {
    .compare thead { display: none; }
    .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
    .compare tr { padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); }
    .compare th, .compare td { padding: 0.15rem 0; border: 0; }
    .compare td::before { content: attr(data-label) ": "; font-weight: 400; color: var(--ink-2); }
  }

  /* Stimmen */
  .quotes { display: grid; gap: 1rem; }
  @media (min-width: 48rem) { .quotes { grid-template-columns: repeat(2, 1fr); } }
  .quote { background: var(--white); border-radius: var(--radius-l); padding: 1.5rem; border: 1px solid var(--line); display: grid; gap: 1rem; align-content: space-between; }
  .quote blockquote { font-size: var(--step-1); line-height: 1.45; }
  .quote figcaption { font-size: var(--step--1); color: var(--ink-2); }
  .quote figcaption b { display: block; color: var(--ink); font-size: var(--step-0); }

  /* FAQ */
  .faq { max-width: 46rem; display: grid; gap: 0.5rem; }
  .faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); }
  .faq summary { cursor: pointer; padding: 1rem 3rem 1rem 1.2rem; font-weight: 600; list-style: none; position: relative; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: ""; position: absolute; right: 1.2rem; top: 50%; width: 0.6rem; height: 0.6rem; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
  .faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
  .faq details p { padding: 0 1.2rem 1.1rem; color: var(--ink-2); max-width: var(--measure); }
  @media (prefers-reduced-motion: no-preference) {
    .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .25s, content-visibility .25s allow-discrete; }
    .faq details[open]::details-content { block-size: auto; }
    :root { interpolate-size: allow-keywords; }
  }

  /* Anfrage */
  .contact { background: var(--ink); color: var(--white); }
  #anfrage { min-height: calc(100vh - 3.8rem); min-height: calc(100svh - 3.8rem); } /* letzter Abschnitt: muss beim Sprung zu /#anfrage ganz nach oben scrollen können */
  .contact .section-head p { color: #c4d6d2; }
  .contact-grid { display: grid; gap: var(--space-m); }
  @media (min-width: 60rem) { .contact-grid { grid-template-columns: 5fr 7fr; } }
  .contact-direct { display: grid; gap: 0.9rem; align-content: start; }
  .contact-direct a { color: var(--white); font-size: var(--step-1); font-weight: 600; text-decoration-color: #5fa9de; }
  .contact-direct small { color: #c4d6d2; display: block; }
  form { background: var(--white); color: var(--ink); border-radius: var(--radius-l); padding: 1.4rem; display: grid; gap: 1rem; }
  @media (min-width: 40rem) { form { grid-template-columns: 1fr 1fr; padding: 1.8rem; } .full { grid-column: 1 / -1; } }
  label { display: grid; gap: 0.3rem; font-weight: 600; font-size: var(--step--1); }
  label span.opt { font-weight: 400; color: var(--ink-2); }
  input, select, textarea { width: 100%; padding: 0.75rem 0.85rem; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--paper); font-size: 1rem; }
  input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); background: var(--white); }
  input:user-invalid { border-color: #c2412d; }
  textarea { min-height: 7rem; resize: vertical; }
  .consent { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; font-weight: 400; align-items: start; }
  .consent input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--brand); }
  form .btn { justify-self: start; }
  form:has(.consent input:not(:checked)) [type=submit] { opacity: .55; }

  /* Fußzeile */
  .site-footer { padding-block: var(--space-m); font-size: var(--step--1); color: var(--ink-2); }
  .site-footer .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
  .site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }

}

@layer utilities {
  .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .muted { color: var(--ink-2); }
}

/* ---------- Bausteine für Unterseiten ---------- */
@layer components {
  .crumbs { font-size: var(--step--1); color: var(--ink-2); padding-top: var(--space-m); }
  .crumbs a { color: var(--ink-2); }
  .crumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0; list-style: none; }
  .crumbs li + li::before { content: "/"; margin-right: 0.35rem; color: var(--line); }

  .page-hero { padding-block: var(--space-m) var(--space-l); }
  .page-hero .grid { display: grid; gap: var(--space-m); align-items: center; }
  @media (min-width: 60rem) { .page-hero .grid { grid-template-columns: 7fr 5fr; } }
  .page-hero h1 { max-width: 18ch; }
  .page-hero .lead { font-size: var(--step-1); color: var(--ink-2); margin-top: 1rem; max-width: 36rem; line-height: 1.45; }
  .page-hero .hero-actions { margin-top: 1.5rem; }
  .result-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1rem; }
  .result-card img { width: 100%; height: auto; }
  .result-card figcaption { font-size: var(--step--1); color: var(--ink-2); padding: 0.75rem 0.25rem 0; }

  .split { display: grid; gap: var(--space-m); }
  @media (min-width: 60rem) { .split { grid-template-columns: 1fr 1fr; align-items: start; } }
  .prose p + p { margin-top: 0.9rem; }
  .prose p { max-width: var(--measure); }

  .values { display: grid; gap: 0.75rem; padding: 0; list-style: none; }
  @media (min-width: 40rem) { .values { grid-template-columns: 1fr 1fr; } }
  .values li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 1rem 1.1rem; }
  .values b { display: block; margin-bottom: 0.2rem; }
  .values span { color: var(--ink-2); font-size: var(--step--1); }

  .steps { display: grid; gap: 1rem; padding: 0; list-style: none; counter-reset: s; }
  .steps li { counter-increment: s; display: grid; grid-template-columns: 2.25rem 1fr; gap: 0.9rem; align-items: start; }
  .steps li::before { content: counter(s); width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--brand-d); font-weight: 700; }
  .steps p { color: var(--ink-2); margin-top: 0.15rem; }

  .gallery { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); margin-top: var(--space-m); }
  .gallery figure { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 0.6rem; }
  .gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
  .gallery figcaption { font-size: var(--step--1); color: var(--ink-2); margin-top: 0.4rem; }

  .cta-band { background: var(--brand); color: var(--white); border-radius: var(--radius-l); padding: var(--space-m); display: grid; gap: 1rem; align-items: center; }
  @media (min-width: 48rem) { .cta-band { grid-template-columns: 1fr auto; } }
  .cta-band p { color: #dcecf7; margin-top: 0.3rem; }
  .cta-band .btn { background: var(--white); color: var(--brand-d); }
  .cta-band .btn:hover { background: var(--paper); }

  .related { display: grid; gap: 0.75rem; padding: 0; list-style: none; }
  @media (min-width: 48rem) { .related { grid-template-columns: repeat(2, 1fr); } }
  .related a { display: grid; gap: 0.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 1rem 1.2rem; text-decoration: none; color: var(--ink); }
  .related a:hover { border-color: var(--brand); }
  .related span { color: var(--ink-2); font-size: var(--step--1); }

  .test h3 a { color: inherit; text-decoration: none; }
  .test h3 a::after { content: ""; position: absolute; inset: 0; }
  .test { position: relative; }
  .test:hover { border-color: var(--brand); }
  .test .more { color: var(--brand-d); font-weight: 600; font-size: var(--step--1); }
}
@layer components { .prose h2 { margin-bottom: 0.9rem; } }
@layer components { .contact .placeholder { color: var(--ink); } }

/* ---------- Mobiles Menü ---------- */
@layer components {
  .menu-toggle {
    display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem;
    border: 1.5px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer;
  }
  @media (min-width: 68rem) { .menu-toggle { display: none; } }
  .site-header .wrap > .btn-small { margin-left: auto; }
  @media (min-width: 68rem) { .site-header .wrap > .btn-small { margin-left: 0; } }

  .mobile-nav {
    inset: 3.75rem 0 auto 0; width: 100%; max-width: none; margin: 0;
    border: 0; border-bottom: 1px solid var(--line); padding: 0.5rem var(--gutter) 1.25rem;
    background: var(--white); box-shadow: 0 14px 30px rgb(18 49 44 / .12);
  }
  .mobile-nav ul { display: grid; }
  .mobile-nav a { display: block; padding: 0.85rem 0.25rem; font-size: var(--step-1); font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-nav li:last-child a { border-bottom: 0; color: var(--brand-d); }
  .mobile-nav::backdrop { background: rgb(18 49 44 / .25); }
  @media (prefers-reduced-motion: no-preference) {
    .mobile-nav { transition: opacity .2s, translate .2s, display .2s allow-discrete, overlay .2s allow-discrete; opacity: 0; translate: 0 -8px; }
    .mobile-nav:popover-open { opacity: 1; translate: 0 0; }
    @starting-style { .mobile-nav:popover-open { opacity: 0; translate: 0 -8px; } }
  }
}

@layer components {
  .site-header .wrap { gap: 0.5rem; }
  .menu-toggle, .site-header .btn-small { flex: none; }
  .logo { min-width: 0; }
  .logo > span { min-width: 0; }
  .logo b, .logo small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  @media (max-width: 24rem) { .logo b { font-size: 1rem; } }
  /* Unterzeile „Gesundheitstage mit Dr. González“: zwischen 68 und 80 rem ist die Kopfzeile mit dem Desktop-Menü zu eng – dort nur der Name */
  @media (min-width: 68rem) and (max-width: 79.99rem) { .logo small { display: none; } }
  @media (max-width: 29.99rem) { .logo small { white-space: normal; font-size: 0.7rem; line-height: 1.15; margin-top: 0.1rem; } } /* Handy: Unterzeile darf umbrechen statt abgeschnitten zu werden */
}

/* ---------- Umschalter für Beispielauswertungen ---------- */
@layer components {
  .shots { background: var(--tint); padding: 1rem 1rem 0.85rem; display: grid; gap: 0.75rem; }
  .shots-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    scrollbar-width: none; border-radius: var(--radius-s);
  }
  .shots-track::-webkit-scrollbar { display: none; }
  .shots-track figure { scroll-snap-align: start; aspect-ratio: 16 / 10; display: grid; grid-template-rows: 1fr auto; place-items: center; gap: 0.3rem; padding: 0; background: none; }
  .shots-track img { max-height: 100%; width: auto; object-fit: contain; min-height: 0; }
  .shots-track figcaption { font-size: var(--step--1); color: var(--ink-2); }
  .shots-nav { position: relative; z-index: 1; display: flex; gap: 0.25rem; justify-self: center; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem; }
  .shots-nav button {
    border: 0; background: none; cursor: pointer; border-radius: 999px;
    padding: 0.45rem 0.85rem; min-height: 2.25rem; font-size: var(--step--1); font-weight: 600; color: var(--ink-2);
  }
  .shots-nav button[aria-pressed="true"] { background: var(--brand); color: var(--white); }
  .shots-nav button:hover:not([aria-pressed="true"]) { color: var(--ink); }
  .shots-track:focus-visible { outline-offset: -3px; }
  /* Karte bleibt klickbar, aber nicht über den Bildern */
  .test .shots { position: relative; z-index: 1; }
}

/* ---------- Größere Diagramme: Messungen als breite Zeilen ---------- */
@layer components {
  .tests { grid-template-columns: 1fr; gap: 1.25rem; }
  @media (min-width: 60rem) { .tests { grid-template-columns: 1fr; } }
  @media (min-width: 48rem) {
    .test { display: grid; grid-template-columns: 3fr 2fr; align-items: stretch; }
    .test:nth-child(even) { grid-template-columns: 2fr 3fr; }
    .test:nth-child(even) .shots { order: 2; }
    .test .test-body { align-content: center; padding: 2rem; }
  }
  .shots { padding: 0.75rem 0.75rem 0.9rem; align-content: center; }
  .shots-track { align-items: start; }
  .shots-track figure { aspect-ratio: auto; display: grid; grid-template-rows: auto auto; }
  .shots-track img { width: 100%; height: auto; max-height: none; object-fit: contain; }
}

/* ---------- Video ---------- */
@layer components {
  .video-section { background: var(--paper); }
  .video-grid { display: grid; gap: var(--space-m); align-items: center; }
  @media (min-width: 60rem) { .video-grid { grid-template-columns: 2fr 3fr; } }
  .video { border-radius: var(--radius-l); overflow: hidden; background: var(--ink); aspect-ratio: 16 / 9; }
  .video video { width: 100%; height: 100%; object-fit: contain; background: #000; }
  .video-play { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: var(--ink); }
  .video-play img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
  .video-icon {
    position: absolute; inset: 50% auto auto 50%; translate: -50% -50%;
    width: 4.5rem; height: 4.5rem; border-radius: 50%; display: grid; place-items: center;
    background: var(--white); color: var(--brand); box-shadow: 0 8px 24px rgb(0 0 0 / .25);
    transition: scale .15s;
  }
  .video-icon svg { translate: 2px 0; }
  .video-play:hover .video-icon { scale: 1.06; }
  .video-len { position: absolute; right: 0.75rem; bottom: 0.75rem; background: rgb(18 49 44 / .8); color: var(--white); font-size: var(--step--1); font-weight: 600; padding: 0.15rem 0.55rem; border-radius: 999px; font-variant-numeric: tabular-nums; }
}

/* ---------- Zwei-Klick-Hinweis für Videos ---------- */
@layer components {
  .video { position: relative; }
  .video iframe { width: 100%; height: 100%; border: 0; display: block; }
  .video-consent {
    position: absolute; inset: 0; display: grid; align-content: center; justify-items: start; gap: 0.9rem;
    padding: clamp(1rem, 4cqi, 2rem); background: var(--ink); color: var(--white); font-size: var(--step--1);
  }
  .video-consent p { max-width: 38ch; line-height: 1.5; }
  .video-consent-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .video-consent .btn-ghost { color: var(--white); border-color: rgb(255 255 255 / .4); }
  .video-consent a { color: #9fd0f2; }
  .video { container-type: inline-size; }
  .video-inline { margin-block: 0 var(--space-m); padding: var(--space-m); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); }
  @media (min-width: 60rem) { .video-inline { grid-template-columns: 1fr 1fr; } }
}
@layer components {
  .video:has(.video-consent) { aspect-ratio: auto; min-height: 12rem; }
  .video-consent { position: static; min-height: inherit; }
}
@layer components { .video-play[hidden] { display: none; } }

/* ---------- Kopfbereich als Bildbühne ---------- */
@layer components {
  .stage { position: relative; padding: 0; color: var(--white); isolation: isolate; overflow: hidden;
           min-height: min(92svh, 46rem); display: grid; align-items: end; }
  .stage-media { position: absolute; inset: 0; z-index: -1; background: var(--ink); }
  .stage-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
  .stage-slide.is-active { opacity: 1; }
  .stage-slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
  /* Hochformat: eigener Bildausschnitt, damit Dr. González im Bild bleibt */
  @media (max-width: 47.99rem) { .stage-slide img { object-position: var(--pos-mobile, var(--pos, 50% 50%)); } }
  @media (prefers-reduced-motion: no-preference) {
    .stage-slide img { transform: scale(1.06); transition: transform 9s linear; }
    .stage-slide.is-active img { transform: scale(1); }
  }
  .stage-scrim { position: absolute; inset: 0;
    background: linear-gradient(to top, rgb(12 34 31 / .92) 0%, rgb(12 34 31 / .6) 42%, rgb(12 34 31 / .05) 75%); }
  @media (min-width: 60rem) {
    .stage-scrim { background:
      linear-gradient(to right, rgb(12 34 31 / .88) 0%, rgb(12 34 31 / .55) 38%, rgb(12 34 31 / 0) 66%),
      linear-gradient(to top, rgb(12 34 31 / .45), rgb(12 34 31 / 0) 40%); }
    .stage { align-items: center; }
  }
  .stage-content { padding-block: 6rem 1.5rem; }
  @media (min-width: 60rem) { .stage-content { padding-block: 4rem; } }
  .stage h1 { max-width: 14ch; color: var(--white); text-shadow: 0 2px 24px rgb(0 0 0 / .25); }
  .stage .lead { color: rgb(255 255 255 / .88); max-width: 34rem; font-size: var(--step-1); margin-top: 1rem; line-height: 1.45; }
  .btn-light { background: rgb(255 255 255 / .12); color: var(--white); border-color: rgb(255 255 255 / .5); backdrop-filter: blur(6px); }
  .btn-light:hover { background: rgb(255 255 255 / .22); }

  .stage-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 2rem; }
  .stage-steps { display: flex; gap: 0.5rem; flex: 1; max-width: 26rem; }
  .stage-step { flex: 1; display: grid; gap: 0.4rem; text-align: left; background: none; border: 0; color: rgb(255 255 255 / .7);
                font-size: var(--step--1); font-weight: 600; cursor: pointer; padding: 0.4rem 0; }
  .stage-step[aria-pressed="true"] { color: var(--white); }
  .stage-step i { display: block; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .3); position: relative; overflow: hidden; }
  .stage-step i::after { content: ""; position: absolute; inset: 0; background: var(--white); transform-origin: left; transform: scaleX(0); }
  .stage-step[aria-pressed="true"] i::after { animation: stage-progress 8s linear forwards; animation-play-state: var(--run, running); }
  .stage.is-paused .stage-step[aria-pressed="true"] i::after { animation: none; transform: scaleX(1); }
  @keyframes stage-progress { to { transform: scaleX(1); } }
  .stage-pause { flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
                 background: rgb(255 255 255 / .12); color: var(--white); border: 1px solid rgb(255 255 255 / .4); }
  .stage-pause .i-play { display: none; }
  .stage-pause[aria-pressed="true"] .i-play { display: block; }
  .stage-pause[aria-pressed="true"] .i-pause { display: none; }
  .stage :focus-visible { outline-color: var(--white); }

  .pulse-divider { margin-top: -36px; position: relative; z-index: 1; color: var(--brand); height: 72px; }

  .facts-bar { padding-block: 0 var(--space-m); }
  .facts-bar ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 0; list-style: none; }
  @media (min-width: 48rem) { .facts-bar ul { grid-template-columns: repeat(4, 1fr); } }
  .facts-bar b { display: block; font-size: var(--step-1); color: var(--ink); }
  .facts-bar span { color: var(--ink-2); font-size: var(--step--1); }

  /* Tagesablauf mit Fotos */
  .step-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-s); margin-bottom: 0.9rem; background: var(--tint); }
  @media (min-width: 60rem) { .timeline li { padding-top: 0; } .timeline li::before { top: auto; position: relative; margin-bottom: 0.6rem; } .timeline li::after { display: none; } }
  @media (max-width: 59.99rem) { .step-img { max-width: 22rem; } }

  /* Gerätefotos im Umschalter: freigestellt auf Weiß */
  .shots-track figure:first-child img { mix-blend-mode: multiply; max-width: 70%; margin-inline: auto; }
  /* Handy: Gerät größer – volle Breite, Weißraum im Foto wegzoomen, mittig in der Höhe der Auswertungen */
  @media (max-width: 47.99rem) {
    .shots-track figure:first-child { align-self: stretch; grid-template-rows: 1fr auto; overflow: hidden; }
    .shots-track figure:first-child img { max-width: 100%; align-self: center; transform: scale(1.08); }
    .shots-track figure:first-child img[src*="cardioscan"] { transform: scale(1.3); }
    .shots-nav { max-width: 100%; }
    .shots-nav button { padding-inline: 0.6rem; }
  }

  /* Kundenstimme mit Foto */
  .has-avatar { display: grid; grid-template-columns: 56px 1fr; gap: 0.8rem; align-items: center; }
  .has-avatar img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }

  .person-photo { aspect-ratio: 4 / 5; }
}

/* ---------- Zahlenleiste ---------- */
@layer components {
  .counters { padding-block: 0.5rem var(--space-l); }
  .counters ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; padding: 0; list-style: none; }
  @media (min-width: 60rem) { .counters ul { grid-template-columns: repeat(4, 1fr); gap: 0; } .counters li + li { border-left: 1px solid var(--line); padding-left: 2rem; } }
  .counters li { display: grid; gap: 0.15rem; align-content: start; }
  .counters b { font-family: var(--font-display); font-size: clamp(2.4rem, 1.6rem + 3vw, 3.75rem); font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--brand-d); font-variant-numeric: tabular-nums; }
  .counters strong { font-size: var(--step-0); color: var(--ink); margin-top: 0.4rem; }
  .counters li > span { font-size: var(--step--1); color: var(--ink-2); }
}
@layer components { @media (max-width: 47.99rem) { .stage-content { padding-bottom: 5.5rem; } .stage { min-height: min(100svh, 46rem); } } }

/* ---------- Ratgeber ---------- */
@layer components {
  .article-head { padding-block: var(--space-s) var(--space-m); max-width: 52rem; }
  .article-head h1 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); }
  .article-head .lead { font-size: var(--step-1); color: var(--ink-2); margin-top: 1rem; line-height: 1.45; }
  .author { display: flex; gap: 0.8rem; align-items: center; margin-top: 1.5rem; }
  .author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; background: var(--tint); }
  .author b { display: block; }
  .author span { color: var(--ink-2); font-size: var(--step--1); }
  .article-hero { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 21 / 9; background: var(--tint); }
  .article-hero img { width: 100%; height: 100%; object-fit: cover; }
  .article-grid { display: grid; gap: var(--space-m); padding-block: var(--space-m) var(--space-l); }
  @media (min-width: 60rem) { .article-grid { grid-template-columns: 15rem 1fr; gap: 4rem; } }
  .toc { font-size: var(--step--1); }
  .toc p { font-weight: 600; margin-bottom: 0.5rem; }
  .toc ol { padding-left: 1.2rem; display: grid; gap: 0.35rem; color: var(--ink-2); }
  .toc a { color: var(--ink-2); text-decoration: none; }
  .toc a:hover { color: var(--brand-d); text-decoration: underline; }
  @media (min-width: 60rem) { .toc { position: sticky; top: 5rem; align-self: start; } }
  @media (max-width: 59.99rem) { .toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 1rem 1.2rem; } }
  .article-body { max-width: 44rem; font-size: 1.075rem; line-height: 1.7; }
  .article-body > * + * { margin-top: 1rem; }
  .article-body h2 { margin-top: var(--space-l); scroll-margin-top: 5rem; font-size: var(--step-2); }
  .article-body h2:first-child { margin-top: 0; }
  .article-body ul { padding-left: 1.2rem; display: grid; gap: 0.45rem; }
  .article-body .table-scroll { margin-block: 1.25rem; }
  .article-body .faq { margin-top: 1rem; }

  .checklist { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--vital); border-radius: var(--radius-s); padding: 1.25rem 1.4rem; }
  .checklist-title { font-weight: 600; }
  .checklist h3 { font-size: var(--step-0); margin-top: 1.1rem; color: var(--vital); }
  .checklist ul { list-style: none; padding: 0; margin-top: 0.4rem; gap: 0.3rem; }
  .checklist li { display: grid; grid-template-columns: 1.2rem 1fr; gap: 0.6rem; }
  .checklist li::before { content: ""; width: 1rem; height: 1rem; margin-top: 0.35rem; border: 1.5px solid var(--ink-2); border-radius: 3px; }

  .guides { display: grid; gap: 1.25rem; }
  @media (min-width: 60rem) { .guides { grid-template-columns: repeat(3, 1fr); } }
  .guide-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
  .guide-card:hover { border-color: var(--brand); }
  .guide-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--tint); }
  .guide-card > div { padding: 1.25rem 1.3rem 1.4rem; display: grid; gap: 0.6rem; align-content: start; }
  .guide-card :is(h2, h3) { font-size: var(--step-1); line-height: 1.25; }
  .guide-card :is(h2, h3) a { color: inherit; text-decoration: none; }
  .guide-card :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; }
  .occasions + .hero-actions { margin-top: var(--space-m); }
  @media (min-width: 48rem) { .occasions { grid-template-columns: repeat(2, 1fr); } } /* seit 20.11.2026 vier Anlass-Karten (2×2) */
  @media (min-width: 72rem) { .occasions { grid-template-columns: repeat(4, 1fr); } }
  @media (max-width: 47.99rem) { .occasions .guide-card img { aspect-ratio: 21 / 9; } }
  .guide-card p { color: var(--ink-2); }
  .guide-card .more { color: var(--brand-d); font-weight: 600; font-size: var(--step--1); }
}

/* Druck: auf Ratgeberseiten nur die Checkliste drucken */
@media print {
  body:has(#checkliste-druck) * { visibility: hidden; }
  body:has(#checkliste-druck) #checkliste-druck, body:has(#checkliste-druck) #checkliste-druck * { visibility: visible; }
  #checkliste-druck { position: absolute; inset: 0 auto auto 0; width: 100%; border: 0; padding: 0; }
  .site-header { display: none !important; }
}

/* ---------- Ratgeber: Ideenliste und Vorlagen ---------- */
@layer components {
  .ideas { list-style: none; padding: 0 !important; display: grid; gap: 0.75rem !important; }
  .idea { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 1rem 1.2rem; display: grid; gap: 0.35rem; }
  .idea b { display: flex; align-items: baseline; gap: 0.6rem; font-size: var(--step-1); line-height: 1.3; }
  .idea-n { flex: none; min-width: 1.9rem; height: 1.9rem; border-radius: 50%; display: inline-grid; place-items: center; background: var(--tint); color: var(--brand-d); font-size: 0.9rem; font-weight: 700; font-variant-numeric: tabular-nums; translate: 0 -0.1rem; }
  .idea p { color: var(--ink-2); margin: 0; }
  .idea-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: var(--step--1); color: var(--ink-2); }
  .tag { background: var(--tint); color: var(--brand-d); font-weight: 600; border-radius: 999px; padding: 0.1rem 0.6rem; }

  .template { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; }
  .template-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.6rem 0.8rem 0.6rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--paper); }
  .template pre { margin: 0; padding: 1.1rem 1.2rem; white-space: pre-wrap; font-family: var(--font); font-size: 0.98rem; line-height: 1.6; color: var(--ink); }
}

/* ---------- Rechtstexte ---------- */
@layer components {
  .legal .wrap { max-width: 48rem; padding-block: var(--space-s) var(--space-l); }
  .legal h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem); }
  .legal-lead { color: var(--ink-2); margin-top: 0.8rem; font-size: var(--step-1); line-height: 1.5; }
  .legal h2 { font-size: var(--step-1); margin-top: 2.2rem; scroll-margin-top: 5rem; }
  .legal h3 { font-size: var(--step-0); margin-top: 1.2rem; }
  .legal p { margin-top: 0.6rem; max-width: var(--measure); }
  .legal-toc { position: static; margin-top: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 1rem 1.2rem; }
  .legal-box { margin-top: 1rem; background: var(--tint); border-left: 3px solid var(--brand); padding: 0.9rem 1.1rem; border-radius: 0 var(--radius-s) var(--radius-s) 0; }
  .legal-box p { margin: 0; }
}

/* ---------- Drei Kundenstimmen mit Bild ---------- */
@layer components {
  @media (min-width: 60rem) { .quotes-3 { grid-template-columns: repeat(3, 1fr); } }
  .quotes-3 .quote { align-content: start; grid-template-rows: auto 1fr auto auto; }
  .quotes-3 blockquote { font-size: var(--step-0); line-height: 1.6; }
  .quotes-3 blockquote p + p { margin-top: 0.7rem; }
  .quote-media { display: block; }
  .quote-media.is-photo { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: var(--tint); }
  .quote-media.is-logo { height: 3.5rem; width: auto; max-width: 9rem; object-fit: contain; object-position: left center; }
  .quote-translation { font-size: var(--step--1); color: var(--ink-2); font-style: italic; }
  .quotes-3 figcaption { border-top: 1px solid var(--line); padding-top: 0.8rem; }
}

/* ---------- Kundenstimmen: rundes Bild unten beim Namen, „Bekannt aus“ ---------- */
@layer components {
  .quotes-3 .quote { grid-template-rows: 1fr auto auto; }
  .quotes-3 figcaption.has-avatar { display: grid; grid-template-columns: 4rem 1fr; gap: 0.9rem; align-items: center; }
  .quotes-3 figcaption .avatar { width: 4rem; height: 4rem; border-radius: 50%; object-fit: cover; object-position: 50% 30%; background: var(--white); border: 1px solid var(--line); }
  .quotes-3 figcaption b { display: block; }
  .press-strip { margin-top: var(--space-l); display: grid; justify-items: center; gap: 0.75rem; }
  .press-strip p { font-size: var(--step--1); color: var(--ink-2); font-weight: 600; }
  .press-strip img { width: min(100%, 33rem); height: auto; mix-blend-mode: multiply; opacity: .85; }
}
@layer components { .quotes-3 figcaption .avatar.is-logo { object-fit: contain; padding: 0.45rem; } }
@layer components { .quotes-3 .quote { grid-template-rows: auto 1fr auto auto; } .quote-company { font-weight: 700; font-size: var(--step-1); color: var(--ink); line-height: 1.25; } }
@layer components {
  .press-strip { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.25rem 1rem 1.5rem; }
  /* Hellgrauen Bildhintergrund auf Weiß bringen, Logos bleiben grau */
  .press-strip img { mix-blend-mode: normal; opacity: 1; filter: grayscale(1) brightness(1.08) contrast(1.2); }
}

/* ---------- Firmen-Incentive farblich abgesetzt (Meer-Blau) ---------- */
@layer components {
  #bootcamp { background: linear-gradient(135deg, #135e93 0%, #0f4a6e 55%, #12312c 100%); color: var(--white); }
  #bootcamp h2 { color: var(--white); }
  #bootcamp p { color: rgb(255 255 255 / .9); }
  #bootcamp .hero-facts { color: var(--white); }
  #bootcamp .hero-facts li { font-weight: 600; }
  #bootcamp .hero-facts li::before { background: #7fd3ff; }
  #bootcamp .btn-ghost { color: var(--white); border-color: rgb(255 255 255 / .6); }
  #bootcamp .btn-ghost:hover { background: rgb(255 255 255 / .12); border-color: var(--white); }
  #bootcamp :focus-visible { outline-color: var(--white); }
  #bootcamp .video { box-shadow: 0 18px 40px rgb(0 0 0 / .25); }
}

/* ---------- Referenzen (Beiträge aus dem Block-Editor) ---------- */
@layer components {
  .post-meta { font-size: var(--step--1); color: var(--ink-2); font-weight: 600; letter-spacing: .01em; }
  .article-head .post-meta { margin-bottom: 0.6rem; }
  .post-body { padding-block: var(--space-m) var(--space-l); }
  .post-body figure { margin: 1.6rem 0; }
  .post-body img { border-radius: var(--radius-s); height: auto; }
  .post-body figcaption { font-size: var(--step--1); color: var(--ink-2); margin-top: 0.4rem; }
  .post-body blockquote { border-left: 3px solid var(--brand); padding-left: 1rem; margin: 1.5rem 0; font-size: var(--step-1); }
  .post-body blockquote cite { display: block; font-size: var(--step--1); color: var(--ink-2); font-style: normal; margin-top: 0.4rem; }
  .post-body .wp-block-buttons { margin: 1.5rem 0; }
  .post-body .wp-block-button__link { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.6rem 1.25rem; border-radius: 999px; background: var(--brand); color: var(--white); text-decoration: none; font-weight: 600; }
  .post-body .gallery { margin: 1.6rem 0; }
  .guide-card .post-meta { margin: 0; }
  .nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; align-items: center; margin-top: var(--space-m); }
  .nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.9rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 600; text-decoration: none; }
  .nav-links a.page-numbers:hover { border-color: var(--brand); color: var(--brand-d); }
  .nav-links .page-numbers.current { background: var(--brand); border-color: var(--brand); color: var(--white); }
  .nav-links .page-numbers.dots { border: 0; background: none; min-width: auto; padding: 0; }
}

/* ---------- Anfrage-Assistent ---------- */
@layer components {
  form.wizard { grid-template-columns: 1fr; gap: 1.1rem; }
  .wizard [hidden] { display: none !important; }
  .step { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 1rem; }
  .step legend { padding: 0; margin-bottom: 0.9rem; font-size: var(--step-1); font-weight: 600; line-height: 1.3; }
  .step legend:focus { outline: none; }
  .wizard:not(.is-wizard) .step + .step { border-top: 1px solid var(--line); padding-top: 1.4rem; }
  .is-wizard .step:not(.is-active) { display: none; }
  .choices { display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
  .choices-compact { grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); }
  .choice { position: relative; display: block; font-weight: 400; font-size: 1rem; }
  .choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
  .choice span { display: grid; gap: 0.15rem; height: 100%; padding: 0.85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--paper); transition: border-color .15s, background .15s; }
  .choice b { font-weight: 600; }
  .choice small { color: var(--ink-2); font-size: var(--step--1); }
  .choice:hover span { border-color: var(--brand); }
  .choice input:checked + span { border-color: var(--brand); background: var(--tint); box-shadow: inset 0 0 0 1px var(--brand); }
  .choice input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
  .step-grid { display: grid; gap: 1rem; }
  @media (min-width: 40rem) { .step-grid { grid-template-columns: 1fr 1fr; } }
  .step-hint { font-size: var(--step--1); color: var(--ink-2); }
  .step legend + .step-hint { margin-top: -0.6rem; }
  .step-error { color: #9a2f1f; font-size: var(--step--1); font-weight: 600; }
  .wizard-progress { display: grid; gap: 0.45rem; font-size: var(--step--1); color: var(--ink-2); }
  .wizard-bar { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
  .wizard-bar i { display: block; height: 100%; width: 0; background: var(--brand); transition: width .3s ease; }
  .wizard-nav { display: flex; justify-content: space-between; gap: 0.75rem; }
  .wizard-nav [data-next] { margin-left: auto; }
  .proposal { background: var(--tint); border-radius: var(--radius-s); padding: 1rem 1.2rem; display: grid; gap: 0.4rem; }
  .proposal-kicker { font-size: var(--step--1); font-weight: 600; color: var(--brand-d); }
  .proposal h3 { font-size: var(--step-1); }
  .proposal ul { padding-left: 1.1rem; color: var(--ink-2); font-size: var(--step--1); display: grid; gap: 0.25rem; }
  .wizard-summary { font-size: var(--step--1); color: var(--ink-2); background: var(--paper); border-radius: var(--radius-s); padding: 0.6rem 0.8rem; }
  /* „(optional)“ in derselben Zeile wie die Feldbezeichnung */
  form label:not(.choice):not(.consent) { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.35rem; }
  form label:not(.choice):not(.consent) > :is(input, select, textarea) { flex-basis: 100%; }
  .link-button { background: none; border: 0; padding: 0; color: var(--brand-d); font-weight: 600; text-decoration: underline; cursor: pointer; }
}

/* ---------- Profil-Links (dr-gonzalez.de, LinkedIn) ---------- */
@layer components {
  .person-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; align-items: center; margin-top: 1.2rem; }
  .linkedin { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; }
  .linkedin svg { color: #0a66c2; flex: none; }
  .author b a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 0.2em; }
  .author b a:hover { color: var(--brand-d); text-decoration-color: currentColor; }
}

/* Kurze Zeile über Überschriften (z. B. „Train like a pro“) */
@layer components {
  .eyebrow { font-size: var(--step--1); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-d); margin-bottom: 0.4rem; }
}

/* ---------- Für jedes Alter, jedes Fitnesslevel ---------- */
@layer components {
  .audiences { background: var(--white); } /* weiß, damit sich das Zitatband davor abhebt */
  .audience-grid { display: grid; gap: 1rem; }
  @media (min-width: 48rem) { .audience-grid { grid-template-columns: 1fr 1fr; } }
  .audience-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.5rem 1.4rem; }
  .audience-card h3 { font-size: var(--step-1); }
  .audience-card .facts { margin-top: 0.9rem; }
}



/* ---------- Für Geschäftsführung & HR: Kostenrechner ---------- */
@layer components {
  .calc { display: grid; gap: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.4rem; }
  @media (min-width: 60rem) { .calc { grid-template-columns: 5fr 7fr; padding: 1.8rem; gap: 1.8rem; } }
  .calc-inputs { display: grid; gap: 1rem; align-content: start; }
  .calc-result { display: grid; gap: 0.75rem; align-content: start; }
  .calc-result p { background: var(--tint); border-radius: var(--radius-s); padding: 0.9rem 1.1rem; display: grid; gap: 0.15rem; }
  .calc-result small { color: var(--ink-2); font-size: var(--step--1); }
  .calc-result output { font-size: var(--step-2); font-weight: 700; color: var(--brand-d); font-variant-numeric: tabular-nums; line-height: 1.2; }
  .linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--brand-d); text-decoration: underline; cursor: pointer; }
}
@media print {
  .no-print, .site-footer, .calc-inputs { display: none !important; }
  .faq details::details-content { block-size: auto !important; content-visibility: visible !important; }
}
/* Vier Kundenstimmen: 2 × 2 statt 3 + 1 */
@media (min-width: 60rem) { .quotes-3:has(> .quote:nth-child(4)) { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Einwilligung Statistik ---------- */
@layer components {
  #gs-consent { position: fixed; z-index: 40; left: var(--gutter); right: var(--gutter); bottom: calc(1rem + env(safe-area-inset-bottom)); }
  @media (min-width: 48rem) { #gs-consent { left: auto; right: 1.5rem; bottom: 1.5rem; max-width: 26rem; } }
  #gs-consent[hidden] { display: none; }
  .consent-inner { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: 0 12px 40px rgb(18 49 44 / .18); padding: 1.1rem 1.2rem; display: grid; gap: 0.6rem; font-size: var(--step--1); }
  .consent-inner p { margin: 0; color: var(--ink-2); }
  .consent-inner #consent-title { color: var(--ink); font-size: var(--step-0); }
  .consent-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.2rem; }
  .consent-actions .btn { flex: 1 1 8rem; }
  .site-footer .linklike { color: inherit; font-size: inherit; }
}

/* ---------- Startseite: einzelne Kundenstimmen zwischen den Abschnitten ---------- */
@layer components {
  .quote-band { padding-block: var(--space-m); background: var(--tint); border-block: 1px solid color-mix(in srgb, var(--brand) 22%, var(--white)); }
  .quote-band figure { max-width: 50rem; margin: 0 auto; display: grid; gap: 1rem; justify-items: center; text-align: center; }
  .quote-band blockquote { margin: 0; font-size: var(--step-1); line-height: 1.5; color: var(--ink); font-weight: 500; text-wrap: balance; }
  .quote-band blockquote p { margin: 0; }
  .quote-band figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 0.9rem; font-size: var(--step--1); color: var(--ink-2); text-align: left; }
  .quote-band figcaption > span { display: block; }
  .quote-band figcaption b { display: block; color: var(--ink); font-size: var(--step-0); }
  .quote-band .avatar { width: 3.5rem; height: 3.5rem; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 25%; background: var(--white); border: 1px solid var(--line); }
  .quote-band .avatar.is-logo { object-fit: contain; padding: 0.4rem; }
  .quote-band .quote-more { font-weight: 600; color: var(--brand-d); white-space: nowrap; }
  .quote-band .quote-translation { width: 100%; text-align: center; margin: 0; }
  @media (max-width: 47.99rem) { .quote-band figcaption { flex-direction: column; text-align: center; } }
  /* „Bekannt aus“ direkt unter der Kundenleiste */
  .clients .press-strip { margin-top: 1.25rem; padding: 0.9rem 1rem 1.1rem; gap: 0.5rem; }
  .clients .press-strip p { margin: 0; }
  .clients .press-strip img { width: min(100%, 26rem); }
}

/* ---------- Referenzen: Dr. González in den Medien ---------- */
@layer components {
  .press-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
  @media (min-width: 48rem) { .press-list { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 68rem) { .press-list { grid-template-columns: repeat(3, 1fr); } }
  .press-list li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 1rem 1.15rem; display: grid; gap: 0.3rem; align-content: start; }
  .press-list p { margin: 0; color: var(--ink-2); font-size: var(--step--1); }
  .press-list .press-meta b { color: var(--brand-d); }
  .press-list .press-title { color: var(--ink); font-size: var(--step-0); font-weight: 600; line-height: 1.35; }
}

/* ---------- Entscheiderseite: hochwertiger Auftritt (seit 21.11.2026; Übertragung auf andere Unterseiten am selben Tag zurückgenommen) ---------- */
@layer components {
  /* Kopfbereich mit Bühnenfoto über die volle Breite; Pedro steht links im Bild, Text rechts auf dunklem Verlauf */
  .photo-hero { position: relative; padding: 0; background: var(--ink); color: var(--white); overflow: hidden; }
  .photo-hero-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 18% 30%; }
  .photo-hero-inner { position: relative; padding-block: var(--space-m) var(--space-l); }
  .photo-hero h1 { color: var(--white); max-width: 16ch; }
  .photo-hero .eyebrow { color: #8fd0ff; }
  .photo-hero .lead { font-size: var(--step-1); color: rgb(255 255 255 / .88); margin-top: 1rem; max-width: 34rem; line-height: 1.45; }
  .photo-hero .hero-actions { margin-top: 1.6rem; }
  .photo-hero .btn-ghost { color: var(--white); border-color: rgb(255 255 255 / .55); }
  .photo-hero .btn-ghost:hover { background: rgb(255 255 255 / .12); border-color: var(--white); }
  .photo-hero :focus-visible { outline-color: var(--white); }
  .photo-hero-caption { font-size: var(--step--1); color: rgb(255 255 255 / .7); margin-top: var(--space-m); max-width: 30rem; }
  @media (min-width: 60rem) {
    .photo-hero { min-height: min(44rem, 82vh); display: grid; align-items: center; }
    .photo-hero-img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
    .photo-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(10 30 27 / 0) 22%, rgb(10 30 27 / .62) 44%, rgb(10 30 27 / .93) 64%); }
    .photo-hero-inner { z-index: 2; display: grid; grid-template-columns: 1fr 1.15fr; padding-block: var(--space-l); min-height: inherit; align-content: center; }
    .photo-hero-text { grid-column: 2; }
    .photo-hero-caption { position: absolute; left: 0; bottom: 1.5rem; margin: 0; max-width: 22rem; color: var(--white); text-shadow: 0 1px 8px rgb(0 0 0 / .75); }
  }

  /* Kundenleiste kompakt unter dem Zitat */
  .ent-clients { background: var(--white); text-align: center; border-bottom: 0; }
  .ent-clients ul { justify-content: center; }

  /* Zahlenband */
  .stats-band { background: linear-gradient(135deg, #12312c 0%, #0f4a6e 60%, #135e93 100%); color: var(--white); }
  .stats-title { color: var(--white); font-size: var(--step-2); margin-bottom: var(--space-m); }
  .stats { display: grid; gap: 1.75rem 2rem; padding: 0; list-style: none; }
  @media (min-width: 36rem) { .stats { grid-template-columns: 1fr 1fr; } }
  @media (min-width: 70rem) { .stats { grid-template-columns: repeat(4, 1fr); } }
  .stats li { display: grid; gap: 0.35rem; align-content: start; padding-top: 1rem; border-top: 2px solid rgb(255 255 255 / .25); }
  .stats b { white-space: nowrap; font-family: var(--font-display); font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem); line-height: 1; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
  .stats span { color: rgb(255 255 255 / .88); line-height: 1.4; }
  .stats small { font-size: var(--step--1); color: rgb(255 255 255 / .6); }
  .stats a { color: inherit; text-decoration: underline; text-underline-offset: 0.15em; }
  .stats-band :focus-visible { outline-color: var(--white); }

  /* Ablauf: drei Schritte mit Fotos nebeneinander */
  @media (min-width: 60rem) { .ent-timeline { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
  .ent-timeline h3 { font-size: var(--step-1); }

  /* Kostenrechner als hervorgehobene Karte */
  #rechner { background: var(--tint); }
  #rechner .calc { border: 0; box-shadow: 0 24px 60px rgb(18 49 44 / .12); }
  #rechner .calc-result p:first-child { background: linear-gradient(135deg, #12312c 0%, #0f4a6e 100%); }
  #rechner .calc-result p:first-child small { color: rgb(255 255 255 / .8); }
  #rechner .calc-result p:first-child output { color: var(--white); font-size: var(--step-3); }

  /* Mehr Luft zwischen den Abschnitten */
  main:has(.photo-hero) section:not(.photo-hero, .quote-band, .clients) { padding-block: clamp(3rem, 2.2rem + 4vw, 6.5rem); }

}
@media print {
  .photo-hero { background: none; color: var(--ink); min-height: 0; }
  .photo-hero::before, .photo-hero-img { display: none; }
  .photo-hero h1, .photo-hero .lead, .photo-hero-caption { color: var(--ink); text-shadow: none; position: static; }
  .photo-hero-inner { display: block; }
  .stats-band { background: none; color: var(--ink); }
  .stats-title, .stats span, .stats small { color: var(--ink); }
  .stats li { border-top-color: var(--line); }
  #rechner { background: none; }
}

/* ---------- Startseite: emotionale Banderole unter dem Startbild (seit 21.11.2026, ersetzt die Puls-Linie; gerade, Goldton – Wunsch Torsten) ---------- */
@layer components {
  .banderole { position: relative; z-index: 2; background: linear-gradient(90deg, #b8893a 0%, #e2bf6a 30%, #f3dc94 50%, #e2bf6a 70%, #b8893a 100%); color: #4a3108; /* Dunkelgold, gut lesbar auf dem hellen Gold */ box-shadow: 0 8px 24px rgb(18 49 44 / .14); overflow: hidden; padding-block: 0.85rem; }
  .banderole-track { display: flex; width: max-content; animation: banderole 38s linear infinite; }
  .banderole-track > div { display: flex; align-items: center; flex: none; }
  .banderole span { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 0.9rem + 0.8vw, 1.5rem); letter-spacing: -0.01em; white-space: nowrap; padding-inline: 1.4rem; }
  .banderole i { font-style: normal; font-size: 0.9em; opacity: .55; }
  .banderole:hover .banderole-track { animation-play-state: paused; }
  @keyframes banderole { to { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) {
    .banderole-track { animation: none; width: auto; justify-content: center; }
    .banderole-track > div + div { display: none; }
    .banderole-track > div { flex-wrap: wrap; justify-content: center; row-gap: 0.3rem; }
  }
  .banderole.is-static p { margin: 0 auto; width: min(100% - 2 * var(--gutter), 72rem); text-align: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 0.9rem + 0.8vw, 1.5rem); letter-spacing: -0.01em; line-height: 1.3; text-wrap: balance; }
  .banderole + .counters { padding-top: var(--space-l); }
  .banderole[id] { scroll-margin-top: 3.8rem; } /* #pakete sitzt auf der Banderole davor */
  .crumbs:has(+ .photo-hero) { padding-bottom: var(--space-m); } /* Abstand Brotkrumen – Foto-Kopfbereich */
  main:has(> .banderole) { overflow-x: clip; } /* schräge Banderole ragt über den Rand, ohne seitliches Scrollen */
}
@media print { .banderole { display: none; } }

/* ---------- Startseite: Vergleich „Was diesen Gesundheitstag unterscheidet“ – Spalte Dr. González in Gold, Zeilen erscheinen nacheinander (seit 21.11.2026) ---------- */
@layer components {
  .compare thead th:last-child { background: linear-gradient(90deg, #b8893a 0%, #e2bf6a 45%, #f3dc94 60%, #e2bf6a 80%, #b8893a 100%); background-size: 220% 100%; color: #4a3108; font-weight: 700; }
  .compare td:last-child { background: #fbf4df; color: #4a3108; box-shadow: inset 3px 0 0 #d6ad55; }
  .compare td:last-child::before { content: "✓"; display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; margin-right: 0.55rem; border-radius: 50%; background: linear-gradient(135deg, #c99a45, #ecd08a); color: #4a3108; font-size: 0.8rem; font-weight: 700; vertical-align: -0.15em; }
  @media (max-width: 40rem) {
    .compare td:last-child { margin-top: 0.45rem; padding: 0.55rem 0.7rem; border-radius: var(--radius-s); box-shadow: inset 3px 0 0 #d6ad55; }
    .compare td:last-child::before { content: "✓"; }
    .compare td:last-child > .lbl { display: none; }
  }

  /* Animation nur mit JavaScript und ohne „Bewegung reduzieren“ (main.js setzt .is-animated, dann .is-visible) */
  .compare.is-animated tbody tr { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
  .compare.is-animated td:last-child::before { transform: scale(0); transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
  .compare.is-animated.is-visible tbody tr { opacity: 1; transform: none; }
  .compare.is-animated.is-visible td:last-child::before { transform: scale(1); }
  .compare.is-animated.is-visible thead th:last-child { animation: compare-shine 1.8s ease .2s 1 both; }
  .compare.is-animated tbody tr:nth-child(1), .compare.is-animated tbody tr:nth-child(1) td:last-child::before { transition-delay: .15s; }
  .compare.is-animated tbody tr:nth-child(2), .compare.is-animated tbody tr:nth-child(2) td:last-child::before { transition-delay: .3s; }
  .compare.is-animated tbody tr:nth-child(3), .compare.is-animated tbody tr:nth-child(3) td:last-child::before { transition-delay: .45s; }
  .compare.is-animated tbody tr:nth-child(4), .compare.is-animated tbody tr:nth-child(4) td:last-child::before { transition-delay: .6s; }
  .compare.is-animated tbody tr:nth-child(5), .compare.is-animated tbody tr:nth-child(5) td:last-child::before { transition-delay: .75s; }
  @keyframes compare-shine { from { background-position: 100% 0; } to { background-position: 0 0; } }
}


/* ---------- Startbild neu (seit 21.11.2026): Bild frei sichtbar, Text daneben/darunter auf dunklem Grund ---------- */
@layer components {
  .stage.is-split { display: grid; grid-template-areas: "media" "content"; align-items: stretch; min-height: 0; background: linear-gradient(160deg, #12312c 0%, #0f3d3a 55%, #0f4a6e 130%); }
  .stage.is-split { --media-h: min(54svh, 28rem); }
  .stage.is-split .stage-media { position: relative; inset: auto; z-index: 0; grid-area: media; height: var(--media-h); }
  .stage.is-split .stage-scrim { display: none; }
  .stage.is-split .stage-content { grid-area: content; padding-block: 1.6rem 2rem; }
  .stage.is-split h1 { text-shadow: none; max-width: 16ch; }
  .stage.is-split .lead { margin-top: 0.8rem; }
  .stage.is-split .lead-more { display: none; }
  .stage.is-split .stage-controls { margin-top: 1.4rem; }
  /* goldenes Etikett im Bild: Messen / Verstehen / Erleben */
  .stage.is-split .stage-slide::after { content: attr(data-step); position: absolute; left: var(--gutter); bottom: 1rem; padding: 0.35rem 0.9rem; border-radius: 999px;
    background: linear-gradient(90deg, #c99a45, #f0d58f); color: #4a3108; font-weight: 700; font-size: var(--step--1); letter-spacing: .02em; box-shadow: 0 6px 18px rgb(0 0 0 / .25); }
  /* drei Symbole: worum es geht */
  .stage-facts { list-style: none; padding: 0; margin-top: 1.2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .stage-facts li { display: grid; border-radius: var(--radius-s); background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .12); transition: background .2s, border-color .2s, transform .2s; }
  .stage-facts li:hover { background: rgb(255 255 255 / .14); border-color: rgb(240 213 143 / .6); transform: translateY(-2px); }
  .stage-facts a { display: grid; gap: 0.45rem; align-content: start; padding: 0.75rem 0.7rem; color: inherit; text-decoration: none; }
  .stage-facts svg { width: 1.6rem; height: 1.6rem; color: #f0d58f; }
  .stage-facts span { font-size: 0.8rem; line-height: 1.3; color: rgb(255 255 255 / .75); }
  .stage-facts b { display: block; color: var(--white); font-size: 0.95rem; margin-bottom: 0.1rem; }
  .stage.is-split .hero-actions { margin-top: 1.4rem; }

  @media (min-width: 60rem) {
    .stage.is-split { grid-template-areas: "content media"; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(86svh, 44rem); }
    .stage.is-split .stage-media { height: auto; }
    .stage.is-split .stage-content { width: auto; margin: 0; align-self: center; padding: 3rem clamp(1.5rem, 3vw, 3rem) 3rem max(var(--gutter), calc((100vw - 72rem) / 2)); }
    .stage.is-split .lead-more { display: inline; }
    .stage.is-split .stage-slide::after { left: 1.5rem; bottom: 1.5rem; }
    .stage-facts span { font-size: var(--step--1); }
    .stage.is-split h1 { font-size: clamp(2.3rem, 1.2rem + 2.4vw, 3.3rem); max-width: 17ch; }
    .stage.is-split .lead { font-size: var(--step-0); max-width: 32rem; }
    .stage.is-split .stage-content { padding-block: 2.25rem; }
    .stage.is-split .stage-facts { margin-top: 1.1rem; }
    .stage.is-split .stage-controls { margin-top: 1.2rem; }
  }
}
@layer components {
  @media (max-width: 47.99rem) {
    .stage.is-split { min-height: 0; }
    .stage.is-split { --media-h: min(46svh, 24rem); }
    .stage.is-split .stage-content { padding-bottom: 2rem; }
    /* Handy: Symbole nur mit einem Wort, nebeneinander */
    .stage-facts a { grid-template-columns: auto 1fr; align-items: center; gap: 0.4rem; padding: 0.55rem 0.5rem; }
    .stage-facts svg { width: 1.25rem; height: 1.25rem; }
    .stage-facts span { font-size: 0; }
    .stage-facts b { font-size: 0.85rem; margin: 0; white-space: nowrap; }
  }
}

/* ---------- Startseite: Abschnitte „Verstehen“ und „Mitmachen“ (seit 21.11.2026) ---------- */
@layer components {
  .person-photo.part-photo { aspect-ratio: 4 / 3; max-width: none; }
  @media (min-width: 48rem) { .day-part .person, .day-part .person.app { grid-template-columns: 1fr 1fr; } }
  .day-part h2 { margin-top: 0.2rem; }
}

/* Startbild: Fortschritt des Bildwechsels in den drei Kästchen statt eigener Zeile Messen/Verstehen/Erleben (seit 21.11.2026) */
@layer components {
  .stage.is-split:has(.stage-facts) .stage-steps { display: none; }
  .stage.is-split:has(.stage-facts) .stage-controls { margin: 0; }
  .stage-facts li { position: relative; overflow: hidden; }
  .stage-facts li.is-current { background: rgb(255 255 255 / .14); border-color: rgb(240 213 143 / .55); }
  .fact-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgb(255 255 255 / .12); }
  .fact-bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #c99a45, #f0d58f); transform-origin: left; transform: scaleX(0); }
  .stage-facts li.is-current .fact-bar::after { animation: stage-progress 8s linear forwards; animation-play-state: var(--run, running); }
  .stage.is-paused .stage-facts li.is-current .fact-bar::after { animation: none; transform: scaleX(1); }
  /* Pause-Knopf ins Bild (unten rechts) */
  .stage.is-split .stage-pause { position: absolute; z-index: 3; right: 1rem; top: calc(var(--media-h) - 3.25rem); background: rgb(18 49 44 / .55); backdrop-filter: blur(4px); }
  @media (min-width: 60rem) { .stage.is-split .stage-pause { top: auto; bottom: 1.5rem; right: 1.5rem; } }
}
/* Startbild: Bilder anklickbar (seit 21.11.2026) – nur das sichtbare Bild nimmt Klicks an */
@layer components {
  .stage-link { display: block; width: 100%; height: 100%; }
  .stage-slide:not(.is-active) { pointer-events: none; }
  .stage.is-split .stage-link { cursor: pointer; }
  .stage.is-split .stage-link:focus-visible { outline: 3px solid #f0d58f; outline-offset: -3px; }
}

/* Entscheiderseite: Kontaktzeile unter dem Aufruf – auch im Druck/PDF (seit 21.11.2026) */
@layer components {
  .contact-line { list-style: none; padding: 0; margin-top: var(--space-m); display: grid; gap: 0.75rem; }
  @media (min-width: 48rem) { .contact-line { grid-template-columns: repeat(3, auto); justify-content: start; gap: 1rem 2.5rem; } }
  .contact-line li { display: flex; align-items: center; gap: 0.7rem; }
  .contact-line svg { width: 1.4rem; height: 1.4rem; flex: none; color: var(--brand-d); }
  .contact-line small { display: block; font-size: var(--step--1); color: var(--ink-2); line-height: 1.2; }
  .contact-line a { font-weight: 600; color: var(--ink); text-decoration: none; }
  .contact-line a:hover { color: var(--brand-d); text-decoration: underline; }
}
@media print { .contact-line { grid-template-columns: repeat(3, auto); gap: 0 2rem; } .contact-line a { color: #000; } }

/* Hauptknöpfe: Verlauf Cyan → Blau statt flachem Blau (seit 21.11.2026, Wunsch Torsten); Farben dunkel genug für weiße Schrift */
@layer components {
  .btn-primary { background: linear-gradient(135deg, #0889ad 0%, #166fb3 100%); border-color: transparent; box-shadow: 0 6px 18px rgb(8 137 173 / .28); transition: box-shadow .2s, transform .2s, filter .2s; }
  .btn-primary:hover { background: linear-gradient(135deg, #0889ad 0%, #166fb3 100%); filter: brightness(1.08); box-shadow: 0 10px 24px rgb(8 137 173 / .38); transform: translateY(-1px); }
  .btn-primary:active { transform: none; filter: brightness(.96); }
}

/* Startbild: satteres Petrol statt mattem Dunkelgrün, passend zu Cyan-Knöpfen und Gold (seit 21.11.2026) */
@layer components {
  .stage.is-split { background:
    radial-gradient(120% 90% at 0% 0%, rgb(14 165 198 / .28) 0%, rgb(14 165 198 / 0) 55%),
    radial-gradient(90% 80% at 100% 100%, rgb(240 213 143 / .10) 0%, rgb(240 213 143 / 0) 60%),
    linear-gradient(150deg, #073b44 0%, #0a4a57 50%, #0b5670 100%); }
}
/* Startbild: Video-Knopf mit weißem Rahmen wie „Für wen?“ (seit 21.11.2026) */
@layer components { .stage .btn-primary { border: 1.5px solid rgb(255 255 255 / .6); } }
/* Startbild: Überschrift zweizeilig „Ein Tag, der Gesundheit / messbar macht.“ (seit 21.11.2026) */
@layer components { @media (min-width: 60rem) { .stage.is-split h1 { max-width: 15em; font-size: clamp(2.1rem, 0.6rem + 2.45vw, 2.75rem); text-wrap: balance; } } }
@layer components { @media (max-width: 59.99rem) { .stage.is-split h1 { max-width: 15em; font-size: clamp(1.75rem, 0.9rem + 3.6vw, 2.75rem); } } }
/* Wiedererkennung: „Gesundheitstag“ in wenigen Überschriften cyan (seit 21.11.2026; nicht im Fließtext, nicht in Buttons) */
@layer components {
  .gt { color: #0889ad; }
  .stage .gt, .photo-hero .gt, .contact .gt, .stats-band .gt, .cta-band .gt { color: #7fdcf0; }
}

/* Messungen als Reiter (seit 21.11.2026): eine Messung offen, drei Reiter mit Nummer, Name, Leitfrage. Ohne JS bleiben alle drei Karten sichtbar. */
@layer components {
  .test-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 1rem; }
  .test-tabs button {
    position: relative; text-align: left; cursor: pointer; font: inherit; color: var(--ink);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l);
    padding: 1rem 1.1rem 1.05rem; display: grid; gap: 0.15rem; transition: border-color .2s, box-shadow .2s, transform .2s;
  }
  .test-tabs button::after { content: ""; position: absolute; left: 1.1rem; right: 1.1rem; bottom: -1px; height: 3px; border-radius: 3px; background: linear-gradient(90deg,#b8893a,#e2bf6a,#b8893a); transform: scaleX(0); transition: transform .3s; }
  .test-tabs button:hover { border-color: var(--brand); }
  .test-tabs button[aria-selected="true"] { border-color: var(--brand); box-shadow: 0 10px 28px rgb(8 74 87 / .12); }
  .test-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
  .tab-nr { font-size: var(--step--1); font-weight: 700; letter-spacing: .08em; color: #a87a2c; }
  .tab-name { font-weight: 700; font-size: var(--step-1, 1.15rem); line-height: 1.2; }
  .tab-frage { color: var(--ink-2); font-size: var(--step--1); line-height: 1.35; }

  .tests.is-tabbed { gap: 0; }
  .tests.is-tabbed .test[hidden] { display: none; }
  .tests.is-tabbed .test { animation: test-in .35s ease both; box-shadow: 0 14px 40px rgb(8 74 87 / .08); }
  @keyframes test-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  @media (min-width: 48rem) {
    .tests.is-tabbed .test, .tests.is-tabbed .test:nth-child(even) { grid-template-columns: 1fr 1fr; }
    .tests.is-tabbed .test:nth-child(even) .shots { order: 0; }
    .tests.is-tabbed .shots-track { align-items: stretch; }
    .tests.is-tabbed .shots-track figure { height: 25rem; grid-template-rows: minmax(0, 1fr) auto; }
    .tests.is-tabbed .shots-track img { width: auto; height: 100%; max-width: 100%; min-height: 0; margin-inline: auto; object-fit: contain; }
    .tests.is-tabbed .shots-track figure:first-child img { max-width: 100%; height: 100%; transform: scale(1.12); }
    .tests.is-tabbed .shots-track figure:first-child img[src*="cardioscan"] { transform: scale(1.12); }
    .tests.is-tabbed .shots-track figure { overflow: hidden; }
    .tests.is-tabbed .shots-track figcaption { position: relative; z-index: 1; }
    .tests.is-tabbed .test .test-body { padding: 2rem 2.25rem; }
    .tests.is-tabbed .test-body > p.test-kurz { display: none; }
  }
  @media (min-width: 70rem) { .tests.is-tabbed .shots { padding: 1.25rem 2.5rem 1rem; } }

  /* „Sie erfahren“ als Chips */
  .test dl:has(.chips) { grid-template-columns: 1fr; }
  .test dd.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; font-weight: 600; }
  .test dd.chips span { background: var(--tint); border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.7rem; font-size: var(--step--1); }

  @media (max-width: 47.99rem) {
    .test-tabs { gap: 0.4rem; }
    .test-tabs button { padding: 0.7rem 0.6rem 0.8rem; text-align: center; border-radius: var(--radius-s, 10px); }
    .test-tabs button::after { left: 0.6rem; right: 0.6rem; }
    .tab-frage { display: none; }
    .test-body > p.test-kurz { color: var(--ink); }
    .tab-name { font-size: 0.86rem; hyphens: manual; }
  }
  @media (prefers-reduced-motion: reduce) { .tests.is-tabbed .test { animation: none; } .test-tabs button, .test-tabs button::after { transition: none; } }
}

/* Symbole in den Messungs-Reitern (seit 21.11.2026) */
@layer components {
  .tab-icon {
    width: 3.1rem; height: 3.1rem; border-radius: 50%; display: grid; place-items: center; margin-bottom: 0.6rem;
    color: #0889ad; background: linear-gradient(135deg, rgb(8 137 173 / .1), rgb(22 111 179 / .14));
    box-shadow: inset 0 0 0 1px rgb(8 137 173 / .18); transition: background .25s, color .25s, box-shadow .25s, transform .25s;
  }
  .tab-icon svg { width: 1.7rem; height: 1.7rem; }
  .test-tabs .tab-nr { position: absolute; top: 1rem; right: 1.1rem; }
  .test-tabs button:hover .tab-icon { transform: translateY(-1px); }
  .test-tabs button[aria-selected="true"] .tab-icon {
    color: #fff; background: linear-gradient(135deg, #0889ad 0%, #166fb3 100%);
    box-shadow: 0 6px 16px rgb(8 137 173 / .3);
  }
  @media (max-width: 47.99rem) {
    .tab-icon { width: 2.3rem; height: 2.3rem; justify-self: center; margin-bottom: 0.35rem; }
    .tab-icon svg { width: 1.25rem; height: 1.25rem; }
    .test-tabs .tab-nr { top: 0.45rem; right: 0.55rem; font-size: 0.68rem; }
  }
  @media (prefers-reduced-motion: reduce) { .tab-icon { transition: none; } }
}

/* Paket „Individuelle Workshops und Vorträge“ (seit 21.11.2026) */
@layer components {
  .package > p:not([class]) { color: var(--ink-2); }
  .package-label { font-size: var(--step--1); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #a87a2c; margin-bottom: -0.4rem; }
  .package-meta { font-size: var(--step--1); color: var(--ink-2); padding-top: 0.7rem; border-top: 1px solid var(--line); }
  .package-meta b { color: var(--ink); }
}

/* Zweiter Preis im Paket (ab 199 € pro Person, seit 21.11.2026) */
@layer components {
  .package .price-alt { display: block; margin-top: 0.2rem; font-size: var(--step-0); font-weight: 600; color: var(--ink-2); }
}

/* Anfrage-Assistent: laufende Auswahl als Chips (seit 21.11.2026; ersetzt die Zusammenfassung im letzten Schritt) */
@layer components {
  .wizard-picks { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; margin: -0.2rem 0 0.4rem; }
  .wizard-picks-label { font-size: 0.72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #a87a2c; margin-right: 0.2rem; }
  .wizard-picks button {
    font: inherit; font-size: var(--step--1); font-weight: 600; color: var(--brand-d); cursor: pointer;
    background: rgb(8 137 173 / .08); border: 1px solid rgb(8 137 173 / .22); border-radius: 999px; padding: 0.2rem 0.7rem 0.2rem 0.6rem;
    display: inline-flex; align-items: center; gap: 0.3rem; max-width: 100%; text-align: left;
  }
  .wizard-picks button::before { content: "✓"; font-size: 0.75em; color: #0889ad; }
  .wizard-picks button:hover { background: rgb(8 137 173 / .14); border-color: #0889ad; }
  .wizard-picks[hidden], .wizard-summary { display: none; }
}

/* ---------- Gesundheits-Quiz (/quiz/, Entwurf seit 21.11.2026) ---------- */
@layer components {
  .quiz-section { padding-block: var(--space-s) var(--space-xl, 5rem); }
  .quiz-entwurf { max-width: 52rem; margin: 0 auto var(--space-m); font-size: var(--step--1); background: #fdf6e3; border: 1px solid #e8d39a; color: #5a4210; border-radius: var(--radius-s, 10px); padding: 0.6rem 0.9rem; }
  .quiz-head { max-width: 52rem; margin: 0 auto var(--space-m); text-align: center; }
  .quiz-head h1 { margin-inline: auto; max-width: 20ch; }
  .quiz-head .lead { margin-inline: auto; max-width: 40rem; }
  .quiz { max-width: 52rem; margin-inline: auto; }

  /* ohne JS: lesbare Liste */
  .quiz-fragen { display: grid; gap: 1rem; padding-left: 1.2rem; }
  .quiz-q { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1rem 1.2rem; }
  .quiz-frage { font-weight: 700; }
  .quiz-antworten { list-style: upper-alpha; padding-left: 1.4rem; color: var(--ink-2); margin-block: 0.4rem; }
  .quiz-aufloesung summary { cursor: pointer; font-weight: 600; color: var(--brand-d); }
  .quiz-quelle { font-size: var(--step--1); color: var(--ink-2); }
  .quiz.is-game .quiz-fragen { display: none; }

  /* Spiel */
  .quiz-card {
    position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 22px;
    padding: clamp(1.25rem, 0.8rem + 2vw, 2.25rem); box-shadow: 0 18px 50px rgb(8 74 87 / .1);
    display: grid; gap: 1rem; animation: quiz-in .35s ease both;
  }
  .quiz-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; border-radius: 22px 22px 0 0; background: linear-gradient(90deg, #0889ad, #166fb3 45%, #e2bf6a 75%, #b8893a); }
  @keyframes quiz-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  .quiz-avatar { width: 4rem; height: 4rem; border-radius: 50%; object-fit: cover; object-position: 50% 20%; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #e2bf6a; }

  .quiz-start, .quiz-ende { text-align: center; justify-items: center; }
  .quiz-start .quiz-avatar, .quiz-ende .quiz-avatar { width: 5.5rem; height: 5.5rem; }
  .quiz-start p { max-width: 34rem; color: var(--ink-2); }
  .quiz-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; list-style: none; padding: 0; }
  .quiz-facts li { font-size: var(--step--1); font-weight: 600; color: var(--brand-d); background: rgb(8 137 173 / .08); border: 1px solid rgb(8 137 173 / .2); border-radius: 999px; padding: 0.2rem 0.75rem; }

  .quiz-top { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; font-size: var(--step--1); }
  .quiz-count { font-weight: 700; }
  .quiz-thema { color: var(--brand-d); background: var(--tint); border-radius: 999px; padding: 0.1rem 0.65rem; font-weight: 600; }
  .quiz-stufe { margin-left: auto; font-weight: 700; color: #a87a2c; }
  .quiz-bar { display: grid; grid-template-columns: repeat(10, 1fr); gap: 0.3rem; list-style: none; padding: 0; margin: 0; }
  .quiz-bar li { height: 6px; border-radius: 6px; background: var(--line); transition: background .3s; }
  .quiz-bar .is-aktuell { background: #0889ad; }
  .quiz-bar .is-richtig { background: linear-gradient(90deg, #b8893a, #e2bf6a); }
  .quiz-bar .is-falsch { background: #e3a3a3; }

  .quiz-frage-titel { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.75rem); line-height: 1.25; margin-top: 0.4rem; outline: none; }
  .quiz-grid { display: grid; gap: 0.6rem; }
  @media (min-width: 40rem) { .quiz-grid { grid-template-columns: 1fr 1fr; } }
  .quiz-antwort {
    font: inherit; text-align: left; cursor: pointer; color: var(--ink);
    display: flex; align-items: center; gap: 0.75rem; min-height: 3.6rem;
    background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; padding: 0.7rem 0.9rem;
    transition: border-color .2s, background .2s, transform .15s, box-shadow .2s;
  }
  .quiz-antwort:hover:not(:disabled) { border-color: #0889ad; background: #fff; box-shadow: 0 6px 18px rgb(8 137 173 / .12); transform: translateY(-1px); }
  .quiz-buchstabe { flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; color: #0889ad; background: rgb(8 137 173 / .1); }
  .quiz-text { font-weight: 600; line-height: 1.3; }
  .quiz-antwort:disabled { cursor: default; }
  .quiz-antwort.is-richtig { border-color: #1f9a6f; background: #e9f7f0; }
  .quiz-antwort.is-richtig .quiz-buchstabe { background: #1f9a6f; color: #fff; }
  .quiz-antwort.is-richtig .quiz-buchstabe, .quiz-antwort.is-falsch .quiz-buchstabe { font-size: 0; }
  .quiz-antwort.is-richtig .quiz-buchstabe::after { content: "✓"; font-size: 1rem; }
  .quiz-antwort.is-falsch .quiz-buchstabe::after { content: "✕"; font-size: 0.9rem; }
  .quiz-antwort.is-falsch { border-color: #c95c5c; background: #fbeeee; }
  .quiz-antwort.is-falsch .quiz-buchstabe { background: #c95c5c; color: #fff; }
  .quiz-antwort.is-aus { opacity: .55; }

  .quiz-feedback { display: grid; gap: 0.9rem; padding-top: 1rem; border-top: 1px solid var(--line); animation: quiz-in .3s ease both; }
  .quiz-urteil { font-weight: 700; font-size: var(--step-1, 1.15rem); }
  .quiz-feedback.is-richtig .quiz-urteil { color: #1f7a58; }
  .quiz-feedback.is-falsch .quiz-urteil { color: #a24444; }
  .quiz-tippbox { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; background: linear-gradient(135deg, #073b44, #0b5670); color: #fff; border-radius: 16px; padding: 1rem 1.1rem; }
  .quiz-tipp-label { font-size: 0.75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #e2bf6a; }
  .quiz-tipp-text { margin-top: 0.2rem; line-height: 1.5; }
  .quiz-quelle-text { margin-top: 0.45rem; font-size: 0.78rem; color: rgb(255 255 255 / .7); }
  .quiz-feedback .btn { justify-self: end; }

  .quiz-score { font-weight: 700; color: var(--ink-2); }
  .quiz-rang { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); background: linear-gradient(90deg, #b8893a, #d9b25c, #b8893a); -webkit-background-clip: text; background-clip: text; color: transparent; outline: none; }
  .quiz-rang-text { max-width: 32rem; }
  .quiz-leiter { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; width: 100%; max-width: 36rem; }
  .quiz-leiter li { border: 1px solid var(--line); border-radius: 12px; padding: 0.5rem 0.4rem; display: grid; gap: 0.1rem; font-size: 0.8rem; color: var(--ink-2); background: var(--paper); }
  .quiz-leiter b { color: var(--ink); font-size: 0.85rem; line-height: 1.2; }
  .quiz-leiter .is-vorbei { border-color: #e2bf6a; }
  .quiz-leiter .is-erreicht { border-color: transparent; background: linear-gradient(135deg, #b8893a, #e2bf6a); color: #4a3108; box-shadow: 0 6px 16px rgb(184 137 58 / .35); }
  .quiz-leiter .is-erreicht b { color: #3a2606; }
  .quiz-cta-text { color: var(--ink-2); max-width: 34rem; }
  .quiz-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.6rem 1rem; }

  @media (max-width: 39.99rem) {
    .quiz-stufe { margin-left: 0; width: 100%; }
    .quiz-leiter { grid-template-columns: 1fr 1fr; }
    .quiz-feedback .btn { justify-self: stretch; }
    .quiz-tippbox .quiz-avatar { width: 3rem; height: 3rem; }
  }
  @media (prefers-reduced-motion: reduce) { .quiz-card, .quiz-feedback { animation: none; } .quiz-antwort { transition: none; } }
}

/* Anfrage-Assistent: Zurücksetzen zwischen „Zurück“ und „Weiter“ (seit 21.11.2026) */
@layer components {
  .wizard-nav { align-items: center; }
  .wizard-reset {
    margin-inline: auto; font: inherit; font-size: var(--step--1); font-weight: 600; color: var(--ink-2); cursor: pointer;
    background: none; border: 0; padding: 0.5rem 0.6rem; border-radius: 999px; display: inline-flex; align-items: center; gap: 0.35rem;
  }
  .wizard-reset::before { content: "↺"; font-size: 1.1em; line-height: 1; }
  .wizard-reset:hover { color: var(--ink); background: var(--paper); }
  .wizard-reset[hidden] { display: none; }
  .wizard-nav .wizard-reset:not([hidden]) + [data-next] { margin-left: 0; }
}

/* Quiz-Hinweis unter „Für jedes Alter“ (seit 21.11.2026) */
@layer components {
  .quiz-teaser {
    margin-top: var(--space-m); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem 1.25rem;
    color: #fff; text-decoration: none; border-radius: 20px; padding: 1.1rem 1.4rem;
    background: radial-gradient(120% 140% at 100% 0%, rgb(226 191 106 / .22), transparent 55%), linear-gradient(135deg, #073b44, #0b5670);
    box-shadow: 0 14px 36px rgb(8 74 87 / .18); transition: transform .2s, box-shadow .2s;
  }
  .quiz-teaser:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgb(8 74 87 / .26); }
  .quiz-teaser img { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; object-position: 50% 20%; box-shadow: 0 0 0 3px #0b5670, 0 0 0 5px #e2bf6a; }
  .quiz-teaser-text { display: grid; gap: 0.2rem; }
  .quiz-teaser-text b { font-size: var(--step-1, 1.15rem); }
  .quiz-teaser-text span { color: rgb(255 255 255 / .82); font-size: var(--step--1); }
  .quiz-teaser .btn { border: 1.5px solid rgb(255 255 255 / .6); white-space: nowrap; }
  @media (max-width: 39.99rem) {
    .quiz-teaser { grid-template-columns: auto 1fr; padding: 1rem; }
    .quiz-teaser img { width: 3.5rem; height: 3.5rem; }
    .quiz-teaser .btn { grid-column: 1 / -1; justify-self: stretch; text-align: center; }
  }
  @media (prefers-reduced-motion: reduce) { .quiz-teaser { transition: none; } }
}

/* Formular-Abschnitt „Gesundheitstag mit Dr. González anfragen“: gleicher Petrol-Verlauf wie das Startbild (seit 21.11.2026) */
@layer components {
  .contact { background:
    radial-gradient(120% 90% at 0% 0%, rgb(14 165 198 / .28) 0%, rgb(14 165 198 / 0) 55%),
    radial-gradient(90% 80% at 100% 100%, rgb(240 213 143 / .10) 0%, rgb(240 213 143 / 0) 60%),
    linear-gradient(150deg, #073b44 0%, #0a4a57 50%, #0b5670 100%); }
}

/* Ratgeber-Titelbild in kleiner Vorlage (z. B. Nachwuchs-Artikel, Bild nur 377 px): quadratisch, nicht hochskaliert */
@layer components {
  .article-hero.is-klein { aspect-ratio: 1; max-width: 24rem; }
}

/* Startbild als stummer Kurzfilm (seit 22.11.2026): Video füllt die Bildfläche, Fortschrittsbalken folgen der Filmzeit (--p aus main.js) */
@layer components {
  .stage-video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; background: var(--ink); }
  .stage.has-film .stage-step i::after,
  .stage.has-film .stage-facts li.is-current .fact-bar::after { animation: none; transform: scaleX(var(--p, 0)); }
}
/* Startbild-Film mobil (seit 22.11.2026): Bildfläche im Videoformat 16:9 statt fast quadratisch – sonst wird stark gezoomt und Köpfe stoßen oben an */
@layer components {
  @media (max-width: 59.99rem) { .stage.is-split:has(.stage-video) { --media-h: calc(100vw * 9 / 16); } }
}
/* Für Entscheider: Kasten „Auf einen Blick“ (seit 23.11.2026) – fünf Fakten und ein Button direkt unter dem Kopfbild */
@layer components {
  main .glance, main:has(.photo-hero) section.glance { padding-block: var(--space-m) 0; }
  .glance-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: var(--space-m); box-shadow: 0 12px 32px -18px rgb(18 49 44 / .25); }
  .glance-title { font-size: var(--step-1); margin: 0 0 var(--space-s); }
  .glance-list { display: grid; gap: 0; margin: 0; }
  .glance-list > div { display: grid; gap: 0.15rem; padding-block: 0.7rem; border-top: 1px solid var(--line); }
  .glance-list dt { font-size: var(--step--1); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-d); }
  .glance-list dd { margin: 0; }
  .glance-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: var(--space-s); padding-top: var(--space-s); border-top: 1px solid var(--line); }
  .glance-more { color: var(--brand-d); font-weight: 600; }
  @media (min-width: 48rem) {
    .glance-list > div { grid-template-columns: 9rem 1fr; gap: 1rem; align-items: baseline; }
  }
}
/* Für Entscheider: Hinweis unter „In drei Schritten“ mit Link zum Ratgeber „Gesundheitstag planen“ (seit 23.11.2026) */
@layer components {
  .ablauf-hint { margin: var(--space-m) auto 0; max-width: 46rem; text-align: center; color: var(--ink-2); }
  .ablauf-hint a { color: var(--brand-d); font-weight: 600; white-space: nowrap; }
  .ablauf-hint a::after { content: " →"; }
}
/* Ratgeber: Hinweiskasten im Artikel (seit 23.11.2026, z. B. „Dabei unterstützt Sie Dr. González“ in „Gesundheitstag planen“) */
@layer components {
  .article-tip { margin: var(--space-m) 0; padding: var(--space-s) var(--space-m); background: var(--tint); border-left: 4px solid var(--brand); border-radius: var(--radius-s); }
  .article-tip p { margin: 0; }
  .article-tip p + p { margin-top: 0.5rem; }
  .article-tip a { color: var(--brand-d); font-weight: 600; }
  .article-tip a::after { content: " →"; }
}
/* Startseite: „Ihre Vorteile auf einen Blick“ direkt unter dem Startbild (seit 23.11.2026) */
@layer components {
  main .benefits { padding-block: var(--space-l); background: var(--tint); }
  .benefits-title { font-size: var(--step-2); margin: 0 0 var(--space-m); text-align: center; }
  .benefits-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
  @media (min-width: 40rem) and (max-width: 71.99rem) { .benefits-list { grid-template-columns: 1fr 1fr; } .benefits-list li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
  @media (min-width: 72rem) { .benefits-list { grid-template-columns: repeat(5, 1fr); } }
  .benefits-list li { position: relative; display: grid; gap: 0.35rem; align-content: start; padding: 1.1rem 1.1rem 1.2rem 3.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); }
  .benefits-list li::before { content: "✓"; position: absolute; left: 1.1rem; top: 1.05rem; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--brand); color: var(--white); font-weight: 700; font-size: 0.9rem; line-height: 1; }
  .benefits-list strong { color: var(--ink); font-size: var(--step-0); line-height: 1.3; }
  .benefits-list span { color: var(--ink-2); font-size: var(--step--1); line-height: 1.5; }
  @media (min-width: 72rem) {
    .benefits-list li { padding: 3.2rem 1.1rem 1.2rem; }
    .benefits-list li::before { top: 1.1rem; }
  }
  .benefits-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.75rem 1.5rem; margin-top: var(--space-m); }
  .benefits-more { color: var(--brand-d); font-weight: 600; }
  .benefits-more::after { content: " →"; }
}
/* Hauptmenü hochwertiger (seit 23.11.2026): ruhigere Schrift, Unterstrich-Animation, „Für Entscheider“ hervorgehoben (Menüklasse nav-highlight) */
@layer components {
  .site-header { backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgb(255 255 255 / .6) inset, 0 8px 24px -20px rgb(18 49 44 / .35); }
  @media (min-width: 68rem) {
    .nav { gap: 1.45rem; }
    .nav a { position: relative; padding-block: 0.45rem; font-size: 0.93rem; font-weight: 500; letter-spacing: 0.01em; color: var(--ink); transition: color .2s; }
    .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.1rem; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transform-origin: center; transition: transform .25s ease; }
    .nav a:hover, .nav a[aria-current="page"] { color: var(--brand-d); }
    .nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
    .nav a.nav-highlight { padding: 0.4rem 0.85rem; border-radius: 999px; font-weight: 700; color: var(--brand-d); background: var(--tint); box-shadow: inset 0 0 0 1px rgb(28 127 196 / .22); }
    .nav a.nav-highlight::after { display: none; }
    .nav a.nav-highlight:hover, .nav a.nav-highlight[aria-current="page"] { background: var(--brand); color: var(--white); box-shadow: none; }
  }
  @media (min-width: 68rem) and (max-width: 79.99rem) { .nav { gap: 1rem; } .nav a { font-size: 0.9rem; } .nav a.nav-highlight { padding-inline: 0.7rem; } }
  @media (prefers-reduced-motion: reduce) { .nav a::after { transition: none; } }
  .mobile-nav a.nav-highlight { color: var(--brand-d); font-weight: 700; }
  .mobile-nav a.nav-highlight::after { content: " →"; }
}
/* Seite „Social Media“ (seit 23.11.2026): drei Karten mit Links zu LinkedIn, Instagram, Facebook – nichts eingebettet */
@layer components {
  .social-page { padding-block: var(--space-m) var(--space-xl, 5rem); }
  .social-page h1 { max-width: 20ch; }
  .social-page .lead { font-size: var(--step-1); color: var(--ink-2); margin-top: 1rem; max-width: 40rem; line-height: 1.45; }
  .social-cards { display: grid; gap: 1rem; margin: var(--space-m) 0 0; padding: 0; list-style: none; }
  @media (min-width: 56rem) { .social-cards { grid-template-columns: repeat(3, 1fr); } }
  .social-card a { display: grid; grid-template-rows: auto 1fr auto; gap: 1rem; height: 100%; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
  .social-card a:hover { border-color: var(--brand); box-shadow: 0 16px 36px -22px rgb(18 49 44 / .4); transform: translateY(-2px); }
  .social-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; color: var(--white); }
  .social-icon svg { width: 1.6rem; height: 1.6rem; }
  .social-linkedin .social-icon { background: #0a66c2; }
  .social-instagram .social-icon { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
  .social-facebook .social-icon { background: #1877f2; }
  .social-body { display: grid; gap: 0.25rem; align-content: start; }
  .social-body strong { font-size: var(--step-1); }
  .social-handle { color: var(--brand-d); font-weight: 600; }
  .social-text { color: var(--ink-2); line-height: 1.5; }
  .social-go { color: var(--brand-d); font-weight: 600; }
  .social-go::after { content: " ↗"; }
  .social-note { margin-top: var(--space-m); max-width: 46rem; font-size: var(--step--1); color: var(--ink-2); }
  @media (prefers-reduced-motion: reduce) { .social-card a { transition: none; } .social-card a:hover { transform: none; } }
  /* Ratgeber-Übersicht: Themen-Sprungleiste und Themenblöcke (25.11.2026) */
  .guide-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--space-m); }
  .guide-nav a { background: var(--tint); border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.95rem; font-weight: 600; font-size: var(--step--1); color: var(--ink); text-decoration: none; }
  .guide-nav a:hover, .guide-nav a:focus-visible { border-color: var(--brand); color: var(--brand-d); }
  .guide-theme { margin: var(--space-l) 0 var(--space-s); scroll-margin-top: 6.5rem; }
  .guide-theme h2 { font-size: var(--step-2); }
  .guide-theme p { color: var(--ink-2); margin-top: 0.4rem; max-width: 46rem; }
  .guide-theme:first-of-type { margin-top: 0; }
}
