/* ============================================================
   global.css: Technik-Geruest + Design-Tokens der Site.

   WICHTIG: Die :root-Bloecke unten sind die EINZIGE Stelle, an der
   Design lebt (Farben, Font, Typo-Scale, Abstaende, Radien, Schatten,
   Motion). Alle Werte sind PLATZHALTER, nur damit der Styleguide vor
   Phase 2 ueberhaupt rendert. Phase 2 (Corporate Identity) MUSS jeden
   Token projektspezifisch setzen. Kein Platzhalter geht live, und
   zwei Kundenseiten teilen niemals dieselben Tokens.

   Nicht verhandelbar (Qualitaets-Untergrenzen, KEIN Design):
   Body-Schrift nie unter 17px, Touch-Targets min. 44px, WCAG-AA-
   Kontrast, Animationen nur mit transform + opacity.

   Fonts: self-hosted via css/fonts.css (scripts/fetch-fonts.sh),
   NIEMALS fonts.googleapis.com einbinden.
   ============================================================ */

:root {
  /* ── Farben: Naturheilpraxis Lang (aus ihrem Website-Entwurf + Logo) ──
     Kontrast (WCAG): brand-main auf Creme 7,9 / auf Sand 7,0; body auf Creme 10,3;
     text-muted auf Creme 6,1 / auf Sand 5,4; eyebrow auf Creme 5,6 / auf Sand 4,9.
     accent (Orange) und arc (Sand-Bogen) nur als Schmuck, nie fuer Text. */
  --color-brand-main:       #7A3A1A;   /* Braun: Buttons, Links, Ueberschriften-Akzente */
  --color-brand-darker:     #5A2A12;   /* Dunkelbraun: Hover, dunkle Flaechen */
  --color-brand-lighter:    #E07B39;   /* = accent, fuer Kit-Kompatibilitaet */
  --color-brand-subtle:     #F3E6D6;   /* Sand */
  --color-bg-light:         #FBF5EE;   /* Creme: Seitengrund */
  --color-bg-dark:          #5A2A12;
  --color-bg-card:          #FFFCF8;
  --color-bg-accent:        #F3E6D6;
  --color-border:           #E6D2BC;
  --color-text-muted:       #6E584B;
  --color-off-white:        #FBF5EE;
  --color-success:          #7A3A1A;   /* bewusst kein Gruen (Kundinnenwunsch) */
  --color-heading:          #5A2A12;
  --color-body:             #4A372D;
  --color-accent:           #E07B39;   /* Orange: der Punkt aus dem Logo */
  --color-arc:              #DEB382;   /* Sand-Bogen aus dem Logo */
  --color-eyebrow:          #9C4A1D;
  --color-on-dark:          #FBF5EE;
  --color-on-dark-muted:    #E9CDB0;   /* auf Dunkelbraun 7,5 */
  --color-field-border:     #958272;   /* Rahmen von Eingabefeldern: 3,6 auf Feldweiss (WCAG 1.4.11) */

  /* ── Typografie: Poppins (self-hosted, 300/400/500/600) ── */
  --font-main:              'Poppins', -apple-system, 'Segoe UI', sans-serif;
  --font-weight-heading:    500;
  --letter-spacing-h1:      -0.03em;
  --letter-spacing-h2:      -0.02em;
  --font-size-body:         17px;    /* frei waehlbar, aber NIE unter 17px */
  --line-height-body:       1.7;
  --line-height-heading:    1.14;
  --font-size-h1:           60px;
  --font-size-h1-md:        46px;    /* greift <= 1024px */
  --font-size-h1-sm:        34px;    /* greift <= 767px  */
  --font-size-h2:           42px;
  --font-size-h2-md:        34px;
  --font-size-h2-sm:        28px;
  --font-size-h1-sub:       52px;    /* H1 der Unterseiten (Hero Leistungen, Über mich): klar über H2 */
  --font-size-h1-sub-md:    42px;
  --font-size-h1-sub-sm:    32px;
  --font-size-h3:           24px;
  --font-size-h3-sm:        21px;
  --font-size-h4:           20px;
  --font-size-h5:           18px;
  --font-size-eyebrow:      13px;    /* Ausnahme unter 17px */
  --font-size-pill-sm:      15px;    /* Ausnahme unter 17px: Schwerpunkt-Pillen am Handy (400–767 px), je zwei pro Zeile (01.12.2026) */
  --font-size-pill-xs:      14px;    /* dasselbe unter 400 px Breite */
  --font-size-lead:         19px;    /* Einleitungstexte */

  /* ── Layout + Abstaende ── */
  --max-width:              1200px;
  --container-padding:      40px;
  --container-padding-sm:   20px;
  --section-padding:        112px 0;
  --section-padding-mobile: 72px 0;
  --header-height:          97px;    /* Sticky-Header inkl. Linie (Sprungleiste + Sprungmarken) */
  --header-height-sm:       81px;    /* greift <= 960px */
  --subnav-height:          61px;    /* Sprungleiste der Leistungsseite */
  --header-gap-eyebrow:     16px;    /* Abstand Eyebrow -> Title   */
  --header-gap-title:       20px;    /* Abstand Title -> Subline   */
  --header-gap-subline:     48px;    /* Abstand Subline -> Inhalt  */

  /* ── Form + Tiefe: weich, rund, warm ── */
  --radius-s:               999px;   /* Buttons, Chips: Pillenform wie in ihrem Entwurf */
  --radius-m:               22px;    /* Bilder, Flaechen, Eingabefelder */
  --radius-xs:              6px;     /* Kleinteile: Checkbox, Hinweiszeile im Formular */
  --radius-arch:            999px 999px 22px 22px;  /* Bogen-Bild (Signatur, sparsam) */
  --shadow-card:            0 1px 2px rgba(90, 42, 18, 0.06), 0 18px 40px -18px rgba(90, 42, 18, 0.22);

  /* ── Motion: ruhig ── */
  --ease-out:               cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring:            cubic-bezier(0.34, 1.3, 0.64, 1);
  --duration-fast:          0.25s;
  --reveal-duration:        0.9s;
  --reveal-distance:        14px;
  --reveal-scale:           1.04;    /* Bilder starten leicht vergroessert und setzen sich */
  --reveal-duration-image:  1.2s;
  --reveal-stagger:         80ms;    /* Versatz in Gruppen und in der Hero-Sequenz */
  --hero-delay:             120ms;   /* Start der Lade-Sequenz (Schrift ist dann da) */
}

/* Responsive Token-Umschaltung: Komponenten unten enthalten KEINE
   eigenen Breakpoint-Werte, hier werden nur Tokens umgeschaltet. */
@media (max-width: 1024px) {
  :root {
    --font-size-h1: var(--font-size-h1-md);
    --font-size-h2: var(--font-size-h2-md);
    --font-size-h1-sub: var(--font-size-h1-sub-md);
  }
}
@media (max-width: 960px) {
  :root { --header-height: var(--header-height-sm); }
}
@media (max-width: 767px) {
  :root {
    --font-size-h1: var(--font-size-h1-sm);
    --font-size-h2: var(--font-size-h2-sm);
    --font-size-h3: var(--font-size-h3-sm);
    --font-size-h1-sub: var(--font-size-h1-sub-sm);
    --container-padding: var(--container-padding-sm);
    --header-gap-eyebrow: 10px;
    --header-gap-title: 14px;
    --header-gap-subline: 32px;
    --font-size-lead: 18px;
  }
}

/* ============================================================
   Ab hier nur noch Technik: alles referenziert Tokens,
   nirgendwo stehen Design-Literale.
   ============================================================ */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* KEIN scroll-behavior: smooth hier oder anderswo: kollidiert mit Lenis (Phase 5). */

body {
  font-family: var(--font-main);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  color: var(--color-body);
  background: var(--color-bg-light);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  font-weight: var(--font-weight-heading);
  line-height: var(--line-height-heading);
}

h1 { font-size: var(--font-size-h1); letter-spacing: var(--letter-spacing-h1); }
h2 { font-size: var(--font-size-h2); letter-spacing: var(--letter-spacing-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }
h5 { font-size: var(--font-size-h5); }

a { color: var(--color-brand-main); text-decoration: none; }
a:hover { color: var(--color-brand-darker); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--color-brand-main);
  outline-offset: 2px;
}

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

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

/* Buttons: Look kommt komplett aus den Tokens (Radius, Farben, Motion).
   min-height 48px ist Touch-Target-Untergrenze, kein Design. */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: var(--radius-s);
  font-family: inherit;   /* <button> erbt die Schrift sonst nicht */
  font-size: var(--font-size-body);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  border: none;
  transition:
    background-color var(--duration-fast) ease,
    color var(--duration-fast) ease,
    transform var(--duration-fast) var(--ease-spring),
    box-shadow var(--duration-fast) ease;
}
.btn-primary {
  background: var(--color-brand-main);
  color: #FFFFFF;
}
.btn-primary:hover {
  background: var(--color-brand-darker);
  color: #FFFFFF;
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  background: transparent;
  color: var(--color-brand-main);
  box-shadow: inset 0 0 0 2px var(--color-brand-main);
}
.btn-secondary:hover { background: var(--color-brand-subtle); color: var(--color-brand-darker); }
.btn-primary:focus-visible, .btn-secondary:focus-visible { outline-offset: 3px; }

/* ── Section-Header: Eyebrow / Title / Subline ──
   PFLICHT: Jeder Section-Header nutzt diese 3 Klassen, damit Groessen,
   Abstaende und Alignment in JEDER Section identisch sind. Das ist ein
   Konsistenz-Mechanismus INNERHALB einer Site; wie er aussieht, steuern
   die Tokens oben. Niemals pro Section ueberschreiben. */
.section-eyebrow {
  display: block;
  font-size: var(--font-size-eyebrow);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-eyebrow);
  margin-bottom: var(--header-gap-eyebrow);
}
/* Eyebrow als Teil der Überschrift (seit 01.12.2026, SEO): Wo der Titel allein kein Keyword trägt, steht die
   Eyebrow IN der H1/H2 (<h2 class="section-title"><span class="section-eyebrow">…</span> Titel</h2>). Optik wie
   „Eyebrow über dem Titel“; Zeilenhöhe wie Fließtext, sonst rückt sie enger an den Titel. */
h1 > .section-eyebrow,
h2 > .section-eyebrow { line-height: var(--line-height-body); }
.section-title {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-heading);
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-h2);
  color: var(--color-heading);
  margin-bottom: var(--header-gap-title);
}
.section-subline {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  color: var(--color-text-muted);
  margin-bottom: var(--header-gap-subline);
  max-width: 640px;
}

/* ── Reveal-Animationen (Init in js/main.js) ──
   Charakter (Distanz, Dauer, Kurve, Versatz) kommt aus den Motion-Tokens, animiert wird nur
   transform + opacity.
     <element data-reveal>            steigt ein (Text, Karten, Flaechen)
     <element data-reveal="image">    blendet ein und setzt sich von 1,04 auf 1 (Bilder)
     <container data-reveal-group>    jedes direkte Kind ist ein eigenes data-reveal, gestaffelt
   Ohne JS (html ohne .js-Klasse) bleibt alles sichtbar. */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition:
    opacity var(--reveal-duration) var(--ease-out),
    transform var(--reveal-duration) var(--ease-out);
}
html.js [data-reveal="image"] {
  transform: scale(var(--reveal-scale));
  transition-duration: var(--reveal-duration-image);
}
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
/* Notausgang: Meldet sich main.js nicht innerhalb von 4 s (Fehler, Netz), wird alles sichtbar.
   main.js setzt .js-ready, dann greift diese Regel nicht mehr. */
@keyframes nl-failsafe { to { opacity: 1; transform: none; } }
html.js:not(.js-ready) [data-reveal] { animation: nl-failsafe 0.01s 4s forwards; }

/* ── Lade-Sequenz im Hero (alle drei Seiten, einmalig, nur CSS) ──
   .nl-seq            Textspalte: Eyebrow, H1, Text, Buttons/Pillen steigen nacheinander ein
   .nl-seq-arch       Bogen-Bild: blendet ein, das Foto darin setzt sich von 1,04 auf 1
   .nl-seq-dot        oranger Punkt: kommt zuletzt, mit kurzer Feder
   fill-mode "backwards": vor dem Start steht der Anfangszustand, danach gilt wieder der normale
   Stil (so bleiben Hover-Effekte auf den Kindern unberuehrt). */
@keyframes nl-rise   { from { opacity: 0; transform: translateY(var(--reveal-distance)); } }
@keyframes nl-fade   { from { opacity: 0; } }
@keyframes nl-settle { from { transform: scale(var(--reveal-scale)); } }
@keyframes nl-pop    { from { opacity: 0; transform: scale(0.4); } }

.nl-seq > * {
  animation: nl-rise var(--reveal-duration) var(--ease-out) backwards;
  animation-delay: var(--hero-delay);
}
.nl-seq > :nth-child(2) { animation-delay: calc(var(--hero-delay) + 1 * var(--reveal-stagger)); }
.nl-seq > :nth-child(3) { animation-delay: calc(var(--hero-delay) + 2 * var(--reveal-stagger)); }
.nl-seq > :nth-child(4) { animation-delay: calc(var(--hero-delay) + 3 * var(--reveal-stagger)); }
.nl-seq > :nth-child(5) { animation-delay: calc(var(--hero-delay) + 4 * var(--reveal-stagger)); }
.nl-seq > :nth-child(n+6) { animation-delay: calc(var(--hero-delay) + 5 * var(--reveal-stagger)); }

.nl-seq-arch {
  isolation: isolate;
  animation: nl-fade var(--reveal-duration-image) var(--ease-out) backwards;
  animation-delay: calc(var(--hero-delay) / 2);
}
.nl-seq-arch img {
  animation: nl-settle calc(var(--reveal-duration-image) * 1.4) var(--ease-out) backwards;
  animation-delay: calc(var(--hero-delay) / 2);
}
.nl-seq-dot {
  animation: nl-pop 0.8s var(--ease-spring) backwards;
  animation-delay: calc(var(--hero-delay) + 5 * var(--reveal-stagger));
}

/* Screenshots deterministisch: screenshot.mjs setzt html.screenshot */
html.screenshot [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}
html.screenshot .nl-seq > *,
html.screenshot .nl-seq-arch,
html.screenshot .nl-seq-arch img,
html.screenshot .nl-seq-dot { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; animation: none; }
  .nl-seq > *, .nl-seq-arch, .nl-seq-arch img, .nl-seq-dot { animation: none; }
}
/* Ausdruck (z. B. die Preise): nichts darf versteckt bleiben */
@media print {
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
}

/* Sprungziele, die per Skript den Fokus bekommen (tabindex="-1"), brauchen keinen Rahmen */
[tabindex="-1"]:focus { outline: none; }

/* ── Google Maps Zwei-Klick (Markup: snippets/google-maps-consent.html) ── */
.map-consent {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--color-bg-accent);
}
.map-consent > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) brightness(0.85);
}
.map-consent-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
  background: rgba(15, 23, 42, 0.55);
}
.map-consent-overlay p {
  color: var(--color-off-white);
  font-size: var(--font-size-body);
  max-width: 520px;
}
.map-consent-overlay a { color: #FFFFFF; text-decoration: underline; }

/* Nur fuer Screenreader sichtbar (Ueberschriften-Gliederung ohne sichtbares Label) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Sprungmarken nicht unter dem Sticky-Header verstecken. Die Sections haben selbst genug
   Innenabstand oben, deshalb reicht die Höhe des Headers (Leistungsseite: plus Sprungleiste). */
:target, [id] { scroll-margin-top: var(--header-height); }
body[data-page="leistungen"] [id] { scroll-margin-top: calc(var(--header-height) + var(--subnav-height)); }

/* ── Abschnitts-Hintergründe: Creme und Sand im Wechsel, auf allen Seiten (Vorgabe Tunahan, 18.11.2026) ──
   Gezählt werden nur die Sections (`:nth-child(even of section)`), damit die <style>-Blöcke nach jeder Section
   und die Sprungleiste (<nav>) der Leistungsseite nicht mitzählen. Auf der Leistungsseite ist jede Leistung
   eine Section, damit wechselt der Ton automatisch pro Leistung. Sections setzen KEINEN eigenen Hintergrund.
   Für Flächen innerhalb einer Section gibt es --section-surface: immer der jeweils andere der beiden Töne.
   Jede Seite endet mit dem Termin-Band (Foto, sections/termin.html), danach der braune Footer. */
main > section {
  --section-bg: var(--color-bg-light);
  --section-surface: var(--color-bg-accent);
  background: var(--section-bg);
}
main > section:nth-of-type(even) {   /* Rückfall für ältere Browser ohne „of S“ */
  --section-bg: var(--color-bg-accent);
  --section-surface: var(--color-bg-light);
}
main > section:nth-child(odd of section) {
  --section-bg: var(--color-bg-light);
  --section-surface: var(--color-bg-accent);
}
main > section:nth-child(even of section) {
  --section-bg: var(--color-bg-accent);
  --section-surface: var(--color-bg-light);
}

/* ── Lenis Smooth Scroll (empfohlene Basis-Styles, Init in js/main.js) ── */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

/* ============================================================
   Bausteine der Naturheilpraxis Lang (.nl-*)
   Wiederkehrende Inhaltsmuster, vor allem die Kapitel-Schablone der Leistungsseite.
   Nur Tokens, kein eigener Look pro Section.
   ============================================================ */

/* ── Kapitel der Leistungsseite: EINE Schablone für alle sechs Leistungen (18.11.2026) ──
   Plan: plan-leistungsseite.md (Version „kompakt zum Aufklappen“). Jede Leistung ist genau eine Section .nl-ch:

     .nl-ch-head    Kopf: links .nl-ch-text (Eyebrow, H2, Einleitung, Termin-Button), rechts ein Foto 3:2.
     .nl-slots      Bausteine zum Aufklappen (details/summary, ohne JS), immer in dieser Reihenfolge:
                    Worum es geht · Für wen · Ablauf · Gut zu wissen · Kosten & Termin. Titel = h3 im summary.
     .nl-ch-facts   Eckdaten-Zeile als Abschluss UNTER den Bausteinen (seit 18.11.2026, Wunsch Tunahan):
                    Dauer · Kosten · Erstattung, dann Zusätze (fehlt etwas, fällt es weg).

   Jedes Kapitel hat einen eigenen Ton: kommt automatisch aus dem Creme/Sand-Wechsel aller Sections (oben). */
.nl-ch { padding: var(--section-padding); }
.nl-ch-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 80px;
  align-items: center;
}
.nl-ch-text > * + * { margin-top: 20px; }
.nl-ch-text > .section-eyebrow { margin-bottom: 0; }
.nl-ch-text > .section-title { margin-top: var(--header-gap-eyebrow); margin-bottom: 0; }
.nl-ch-text > .section-title:first-child { margin-top: 0; }   /* Eyebrow steckt in der H2 (TCM, Labor, Infusion, Funktionelle Medizin) */
.nl-ch-text > p { max-width: 60ch; font-size: var(--font-size-lead); }
.nl-ch-text > p a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--color-arc); }
.nl-ch-text > p a:hover { text-decoration-color: var(--color-accent); }
.nl-ch-text > .btn-primary { margin-top: 32px; }
.nl-ch-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-m);
}
.nl-ch-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px 40px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--color-brand-main);
}
.nl-ch-facts dt { color: var(--color-text-muted); }
.nl-ch-facts dd { color: var(--color-heading); font-weight: 500; }

/* Bausteine zum Aufklappen */
.nl-slots { margin-top: 48px; }
.nl-slot { border-bottom: 1px solid var(--color-border); }
.nl-slot:first-child { border-top: 1px solid var(--color-border); }
.nl-slot > summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 18px 56px 18px 0;
  cursor: pointer;
  list-style: none;
}
.nl-slot > summary::-webkit-details-marker { display: none; }
.nl-slot > summary::before,
.nl-slot > summary::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: var(--radius-s);
  background: var(--color-brand-main);
  transition: transform var(--duration-fast) var(--ease-out);
}
.nl-slot > summary::after { transform: rotate(90deg); }
.nl-slot[open] > summary::after { transform: rotate(0deg); }
.nl-slot.is-closing > summary::after { transform: rotate(90deg); }   /* dreht beim Schließen sofort zurück (js/main.js) */
.nl-slot-title {
  font-size: var(--font-size-h3);
  color: var(--color-heading);
  transition: color var(--duration-fast) ease;
}
.nl-slot > summary:hover .nl-slot-title { color: var(--color-brand-main); }
.nl-slot > summary:active .nl-slot-title { color: var(--color-brand-darker); }
.nl-slot > summary:focus-visible { outline: 2px solid var(--color-brand-main); outline-offset: 4px; }
.nl-slot-body { padding: 28px 0 56px; }   /* Luft zwischen Titel und Inhalt (18.11.2026) */
.nl-slot-body > * + * { margin-top: 20px; }
.nl-slot-body > p,
.nl-slot-body > ul { max-width: 70ch; }
.nl-slot-body > .nl-note,
.nl-slot-body > .nl-price { max-width: 760px; }
.nl-slot-body > h4 { font-size: var(--font-size-h4); }
.nl-slot-body > * + h4 { margin-top: 48px; }
.nl-slot-body > h4 + * { margin-top: 14px; }
.nl-slot-body > * + .nl-items,
.nl-slot-body > * + .nl-steps { margin-top: 28px; }
.nl-slot-body a:not([class]) { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--color-arc); }
.nl-slot-body a:not([class]):hover { text-decoration-color: var(--color-accent); }

/* Punkte mit Titel: zweispaltig, gelesen wird zeilenweise */
.nl-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 56px;
}
.nl-items :is(h4, h5) {
  font-size: var(--font-size-h5);
  color: var(--color-heading);
  margin-bottom: 6px;
}
.nl-items p { max-width: 62ch; }

/* Echte Abläufe: nummeriert, nebeneinander (vier Schritte) */
.nl-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  list-style: none;
  counter-reset: nl-step;
}
.nl-steps > li {
  counter-increment: nl-step;
  padding-top: 18px;
  border-top: 1px solid var(--color-brand-main);
}
.nl-steps > li::before {
  content: counter(nl-step);
  display: block;
  margin-bottom: 14px;
  font-size: var(--font-size-h2);
  font-weight: 300;
  line-height: 1;
  color: var(--color-brand-main);
}
.nl-steps :is(h4, h5) {
  font-size: var(--font-size-h5);
  color: var(--color-heading);
  margin-bottom: 6px;
}

/* Hinweis-Flaeche (Ton = Gegenstück zum Section-Hintergrund) */
.nl-note {
  padding: 28px 32px;
  border-radius: var(--radius-m);
  background: var(--section-surface, var(--color-bg-accent));
}
.nl-note strong { color: var(--color-heading); font-weight: 500; }
.nl-note :is(h4, h5) { font-size: var(--font-size-h5); color: var(--color-heading); margin-bottom: 12px; }
.nl-note .nl-list { margin-top: 16px; }

/* Aufzaehlung mit dem orangen Punkt aus dem Logo */
.nl-list { list-style: none; }
.nl-list > li {
  position: relative;
  padding-left: 26px;
}
.nl-list > li + li { margin-top: 10px; }
.nl-list > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-accent);
}
.nl-list strong { color: var(--color-heading); font-weight: 500; }

/* Preis-Karte: in jedem Kapitel dieselbe, immer im Baustein „Kosten & Termin“ mit dem Doctolib-Button.
   Markup: .nl-price > .nl-price-body (> .nl-price-rows > .nl-price-row, .nl-price-text) + .btn-primary.
   Eine Zeile: .nl-price-label (+ optional .nl-price-note) links, .nl-price-value rechts. */
.nl-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding: 32px 36px;
  border-radius: var(--radius-m);
  background: var(--color-bg-card);
  box-shadow: inset 0 0 0 1px var(--color-border);
}
.nl-price-body { width: 100%; }
.nl-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 24px;
  align-items: center;
}
.nl-price-row + .nl-price-row { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--color-border); }
.nl-price-label { grid-column: 1; color: var(--color-heading); font-weight: 500; }
/* Zeile ohne Unterzeile: Label mittig neben dem Preis */
.nl-price-row:not(:has(.nl-price-note)) .nl-price-label { grid-row: 1 / span 2; }
.nl-price-note { grid-column: 1; color: var(--color-text-muted); }
.nl-price-value {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: var(--font-size-h2);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: var(--letter-spacing-h2);
  color: var(--color-brand-main);
  white-space: nowrap;
  text-align: right;
}
.nl-price-value small { display: block; font-size: var(--font-size-body); font-weight: 400; letter-spacing: 0; color: var(--color-text-muted); }
.nl-price-text { color: var(--color-text-muted); }
.nl-price-rows + .nl-price-text { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--color-border); }
.nl-price-text strong { color: var(--color-heading); font-weight: 500; }

/* Section-Kopf als Block (Eyebrow/Title/Subline): hält den Abstand zum Inhalt gleich,
   auch wenn ein Kopf keine Subline hat. */
.nl-head { margin-bottom: var(--header-gap-subline); }
.nl-head > :last-child { margin-bottom: 0; }

@media (max-width: 1024px) {
  .nl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nl-ch-head { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .nl-items { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .nl-ch { padding: var(--section-padding-mobile); }
  .nl-ch-text > .btn-primary { width: 100%; }
  .nl-ch-facts { margin-top: 40px; grid-template-columns: 1fr; gap: 14px; }
  .nl-slot > summary { min-height: 64px; padding: 14px 44px 14px 0; }
  .nl-slot-body { padding: 20px 0 40px; }
  .nl-steps { grid-template-columns: 1fr; gap: 24px; }
  .nl-note { padding: 24px; }
  .nl-price { padding: 26px 24px; }
  .nl-price .btn-primary { width: 100%; }
}

/* ── Hero der Unterseiten (Leistungen, Über mich): ein gemeinsamer Aufbau ──
   Bogen-Bild links mit dem orangen Punkt aus dem Logo, Text rechts, Pillen darunter.
   Gegenstück zum Startseiten-Hero (dort Text links, Bild rechts). */
.nl-subhero { padding: 72px 0 112px; overflow: hidden; }
.nl-subhero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 88px;
  align-items: center;
}
.nl-subhero-visual { position: relative; padding: 32px 0 0 32px; }
.nl-subhero-arch {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-arch);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.nl-subhero-arch img { width: 100%; height: 100%; object-fit: cover; }
.nl-subhero-dot {
  position: absolute;
  top: 4px;
  left: 8px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-accent);
}
/* Ein Hero orientiert nur: Eyebrow, H1, ein kurzer Einleitungssatz, Pillen. Fließtext gehört in
   die Abschnitte darunter (Vorgabe Tunahan, 18.11.2026). */
.nl-subhero-text h1 {
  font-size: var(--font-size-h1-sub);
  letter-spacing: var(--letter-spacing-h1);
  text-wrap: balance;
  margin-bottom: 24px;
}
.nl-subhero-text p { max-width: 62ch; }
.nl-subhero-text p + p { margin-top: 16px; }
.nl-subhero-lead { font-size: var(--font-size-lead); }
.nl-subhero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-top: 32px;
}
.nl-subhero-pills > li,
.nl-subhero-pills > a {
  padding: 6px 18px;
  border-radius: var(--radius-s);
  background: var(--section-surface, var(--color-bg-accent));
  color: var(--color-brand-darker);
}
.nl-subhero-pills > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease, transform var(--duration-fast) var(--ease-spring);
}
.nl-subhero-pills > a:hover { background: var(--color-brand-main); color: var(--color-on-dark); transform: translateY(-2px); }
.nl-subhero-pills > a:active { background: var(--color-brand-darker); color: var(--color-on-dark); transform: none; }
@media (max-width: 960px) {
  .nl-subhero { padding: 40px 0 72px; }
  .nl-subhero-grid { grid-template-columns: 1fr; gap: 48px; }
  .nl-subhero-visual { max-width: 364px; margin-inline: auto; padding: 24px 24px 0; }   /* klein genug, dass die H1 im ersten Bildschirm steht; Bogen mittig, Punkt ragt links heraus (01.12.2026) */
  .nl-subhero-dot { width: 60px; height: 60px; top: 0; left: 0; }
}
@media (max-width: 767px) {
  .nl-subhero-pills { gap: 8px; }
  .nl-subhero-pills > li,
  .nl-subhero-pills > a { padding: 8px 12px; font-size: var(--font-size-pill-sm); }
}
@media (max-width: 399px) {
  .nl-subhero-pills > li,
  .nl-subhero-pills > a { font-size: var(--font-size-pill-xs); }
}
@media (max-width: 370px) {
  .nl-subhero-pills { gap: 6px; }
  .nl-subhero-pills > li,
  .nl-subhero-pills > a { padding-inline: 10px; }
}
