/* =========================================================================
   Aurelia — Beauty & Wellness — Demo-Mockup
   Design tokens first. No ad-hoc colour or spacing values below this block.
   ========================================================================= */

/* Premium display face: drop an elegant serif (e.g. Cormorant-*.woff2 or
   Fraunces-*.woff2) into assets/fonts/ and uncomment. Until then the system
   serif stack below is used — no external requests, DSGVO-clean.
@font-face {
  font-family: "Cormorant";
  src: url("../assets/fonts/Cormorant-Regular.woff2") format("woff2");
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("../assets/fonts/Cormorant-SemiBold.woff2") format("woff2");
  font-weight: 600; font-display: swap;
}
*/

:root {
  /* ---- Colour roles ------------------------------------------------- */
  --color-accent:        #B0894E;   /* champagne gold — warm metallic accent, < 10% of pixels */
  --color-accent-ink:    #8C6A38;   /* deeper gold for links/text on light */
  --color-accent-wash:   #F1E7D3;   /* pale gold tint for washes */
  --color-primary:       #3A2A22;   /* warm espresso — the single inverted band */
  --color-primary-2:     #2A1D17;
  --color-secondary:     #C79A8B;   /* dusty rose-nude */
  --color-bg:            #F7F1E9;   /* warm champagne off-white, never #FFF */
  --color-surface:       #FFFCF8;
  --color-surface-2:     #EFE5D8;   /* warm sand */
  --color-text:          #2A211C;   /* warm near-black, never #000 */
  --color-text-invert:   #FBF6EF;
  --color-muted:         #7B6C60;
  --color-muted-invert:  #D8C3A6;
  --color-success:       #4F7A52;
  --color-warning:       #9A6206;
  --color-error:         #B3261E;

  --line:        rgba(42, 33, 28, .12);
  --line-strong: rgba(42, 33, 28, .22);
  --line-invert: rgba(251, 246, 239, .18);

  /* ---- Spacing — 8pt scale ------------------------------------------ */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;  --s-5: 24px;
  --s-6: 32px;  --s-7: 48px;  --s-8: 64px;  --s-9: 96px;  --s-10: 128px;

  /* ---- Type --------------------------------------------------------- */
  --font-display: "Cormorant", ui-serif, "Iowan Old Style", "Palatino Linotype",
                  Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-body:    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
                  "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono:    ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-xs:      clamp(0.75rem, 0.73rem + 0.10vw, 0.8125rem);
  --fs-sm:      clamp(0.8125rem, 0.79rem + 0.15vw, 0.9375rem);
  --fs-base:    clamp(1rem, 0.97rem + 0.16vw, 1.0625rem);
  --fs-md:      clamp(1.0625rem, 1.00rem + 0.32vw, 1.25rem);
  --fs-lg:      clamp(1.3125rem, 1.16rem + 0.70vw, 1.75rem);
  --fs-xl:      clamp(1.625rem, 1.31rem + 1.35vw, 2.5rem);
  --fs-2xl:     clamp(2rem, 1.55rem + 2.10vw, 3.5rem);
  --fs-display: clamp(2.75rem, 1.90rem + 4.30vw, 5.25rem);

  --lh-display: 1.03;
  --lh-head:    1.12;
  --lh-body:    1.6;
  --tr-display: -0.015em;
  --tr-head:    -0.008em;
  --tr-eyebrow: 0.18em;

  /* ---- Radius ------------------------------------------------------- */
  --r-xs: 3px; --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px;
  --r-pill: 999px;

  /* ---- Elevation — layered, low alpha ------------------------------- */
  --sh-1: 0 1px 2px rgba(15, 20, 25, .04);
  --sh-2: 0 1px 2px rgba(15, 20, 25, .04), 0 8px 24px rgba(15, 20, 25, .06);
  --sh-3: 0 1px 2px rgba(15, 20, 25, .04), 0 8px 24px rgba(15, 20, 25, .06),
          0 24px 48px rgba(15, 20, 25, .05);

  /* ---- Motion ------------------------------------------------------- */
  --dur-1: 150ms; --dur-2: 240ms; --dur-3: 420ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* ---- Layout ------------------------------------------------------- */
  --wrap: 1280px;
  --gutter: clamp(var(--s-4), 4vw, var(--s-7));
  --section-y: clamp(56px, 6vw, 104px);
  --header-h: 84px;
}

/* =========================================================================
   Reset & base
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--s-5));
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  /* Never auto-hyphenate a display heading — German words break mid-word and
     look broken. Long compounds get hyphenation only on narrow screens. */
  hyphens: manual;
  overflow-wrap: break-word;
}
h1 { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--tr-display); font-weight: 500; }
h2 { font-size: var(--fs-2xl); line-height: var(--lh-head); letter-spacing: var(--tr-display); font-weight: 500; }
h3 { font-size: var(--fs-lg); line-height: var(--lh-head); letter-spacing: var(--tr-head); font-weight: 600; }
h4 { font-size: var(--fs-md); line-height: 1.3; letter-spacing: var(--tr-head); font-weight: 600; }

p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 0.22em; }
a:hover { text-decoration-color: currentColor; }

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

::selection { background: var(--color-accent); color: var(--color-text-invert); }

.skip-link {
  position: absolute; left: var(--s-4); top: var(--s-4);
  transform: translateY(-200%);
  background: var(--color-primary); color: var(--color-text-invert);
  padding: var(--s-3) var(--s-5); border-radius: var(--r-sm);
  z-index: 200; text-decoration: none;
}
.skip-link:focus-visible { transform: translateY(0); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* =========================================================================
   Layout utilities
   ========================================================================= */

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}
.wrap--narrow { width: min(100% - (var(--gutter) * 2), 900px); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 96px); }
.section--surface { background: var(--color-surface-2); }
.section--hairline { border-top: 1px solid var(--line); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--s-5);
}
.col-5  { grid-column: span 5; }
.col-6  { grid-column: span 6; }
.col-7  { grid-column: span 7; }
.col-8  { grid-column: span 8; }
.col-12 { grid-column: span 12; }

.stack   > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-6); }

.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Section header pattern — reused everywhere, never re-invented */
.sec-head { max-width: 62ch; margin-bottom: clamp(var(--s-5), 3.5vw, var(--s-7)); }
.sec-head h1 + .lead, .sec-head h2 + .lead, .sec-head h3 + .lead,
.pagehead__copy h1 + .lead { margin-top: var(--s-5); }
.sec-head--wide { max-width: 80ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: var(--tr-eyebrow);
  color: var(--color-accent);
  margin-bottom: var(--s-4);
}
.eyebrow::before {
  content: ""; width: 24px; height: 2px; background: currentColor; flex: none;
}
.eyebrow--invert { color: var(--color-secondary); }

.lead {
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--color-muted);
  max-width: 46ch;
  font-weight: 300;
}
.prose-p { color: var(--color-muted); max-width: 68ch; }

.num { font-variant-numeric: tabular-nums; }

/* =========================================================================
   Buttons & links
   ========================================================================= */

.btn {
  --btn-bg: var(--color-primary);
  --btn-fg: var(--color-text-invert);
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: var(--s-3) var(--s-6);
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  white-space: nowrap; flex: none;
  transition: transform var(--dur-1) var(--ease),
              box-shadow var(--dur-1) var(--ease),
              background-color var(--dur-1) var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.btn:active { transform: translateY(0); box-shadow: var(--sh-1); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.btn--accent { --btn-bg: var(--color-accent); }
.btn--accent:hover { background: var(--color-accent-ink); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--color-text);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--color-surface); }

.btn--invert { --btn-bg: var(--color-text-invert); --btn-fg: var(--color-primary); }

.btn--sm { min-height: 40px; padding: var(--s-2) var(--s-5); }
.btn--block { width: 100%; }

/* Secondary action = a plain text link, never a second filled button */
.link-quiet {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-weight: 600; font-size: var(--fs-sm);
  color: var(--color-text); text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.link-quiet:hover { color: var(--color-accent); border-color: var(--color-accent); }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-weight: 700; font-size: var(--fs-sm); color: var(--color-accent);
  text-decoration: none;
}
.link-arrow svg { transition: transform var(--dur-1) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.icon { width: 24px; height: 24px; stroke: currentColor; fill: none;
        stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 32px; height: 32px; }

/* =========================================================================
   Utility bar + header
   ========================================================================= */

.topbar {
  background: var(--color-primary);
  color: var(--color-secondary);
  font-size: var(--fs-xs);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-5); min-height: 40px; flex-wrap: wrap;
}
.topbar__group { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; }
.topbar a { color: var(--color-text-invert); text-decoration: none; display: inline-flex; align-items: center; gap: var(--s-2); }
.topbar a:hover { color: var(--color-secondary); }
.topbar__note { display: inline-flex; align-items: center; gap: var(--s-2); }
.topbar__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); flex: none; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--color-bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur-2) var(--ease);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-5);
  height: var(--header-h);
  transition: height var(--dur-2) var(--ease);
}
.site-header.is-condensed { box-shadow: var(--sh-1); }
.site-header.is-condensed .site-header__inner { height: 60px; }
.site-header.is-condensed .brand__logo { height: 30px; }

.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand__logo { height: 42px; width: auto; transition: height var(--dur-2) var(--ease); }

.nav { display: flex; align-items: center; gap: var(--s-5); }
.nav__list { display: flex; align-items: center; gap: var(--s-5); list-style: none; }
.nav__link {
  position: relative;
  font-size: var(--fs-sm); font-weight: 600; text-decoration: none;
  color: var(--color-text); padding-block: var(--s-2);
  transition: color var(--dur-1) var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--color-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-2) var(--ease);
}
.nav__link:hover { color: var(--color-accent); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--color-accent); }

.header__actions { display: flex; align-items: center; gap: var(--s-4); }

/* Language switcher */
.lang {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  overflow: hidden;
}
.lang__btn {
  background: none; border: 0; cursor: pointer;
  padding: var(--s-1) var(--s-3);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.04em;
  color: var(--color-muted);
  transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.lang__btn[aria-pressed="true"] { background: var(--color-primary); color: var(--color-text-invert); }
.lang--invert { border-color: var(--line-invert); }
.lang--invert .lang__btn { color: var(--color-secondary); }
.lang--invert .lang__btn[aria-pressed="true"] { background: var(--color-text-invert); color: var(--color-primary); }

/* Mobile menu */
.burger {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: none; border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  cursor: pointer;
}
.drawer {
  position: fixed; inset: 0; z-index: 150;
  background: var(--color-bg);
  padding: var(--s-5) var(--gutter) var(--s-8);
  display: flex; flex-direction: column; gap: var(--s-6);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform var(--dur-3) var(--ease), visibility var(--dur-3);
  overflow-y: auto;
}
.drawer[hidden] { display: none; }
.drawer.is-open { transform: translateY(0); visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__list { list-style: none; display: flex; flex-direction: column; }
.drawer__list a {
  display: block; padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 700;
  letter-spacing: var(--tr-head); text-decoration: none;
}
.drawer__list a[aria-current="page"] { color: var(--color-accent); }

/* =========================================================================
   Hero — asymmetric 7/5, ≥40% negative space
   ========================================================================= */

.hero { padding-block: clamp(56px, 8vw, 128px) clamp(64px, 8vw, 120px); position: relative; }
.hero__grid { align-items: center; row-gap: var(--s-8); }
.hero__copy { grid-column: span 7; }
.hero__visual { grid-column: span 5; }
.hero h1 { margin-bottom: var(--s-5); max-width: 14ch; }
.hero .lead { max-width: 44ch; }
.hero__actions {
  display: flex; align-items: center; gap: var(--s-6);
  flex-wrap: wrap; margin-top: var(--s-7);
}
.hero__meta {
  display: flex; gap: var(--s-6); flex-wrap: wrap;
  margin-top: var(--s-8); padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm); color: var(--color-muted);
}
.hero__meta strong { color: var(--color-text); font-weight: 700; display: block; font-size: var(--fs-md); }

/* Signature device: motion arcs echoing the logo mark. The one gradient moment. */
.arcs { position: relative; aspect-ratio: 4 / 5; }
.arcs__svg { width: 100%; height: 100%; }
.arcs__card {
  position: absolute; left: 0; bottom: var(--s-6);
  background: var(--color-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  padding: var(--s-5);
  max-width: 260px;
}
.arcs__card-label { font-size: var(--fs-xs); letter-spacing: var(--tr-eyebrow); color: var(--color-muted); font-weight: 700; }
.arcs__card-value { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 800; letter-spacing: var(--tr-head); margin-top: var(--s-1); white-space: nowrap; }
.arcs__card-note { font-size: var(--fs-xs); color: var(--color-muted); margin-top: var(--s-2); }

/* =========================================================================
   Quick actions — a hairline row, deliberately not cards
   ========================================================================= */

.quick { border-block: 1px solid var(--line); }
.quick__list {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.quick__list li + li { border-left: 1px solid var(--line); }
.quick__item {
  display: flex; align-items: flex-start; gap: var(--s-4);
  padding: var(--s-6) var(--s-5);
  text-decoration: none; height: 100%;
  transition: background-color var(--dur-1) var(--ease);
}
.quick__item:hover { background: var(--color-surface); }
.quick__item:hover .quick__title { color: var(--color-accent); }
.quick__item svg { color: var(--color-accent); }
.quick__title { display: block; font-weight: 700; font-size: var(--fs-sm); transition: color var(--dur-1) var(--ease); }
.quick__desc { display: block; font-size: var(--fs-xs); color: var(--color-muted); margin-top: var(--s-2); }

/* =========================================================================
   Beschwerde-Finder — the signature interactive moment
   ========================================================================= */

.finder__grid { align-items: start; row-gap: var(--s-7); }
.finder__figure { grid-column: span 5; position: relative; }
.finder__panel  { grid-column: span 7; }

.bodymap {
  background:
    radial-gradient(120% 90% at 50% 0%, var(--color-surface) 0%, var(--color-surface-2) 70%);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--s-6);
}
/* The stage matches the SVG viewBox ratio (300:400) exactly, so a hotspot at
   left:x/300 top:y/400 lands on the same spot as in the drawing. */
.bodymap__stage { position: relative; aspect-ratio: 3 / 4; }
.bodymap__svg { width: 100%; height: 100%; display: block; color: var(--color-secondary); }

.hot {
  position: absolute;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--color-surface);
  box-shadow: var(--sh-1);
  cursor: pointer;
  display: grid; place-items: center;
  transform: translate(-50%, -50%);   /* centre the dot on its coordinate */
  transition: transform var(--dur-1) var(--ease),
              background-color var(--dur-1) var(--ease),
              border-color var(--dur-1) var(--ease),
              box-shadow var(--dur-1) var(--ease);
}
.hot::after {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--color-secondary);
  transition: background-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.hot:hover { transform: translate(-50%, -50%) scale(1.09); box-shadow: var(--sh-2); }
.hot[aria-pressed="true"] {
  background: var(--color-accent); border-color: var(--color-accent);
  box-shadow: var(--sh-2);
}
.hot[aria-pressed="true"]::after { background: var(--color-text-invert); transform: scale(1.2); }

/* Name the region on hover/focus, and permanently for the active one. */
.hot__label {
  position: absolute; bottom: calc(100% + 6px); left: 50%;
  transform: translateX(-50%);
  padding: 4px var(--s-3);
  border-radius: var(--r-pill);
  background: var(--color-primary); color: var(--color-text-invert);
  font-size: var(--fs-xs); font-weight: 700; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-1) var(--ease);
}
.hot:hover .hot__label,
.hot:focus-visible .hot__label { opacity: 1; }
.hot[aria-pressed="true"] .hot__label { opacity: 1; background: var(--color-accent); }

/* Coordinates read straight off the SVG: left = x/300, top = y/400. */
.hot--schulter    { left: 36.0%; top: 24.0%; }   /* 108,  96 */
.hot--ellenbogen  { left: 29.3%; top: 38.0%; }   /*  88, 152 */
.hot--hand        { left: 24.7%; top: 53.0%; }   /*  74, 212 */
.hot--huefte      { left: 59.3%; top: 53.5%; }   /* 178, 214 */
.hot--knie        { left: 56.0%; top: 73.0%; }   /* 168, 292 */
.hot--sprunggelenk{ left: 55.3%; top: 92.0%; }   /* 166, 368 */

.finder__result {
  background: var(--color-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2);
  padding: clamp(var(--s-5), 4vw, var(--s-7));
}
.finder__result h3 { margin-bottom: var(--s-3); }
.finder__tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-5); list-style: none; }
.tag {
  font-size: var(--fs-xs); font-weight: 700;
  padding: var(--s-1) var(--s-3);
  border-radius: var(--r-pill);
  background: var(--color-accent-wash); color: var(--color-accent-ink);
}
.finder__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); margin-top: var(--s-5); }
.finder__col h4 { font-size: var(--fs-sm); letter-spacing: var(--tr-eyebrow); text-transform: none; color: var(--color-muted); margin-bottom: var(--s-3); }
.ticklist { list-style: none; display: grid; gap: var(--s-3); font-size: var(--fs-sm); }
.ticklist li { display: flex; gap: var(--s-3); align-items: flex-start; }
.ticklist svg { color: var(--color-accent); margin-top: 2px; }
.finder__foot { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line);
                display: flex; gap: var(--s-5); align-items: center; flex-wrap: wrap; }
.finder__chips { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; margin-top: var(--s-5); }
.chip {
  background: none; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  padding: var(--s-2) var(--s-4);
  font-size: var(--fs-xs); font-weight: 700;
  transition: all var(--dur-1) var(--ease);
}
.chip:hover { border-color: var(--color-accent); color: var(--color-accent); }
.chip[aria-pressed="true"] { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-text-invert); }

/* =========================================================================
   Bento — Fachbereiche (mixed sizes, never a uniform 3-card row)
   ========================================================================= */

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s-4); }
.bento__item {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: var(--s-3);
  min-height: 240px;
  padding: var(--s-6);
  background: var(--color-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-decoration: none;
  overflow: hidden;
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.bento__item:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.bento__item--wide  { grid-column: span 4; min-height: 280px; }
.bento__item--tall  { grid-column: span 2; grid-row: span 2; }
.bento__item--half  { grid-column: span 2; }
.bento__item--third { grid-column: span 2; }
.bento__item--feature {
  grid-column: span 4;
  background: linear-gradient(140deg, var(--color-primary) 0%, var(--color-primary-2) 100%);
  color: var(--color-text-invert);
  border-color: transparent;
}
.bento__item--feature .bento__desc { color: var(--color-muted-invert); }
/* Tiles that carry an illustration go full-bleed: image on top, padded copy below. */
.bento__item--media { padding: 0; overflow: hidden; justify-content: flex-start; }
.bento__media {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--color-surface-2);
}
.bento__item--media .bento__content {
  display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-6);
}
.bento__item--tall.bento__item--media .bento__media { aspect-ratio: 4 / 3; }

.bento__icon { color: var(--color-accent); margin-bottom: auto; }
.bento__item--feature .bento__icon { color: var(--color-secondary); }
.bento__title { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 700; letter-spacing: var(--tr-head); }
.bento__desc { color: var(--color-muted); font-size: var(--fs-sm); max-width: 42ch; }
.bento__more { font-size: var(--fs-xs); font-weight: 700; color: var(--color-accent); display: inline-flex; align-items: center; gap: var(--s-2); }
.bento__item--feature .bento__more { color: var(--color-secondary); }

/* =========================================================================
   Comparison — ambulant vs. stationär (no cards at all)
   ========================================================================= */

.compare { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 0; }
.compare__row { display: contents; }
.compare__cell {
  padding: var(--s-5) var(--s-4);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.compare__cell--head {
  border-top: 0; border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-display); font-weight: 800;
  font-size: var(--fs-md); letter-spacing: var(--tr-head);
  padding-bottom: var(--s-4);
}
.compare__cell--label { font-weight: 700; color: var(--color-text); }
.compare__cell--muted { color: var(--color-muted); }
.compare__cell--own { background: var(--color-accent-wash); }
.compare__pill {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-xs); font-weight: 700; color: var(--color-accent-ink);
}

/* =========================================================================
   Stats — big tabular numbers on hairlines
   ========================================================================= */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.stat { padding-top: var(--s-5); border-top: 2px solid var(--color-primary); }
.stat__value {
  font-family: var(--font-display);
  font-size: var(--fs-xl); font-weight: 800; letter-spacing: var(--tr-display);
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: var(--fs-sm); color: var(--color-muted); margin-top: var(--s-2); }
.stat__note { font-size: var(--fs-xs); color: var(--color-muted); margin-top: var(--s-1); }

/* =========================================================================
   Team
   ========================================================================= */

.team { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s-4); }
.team__card {
  grid-column: span 3;
  background: var(--color-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.team__card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.team__card--lead { grid-column: span 12; }

/* One aspect ratio, one treatment, one radius across every portrait. */
.team__photo {
  display: block; width: 100%; height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 18%;
  border-radius: var(--r-md);
  background: var(--color-surface-2);
  margin-bottom: var(--s-5);
}
/* The featured card runs the portrait beside the text instead of above it — a
   landscape crop of a portrait just yields a giant head. */
.team__card--lead {
  display: grid;
  grid-template-columns: minmax(140px, 34%) 1fr;
  gap: var(--s-6);
  align-items: start;
}
.team__card--lead .team__photo { margin-bottom: 0; aspect-ratio: 4 / 5; object-position: center 12%; }

.avatar {
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--color-primary); color: var(--color-text-invert);
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-md);
  letter-spacing: 0.02em;
  margin-bottom: var(--s-5);
}
.avatar--accent { background: var(--color-accent); }
.team__name { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 800; letter-spacing: var(--tr-head); }
.team__role { font-size: var(--fs-sm); color: var(--color-accent); font-weight: 700; margin-top: var(--s-1); }
.team__bio { font-size: var(--fs-sm); color: var(--color-muted); margin-top: var(--s-4); }
.team__creds { list-style: none; margin-top: var(--s-4); display: grid; gap: var(--s-2); font-size: var(--fs-xs); color: var(--color-muted); }
.team__creds li { display: flex; gap: var(--s-2); }
.team__creds svg { color: var(--color-secondary); }

/* =========================================================================
   Timeline — Ablauf am OP-Tag
   ========================================================================= */

.timeline { list-style: none; position: relative; padding-left: var(--s-8); }
.timeline::before {
  content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px;
  width: 1px; background: var(--line-strong);
}
.timeline__item { position: relative; padding-bottom: var(--s-7); }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: calc(var(--s-8) * -1 + 9px); top: 6px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--color-bg); border: 2px solid var(--color-secondary);
}
.timeline__item--accent::before { border-color: var(--color-accent); background: var(--color-accent); }
.timeline__time {
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 700;
  font-variant-numeric: tabular-nums; color: var(--color-accent);
  letter-spacing: 0.04em;
}
.timeline__title { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 700; margin-top: var(--s-1); letter-spacing: var(--tr-head); }
.timeline__desc { font-size: var(--fs-sm); color: var(--color-muted); margin-top: var(--s-2); max-width: 56ch; }

/* =========================================================================
   Testimonials — one pull-quote, two supporting
   ========================================================================= */

.quotes { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s-5); align-items: start; }
.quote {
  grid-column: span 4;
  background: var(--color-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
}
.quote--lead {
  grid-column: span 6;
  background: var(--color-surface-2);
  border-color: transparent;
  padding: clamp(var(--s-6), 4vw, var(--s-8));
}
.quote__text { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 300; line-height: 1.45; letter-spacing: -0.01em; }
.quote--lead .quote__text { font-size: var(--fs-lg); }
.quote__stars { display: flex; gap: 2px; color: var(--color-accent); margin-bottom: var(--s-4); }
.quote__who { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-5); }
.quote__avatar { width: 40px; height: 40px; font-size: var(--fs-xs); margin: 0; }
.quote__name { display: block; font-size: var(--fs-sm); font-weight: 700; }
.quote__meta { display: block; font-size: var(--fs-xs); color: var(--color-muted); }

/* =========================================================================
   Accent band — Arbeitsunfälle
   ========================================================================= */

.band { border-top: 4px solid var(--color-accent); background: var(--color-surface); }
.band__grid { align-items: center; row-gap: var(--s-6); }
.band__copy { grid-column: span 7; }
.band__side { grid-column: span 5; }
.band__facts { list-style: none; display: grid; gap: var(--s-4); }
.band__facts li { display: flex; gap: var(--s-4); padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.band__facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.band__facts li > span { flex: 1 1 auto; }
.band__facts .btn { align-self: center; }
.band__facts li > span > span { display: block; }
.band__facts svg { color: var(--color-accent); }
.band__facts strong { display: block; font-size: var(--fs-sm); }
.band__facts span { font-size: var(--fs-xs); color: var(--color-muted); }

/* =========================================================================
   FAQ accordion
   ========================================================================= */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-5);
  background: none; border: 0; cursor: pointer;
  padding: var(--s-5) 0;
  text-align: left;
  font-family: var(--font-display); font-size: var(--fs-md); font-weight: 700;
  letter-spacing: var(--tr-head);
  transition: color var(--dur-1) var(--ease);
}
.faq__btn:hover { color: var(--color-accent); }
.faq__icon { flex: none; transition: transform var(--dur-2) var(--ease); color: var(--color-accent); }
.faq__btn[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-3) var(--ease); }
.faq__panel[data-open="true"] { grid-template-rows: 1fr; }
.faq__inner { overflow: hidden; }
.faq__inner p { color: var(--color-muted); max-width: 68ch; padding-bottom: var(--s-5); font-size: var(--fs-sm); }

/* =========================================================================
   Location + static map
   ========================================================================= */

.location__grid { row-gap: var(--s-7); align-items: start; }
.location__info { grid-column: span 5; }
.location__map  { grid-column: span 7; }

.mapfig {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--color-surface-2);
  box-shadow: var(--sh-1);
}
/* Only the map itself — not the icons inside the caption. */
.mapfig > svg { width: 100%; height: auto; aspect-ratio: 16 / 10; }
.mapfig__cap {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs); color: var(--color-muted);
  background: var(--color-surface);
  flex-wrap: wrap;
}

.hours { list-style: none; display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.hours li { display: flex; justify-content: space-between; gap: var(--s-4);
            padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.hours span:last-child { font-variant-numeric: tabular-nums; color: var(--color-muted); }
.hours li.is-today { color: var(--color-accent); font-weight: 700; }
.hours li.is-today span:last-child { color: var(--color-accent); }

.openflag {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-xs); font-weight: 700;
  padding: var(--s-1) var(--s-3); border-radius: var(--r-pill);
  background: var(--color-surface-2);
}
.openflag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-muted); }
.openflag.is-open { color: var(--color-success); }
.openflag.is-open .openflag__dot { background: var(--color-success); }

.infolist { list-style: none; display: grid; gap: var(--s-4); }
.infolist li { display: flex; gap: var(--s-4); }
.infolist svg { color: var(--color-accent); }
.infolist strong { display: block; font-size: var(--fs-sm); }
.infolist span { font-size: var(--fs-sm); color: var(--color-muted); }

/* =========================================================================
   Forms — all inert
   ========================================================================= */

.form { display: grid; gap: var(--s-5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.field { display: grid; gap: var(--s-2); }
.field__label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.04em; color: var(--color-muted); }
.field__control {
  min-height: 48px;
  padding: var(--s-3) var(--s-4);
  background: var(--color-surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}
.field__control:hover { border-color: var(--color-muted); }
.field__control:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-accent-wash); }
textarea.field__control { min-height: 120px; resize: vertical; }
.field__hint { font-size: var(--fs-xs); color: var(--color-muted); }

.slots { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.slot {
  background: var(--color-surface); cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  padding: var(--s-2) var(--s-4);
  font-size: var(--fs-sm); font-weight: 600; font-variant-numeric: tabular-nums;
  transition: all var(--dur-1) var(--ease);
}
.slot:hover { border-color: var(--color-accent); color: var(--color-accent); }
.slot[aria-pressed="true"] { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-text-invert); }

.consent { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--fs-xs); color: var(--color-muted); }
.consent input { width: 20px; height: 20px; accent-color: var(--color-accent); flex: none; margin-top: 2px; }

.formsuccess {
  display: none;
  border: 1px solid var(--color-success);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  background: var(--color-surface);
}
.formsuccess.is-visible { display: block; }
.formsuccess__title { display: flex; align-items: center; gap: var(--s-3); font-family: var(--font-display); font-weight: 800; color: var(--color-success); }
.formsuccess__body { font-size: var(--fs-sm); color: var(--color-muted); margin-top: var(--s-3); }

/* Booking dialog */
.modal {
  position: fixed; inset: 0; z-index: 160;
  display: none; place-items: center;
  padding: var(--gutter);
  background: rgba(15, 20, 25, .55);
}
.modal.is-open { display: grid; }
.modal__box {
  width: min(100%, 720px); max-height: 88vh; overflow-y: auto;
  background: var(--color-bg);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
  padding: clamp(var(--s-5), 4vw, var(--s-8));
}
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-6); }
.modal__close {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  background: none; border: 1px solid var(--line-strong); border-radius: 50%;
  cursor: pointer;
}
.modal__close:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* =========================================================================
   Demo mode switch — jump between the public site and the staff area.
   A presentation aid for the client meeting; delete it before launch.
   ========================================================================= */

.modeswitch {
  position: fixed; right: 16px; bottom: 16px;
  z-index: 170;
  display: flex; gap: 2px; padding: 4px;
  background: var(--color-primary);
  border-radius: var(--r-pill);
  box-shadow: 0 10px 30px rgba(15, 20, 25, .30);
  transition: bottom var(--dur-2) var(--ease);
}
.modeswitch__btn {
  border: 0; background: none; cursor: pointer; text-decoration: none;
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-size: var(--fs-xs); font-weight: 700; white-space: nowrap;
  color: var(--color-muted-invert);
  transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.modeswitch__btn:hover { color: var(--color-text-invert); }
.modeswitch__btn[aria-current="true"] {
  background: var(--color-surface); color: var(--color-primary);
}
/* Three things want the bottom of the screen: the cookie strip, the mode switch
   and the toast. They stack in that order and never overlap. */
body.has-cookiebar .modeswitch { bottom: 104px; }
body.has-cookiebar .toast      { bottom: 170px; }
@media (max-width: 640px) {
  body.has-cookiebar .modeswitch { bottom: 184px; }
  body.has-cookiebar .toast      { bottom: 250px; }
}

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 84px;
  transform: translate(-50%, 200%);
  z-index: 190;
  display: flex; align-items: center; gap: var(--s-3);
  background: var(--color-primary); color: var(--color-text-invert);
  padding: var(--s-4) var(--s-6);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-3);
  font-size: var(--fs-sm); font-weight: 600;
  max-width: calc(100% - var(--s-8));
  /* Hide it properly. Moving it off-screen alone is not enough — an empty toast
     still renders as a dark blob wherever the transform happens to land it. */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--dur-3) var(--ease),
              opacity var(--dur-2) var(--ease),
              visibility var(--dur-3);
}
.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

/* =========================================================================
   Final CTA + footer — the ONE inverted zone, contiguous
   ========================================================================= */

.cta-band {
  background: var(--color-primary);
  color: var(--color-text-invert);
  padding-block: clamp(64px, 8vw, 128px);
}
.cta-band__grid { align-items: center; row-gap: var(--s-6); }
.cta-band__copy { grid-column: span 7; }
.cta-band__side { grid-column: span 5; display: flex; flex-direction: column; gap: var(--s-4); align-items: flex-start; }
.cta-band h2 { max-width: 16ch; }
.cta-band .lead { color: var(--color-muted-invert); }
.cta-band .link-quiet { color: var(--color-text-invert); border-color: var(--line-invert); }
.cta-band .link-quiet:hover { color: var(--color-secondary); border-color: var(--color-secondary); }

.site-footer {
  background: var(--color-primary-2);
  color: var(--color-secondary);
  padding-block: var(--s-8) var(--s-6);
  font-size: var(--fs-sm);
}
.site-footer a { color: var(--color-secondary); text-decoration: none; }
.site-footer a:hover { color: var(--color-text-invert); }
.footer__grid { row-gap: var(--s-7); }
.footer__brand { grid-column: span 4; }
.footer__logo { height: 40px; width: auto; margin-bottom: var(--s-5); }
.footer__col { grid-column: span 2; }
.footer__col h3 { font-size: var(--fs-xs); letter-spacing: var(--tr-eyebrow); color: var(--color-text-invert); margin-bottom: var(--s-4); font-weight: 700; }
.footer__list { list-style: none; display: grid; gap: var(--s-3); font-size: var(--fs-sm); }
.footer__social { display: flex; gap: var(--s-3); margin-top: var(--s-5); }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-invert);
  display: grid; place-items: center;
  transition: border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.footer__social a:hover { border-color: var(--color-secondary); transform: translateY(-2px); }
.footer__bottom {
  margin-top: var(--s-8); padding-top: var(--s-5);
  border-top: 1px solid var(--line-invert);
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--s-5); flex-wrap: wrap;
  font-size: var(--fs-xs);
}
.footer__legal { display: flex; gap: var(--s-5); flex-wrap: wrap; list-style: none; }
.demo-note {
  display: inline-flex; align-items: center; gap: var(--s-2);
  color: var(--color-secondary); opacity: .85;
}
.demo-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }
.to-top { display: inline-flex; align-items: center; gap: var(--s-2); background: none; border: 0; cursor: pointer; color: inherit; font: inherit; }

/* =========================================================================
   Cookie banner — visual only, stores and tracks nothing
   ========================================================================= */

/* A slim bottom strip — it must never cover the hero headline or its CTA. */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 180;
  background: color-mix(in srgb, var(--color-surface) 96%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-strong);
  box-shadow: 0 -8px 24px rgba(15, 20, 25, .06);
  padding: var(--s-4) var(--gutter);
  display: none;
  align-items: center; gap: var(--s-5); flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform var(--dur-3) var(--ease);
}
.cookie.is-visible { display: flex; transform: translateY(0); }
.cookie__copy { flex: 1 1 340px; min-width: 0; }
.cookie__title { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-sm); }
.cookie__text { font-size: var(--fs-xs); color: var(--color-muted); margin-top: 2px; }
.cookie__actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }

@media (max-width: 640px) {
  .cookie__actions { width: 100%; }
  .cookie__actions .btn { flex: 1 1 auto; }
}

/* =========================================================================
   Sub-page hero + prose
   ========================================================================= */

.pagehead { padding-block: clamp(48px, 6vw, 96px) clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.pagehead__grid { align-items: end; row-gap: var(--s-5); }
.pagehead__copy { grid-column: span 8; }
.pagehead__side { grid-column: span 4; }
.breadcrumb { display: flex; gap: var(--s-2); font-size: var(--fs-xs); color: var(--color-muted); list-style: none; margin-bottom: var(--s-4); flex-wrap: wrap; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--color-accent); }

.prose { max-width: 72ch; }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--s-8); }
.prose h3 { margin-top: var(--s-6); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin-top: var(--s-4); color: var(--color-muted); font-size: var(--fs-sm); }
.prose ul, .prose ol { padding-left: var(--s-5); display: grid; gap: var(--s-2); }
.prose li { padding-left: var(--s-1); }
.prose strong { color: var(--color-text); }
/* Label/value rows (Impressum-style lists): keep the pair on two lines. */
.prose li > strong { display: block; }
.prose li > strong + span { display: block; color: var(--color-muted); }
.prose a { color: var(--color-accent); }

.toc { list-style: none; display: grid; gap: var(--s-3); position: sticky; top: calc(var(--header-h) + var(--s-5)); }
.toc a { font-size: var(--fs-sm); text-decoration: none; color: var(--color-muted); border-left: 2px solid var(--line); padding-left: var(--s-4); display: block; }
.toc a:hover { color: var(--color-accent); border-color: var(--color-accent); }

/* Generic feature list used on the lighter pages */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.feature {
  background: var(--color-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.feature__icon { color: var(--color-accent); margin-bottom: var(--s-5); }
.feature h3 { font-size: var(--fs-md); }
.feature p { font-size: var(--fs-sm); color: var(--color-muted); margin-top: var(--s-3); }

.notice {
  border-left: 3px solid var(--color-accent);
  background: var(--color-accent-wash);
  padding: var(--s-5);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: var(--fs-sm);
}
.notice strong { display: block; margin-bottom: var(--s-2); }

/* 404 */
.notfound { display: grid; place-items: center; text-align: left; padding-block: clamp(72px, 12vw, 180px); }
.notfound__code {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(5rem, 18vw, 12rem); line-height: 1;
  letter-spacing: var(--tr-display);
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
}

/* =========================================================================
   Scroll reveal — only when JS is on, so no-JS still shows everything
   ========================================================================= */

.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease);
}
.js .reveal.is-in:nth-child(2) { transition-delay: 60ms; }
.js .reveal.is-in:nth-child(3) { transition-delay: 120ms; }
.js .reveal.is-in:nth-child(4) { transition-delay: 180ms; }
.js .reveal.is-in:nth-child(5) { transition-delay: 240ms; }

/* Placeholders reserve space so injected chrome does not shift layout */
#site-header { min-height: calc(var(--header-h) + 40px); display: block; }
#site-footer { display: block; }

/* =========================================================================
   Responsive
   ========================================================================= */

@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento__item--wide, .bento__item--feature { grid-column: span 4; }
  .bento__item--tall { grid-column: span 2; grid-row: span 1; }
  .team__card { grid-column: span 6; }
  .team__card--lead { grid-column: span 12; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  /* Every multi-column split becomes a single column. */
  .col-5, .col-6, .col-7, .col-8 { grid-column: span 12; }
  .nav { display: none; }
  .burger { display: inline-flex; }
  /* The CTA lives in the drawer on small screens — keeping it in the bar
     overflows the header, because buttons must not shrink. */
  .site-header__inner .header__actions .btn { display: none; }
  .hero__copy, .hero__visual,
  .finder__figure, .finder__panel,
  .band__copy, .band__side,
  .location__info, .location__map,
  .cta-band__copy, .cta-band__side,
  .pagehead__copy, .pagehead__side { grid-column: span 12; }
  .quotes .quote, .quotes .quote--lead { grid-column: span 12; }
  .quick__list { grid-template-columns: repeat(2, 1fr); }
  .quick__list li:nth-child(odd) { border-left: 0; }
  .quick__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .features { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 12; }
  .footer__col { grid-column: span 6; }
  .toc { position: static; }
  .arcs { aspect-ratio: 4 / 3; }
  .compare { grid-template-columns: 1fr; }
  .compare__cell { padding: var(--s-3) 0; }
  .compare__cell--head { padding-top: var(--s-5); }
  .compare__cell--own { background: none; }
}

@media (max-width: 640px) {
  h1, h2, h3 { hyphens: auto; }
  .bento, .team { grid-template-columns: repeat(2, 1fr); }
  .team__card--lead { grid-template-columns: 1fr; }
  .team__card--lead .team__photo { margin-bottom: var(--s-5); }
  .bento__item, .bento__item--wide, .bento__item--feature,
  .bento__item--tall, .bento__item--half, .bento__item--third { grid-column: span 2; min-height: 0; }
  .team__card { grid-column: span 1; min-height: 0; }
  .team__card--lead { grid-column: span 2; }
  .quick__list { grid-template-columns: 1fr; }
  .quick__list li { border-left: 0 !important; border-top: 1px solid var(--line); }
  .quick__list li:first-child { border-top: 0; }
  .stats { grid-template-columns: 1fr; }
  .finder__cols, .form__row { grid-template-columns: 1fr; }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  /* Rows that pair long German labels with a nowrap control must wrap here. */
  .band__facts li, .hours li { flex-wrap: wrap; }
  .band__facts .btn { align-self: flex-start; }
  .footer__col { grid-column: span 12; }
  .arcs__card { position: static; max-width: none; margin-top: var(--s-5); }
}

/* =========================================================================
   Price list — service · duration · from-price
   ========================================================================= */

.pricelist { display: grid; gap: 0; }
.price-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s-5); padding-block: var(--s-4);
  border-bottom: 1px solid var(--line);
}
.price-row:last-child { border-bottom: 0; }
.price-row__main { display: flex; flex-direction: column; gap: 3px; }
.price-row__name { font-weight: 600; letter-spacing: var(--tr-head); }
.price-row__meta { font-size: var(--fs-sm); color: var(--color-muted); }
.price-row__price {
  font-family: var(--font-display); font-size: var(--fs-md); font-weight: 600;
  color: var(--color-accent-ink); white-space: nowrap;
}
.pricenote { margin-top: var(--s-5); font-size: var(--fs-sm); color: var(--color-muted); }

/* =========================================================================
   Gallery — placeholder tiles a client swaps for real photography
   ========================================================================= */

.gallery {
  display: grid; gap: var(--s-4);
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.gallery__tile {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg);
  overflow: hidden; border: 1px solid var(--line);
  background: var(--color-surface-2); display: grid; place-items: center;
}
.gallery__tile svg { width: 38%; height: 38%; opacity: .4; color: var(--color-accent); }
.gallery__tile--dark { background: linear-gradient(155deg, var(--color-primary), var(--color-primary-2)); border-color: transparent; }
.gallery__tile--dark svg { color: var(--color-accent); opacity: .7; }
.gallery__tile--rose { background: linear-gradient(155deg, var(--color-accent-wash), var(--color-secondary)); }
.gallery__tile--gold { background: linear-gradient(155deg, var(--color-accent-wash), var(--color-accent)); }
.gallery__tile--gold svg { color: var(--color-primary); opacity: .5; }
.gallery__cap {
  position: absolute; left: var(--s-4); bottom: var(--s-3);
  font-size: var(--fs-sm); font-weight: 600; color: var(--color-muted);
}
.gallery__tile--dark .gallery__cap { color: var(--color-muted-invert); }
.gallery__note { margin-top: var(--s-4); font-size: var(--fs-sm); color: var(--color-muted); }

/* =========================================================================
   Homepage redesign — LUMINA-style, photo-forward layout
   ========================================================================= */

/* Image placeholder — a client swaps these for real photography */
.imgph {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(255,255,255,.5), transparent 55%),
    linear-gradient(150deg, var(--color-surface-2), var(--color-accent-wash) 70%, var(--color-secondary));
  border: 1px solid var(--line); display: grid; place-items: center;
}
.imgph svg { width: 34%; max-width: 120px; opacity: .38; color: var(--color-accent); }
.imgph__tag {
  position: absolute; left: var(--s-4); bottom: var(--s-3);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase; color: var(--color-muted);
}
.imgph--dark {
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(176,137,78,.28), transparent 55%),
    linear-gradient(150deg, var(--color-primary), var(--color-primary-2));
  border-color: transparent;
}
.imgph--dark svg { color: var(--color-accent); opacity: .7; }
.imgph--dark .imgph__tag { color: var(--color-muted-invert); }

/* Real photography dropped into the placeholder frames (.imgph / .gallery__tile).
   The image absolutely fills the frame; tags/captions ride on top with a scrim. */
.imgph > .ph-img, .gallery__tile > .ph-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; display: block;
}
.imgph:has(.ph-img) .imgph__tag,
.gallery__tile:has(.ph-img) .gallery__cap { z-index: 2; color: #fff; }
.imgph:has(.ph-img) .imgph__tag {
  background: rgba(20, 17, 12, .42); padding: 5px 11px; border-radius: var(--r-pill);
}
.gallery__tile:has(.ph-img)::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(20, 17, 12, .58), transparent 46%);
}

.btn--lg { padding: var(--s-4) var(--s-6); font-size: var(--fs-md); }

/* Hero — big headline left, large image right */
.lhero { padding-block: clamp(var(--s-6), 4vw, var(--s-8)) var(--section-y); }
.lhero__grid {
  display: grid; grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(var(--s-6), 5vw, var(--s-9)); align-items: center;
}
.lhero__copy { max-width: 46ch; }
.lhero__copy h1 { margin-top: var(--s-4); }
.lhero__copy .lead { margin-top: var(--s-5); max-width: 48ch; }
.lhero__actions { margin-top: clamp(var(--s-6), 4vw, var(--s-7)); display: flex; gap: var(--s-5); align-items: center; flex-wrap: wrap; }
.playlink { display: inline-flex; align-items: center; gap: var(--s-3); font-weight: 600; text-decoration: none; }
.playlink__ic { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--color-accent-ink); transition: background var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease); }
.playlink:hover .playlink__ic { background: var(--color-accent-wash); border-color: var(--color-accent); }
.lhero__visual { position: relative; }
.lhero__img { aspect-ratio: 5 / 6; box-shadow: var(--sh-3); }
.lhero__chip {
  position: absolute; left: calc(var(--s-5) * -1); bottom: var(--s-6);
  background: var(--color-surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: var(--s-4) var(--s-5); box-shadow: var(--sh-2);
  display: flex; align-items: center; gap: var(--s-4);
}
.lhero__chip .lhero__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--color-success); flex: none; }
.lhero__chip-l { font-size: var(--fs-xs); color: var(--color-muted); }
.lhero__chip-v { font-family: var(--font-display); font-weight: 600; }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(var(--s-5), 3vw, var(--s-7)); }
.trust__item { display: flex; gap: var(--s-4); align-items: flex-start; }
.trust__item svg { flex: none; width: 28px; height: 28px; color: var(--color-accent); }
.trust__t { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 600; }
.trust__d { font-size: var(--fs-sm); color: var(--color-muted); margin-top: 2px; }

/* Section header with an inline "see all" link */
.headrow { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; margin-bottom: clamp(var(--s-5), 3.5vw, var(--s-7)); }
.headrow .sec-head { margin-bottom: 0; }

/* Service cards with photo, price, arrow */
.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(var(--s-4), 2.4vw, var(--s-5)); }
.svc__card { display: flex; flex-direction: column; background: var(--color-surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
.svc__card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.svc__img { aspect-ratio: 4 / 3; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); }
.svc__body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.svc__title { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 600; }
.svc__desc { font-size: var(--fs-sm); color: var(--color-muted); flex: 1; }
.svc__foot { display: flex; align-items: center; justify-content: space-between; margin-top: var(--s-4); }
.svc__price { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 600; color: var(--color-accent-ink); }
.svc__arrow { color: var(--color-accent); display: inline-flex; }

/* About the studio — image + copy + stat tiles */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--s-6), 5vw, var(--s-8)); align-items: center; }
.about__img { aspect-ratio: 4 / 5; }
.stat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); margin-top: var(--s-6); }
.stat-tile { background: var(--color-surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-5) var(--s-4); }
.stat-tile__v { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 600; color: var(--color-accent-ink); line-height: 1; }
.stat-tile__l { font-size: var(--fs-xs); color: var(--color-muted); margin-top: var(--s-2); }

/* Horizontal process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(var(--s-5), 3vw, var(--s-7)); }
.process__step { position: relative; }
.process__num { width: 58px; height: 58px; border-radius: 50%; background: var(--color-accent-wash); color: var(--color-accent-ink); display: grid; place-items: center; font-family: var(--font-display); font-size: var(--fs-md); font-weight: 600; margin-bottom: var(--s-4); }
.process__step:not(:last-child) .process__num::after { content: ""; position: absolute; top: 29px; left: 58px; right: calc(var(--s-5) * -1); height: 1px; background: var(--line-strong); }
.process__t { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 600; }
.process__d { font-size: var(--fs-sm); color: var(--color-muted); margin-top: var(--s-2); }

/* Promo banner with image side */
.promo { display: grid; grid-template-columns: 1.15fr 0.85fr; border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(125deg, var(--color-primary), var(--color-primary-2)); color: var(--color-text-invert); }
.promo__copy { padding: clamp(var(--s-6), 5vw, var(--s-8)); align-self: center; }
.promo__copy .eyebrow { color: var(--color-accent); }
.promo__copy h2 { color: var(--color-text-invert); }
.promo__copy .lead { color: var(--color-muted-invert); margin-top: var(--s-4); }
.promo__copy .btn { margin-top: var(--s-6); }
.promo__img { min-height: 240px; border-radius: 0; }

@media (max-width: 980px) {
  .lhero__grid, .about, .promo { grid-template-columns: 1fr; }
  /* Hero: keep headline + primary CTA first on mobile; visual follows.
     (Do NOT reorder the visual above the copy — it pushes the H1/CTA below the fold.) */
  .about__img { order: -1; }
  .promo__img { min-height: 200px; }
  .trust, .svc, .process { grid-template-columns: repeat(2, 1fr); }
  .lhero__chip { left: var(--s-5); }
}
@media (max-width: 560px) {
  .trust, .svc, .process, .stat-tiles { grid-template-columns: 1fr; }
  .process__step:not(:last-child) .process__num::after { display: none; }
}

/* =========================================================================
   Motion preferences & print
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .cookie, .toast, .modal, .to-top { display: none !important; }
  body { background: #fff; }
}
/* Keep the demo mode switch above the cookie bar (z 180) so it is never hidden,
   and give it an accent ring so it is easy to find. */
.modeswitch {
  z-index: 185;
  box-shadow: 0 10px 30px rgba(15, 20, 25, .30),
              0 0 0 3px color-mix(in srgb, var(--color-accent) 55%, transparent);
}
