/*
  Wundversorgung mit Birgit
  Design system: warm ivory + deep navy + dusty rose.
  TODO (pre-launch): Google Fonts below is loaded from fonts.googleapis.com (third-party
  request, transmits visitor IP to Google). See README.md "Datenschutz-Checkliste".
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Inter:wght@400;500;600;700&display=swap');

/* ---------------------------------- */
/* Design tokens                       */
/* ---------------------------------- */
:root {
  --color-bg: #fbf7f2;
  --color-bg-alt: #f5eee5;
  --color-surface: #ffffff;
  --color-surface-tint: #fefbf8;

  --color-primary: #26324a;
  --color-primary-dark: #182137;
  --color-primary-light: #4a5978;

  --color-accent: #bd8790;
  --color-accent-dark: #8c5760;
  --color-accent-on-dark: #c99aa2;
  --color-accent-soft: #f2e1df;
  --color-accent-soft-2: #f8eeec;

  --color-text: #2a2926;
  --color-text-muted: #5c5349;
  --color-border: #e7ddd0;
  --color-border-soft: #efe6db;
  --color-error: #9c3b35;

  --font-serif: 'Playfair Display', 'Iowan Old Style', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container-w: 1180px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(38, 50, 74, 0.05);
  --shadow-md: 0 10px 30px -8px rgba(38, 50, 74, 0.16);
  --shadow-lg: 0 24px 60px -16px rgba(38, 50, 74, 0.22);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 180ms;
  --dur-med: 320ms;

  --header-h: 84px;
}

/* Mobile brand lockup is three lines ("Wundversorgung mit Birgit" +
   "DGKP & Wundexpertin"); the old 68px mobile header height left it only
   ~7px of clearance (and negative clearance once the compact scrolled
   state kicked in). 84px — the same height already used on desktop —
   gives it room without needing a new one-off value. */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; padding: 0; }

button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.18;
  color: var(--color-primary);
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  hyphens: auto;
}

h1 { font-size: clamp(2.35rem, 1.85rem + 2.2vw, 3.75rem); font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(1.85rem, 1.55rem + 1.3vw, 2.75rem); text-wrap: balance; }
h3 { font-size: clamp(1.3rem, 1.18rem + 0.5vw, 1.6rem); }
h4 { font-size: 1.125rem; }

p { max-width: 62ch; }
p.lead {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.65;
  color: var(--color-text-muted);
}

.text-muted { color: var(--color-text-muted); }

@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;
    scroll-behavior: auto !important;
  }
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-accent-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: 1rem; }

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

.section { padding: clamp(3.5rem, 6vw, 7rem) 0; }
.section-alt { background: var(--color-bg-alt); }

section[id] { scroll-margin-top: calc(var(--header-h) + 14px); }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--color-accent-dark);
  display: inline-block;
}
.section-head.center .eyebrow::before { display: none; }

.section-head p.lead { margin-top: 0.9rem; }
.section-head.center p.lead { margin-inline: auto; }

/* ---------------------------------- */
/* Buttons                             */
/* ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }

.btn-text {
  min-height: auto;
  padding: 0.4rem 0;
  border-radius: 0;
  color: var(--color-primary);
  gap: 0.4rem;
  border-bottom: 1.5px solid var(--color-border);
}
.btn-text svg { transition: transform var(--dur-fast) var(--ease); }
.btn-text:hover { border-color: var(--color-accent-dark); color: var(--color-accent-dark); }
.btn-text:hover svg { transform: translateX(4px); }

.btn-block { width: 100%; }

/* ---------------------------------- */
/* Header                              */
/* ---------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(251, 247, 242, 0.85);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: height var(--dur-med) var(--ease), background var(--dur-med) var(--ease),
    border-color var(--dur-med) var(--ease), backdrop-filter var(--dur-med) var(--ease);
}

.site-header.is-scrolled {
  height: calc(var(--header-h) - 18px);
  background: rgba(251, 247, 242, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--color-border-soft);
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: width var(--dur-med) var(--ease), height var(--dur-med) var(--ease);
}
.site-header.is-scrolled .brand img { width: 38px; height: 38px; }

.brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-primary);
  line-height: 1.2;
}
.brand-name span {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-top: 2px;
}

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 1.9rem); }
.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 0.3rem 0.1rem;
  transition: color var(--dur-fast) var(--ease);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--color-accent);
  transition: right var(--dur-fast) var(--ease);
}
.main-nav a:hover { color: var(--color-primary); }
.main-nav a:hover::after,
.main-nav a.active::after { right: 0; }
.main-nav a.active { color: var(--color-primary); font-weight: 600; }

.header-cta { display: none; flex-shrink: 0; }

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1.5px solid var(--color-border);
  flex-shrink: 0;
}
.nav-toggle:hover { background: var(--color-surface); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (min-width: 960px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Mobile nav panel */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--color-bg);
  z-index: 99;
  padding: 1.5rem var(--container-pad) 2rem;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease), visibility var(--dur-med);
}
.mobile-nav.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav nav a {
  display: block;
  padding: 1rem 0.25rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-border-soft);
}
.mobile-nav .btn { margin-top: 1.75rem; }
.mobile-nav .mobile-contact {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.mobile-nav .mobile-contact a { color: var(--color-primary); font-weight: 600; }

@media (min-width: 960px) { .mobile-nav { display: none; } }

/* ---------------------------------- */
/* Hero                                */
/* ---------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

@media (max-width: 640px) {
  .hero { padding-top: 2rem; }
}

.hero-bg-bloom {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 88% 8%, var(--color-accent-soft-2) 0%, transparent 65%),
    radial-gradient(45% 40% at 8% 92%, var(--color-bg-alt) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}

.hero-copy { max-width: 660px; min-width: 0; }

.hero h1 { margin-bottom: 1.25rem; }
.hero h1 em {
  font-style: italic;
  color: var(--color-accent-dark);
}

.hero .lead { margin-bottom: 2rem; max-width: 52ch; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  margin-bottom: 2.75rem;
}

.trust-mini {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.trust-mini li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.trust-mini svg {
  width: 19px;
  height: 19px;
  color: var(--color-accent-dark);
  flex-shrink: 0;
}

.hero-media { position: relative; min-width: 0; }
.hero-portrait {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-width: 420px;
  margin-inline: auto;
  box-shadow: var(--shadow-lg);
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }

.hero-media-ring {
  position: absolute;
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius-lg);
  inset: 18px -18px -18px 18px;
  z-index: -1;
  display: none;
}

.hero-badge {
  position: absolute;
  bottom: -1.25rem;
  left: -1rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 240px;
}
.hero-badge svg { width: 30px; height: 30px; color: var(--color-accent-dark); flex-shrink: 0; }
.hero-badge strong { display: block; font-family: var(--font-serif); font-size: 1.05rem; color: var(--color-primary); line-height: 1.2; }
.hero-badge span { font-size: 0.78rem; color: var(--color-text-muted); }

@media (min-width: 860px) {
  .hero .container { grid-template-columns: 1.05fr 0.95fr; }
  .hero-media-ring { display: block; }
}

/* Keep the floating badge fully inside the image corner on narrow screens
   so it can never spill past the card edge or the viewport. */
@media (max-width: 479px) {
  .hero-badge {
    left: 0.75rem;
    bottom: 0.75rem;
    padding: 0.7rem 0.9rem;
    gap: 0.55rem;
    max-width: calc(100% - 1.5rem);
  }
  .hero-badge svg { width: 24px; height: 24px; }
  .hero-badge strong { font-size: 0.92rem; }
  .hero-badge span { font-size: 0.72rem; }
}

/* Compact restatement of the hero's trust points for phones — see the
   mobile hero block below for how/when it's shown. Hidden by default so
   it can never appear on tablet/desktop even if that block's media
   query is ever changed independently. */
.hero-trust-mobile { display: none; }

/* ====================================================================
   MOBILE HERO — full-bleed portrait background (phones only, <=640px)
   Desktop/tablet keep the original text-left/photo-right layout above
   this breakpoint completely untouched. The portrait becomes the hero's
   background layer instead of a separate card below the text, with a
   soft cream gradient (never dark) keeping the copy readable while
   Birgit's portrait stays clearly visible.
   ==================================================================== */
@media (max-width: 640px) {
  /* The portrait sits in its own fixed-height band pinned to the top of
     the hero (not stretched across the whole hero) — this is what lets
     the crop be controlled deliberately: a shorter, wider band crops
     the image vertically (not horizontally), so object-position can
     frame Birgit's whole face inside it, clear of every line of text
     below. --hero-photo-h is shared with .hero's padding-top so the
     photo band and the point where text starts always line up exactly.
     Sized generously — a big, present portrait, not a cropped strip. */
  :root { --hero-photo-h: 56vh; }

  .hero {
    padding-top: var(--hero-photo-h);
    padding-bottom: clamp(2rem, 8vw, 2.5rem);
    background: var(--color-bg);
  }
  .hero-bg-bloom { display: none; }

  .hero .container { display: block; }

  /* Positioned (not .container) so it stays a sibling of .hero-media
     within .hero's own stacking context — keeping .hero itself as the
     containing block the absolutely-positioned background resolves
     against, instead of accidentally boxing the image into .container. */
  .hero-copy { position: relative; z-index: 2; max-width: none; }

  /* Generous, deliberate spacing between every element — a calm, airy
     mobile composition rather than a tightly packed block. */
  .hero-copy > .eyebrow {
    margin-top: 1.75rem;
    margin-bottom: 1.1rem;
    font-size: 0.72rem;
    letter-spacing: 0.09em;
  }
  .hero h1 {
    font-size: 2.15rem;
    line-height: 1.28;
    margin-bottom: 1.5rem;
  }
  .hero .lead {
    max-width: none;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.9rem;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
  }

  /* The three trust points move out of the hero entirely on mobile — a
     calmer hero, with a compact restatement of them just below it
     (see .hero-trust-mobile). */
  .hero-copy > .trust-mini { display: none; }

  /* The portrait becomes a top-pinned background band. */
  .hero-media {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--hero-photo-h);
    z-index: 0;
    min-width: 0;
  }
  .hero-media-ring { display: none; }
  /* Already shown via the trust-mini row above — avoid repeating it. */
  .hero-badge { display: none; }

  .hero-portrait {
    width: 100%;
    height: 100%;
    max-width: none;
    margin-inline: 0;
    border-radius: 0;
    box-shadow: none;
  }
  /* The photo fades itself out via a mask, rather than relying on a
     cream overlay layered on top of a hard-edged box — a mask makes the
     image genuinely become transparent, so it dissolves directly into
     .hero's own cream background with no seam to miscalibrate, however
     the band's height changes. Face stays fully solid; only the
     lower ~40% (shoulders/chest, already outside the face) fades,
     over a long, gradual run so nothing reads as a cut edge. */
  .hero-portrait img {
    object-position: 50% 14%;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 97%);
            mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 97%);
  }

  /* The relocated trust points: a calm, compact bar right after the
     hero, on the design system's existing alternating background. A
     single-column grid (rather than a wrapping flex row) so the three
     lines form one block that gets centered as a whole — each line's
     icon/text share the same left edge instead of each line being
     centered independently by its own (differing) text width. */
  .hero-trust-mobile {
    display: grid;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.4rem var(--container-pad);
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border-soft);
  }
  .hero-trust-mobile li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
  }
  .hero-trust-mobile svg {
    width: 18px;
    height: 18px;
    color: var(--color-accent-dark);
    flex-shrink: 0;
  }
}

/* ---------------------------------- */
/* Trust bar                           */
/* ---------------------------------- */
.trust-bar {
  padding: clamp(2.5rem, 4vw, 3.5rem) 0;
  border-top: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.trust-item .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent-soft-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-item svg { width: 22px; height: 22px; color: var(--color-accent-dark); }
.trust-item h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.trust-item p { font-size: 0.92rem; color: var(--color-text-muted); max-width: 30ch; }

@media (min-width: 640px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------------------------------- */
/* Feature grid (Wundversorgung)       */
/* ---------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border);
}
.feature-card .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-soft-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-card svg { width: 24px; height: 24px; color: var(--color-accent-dark); }
.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.95rem; color: var(--color-text-muted); }

/* ---------------------------------- */
/* Quote / Kernbotschaft               */
/* ---------------------------------- */
.quote-section {
  position: relative;
  background: var(--color-primary);
  color: #fff;
  overflow: hidden;
}
.quote-section .container { position: relative; text-align: center; padding-block: clamp(3.5rem, 8vw, 6rem); }
.quote-bloom {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  pointer-events: none;
}
.quote-mark {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}
blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.4rem);
  line-height: 1.4;
  max-width: 780px;
  margin-inline: auto;
  color: #fff;
}
.quote-cite {
  margin-top: 1.75rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.95rem;
  color: var(--color-accent-soft);
  letter-spacing: 0.03em;
}

/* ---------------------------------- */
/* About                                */
/* ---------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 15%;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.about-copy p + p { margin-top: 1.1rem; }
.about-copy .lead {
  /* Reads as the first sentence of the flowing bio below it, not a
     standalone subtitle, so it takes the same body-text sizing as its
     sibling paragraphs instead of the larger p.lead treatment. */
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  margin-top: clamp(0.875rem, 0.6rem + 1.2vw, 1.5rem);
  margin-bottom: 1.1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
}
.about-stats .stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 1.4rem + 0.6vw, 2.1rem);
  color: var(--color-accent-dark);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.about-stats .stat span { font-size: 0.82rem; color: var(--color-text-muted); line-height: 1.4; display: block; }

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 0.85fr 1.15fr; }
}

/* ---------------------------------- */
/* Process (Ablauf)                    */
/* ---------------------------------- */
.process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  counter-reset: step;
}
.process-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--color-border);
}
.process-item:first-child { padding-top: 0; }
.process-item:last-child { border-bottom: none; padding-bottom: 0; }
.process-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-accent);
  width: 3ch;
}
.process-item h3 { margin-bottom: 0.4rem; }
.process-item p { color: var(--color-text-muted); font-size: 0.97rem; }

@media (min-width: 700px) {
  .process-list { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
  .process-item:nth-child(2) { border-bottom: 1px solid var(--color-border); }
  .process-item:nth-last-child(-n+2) { border-bottom: none; }
}

/* ---------------------------------- */
/* Praxis                              */
/* ---------------------------------- */
.praxis-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.praxis-media img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.praxis-copy .lead {
  /* Same reasoning as .about-copy .lead above. */
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  margin-top: clamp(0.875rem, 0.6rem + 1.2vw, 1.5rem);
}
.praxis-info-list { display: flex; flex-direction: column; gap: 1.5rem; margin: 1.75rem 0 2.25rem; }
.praxis-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.praxis-info-item .icon-wrap {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-accent-soft-2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.praxis-info-item svg { width: 20px; height: 20px; color: var(--color-accent-dark); }
.praxis-info-item h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.praxis-info-item p { font-size: 0.94rem; color: var(--color-text-muted); }
.praxis-info-item address { font-style: normal; }
.address-link {
  color: var(--color-primary);
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease), text-decoration-color var(--dur-fast) var(--ease);
}
.address-link:hover { color: var(--color-accent-dark); text-decoration-color: currentColor; }
.praxis-info-item .address-note {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

@media (min-width: 900px) {
  .praxis-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------------------------------- */
/* Preise                              */
/* ---------------------------------- */
.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem clamp(1.5rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--color-border-soft);
}
.price-row:last-of-type { border-bottom: none; }
.price-row:hover { background: var(--color-surface-tint); }
.price-name {
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}
.price-name small { display: block; font-weight: 400; color: var(--color-text-muted); font-size: 0.85rem; margin-top: 0.2rem; }
.price-value {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--color-accent-dark);
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}

.price-note {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  max-width: none;
  padding: 1rem clamp(1.5rem, 4vw, 2.5rem);
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border-soft);
}

/* Wraps price-card for the reveal animation, so the transform never lands
   on the same element as price-card's overflow:hidden + border-radius —
   transforming that directly can make browsers mis-clip the rounded
   corners (the "card looks unfinished at the bottom" glitch). */
.price-card-wrap { min-width: 0; }

.price-addons-label {
  margin-top: 2.25rem;
  margin-bottom: 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.price-addons-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.price-addon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.05rem clamp(1.5rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--color-border);
}
.price-addon-row:last-of-type { border-bottom: none; }
.price-addons-card .price-name { font-size: 0.95rem; }
.price-addons-card .price-value { font-size: 1.05rem; }

/* ---------------------------------- */
/* Contact                             */
/* ---------------------------------- */
.contact-section { background: var(--color-primary); color: #fff; position: relative; overflow: hidden; }
.contact-section h2 { color: #fff; }
.contact-section .section-head p.lead { color: rgba(255,255,255,0.72); }
.contact-section .eyebrow { color: var(--color-accent-on-dark); }
.contact-section .eyebrow::before { background: var(--color-accent-on-dark); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; } }

.contact-list { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.contact-list a,
.contact-list address { font-style: normal; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .icon-wrap {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item svg { width: 21px; height: 21px; color: var(--color-accent); }
.contact-item h3 { color: #fff; font-size: 1rem; margin-bottom: 0.25rem; }
.contact-item p, .contact-item a { color: rgba(255,255,255,0.78); font-size: 0.96rem; }
.contact-item a:hover { color: #fff; }
.contact-item .link-strong { color: #fff; font-weight: 600; }

.contact-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-text);
  box-shadow: var(--shadow-lg);
}
.contact-card h3 { margin-bottom: 0.4rem; }
.contact-card > p { color: var(--color-text-muted); font-size: 0.94rem; margin-bottom: 1.5rem; }

/* Termin-vereinbaren call card: calm, minimal, one clear action. Sized to its
   own content and centered next to the contact list rather than stretched
   full-height, so it reads as a compact, deliberate close rather than an
   empty box. */
.contact-card--call {
  padding: clamp(2rem, 5vw, 2.75rem) clamp(1.75rem, 5vw, 2.25rem);
  text-align: center;
  align-self: center;
}
.contact-card--call .contact-card-logo {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
}
.contact-card--call h3 { margin-bottom: 0.5rem; }
.contact-card--call > p {
  margin-bottom: 1.5rem;
  max-width: 32ch;
  margin-inline: auto;
}
.contact-phone-number {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 1.55rem + 1.1vw, 2.3rem);
  color: var(--color-primary);
  letter-spacing: 0.01em;
  margin-bottom: 1.5rem;
  transition: color var(--dur-fast) var(--ease);
}
.contact-phone-number:hover { color: var(--color-accent-dark); }
.contact-card--call .btn { gap: 0.65rem; }
.contact-card-note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Phones: the call card previously stretched with generous desktop-scale
   spacing, reading as an oversized, half-empty box. Tighten it to hug its
   own content while keeping the logo and phone number prominent. Desktop
   (>640px) is untouched — only these overrides are scoped to mobile.
   Note: the phone number and note also pick up the paragraph's inherited
   line-height (~1.7), which is generous for short single-line text — set
   explicitly here rather than relying on the shared default. */
@media (max-width: 640px) {
  .contact-card--call { padding: 1.25rem 1.5rem; }
  .contact-card--call .contact-card-logo {
    width: 62px;
    height: 62px;
    margin-bottom: 0.65rem;
  }
  .contact-card--call h3 {
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
  }
  .contact-card--call > p { margin-bottom: 0.75rem; }
  .contact-card--call .contact-phone-number {
    line-height: 1.15;
    margin-bottom: 0.85rem;
  }
  .contact-card--call .contact-card-note {
    font-size: 0.8rem;
    line-height: 1.3;
    margin-top: 0.75rem;
    margin-bottom: 0;
  }
}

.contact-item-note {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------------------------------- */
/* Footer                              */
/* ---------------------------------- */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.75);
  padding-top: clamp(3rem, 5vw, 4.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }

.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-brand img { width: 46px; height: 46px; border-radius: 50%; }
.footer-brand-name { font-family: var(--font-serif); font-size: 1.1rem; color: #fff; }
.footer-brand-name span { display: block; font-family: var(--font-sans); font-size: 0.75rem; color: rgba(255,255,255,0.55); margin-top: 2px; }
.site-footer address { font-style: normal; font-size: 0.92rem; line-height: 1.7; }
.site-footer .footer-col h4 { color: #fff; font-family: var(--font-sans); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; margin-bottom: 1.1rem; }
.site-footer .footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.site-footer .footer-col a { font-size: 0.94rem; transition: color var(--dur-fast) var(--ease); }
.site-footer .footer-col a:hover { color: #fff; }
.footer-instagram { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-instagram svg { width: 17px; height: 17px; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-block: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
@media (min-width: 700px) {
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a:hover { color: #fff; }

/* ---------------------------------- */
/* Mobile sticky contact bar           */
/* ---------------------------------- */
.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.45rem 1.25rem calc(0.45rem + env(safe-area-inset-bottom));
  background: rgba(251, 247, 242, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-border-soft);
  box-shadow: 0 -8px 24px rgba(38,50,74,0.08);
  transform: translateY(110%);
  transition: transform var(--dur-med) var(--ease);
}
.mobile-cta-bar.is-visible { transform: translateY(0); }
.mobile-cta-bar .btn {
  width: 100%;
  min-height: 44px;
  padding-block: 0.7rem;
  line-height: 1.3;
}

@media (min-width: 960px) { .mobile-cta-bar { display: none; } }

/* Prevent content hiding behind the bar on small screens */
@media (max-width: 959px) {
  .contact-section { scroll-margin-bottom: 80px; }
}

/* ---------------------------------- */
/* Scroll reveal                       */
/* ---------------------------------- */
/* Reveal-on-scroll only takes effect once js/main.js confirms JS is running
   (.js class, set inline in <head>) — if JS never loads, content stays visible.
   Same specificity as .reveal.is-visible below; source order lets it win. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

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

/* ---------------------------------- */
/* Legal pages                         */
/* ---------------------------------- */
.legal-hero { padding-top: clamp(2.5rem, 5vw, 3.5rem); padding-bottom: 1rem; }
.legal-content {
  max-width: 760px;
}
.legal-content h2 { margin-top: 2.5rem; margin-bottom: 0.9rem; font-size: 1.4rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { max-width: none; margin-bottom: 1rem; color: var(--color-text); }
.legal-content ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; }
.legal-content li { margin-bottom: 0.4rem; }
.legal-content a { color: var(--color-accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal-back { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 2rem; font-weight: 600; color: var(--color-primary); }
.legal-back svg { width: 18px; height: 18px; }

.breadcrumb-space { padding-top: 1.5rem; }
