/* ==========================================================================
   Fonts: self-hosted in /fonts/. No external font, script or form service
   is loaded. Files from @fontsource/inter 5.3.0 and
   @fontsource/source-serif-4 5.3.1 (latin + latin-ext subsets, with
   fontsource's unicode ranges). The latin subsets have no "→", so
   inter-arrows-*.woff2 adds U+2190-2199 cut from Inter 4.1 (same weights),
   which keeps every arrow link in Inter instead of a system fallback.
   Only the weights this stylesheet uses: Inter 400/500/600/700,
   Source Serif 4 600/700 and 500 italic (.subtitle).
   ========================================================================== */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/inter-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/inter-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/inter-arrows-400-normal.woff2') format('woff2');
  unicode-range: U+2190-2199;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/fonts/inter-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/fonts/inter-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/fonts/inter-arrows-500-normal.woff2') format('woff2');
  unicode-range: U+2190-2199;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/inter-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/inter-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/inter-arrows-600-normal.woff2') format('woff2');
  unicode-range: U+2190-2199;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/inter-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/inter-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/inter-arrows-700-normal.woff2') format('woff2');
  unicode-range: U+2190-2199;
}
@font-face {
  font-family: 'Source Serif 4'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/source-serif-4-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/source-serif-4-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/source-serif-4-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/source-serif-4-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4'; font-style: italic; font-weight: 500; font-display: swap;
  src: url('/fonts/source-serif-4-latin-500-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4'; font-style: italic; font-weight: 500; font-display: swap;
  src: url('/fonts/source-serif-4-latin-ext-500-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ==========================================================================
   Integra Praxis Berlin: design system
   Petrol & Bronze · Source Serif 4 (headings) / Inter (body and UI)

   Started from the YLP stylesheet (tokens, reset, type scale, layout,
   buttons, links, lists, footer), per the build brief section 4. The YLP
   header and mobile menu were NOT copied; they are rebuilt below from the
   brief's section 6 specification.

   TYPE SCALE: every text element on every page uses one of the role
   classes in the "Type scale" section. Need a new text style? Add a role
   class there, never a page-specific font rule.
   ========================================================================== */

:root {
  /* Brand tokens (brief section 4) */
  --petrol: #153B3B;
  --bronze: #A9713D;
  --charcoal: #2B2B2B;
  --grey: #6B6B6B;
  --cream: #EDEAE1;
  --white: #FFFFFF;

  /* Supporting tokens carried over unchanged from the YLP stylesheet */
  --petrol-dark: #0E2A2A;   /* .btn hover */
  --line: #E4E0D6;          /* header and menu row dividers */
  --footer-muted: #B9C4C0;  /* footer meta text and social icons (brief section 5) */
  --footer-rule: #2B5252;   /* footer bottom divider */

  --font-display: 'Source Serif 4', serif;
  --font-body: 'Inter', sans-serif;

  --max-width: 1140px;
  --gutter: 1.5rem;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6.5rem;

  /* Header geometry. The header has an explicit height (never auto), so the
     logo row can never be clipped by a sticky element sizing itself from
     its content. The mobile menu panel's top row reuses the same values so
     it lines up exactly with the header.
     The logo is Integra-wordmark-trimmed.png: the supplied wordmark with
     its transparent margin cropped off (visible mark is 62% of the
     original image's height), so the visible logo's left edge lines up
     with the page text. --logo-height is the visible mark's height. */
  --logo-height: clamp(30px, 3.7px + 3.85vw, 50px);
  --header-height: calc(clamp(48px, 6px + 6.2vw, 80px) + 1.2rem + 1px);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  font-size: 1.0625rem; /* 17px */
  -webkit-font-smoothing: antialiased;
}

/* Focus state on every link, button and form field (brief section 8) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--petrol);
  outline-offset: 2px;
}

/* ==========================================================================
   Type scale
   ========================================================================== */

/* h1 to h4 carry only shared defaults, deliberately no font-size: a bare
   heading without a role class is a missing class, not a fallback size. */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--petrol);
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}

p { max-width: 62ch; }
p + p { margin-top: 1em; }

/* Left-aligned always, never centred or justified */
h1, h2, h3, h4, p, li { text-align: left; }

/* Hero heading: homepage h1 only. 36 to 48px. */
.hero-heading {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--petrol);
  line-height: 1.15;
  font-size: clamp(2.25rem, 1rem + 4vw, 3rem);
}

/* Page title: every other page's h1. 30 to 40px. */
.page-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--petrol);
  line-height: 1.2;
  font-size: clamp(1.875rem, 2.2vw + 1.2rem, 2.5rem);
}

/* Section subheading: h2 within a page. 22 to 28px, never overlaps .page-title. */
.section-subheading {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--petrol);
  line-height: 1.25;
  font-size: clamp(1.375rem, 1.4vw + 1rem, 1.75rem);
}

/* Subtitle / deck line under a page title. 20px. */
.subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--charcoal);
}

/* Reading copy. 18px. */
.lede {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--charcoal);
}

/* Header navigation link (desktop). 15.2px. */
.nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
}

/* Mobile menu link. 20px (brief section 6). */
.menu-link {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--charcoal);
}

/* Footer column heading. 15px. */
.footer-heading {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
}

/* Footer column link, including "Your Lifestyle Physician →". 17px. */
.footer-link {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--cream);
}

/* Footer bottom bar: legal links and the copyright line. 15px. */
.footer-meta {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--footer-muted);
}

/* Body text: the plain 17px paragraph style (booking sentence, checkbox
   labels). Same values as body. */
.body-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--charcoal);
}

/* Note or hint text (form hints and any other small note). Same size and
   line height as body text, Charcoal, never grey. A leading "Hinweis:" or
   "NB:" goes in .note__label: bold Petrol. Not the Petrol notice banners. */
.note {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--charcoal);
}
.note__label {
  font-weight: 700;
  color: var(--petrol);
}

/* Link inside running text: takes its size from the paragraph's role class. */
.inline-link {
  color: var(--petrol);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.inline-link:hover {
  text-decoration-thickness: 2px;
}

/* Standalone arrow link: a link on its own line ending in "→". Text and
   arrow are separate spans (.arrow-link__text, .arrow-link__arrow);
   behaviour is in "Buttons and links" below. */
.arrow-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--petrol);
}

/* Text in a Petrol notice banner (.notice). White bold. */
.notice__text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--white);
}

/* Link inside a Petrol notice banner (email addresses): white, underlined,
   same weight as the banner text. */
.notice__link {
  color: var(--white);
  font-weight: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.notice__link:hover {
  text-decoration-thickness: 2px;
}
.notice__link:focus-visible {
  outline-color: var(--white);
}

/* Lead-in line before a list ("Häufige Beschwerden:", "Im Termin:") and
   the "Leistungen: …" summary lines on Für Zuweisende. Body size, semibold. */
.list-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--charcoal);
}

/* Name on a team card. 20px. */
.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--petrol);
}

/* Form field label. */
.form-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--charcoal);
}

/* Text typed into form fields. */
.form-control {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--charcoal);
}

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

.section {
  padding-block: var(--space-xl);
}

.section--cream {
  background: var(--cream);
}

.section--petrol {
  background: var(--petrol);
  color: var(--white);
}
.section--petrol h1,
.section--petrol h2,
.section--petrol h3 { color: var(--white); }

/* Content blocks within a page's single white section: each block is a
   heading with its content; blocks are separated by spacing only. Inside a
   block, .flow spaces consecutive elements evenly. */
.block + .block {
  margin-top: var(--space-lg);
}
.flow > * + * {
  margin-top: var(--space-sm);
}
.flow > .list-label + .dash-list,
.flow > .list-label + .number-list {
  margin-top: var(--space-xs);
}

/* Banners directly below the header (Home): full width, text on the
   content grid. */
.notice.notice--band {
  margin-top: 0;
  padding: 0.75rem 0;
}

/* Light full-width divider in page content: same 1px --line colour as the
   header and menu row dividers. */
.rule-light {
  border: none;
  border-top: 1px solid var(--line);
  margin: var(--space-lg) 0;
}

.divider {
  border: none;
  border-top: 1px solid var(--bronze);
  width: 4rem;
  margin: var(--space-sm) 0 var(--space-md);
}

/* ==========================================================================
   Buttons and links
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border: 1px solid var(--petrol);
  border-radius: 2px;
  background: var(--petrol);
  color: var(--white);
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover, .btn:focus-visible { background: var(--petrol-dark); }

.btn--outline {
  background: transparent;
  color: var(--petrol);
}
.btn--outline:hover, .btn--outline:focus-visible { background: var(--petrol); color: var(--white); }

.btn--on-petrol {
  background: var(--white);
  color: var(--petrol);
  border-color: var(--white);
}
.btn--on-petrol:hover, .btn--on-petrol:focus-visible { background: var(--cream); }

/* Small button (header). 15px minimum text, 44px minimum tap height. */
.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.9375rem;
  min-height: 44px;
}

/* Booking button: body size, regular weight. Comes after .btn--sm so it
   also sets the header button's size. */
.btn--booking {
  font-size: 1.0625rem;
  font-weight: 400;
}

/* Inactive button until online booking opens (href="#" aria-disabled="true";
   js/main.js stops navigation): greyed out. Cream background, Grey text and
   border, default cursor, no colour change on hover or focus (the focus
   outline stays for keyboard users). */
.btn[aria-disabled="true"],
.btn[aria-disabled="true"]:hover,
.btn[aria-disabled="true"]:focus-visible {
  background: var(--cream);
  color: var(--grey);
  border-color: var(--grey);
  cursor: default;
}

/* Booking block in page content: one .body-text sentence directly above
   the button. Only two text styles in the block: its heading and body. */
.booking-block__note {
  margin-bottom: var(--space-sm);
}

/* Standalone arrow link (type role .arrow-link above). No underline or
   border at rest. On hover and keyboard focus the arrow moves 4px right and
   a 1px Petrol underline appears under the text only. No bronze line. */
.arrow-link {
  display: inline-block;
  text-decoration: none;
}
/* Two arrow links on one line (404 page): space between them. */
.arrow-link + .arrow-link {
  margin-left: var(--space-md);
}
.arrow-link__arrow {
  display: inline-block;
  margin-left: 0.35em;
  transition: transform 150ms ease;
}
.arrow-link:hover .arrow-link__arrow,
.arrow-link:focus-visible .arrow-link__arrow {
  transform: translateX(4px);
}
.arrow-link:hover .arrow-link__text,
.arrow-link:focus-visible .arrow-link__text {
  text-decoration: underline;
  text-decoration-color: var(--petrol);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.arrow-link:focus-visible {
  outline: 2px solid var(--petrol);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .arrow-link__arrow { transition: none; }
}

/* Petrol notice banner: Petrol background, white bold text (.notice__text).
   One reusable class (brief section 5). */
.notice {
  background: var(--petrol);
  padding: var(--space-sm) var(--gutter);
  margin-top: var(--space-md);
}
.notice + .arrow-link-row {
  margin-top: var(--space-md);
}

/* ==========================================================================
   Header (rebuilt for Integra, brief sections 5 and 6)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header__row {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: nowrap;
}

/* The link fills the header's height, so its tap target is the full row. */
.site-logo {
  display: flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
}
.site-logo img {
  height: var(--logo-height);
  width: auto;
  aspect-ratio: 1843 / 497;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav__list {
  display: flex;
  gap: 1.25rem;
}

.site-nav .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.site-nav .btn {
  white-space: nowrap;
}
.site-nav .nav-link:hover,
.site-nav .nav-link:focus-visible,
.site-nav .nav-link[aria-current="page"] {
  color: var(--petrol);
  border-bottom-color: var(--bronze);
}

/* DE/EN switch: the active language is Petrol and bold, the other is a
   plain link. Each code is its own 44 x 44px tap target. */
.lang-switch {
  display: flex;
  align-items: center;
}
.lang-switch__sep {
  color: var(--grey);
}
.lang-switch .nav-link,
.lang-switch .menu-link {
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}
.lang-switch [aria-current="true"] {
  color: var(--petrol);
  font-weight: 700;
}

/* Mobile header group (768px and below): DE/EN switch next to the menu
   button, so the language can be changed without opening the menu. Same
   classes, font, colour and focus state as the desktop switch; each code
   keeps its 44 x 44px tap target. Hidden above 768px, where the switch sits
   in .site-nav. While the full-screen menu is open it covers the header, so
   only the menu's own switch is visible then. */
.site-header__mobile {
  display: none;
  align-items: center;
  flex-shrink: 0;
}
.site-header__mobile .nav-link {
  display: inline-flex;
  align-items: center;
}

/* Menu button: three Petrol bars, 44 x 44px. Hidden above 768px. */
.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  flex-shrink: 0;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--petrol);
}

/* ==========================================================================
   Mobile menu panel (brief section 6)
   A sibling of the header, not inside it. Full-screen, white. Closed state
   uses the hidden attribute (display: none), so its links can never take
   keyboard focus. No measured positions: it covers the whole viewport.
   Its top row repeats the header layout (logo left, X right) so the logo
   stays visible while the menu is open.
   ========================================================================== */
.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--white);
  overflow-y: auto;
}
.menu-panel[hidden] {
  display: none;
}

.menu-panel__top {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  border-bottom: 1px solid var(--line);
}
.menu-panel__logo {
  height: var(--logo-height);
  width: auto;
  aspect-ratio: 1843 / 497;
  flex-shrink: 0;
}

.menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  color: var(--petrol);
  flex-shrink: 0;
}
.menu-close svg {
  width: 24px;
  height: 24px;
}

.menu-panel__body {
  padding-block: var(--space-xs) var(--space-md);
}

.menu-panel__list .menu-link {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
}
.menu-panel__list .menu-link[aria-current="page"] {
  color: var(--petrol);
  font-weight: 700;
}

.menu-panel .lang-switch {
  min-height: 56px;
  border-bottom: 1px solid var(--line);
}
.menu-panel .lang-switch .menu-link {
  display: inline-flex;
  align-items: center;
}
.menu-panel .lang-switch .menu-link:first-child {
  justify-content: flex-start;
}

.menu-panel .btn {
  margin-top: var(--space-md);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--petrol);
  color: var(--cream);
  padding-block: var(--space-lg) var(--space-md);
}

.site-footer a:focus-visible {
  outline-color: var(--white);
}

/* Three equal columns across the full content width (Praxis, Kontakt,
   Lebensstilmedizin); stacked in that order at 768px and below. */
.site-footer__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.site-footer .footer-heading {
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Footer links: no underline at rest, underline on hover and focus. */
.site-footer .footer-link,
.site-footer .footer-meta a {
  text-decoration: none;
}
.site-footer .footer-link:hover,
.site-footer .footer-link:focus-visible,
.site-footer .footer-meta a:hover,
.site-footer .footer-meta a:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

/* Social icons: final YLP markup and CSS. Scoped under .site-footer to
   outrank the footer link rules; text-decoration: none on hover is
   deliberate (an underline under a block SVG rendered as a stray dash). */
.footer-social {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.site-footer .footer-social__link {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--footer-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.site-footer .footer-social__link:hover,
.site-footer .footer-social__link:focus-visible {
  color: var(--white);
  text-decoration: none;
}
.footer-social__link svg {
  display: block;
  width: 30px;
  height: 30px;
}

/* Bottom bar: inside .container, so it has the same left edge and width
   as the columns. Thin divider above.
   Separators: CSS only, as a "·" before every item. The list is pulled left
   by one separator width and its clip box ends 6px left of the text edge,
   so the separator of whichever item starts a line (first item, or any item
   that wraps) sits in the clipped area. A separator can therefore never
   show at the start of a line, and never at the end (none come after an
   item). The 6px leaves room for the 2px focus outline (offset 2px). */
.footer-bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--footer-rule);
}
.footer-bottom__clip {
  margin-left: -6px;
  padding-left: 6px;
  overflow: hidden;
}
.footer-bottom__list {
  --sep: 1.25em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  row-gap: 0.25rem;
  margin-left: calc(-1 * var(--sep));
}
.footer-bottom__list > li::before {
  content: "·" / "";
  display: inline-block;
  width: var(--sep);
  text-align: center;
}

/* ==========================================================================
   Lists
   One shared dash for every list at every width: whole pixels only (no
   rem, em, % or calc), 1px high, Bronze. The li line height is fixed at
   18px x 1.6 = 28.8px, so top: 14px centres the dash on the first line.
   ========================================================================== */
.dash-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: var(--space-sm);
}
.dash-list li {
  position: relative;
  padding-left: 1.5rem;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--charcoal);
}
.dash-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 10px;
  height: 1px;
  background: var(--bronze);
}

/* Nested list (Über mich): indents one level, same dash. */
.dash-list .dash-list {
  margin-top: var(--space-xs);
}

/* Numbered steps (Praxisinformationen): the numbers are part of the text
   as written in the copy, so no marker and no dash. */
.number-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.number-list li {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--charcoal);
}

/* ==========================================================================
   About page
   YLP .about-hero values (text column 1fr, portrait column 400px, gap 1rem,
   object-fit: contain, never cropped or distorted). The portrait's top
   lines up with the "Qualifikationen" heading and its cell stretches to the
   height of the text block (heading + list). The image is absolutely
   positioned inside its cell, so its own height can never stretch the row.
   Portrait cell is white (the photo has a white background).
   ========================================================================== */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 400px;
  grid-template-areas:
    "head photo"
    "list photo";
  grid-template-rows: auto 1fr;
  column-gap: var(--space-sm);
  row-gap: var(--space-sm);
}
.about-hero__head { grid-area: head; }
.about-hero > .dash-list { grid-area: list; margin-top: 0; }
.about-hero .portrait {
  grid-area: photo;
  position: relative;
  margin: 0;
  background: var(--white);
}
.about-hero .portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

/* Team: two cards. Photo placeholder is a neutral cream box with the
   bracketed placeholder text, so it reads as intentional. */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}
/* Team headshot: 4:5 box, max 260px; the image fills it edge to edge. */
.team-card__photo {
  max-width: 260px;
  aspect-ratio: 4 / 5;
}
.team-card__photo + * { margin-top: var(--space-sm); }
.team-card__photo--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card > * + * { margin-top: var(--space-xs); }

/* ==========================================================================
   Legal pages (Impressum, Datenschutz): one bilingual page per URL pair.
   German section, thin divider, English section (id="english").
   The jump target clears the sticky header.
   ========================================================================== */
.legal-top-link + .legal-lang {
  margin-top: var(--space-md);
}
.legal-lang[id] {
  scroll-margin-top: calc(var(--header-height) + var(--space-md));
}
.divider.legal-divider {
  margin-block: var(--space-lg);
}

/* ==========================================================================
   Forms (hidden form pages)
   ========================================================================== */
.form {
  display: grid;
  gap: 1.5rem;
  max-width: 40rem;
  margin-top: var(--space-md);
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-control {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--grey);
  border-radius: 2px;
}
textarea.form-control {
  min-height: 10rem;
  resize: vertical;
}
.form-control:focus-visible {
  border-color: var(--petrol);
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.form-check input {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin: 3px 0 0;
  accent-color: var(--petrol);
}
.form .btn {
  justify-self: start;
}

/* Honeypot: off-screen for people and screen readers, still a real field
   for bots. Not display: none (bots skip those). */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   Utility
   ========================================================================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ==========================================================================
   Responsive: one breakpoint, 768px, sitewide.
   ========================================================================== */
@media (max-width: 768px) {
  .site-nav { display: none; }
  .site-header__mobile { display: flex; }
  .menu-toggle { display: inline-flex; }

  .site-footer__row { grid-template-columns: 1fr; }

  /* © on its own line below the three links */
  .footer-bottom__copyright { flex-basis: 100%; }

  .about-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "photo"
      "list";
    grid-template-rows: auto;
  }
  .about-hero .portrait { max-width: 260px; }
  .about-hero .portrait img {
    position: static;
    height: auto;
  }

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

@media (min-width: 769px) {
  /* Safety net; js/main.js also closes the menu on resize above 768px. */
  .menu-panel { display: none; }
}
