/* =========================================================
   LOGOPÄDIE HERDERN — Design System
   Editorial · warm cream · sage primary · copper accent
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces */
  --paper: #F7F2E9;
  --paper-deep: #EFE8DA;
  --cream: #FAF6EE;
  --bone: #ECE3D0;

  /* Ink */
  --ink: #1A2520;
  --ink-soft: #3E4A45;
  --ink-muted: #7A8580;
  --rule: #D8CFBF;
  --rule-strong: #B7AC95;

  /* Sage (primary — calm, healing) */
  --sage: #5C7A6C;
  --sage-deep: #3D5A4D;
  --sage-mid: #7E9B8C;
  --sage-light: #DDE3DC;
  --sage-glow: #9DB6A4;

  /* Copper (accent — human, warmth) */
  --copper: #B86F4D;
  --copper-deep: #8E5238;
  --copper-soft: #E5BFA8;
  --copper-glow: #F1D9C7;

  /* Typography */
  --serif: 'Fraunces', 'Iowan Old Style', 'Georgia', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', sans-serif;

  /* Rhythm */
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --section-y: clamp(5rem, 10vw, 9rem);
  --container: 78rem;
  --container-narrow: 56rem;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 220ms;
  --t-med: 420ms;
  --t-slow: 780ms;

  /* Misc */
  --radius: 4px;
  --radius-lg: 14px;
}

/* ---------- Reset (focused) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* ---------- Scrollbars (slim, on-brand) ---------- */
/* Firefox + recent Chromium: standard properties */
html {
  scrollbar-color: color-mix(in oklab, var(--sage-mid) 55%, transparent) transparent;
  scrollbar-width: thin;
}
/* WebKit (Chromium, Safari): pseudo-elements for finer control */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background-color: color-mix(in oklab, var(--sage-mid) 45%, transparent);
  border-radius: 999px;
  border: 3px solid var(--paper);            /* transparent gutter via page-color border */
  background-clip: padding-box;
  transition: background-color var(--t-fast) var(--ease-out);
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--sage-deep);
}
::-webkit-scrollbar-corner { background: transparent; }

/* Internal scroll containers on dark surfaces (e.g. Impressum disclosure
   inside the footer) — match the dark palette instead of cream. */
.impressum__body {
  scrollbar-color: color-mix(in oklab, var(--copper-soft) 40%, transparent) transparent;
}
.impressum__body::-webkit-scrollbar-thumb {
  background-color: color-mix(in oklab, var(--copper-soft) 35%, transparent);
  border: 3px solid var(--ink);
  background-clip: padding-box;
}
.impressum__body::-webkit-scrollbar-thumb:hover {
  background-color: var(--copper-soft);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body, h1, h2, h3, h4, h5, p, ul, ol, dl, dd, dt, figure, blockquote {
  margin: 0; padding: 0;
}
ul, ol { list-style: none; }
img, svg, video, iframe { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection { background: var(--sage); color: var(--cream); }

/* ---------- Base typography ---------- */
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'cv11', 'kern';
  overflow-x: hidden;
  position: relative;
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 8 4 4;
}

/* Avoid hyphenation on display headlines — they should breathe */
h1, .hero__title, .display-h2, .cta__title, .bio__name {
  hyphens: manual;
  -webkit-hyphens: manual;
}

/* RTL adjustments — Arabic & Hebrew don't traditionally use italic.
   Keep the sage color emphasis but render upright. */
[dir="rtl"] em {
  font-style: normal;
  font-weight: 400;
}
[dir="rtl"] .hero__title em,
[dir="rtl"] .display-h2 em,
[dir="rtl"] .cta__title em {
  font-style: normal;
}
/* RTL: Fraunces lacks Arabic/Hebrew; lean on system fonts. */
[dir="rtl"] {
  font-feature-settings: normal;
}

/* Subtle paper grain — purely decorative */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.05 0 0 0 0 0.06 0 0 0 0 0.05 0 0 0 0.07 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 350;
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--ink);
  text-wrap: balance;
}
h1 em, h2 em {
  font-style: italic;
  font-weight: 350;
  color: var(--sage-deep);
  font-feature-settings: 'ss01';
}

p { text-wrap: pretty; }
strong, b { font-weight: 600; color: var(--ink); }

a:not([class]) {
  color: var(--sage-deep);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: color var(--t-fast) var(--ease-out);
}
a:not([class]):hover { color: var(--copper); }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}
.section + .section { border-top: 1px solid var(--rule); }

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  inset-block-start: 1rem;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.875rem;
  border-radius: var(--radius);
  transform: translateY(-200%);
  transition: transform var(--t-fast) var(--ease-out);
  z-index: 100;
}
.skip-link:focus { transform: translateY(0); }

.section__head {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}
.section__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--copper);
  letter-spacing: 0.02em;
}
.section__label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Display headings ---------- */
.display-h2 {
  font-size: clamp(1.85rem, 4.6vw, 3.4rem);
  font-weight: 350;
  letter-spacing: -0.015em;
  line-height: 1.05;
  max-width: 24ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.55rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    background-color var(--t-fast) var(--ease-out),
    color var(--t-fast) var(--ease-out),
    border-color var(--t-fast) var(--ease-out),
    transform var(--t-fast) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}
.btn__arrow {
  display: inline-block;
  transition: transform var(--t-fast) var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--sage-deep);
  color: var(--cream);
  border-color: var(--sage-deep);
}
.btn--primary:hover {
  background: var(--ink);
  border-color: var(--ink);
}

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

.btn--outline {
  color: var(--sage-deep);
  border-color: var(--sage);
  background: transparent;
}
.btn--outline:hover {
  background: var(--sage-deep);
  color: var(--cream);
  border-color: var(--sage-deep);
}

/* =========================================================
   SITE HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--paper), transparent 8%);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.site-header.is-scrolled {
  border-bottom-color: var(--rule);
  background: color-mix(in oklab, var(--paper), transparent 2%);
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding-block: 1.1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--sage-deep);
  flex-shrink: 0;
}
.brand__mark svg { width: 100%; height: 100%; }
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand__name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.brand__tag {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 2px;
}

.nav { justify-self: center; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav__list a {
  display: inline-block;
  padding: 0.55rem 0.8rem;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink-soft);
  border-radius: 999px;
  position: relative;
  transition: color var(--t-fast);
}
.nav__list a::before {
  content: '';
  position: absolute;
  inset-inline: 0.8rem;
  inset-block-end: 0.3rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease-out);
}
.nav__list a:hover { color: var(--ink); }
.nav__list a:hover::before { transform: scaleX(1); }
.nav__list a.is-active {
  color: var(--sage-deep);
}
.nav__list a.is-active::before { transform: scaleX(1); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--t-fast), opacity var(--t-fast);
}

.phone-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  transition: all var(--t-fast) var(--ease-out);
  text-align: end;
}
.phone-cta__label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.phone-cta__number {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.phone-cta:hover {
  background: var(--ink);
  border-color: var(--ink);
}
.phone-cta:hover .phone-cta__label { color: var(--copper-soft); }
.phone-cta:hover .phone-cta__number { color: var(--cream); }

/* =========================================================
   LANGUAGE SWITCHER
   Globe-icon dropdown — pairs with .phone-cta in .header__end
   ========================================================= */
.header__end {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  justify-self: end;
}

.lang {
  position: relative;
}

.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem 0.55rem 0.75rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out);
  white-space: nowrap;
}
.lang__btn:hover,
.lang.is-open .lang__btn {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.lang__icon {
  flex-shrink: 0;
  transition: color var(--t-fast);
}
.lang__current {
  font-variant-numeric: tabular-nums;
}
.lang__caret {
  transition: transform var(--t-fast) var(--ease-out);
  margin-left: 0.05rem;
}
.lang.is-open .lang__caret { transform: rotate(180deg); }

.lang__menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  inset-inline-end: 0;
  min-width: 12.5rem;
  margin: 0;
  padding: 0.4rem;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow:
    0 1px 2px rgba(26, 37, 32, 0.06),
    0 18px 40px -12px rgba(26, 37, 32, 0.22);
  list-style: none;
  z-index: 60;
  animation: lang-menu-in 180ms var(--ease-out);
  transform-origin: top right;
}
@keyframes lang-menu-in {
  from { opacity: 0; transform: translateY(-4px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.lang__menu li {
  display: grid;
  grid-template-columns: 1.6rem 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: background var(--t-fast), color var(--t-fast);
}
.lang__menu li:hover,
.lang__menu li:focus-visible {
  background: var(--paper-deep);
  color: var(--ink);
}
.lang__menu li.is-current {
  color: var(--sage-deep);
}
.lang__menu li.is-current:hover { background: var(--sage-light); }

.lang__code {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--copper);
  letter-spacing: 0.02em;
}
.lang__menu li.is-current .lang__code { color: var(--sage-deep); }
.lang__name {
  font-weight: 500;
}
.lang__check {
  font-size: 0.95rem;
  color: var(--sage-deep);
  opacity: 0;
  transition: opacity var(--t-fast);
}
.lang__menu li.is-current .lang__check { opacity: 1; }

/* Hide native disclosure arrow on details>summary inside footer */
.impressum__note {
  font-size: 0.85rem;
  color: var(--copper-soft);
  font-style: italic;
  padding: 0.5rem 0.75rem;
  border-left: 2px solid var(--copper-soft);
  background: color-mix(in oklab, var(--copper) 15%, transparent);
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding-block: clamp(5rem, 10vw, 9rem) clamp(8rem, 14vw, 12rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

/* Atmospheric mesh — five overlapping radial gradients in sage, cream
   and copper form a soft colour bath. Slow drift adds life without
   competing with the typography. */
.hero__mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: drift 28s var(--ease-in-out) infinite alternate;
}
@keyframes drift {
  0%   { transform: scale(1); }
  100% { transform: scale(1.04); }
}

/* Subtle bottom paper-vignette so the section transition into Praxis
   doesn't feel abrupt. */
.hero__noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(140% 70% at 50% 105%, color-mix(in oklab, var(--paper) 65%, transparent) 0%, transparent 65%);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  max-width: 64rem;
  position: relative;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  padding: 0.4rem 0.85rem;
  background: color-mix(in oklab, var(--sage-light) 60%, transparent);
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--sage) 25%, transparent);
}
.hero__eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--copper) 25%, transparent);
}

.hero__title {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(2.85rem, 9vw, 7rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variation-settings: 'opsz' 144;
}
.hero__title .line {
  display: block;
}
.hero__title .line:has(em) {
  padding-inline-start: clamp(2rem, 8vw, 7rem);
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--sage-deep);
}

.hero__lede {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 42ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-block: 0.75rem 1rem;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
  border-top: 1px solid var(--rule);
  width: 100%;
  max-width: 48rem;
}
.hero__meta dt {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.4rem;
}
.hero__meta dd {
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--ink);
}
.hero__meta a {
  color: inherit;
  border-bottom: 1px solid currentColor;
}
.hero__meta a:hover { color: var(--copper); }

.hero__scroll {
  position: absolute;
  bottom: clamp(1rem, 3vw, 2.25rem);
  inset-inline-end: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--ink-muted));
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--copper);
  animation: scroll-pulse 2.4s var(--ease-in-out) infinite;
}
@keyframes scroll-pulse {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(110%); }
}

/* =========================================================
   PRAXIS / PHILOSOPHY
   ========================================================= */
.section--praxis { background: var(--paper); }
.praxis__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem) clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.praxis__grid .display-h2 {
  grid-column: 1 / 2;
}
.praxis__body {
  grid-column: 2 / 3;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 36rem;
}
.praxis__pillars {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--rule);
}
.praxis__pillars li {
  position: relative;
  padding-left: 0;
}
.pillar__num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--copper);
  margin-bottom: 0.5rem;
}
.praxis__pillars h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.praxis__pillars p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

.lead {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  font-weight: 300;
  color: var(--ink-soft);
}

/* =========================================================
   TEAM
   ========================================================= */
.section--team { background: var(--paper-deep); }
.section--team .display-h2 {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 22ch;
}
.team__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
}
.bio {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
/* Share row tracks across both columns so the section headings
   (Tätigkeit / Ausbildung) sit at the same height in each bio. */
@supports (grid-template-rows: subgrid) {
  .team__grid { row-gap: 0; }
  .bio {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 7;
    row-gap: 0;
  }
  .bio__portrait { margin-bottom: 1.5rem; }
  .bio__body {
    grid-row: 2 / span 6;
    display: grid;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
}
.bio__portrait {
  width: clamp(140px, 22vw, 200px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(26,37,32,0.06),
    0 12px 32px -10px rgba(26,37,32,0.18);
}
.bio__portrait svg { width: 100%; height: 100%; }

.bio__name {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}
.bio__role {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--copper);
  font-weight: 500;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}
.bio__heading {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-block: 1.25rem 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--rule);
}
.bio__list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.bio__list li {
  display: flex;
  gap: 0.85rem;
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--ink-soft);
  padding-left: 0;
}
.bio__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage-mid);
  margin-top: 0.55rem;
  flex-shrink: 0;
}
.bio__list .year {
  display: inline-block;
  min-width: 3.2rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--copper);
  margin-right: 0.25rem;
}
.bio:nth-child(2) .bio__list li::before { background: var(--copper-soft); }

.team__footnote {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--ink-soft);
  text-align: center;
}
.team__footnote span {
  color: var(--copper);
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

/* =========================================================
   THERAPY SECTIONS — KINDER / ERWACHSENE
   ========================================================= */
.section--therapy { background: var(--paper); }
.section--erwachsene { background: var(--paper-deep); }

.therapy__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  align-items: end;
}
.therapy__intro .display-h2 { max-width: 18ch; }
.therapy__intro .lead { max-width: 38rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.card {
  position: relative;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: transparent;
  transition: background var(--t-med) var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.card:hover {
  background: var(--cream);
}
.card--wide { grid-column: span 2; }
@media (max-width: 720px) {
  .card--wide { grid-column: span 1; }
}

.card__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--copper);
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}
.card__title {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 0.4rem;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}
.card__text {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--ink-soft);
  flex-grow: 1;
}
.card__sublist {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.card__sublist li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.card__sublist li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--copper);
}
.card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-top: 0.6rem;
}
.card__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--sage-deep);
  letter-spacing: 0.005em;
  transition: color var(--t-fast);
}
.card__links a:hover { color: var(--copper); }

.therapy__further {
  margin-top: clamp(1.5rem, 3vw, 2rem);
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-style: italic;
}
.therapy__further a { color: var(--sage-deep); border-bottom: 1px solid currentColor; }
.therapy__further a:hover { color: var(--copper); }

/* =========================================================
   ANFAHRT
   ========================================================= */
.section--anfahrt { background: var(--paper); }
.anfahrt__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1.4fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.anfahrt__copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 6rem;
}
.anfahrt__address {
  font-family: var(--serif);
  font-style: normal;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink);
  padding-block: 1rem;
  border-block: 1px solid var(--rule);
}
.anfahrt__address strong {
  display: block;
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.anfahrt__contact {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.anfahrt__contact li {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 0.5rem;
  font-size: 1rem;
  color: var(--ink);
}
.contact-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  align-self: center;
}
.anfahrt__contact a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink-muted);
  transition: color var(--t-fast);
}
.anfahrt__contact a:hover { color: var(--copper); border-bottom-color: var(--copper); }
.anfahrt__copy .btn { align-self: start; margin-top: 0.5rem; }

.anfahrt__map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-deep);
  box-shadow:
    0 1px 3px rgba(26,37,32,0.07),
    0 24px 60px -20px rgba(26,37,32,0.22);
}
.anfahrt__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.88) contrast(0.96);
}

/* =========================================================
   ANFRAGE / Erstgespräch form
   ========================================================= */
.section--anfrage {
  background: var(--paper-deep);
  position: relative;
}

.anfrage__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1.6fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.anfrage__intro {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 6rem;
}
.anfrage__intro .display-h2 { max-width: 14ch; }
.anfrage__alt {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink-soft);
}
.anfrage__alt a {
  color: var(--ink);
  font-weight: 400;
  border-bottom: 1px solid var(--ink-muted);
  margin-inline-start: 0.4rem;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.anfrage__alt a:hover { color: var(--copper); border-bottom-color: var(--copper); }

.anfrage__form {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  max-width: 44rem;
}

/* Field groups & legends */
.form-group {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.form-group legend {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 0;
  margin-bottom: 0.4rem;
}

/* Pill-style radio selectors */
.form-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.form-pills--column { flex-direction: column; align-items: stretch; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--cream);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-out);
  user-select: none;
}
.pill input {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  background: var(--cream);
  flex-shrink: 0;
  position: relative;
  transition: all var(--t-fast);
}
.pill:hover {
  border-color: var(--sage);
  color: var(--ink);
}
.pill:has(input:checked) {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  color: var(--cream);
}
.pill:has(input:checked) input {
  background: var(--cream);
  border-color: var(--cream);
}
.pill:has(input:checked) input::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--sage-deep);
}
.pill:focus-within {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

/* Text fields (underline-only, editorial) */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1.25rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field--wide { grid-column: 1 / -1; }
.field__label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
}
.field__optional {
  font-size: 0.7rem;
  color: var(--ink-muted);
  font-style: italic;
  letter-spacing: 0;
}
.field input,
.field textarea {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-strong);
  padding: 0.5rem 0;
  width: 100%;
  transition: border-color var(--t-fast);
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-muted);
  font-style: italic;
}
.field input:hover,
.field textarea:hover { border-bottom-color: var(--ink-muted); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--sage-deep);
  border-bottom-width: 2px;
  margin-bottom: -1px;
}
.field input:user-invalid,
.field textarea:user-invalid {
  border-bottom-color: var(--copper);
}
.field textarea {
  font-size: 1rem;
  line-height: 1.5;
  min-height: 6rem;
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

/* DSGVO consent checkbox */
.form-consent {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.7rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.form-consent input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  background: var(--cream);
  cursor: pointer;
  position: relative;
  transition: all var(--t-fast);
}
.form-consent input:checked {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
}
.form-consent input:checked::after {
  content: '';
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid var(--cream);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-consent:focus-within input {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

/* Actions */
.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.form-required {
  font-size: 0.82rem;
  color: var(--ink-muted);
  font-style: italic;
}
.anfrage__form .btn--primary[disabled],
.anfrage__form .btn--primary.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Success / error states */
.form-state {
  margin-top: 0.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--rule);
  font-size: 1rem;
  line-height: 1.55;
}
.form-state__title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--sage-deep);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.form-state--success {
  background: color-mix(in oklab, var(--sage-light) 60%, var(--cream));
  border-color: var(--sage-light);
}
.form-state--error {
  background: color-mix(in oklab, var(--copper-glow) 35%, var(--cream));
  border-color: var(--copper-soft);
  color: var(--copper-deep);
}
.form-state--error a { color: inherit; border-bottom: 1px solid currentColor; }

/* Responsive */
@media (max-width: 760px) {
  .anfrage__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .anfrage__intro { position: static; }
  .form-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .form-pills:not(.form-pills--column) { flex-direction: column; align-items: stretch; }
  .pill { justify-content: flex-start; }
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
  background: var(--sage-deep);
  color: var(--cream);
  padding-block: clamp(4.5rem, 8vw, 7rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta::before, .cta::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}
.cta::before {
  width: 60vmin;
  height: 60vmin;
  background: radial-gradient(circle, color-mix(in oklab, var(--sage-glow) 50%, transparent), transparent 70%);
  top: -30vmin;
  left: -10vmin;
}
.cta::after {
  width: 50vmin;
  height: 50vmin;
  background: radial-gradient(circle, color-mix(in oklab, var(--copper) 28%, transparent), transparent 70%);
  bottom: -25vmin;
  right: -10vmin;
}
.cta__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.cta__eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper-soft);
}
.cta__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 350;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--cream);
  max-width: 18ch;
}
.cta__title em {
  font-style: italic;
  color: var(--copper-soft);
  font-weight: 300;
}
.cta__sub {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 300;
  color: color-mix(in oklab, var(--cream) 80%, transparent);
  max-width: 36ch;
}
.cta__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1rem;
  padding: 1.1rem 2rem;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  background: var(--cream);
  color: var(--ink);
  border-radius: 999px;
  transition: transform var(--t-fast) var(--ease-out), background var(--t-fast);
}
.cta__phone:hover {
  background: var(--copper);
  color: var(--cream);
  transform: translateY(-2px);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: color-mix(in oklab, var(--cream) 75%, transparent);
  padding-block: clamp(3.5rem, 6vw, 5rem) 2rem;
  font-size: 0.95rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid color-mix(in oklab, var(--cream) 12%, transparent);
}
.site-footer .brand__mark {
  color: var(--copper-soft);
  width: 32px;
  height: 32px;
  margin-bottom: 1rem;
}
.footer__title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.footer__addr {
  line-height: 1.6;
  margin-bottom: 0.6rem;
}
.site-footer a {
  color: var(--cream);
  border-bottom: 1px solid color-mix(in oklab, var(--cream) 30%, transparent);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.site-footer a:hover {
  color: var(--copper-soft);
  border-bottom-color: var(--copper-soft);
}
.footer__nav h2, .footer__legal h2 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper-soft);
  margin-bottom: 1.1rem;
}
.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer__nav a { border-bottom: 0; }
.footer__nav a:hover { color: var(--copper-soft); }

.impressum {
  font-size: 0.92rem;
  line-height: 1.55;
}
.impressum summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--cream);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid color-mix(in oklab, var(--cream) 30%, transparent);
  transition: color var(--t-fast);
}
.impressum summary::-webkit-details-marker { display: none; }
.impressum summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 300;
  transition: transform var(--t-fast);
}
.impressum[open] summary::after { transform: rotate(45deg); }
.impressum summary:hover { color: var(--copper-soft); }

.impressum__body {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 24rem;
  overflow-y: auto;
  padding-right: 0.5rem;
}
.impressum__body h3 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-soft);
  margin-top: 0.5rem;
}
.impressum__body p {
  font-size: 0.86rem;
  line-height: 1.55;
  color: color-mix(in oklab, var(--cream) 70%, transparent);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  font-size: 0.82rem;
  color: color-mix(in oklab, var(--cream) 50%, transparent);
}
.footer__credit {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
}

/* =========================================================
   REVEAL ANIMATIONS
   Progressive enhancement — content visible by default,
   only hidden once JS opts in (.js class on <html>).
   ========================================================= */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
.js [data-reveal-delay="1"].is-visible { transition-delay: 80ms; }
.js [data-reveal-delay="2"].is-visible { transition-delay: 160ms; }
.js [data-reveal-delay="3"].is-visible { transition-delay: 240ms; }
.js [data-reveal-delay="4"].is-visible { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1300px) {
  .header__inner {
    grid-template-columns: auto auto;
    gap: 1rem;
  }
  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
  }
  .nav__list {
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
  }
  .nav__list::-webkit-scrollbar { display: none; }
}

@media (max-width: 760px) {
  .nav__toggle { display: flex; justify-self: end; }
  .nav__list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    border-block: 1px solid var(--rule);
    padding: 1.5rem var(--gutter);
    gap: 0;
    box-shadow: 0 24px 32px -16px rgba(26,37,32,0.12);
  }
  .nav__list.is-open {
    display: flex;
  }
  .nav__list li { width: 100%; border-bottom: 1px solid var(--rule); }
  .nav__list li:last-child { border-bottom: 0; }
  .nav__list a {
    display: block;
    padding: 1rem 0;
    font-size: 1.05rem;
  }
  .nav__list a::before { display: none; }
  .nav { position: static; justify-self: end; }

  .nav__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .phone-cta__label { display: none; }
  .phone-cta {
    padding: 0.5rem 0.9rem;
  }
  .phone-cta__number { font-size: 0.92rem; }

  .header__end { gap: 0.4rem; }
  .lang__btn {
    padding: 0.5rem 0.65rem 0.5rem 0.6rem;
    font-size: 0.78rem;
  }
  .lang__caret { display: none; }
}

@media (max-width: 720px) {
  .hero__meta { grid-template-columns: 1fr 1fr; }
  .hero__meta > div:last-child { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid var(--rule); }
  .hero__title .line:has(em) { padding-left: 1.5rem; }
  .hero__scroll { display: none; }

  .praxis__grid { grid-template-columns: 1fr; }
  .praxis__grid .display-h2,
  .praxis__body { grid-column: 1; }
  .praxis__pillars { grid-template-columns: 1fr; gap: 1.5rem; }

  .team__grid { grid-template-columns: 1fr; gap: 3rem; }
  /* Single column: no cross-column alignment needed, back to plain stacking */
  .bio { display: flex; grid-row: auto; }
  .bio__body { display: block; grid-row: auto; }
  .bio__portrait { width: 140px; margin-bottom: 0; }

  .therapy__intro { grid-template-columns: 1fr; }

  .anfahrt__grid { grid-template-columns: 1fr; }
  .anfahrt__copy { position: static; }

  .footer__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* Narrow phones: brand + burger share the top row and the language +
   phone controls drop to a second row, right-aligned — otherwise the long
   practice name and the phone number overflow the viewport to the right. */
@media (max-width: 560px) {
  .header__inner { row-gap: 0.65rem; }
  .nav { grid-column: 2; grid-row: 1; justify-self: end; }
  .header__end { grid-column: 1 / -1; grid-row: 2; justify-self: end; }
}

/* =========================================================
   PRINT
   ========================================================= */
@media print {
  body::before { display: none; }
  .site-header, .nav__toggle, .hero__bg, .hero__scroll, .cta, .nav, .phone-cta { display: none !important; }
  .hero { padding-block: 1rem; }
  .hero__title { font-size: 2.2rem; }
  .section { padding-block: 1.5rem; page-break-inside: avoid; }
  body { background: white; color: black; }
  a { color: black; }
  .anfahrt__map { display: none; }
}
