/* ==========================================================================
   Podologie Schley – Redesign 2026
   Reines CSS ohne Build-Schritt. Farben aus dem Logo abgeleitet.
   ========================================================================== */

@font-face {
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/public/fonts/comfortaa-v45-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/public/fonts/comfortaa-v45-latin-700.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  --gold: #eead0c;
  --gold-2: #f7c934;
  --gold-soft: #fdf1cf;
  --gold-ink: #8a5f00;
  --navy: #0c1f26;
  --navy-2: #173947;

  --bg: #fbf8f2;
  --surface: #ffffff;
  --surface-2: #f4eee2;
  --ink: #0c1f26;
  --muted: #56666b;
  --line: rgb(12 31 38 / .1);
  --shadow: 0 1px 2px rgb(12 31 38 / .04), 0 12px 32px -12px rgb(12 31 38 / .16);
  --shadow-lg: 0 2px 4px rgb(12 31 38 / .04), 0 32px 64px -24px rgb(12 31 38 / .28);
  --glass: rgb(255 255 255 / .72);
  --glass-nav: rgb(255 255 255 / .92);

  --font-display: 'Comfortaa', ui-rounded, system-ui, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 76px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #08161b;
  --surface: #0f2129;
  --surface-2: #122a33;
  --ink: #f3efe6;
  --muted: #a3b2b6;
  --line: rgb(255 255 255 / .09);
  --gold-soft: rgb(238 173 12 / .12);
  --gold-ink: #f7c934;
  --shadow: 0 1px 2px rgb(0 0 0 / .2), 0 12px 32px -12px rgb(0 0 0 / .5);
  --shadow-lg: 0 32px 64px -24px rgb(0 0 0 / .6);
  --glass: rgb(15 33 41 / .72);
    --glass-nav: rgb(15 33 41 / .92);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #08161b;
    --surface: #0f2129;
    --surface-2: #122a33;
    --ink: #f3efe6;
    --muted: #a3b2b6;
    --line: rgb(255 255 255 / .09);
    --gold-soft: rgb(238 173 12 / .12);
    --gold-ink: #f7c934;
    --shadow: 0 1px 2px rgb(0 0 0 / .2), 0 12px 32px -12px rgb(0 0 0 / .5);
    --shadow-lg: 0 32px 64px -24px rgb(0 0 0 / .6);
    --glass: rgb(15 33 41 / .72);
    --glass-nav: rgb(15 33 41 / .92);
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}

img, video, svg { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold-2); color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.icon { width: 1.15em; height: 1.15em; flex: none; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 999px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1 strong, h2 strong { color: var(--gold-ink); font-weight: inherit; }

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}
.container--narrow { width: min(100% - 2 * var(--gutter), 860px); }

.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section--tint { background: var(--surface-2); }
.section--dark {
  background: var(--navy);
  color: #f3efe6;
  --muted: #a3b2b6;
  --line: rgb(255 255 255 / .1);
  --gold-ink: var(--gold-2);
  --surface: #12303b;
  isolation: isolate;
  overflow: hidden;
}
.section--dark::before {
  content: '';
  position: absolute; inset: -40% -10% auto auto;
  width: 60vw; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgb(238 173 12 / .22), transparent);
  z-index: -1;
  pointer-events: none;
}
.page-intro { padding-top: clamp(40px, 6vw, 80px); }

.center { text-align: center; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h1, .section-head h2 { margin-bottom: .3em; }
.section-head--row {
  max-width: none;
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .8em 1.4em;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600; font-size: 1rem; line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s;
}
.btn::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .45) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover::after { transform: translateX(100%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }

.btn--primary { --btn-bg: linear-gradient(135deg, var(--gold-2), var(--gold)); --btn-fg: var(--navy); background: var(--btn-bg); }
.btn--dark { --btn-bg: var(--navy); --btn-fg: #fff; }
.btn--ghost { --btn-bg: transparent; border-color: var(--line); }
.btn--ghost:hover { --btn-bg: var(--surface); }
.btn--sm { padding: .6em 1.1em; font-size: .9rem; }
.btn--link { --btn-bg: transparent; padding-inline: .4em; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.btn--link:hover { box-shadow: none; }
.btn--link::after { display: none; }
.btn--lg { padding: 1em 1.7em; font-size: 1.05rem; }

/* ---------- Status-Pill (Jetzt geöffnet) ---------- */
.status-pill {
  --c: #9aa5a8;
  display: inline-flex; align-items: center; gap: .5em;
  padding: .35em .85em;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c) 14%, transparent);
  color: var(--ink);
  font-size: .85rem; font-weight: 600; white-space: nowrap;
}
.status-pill[data-state="open"] { --c: #22a06b; }
.status-pill[data-state="closed"] { --c: #d4543a; }
.status-pill[data-state="appointment"] { --c: var(--gold); }
.status-pill__dot {
  width: .55em; height: .55em; border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 0 var(--c);
}
.status-pill[data-state="open"] .status-pill__dot { animation: pulse 2s infinite; }
.section--dark .status-pill { color: #fff; }
.status-pill--inline { font-size: 1em; vertical-align: middle; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 60%, transparent); }
  70% { box-shadow: 0 0 0 .6em transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ---------- Ticker ---------- */
/* Ticker: dezenter heller Streifen mit festem „Aktuell“-Label */
.ticker {
  position: relative;
  display: flex; align-items: stretch; /* Label so hoch wie der Streifen */
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: .9rem;
  overflow: hidden;
}
.ticker__label {
  position: relative; z-index: 1;
  flex: none;
  display: inline-flex; align-items: center; gap: .4em;
  padding: 0 1.1em 0 var(--gutter);
  background: var(--navy); color: #fff;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  padding-right: calc(1.1em + 10px);
}
.ticker__label .icon { color: var(--gold-2); width: 1em; height: 1em; }
.ticker__track {
  flex: none;
  display: flex; gap: 4rem; width: max-content;
  white-space: nowrap;
  padding-block: .55em;
  animation: marquee 30s linear infinite;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.ticker:hover .ticker__track { animation-play-state: paused; }
:root[data-theme="dark"] .ticker__label { background: var(--gold); color: var(--navy); }
:root[data-theme="dark"] .ticker__label .icon { color: var(--navy); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ticker__label { background: var(--gold); color: var(--navy); }
  :root:not([data-theme="light"]) .ticker__label .icon { color: var(--navy); }
}

/* ---------- Header ---------- */
.site-header {
  /* Die Leiste ragt um ihren Innenabstand über den Inhalt hinaus,
     damit Logo und Buttons exakt an der Inhaltskante stehen */
  --nav-pad: 20px;
  position: sticky; top: 0; z-index: 50;
  padding: 12px max(0px, calc(var(--gutter) - var(--nav-pad) - 1px));
  transition: padding .4s var(--ease);
}
@media (max-width: 600px) { .site-header { --nav-pad: 12px; } }
.nav {
  max-width: calc(var(--max) + 2 * var(--nav-pad) + 2px); margin-inline: auto;
  display: flex; align-items: center; gap: 24px;
  min-height: 60px;
  padding: 8px var(--nav-pad);
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.is-scrolled .nav {
  background: var(--glass-nav);
  border-color: var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
}
.nav__logo { flex: none; display: block; }
.nav__logo .logo { height: 40px; width: auto; }
.logo--dark { display: none; }
:root[data-theme="dark"] .logo--light { display: none; }
:root[data-theme="dark"] .logo--dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo--light { display: none; }
  :root:not([data-theme="light"]) .logo--dark { display: block; }
}

.nav__links {
  display: flex; gap: 4px;
  list-style: none; margin: 0 auto; padding: 0;
}
.nav__links a {
  position: relative;
  display: block;
  padding: .5em .9em;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500; font-size: .95rem;
  color: var(--muted);
  transition: color .2s, background-color .2s;
}
.nav__links a:hover { color: var(--ink); background: var(--surface-2); }
.nav__links a[aria-current] { color: var(--ink); }
.nav__links a[aria-current]::after {
  content: '';
  position: absolute; left: 50%; bottom: 2px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
  translate: -50% 0;
}
.nav__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav__links + .nav__actions { margin-left: 0; }

.nav__icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: .8rem; font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .3s var(--ease), background-color .2s;
}
.nav__icon-btn:hover { transform: rotate(-8deg) scale(1.05); }
.nav__icon-btn .icon { width: 20px; height: 20px; }
.icon--moon { display: none; }
:root[data-theme="dark"] .icon--sun { display: none; }
:root[data-theme="dark"] .icon--moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon--sun { display: none; }
  :root:not([data-theme="light"]) .icon--moon { display: block; }
}

.nav__toggle { display: none; }

/* Öffnungsstatus in der Navigation: Uhr-Symbol mit farbigem Punkt, Text als Tooltip */
.nav__status { position: relative; --c: #9aa5a8; }
.nav__status[data-state="open"] { --c: #22a06b; }
.nav__status[data-state="closed"] { --c: #d4543a; }
.nav__status[data-state="appointment"] { --c: var(--gold); }
.nav__status:hover { transform: none; }
.nav__status-dot {
  position: absolute; top: 7px; right: 7px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 2px var(--surface);
}
.nav__status[data-state="open"] .nav__status-dot { animation: pulse 2s infinite; }
.nav__status-tip {
  position: absolute; top: calc(100% + 10px); right: 50%; translate: 50% -4px;
  padding: .45em .8em;
  border-radius: 10px;
  background: var(--navy); color: #fff;
  font-size: .8rem; font-weight: 600; white-space: nowrap;
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none;
  transition: opacity .2s, translate .2s var(--ease);
}
.nav__status-tip::first-letter { text-transform: uppercase; }
.nav__status:is(:hover, :focus-visible) .nav__status-tip { opacity: 1; translate: 50% 0; }

/* Navigation schrittweise verdichten, damit nichts aus der Leiste ragt */
@media (max-width: 1380px) {
  .nav { gap: 16px; }
  .nav__links a { padding: .5em .7em; }
}
@media (max-width: 1260px) {
  .nav__call span { display: none; }
  .nav__call { width: 44px; height: 44px; padding: 0; }
}
@media (max-width: 1120px) {
  .nav__links { display: none; }
  .nav__links + .nav__actions { margin-left: auto; } /* Logo links, Symbole rechts */
  .nav__toggle { display: inline-grid; }
}
@media (max-width: 420px) {
  .nav__actions > a.nav__icon-btn { display: none; }
}

/* Mobiles Menü (Popover-API) */
.mobile-menu {
  position: fixed; inset: 0;
  width: 100%; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 96px var(--gutter) 40px;
  border: 0;
  background: var(--bg);
  color: var(--ink);
  flex-direction: column; align-items: flex-start; gap: 24px;
  opacity: 0;
  transition: opacity .3s, display .3s allow-discrete, overlay .3s allow-discrete;
}
.mobile-menu:popover-open { display: flex; opacity: 1; }
@starting-style { .mobile-menu:popover-open { opacity: 0; } }
.mobile-menu ul { list-style: none; margin: 0 0 16px; padding: 0; }
.mobile-menu li {
  opacity: 0; translate: 0 16px;
  transition: opacity .5s var(--ease), translate .5s var(--ease);
  transition-delay: calc(var(--i) * 50ms + 100ms);
}
.mobile-menu:popover-open li { opacity: 1; translate: 0 0; }
@starting-style { .mobile-menu:popover-open li { opacity: 0; translate: 0 16px; } }
.mobile-menu li a {
  display: block; padding: .15em 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 9vw, 3rem);
  text-decoration: none;
}
.mobile-menu li a[aria-current] { color: var(--gold-ink); }
.mobile-menu__close { position: absolute; top: 24px; right: var(--gutter); }
.mobile-menu__lang { color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(24px, 4vw, 48px) 0 clamp(56px, 8vw, 112px);
  margin-top: calc(-1 * var(--header-h) - 24px);
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 72px));
  isolation: isolate;
  overflow: hidden;
}
.hero__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 50% at 85% 20%, rgb(247 201 52 / .35), transparent 70%),
    radial-gradient(35% 45% at 10% 75%, rgb(238 173 12 / .18), transparent 70%);
  /* zum unteren Rand hin ausblenden, damit kein harter Übergang zum nächsten Abschnitt entsteht */
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  animation: glow 14s ease-in-out infinite alternate;
}
@keyframes glow {
  to { transform: translate3d(-4%, 3%, 0) scale(1.08); }
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}
.hero__title {
  font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.3rem);
  line-height: 1.05;
  margin-bottom: .45em;
}
.hero__title strong {
  background: linear-gradient(100deg, var(--gold), var(--gold-2), var(--gold));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: -200% 0; } }
.hero__lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--muted); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 40px; }
.hero__trust {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px 24px;
  list-style: none; margin: 0; padding: 0;
  font-size: .92rem; color: var(--muted);
}
.hero__trust li { display: flex; align-items: center; gap: .5em; }
.hero__trust .icon { color: var(--gold); }

.hero__media { position: relative; }
.hero__frame {
  position: relative;
  aspect-ratio: 11 / 13;
  border-radius: 48% 52% 40% 60% / 38% 40% 60% 62%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: morph 16s ease-in-out infinite alternate;
  background: var(--surface-2);
}
@keyframes morph {
  50% { border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%; }
  100% { border-radius: 40% 60% 46% 54% / 52% 38% 62% 48%; }
}
.hero__frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 1.4s ease, transform 7s linear;
}
.hero__frame img.is-active { opacity: 1; transform: scale(1); }

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: var(--shadow-lg);
}
.hero__card {
  position: absolute; left: -24px; bottom: 8%;
  display: grid; gap: 4px;
  padding: 18px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  min-width: 230px;
  animation: float 6s ease-in-out infinite;
}
.hero__card strong { font-family: var(--font-display); font-size: 1.1rem; }
.hero__card-link { display: flex; align-items: center; gap: .4em; font-size: .85rem; color: var(--muted); }
.hero__badge {
  position: absolute; right: 4%; top: 6%;
  width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center;
  /* Immer heller Grund, damit die Logofarben in beiden Modi gut erkennbar sind */
  background: #fff;
  border: 1px solid rgb(238 173 12 / .35);
  box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out -2s infinite;
}
.hero__badge img { width: 58px; height: auto; }
@keyframes float { 50% { translate: 0 -12px; } }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; margin-inline: auto; width: 100%; }
  .hero__card { left: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  padding-block: 22px;
  border-block: 1px solid var(--line);
  background: var(--surface);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex; gap: 48px; width: max-content;
  animation: marquee 50s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  display: flex; align-items: center; gap: 48px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.1rem, 1rem + .8vw, 1.6rem);
  white-space: nowrap;
}
.marquee span::after { content: '✦'; color: var(--gold); font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Google-Bewertung ---------- */
.review {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 10px; justify-items: start;
  padding: 28px 26px 26px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: #f3efe6;
  text-decoration: none !important;
  box-shadow: var(--shadow-lg);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.review::before {
  content: ''; position: absolute; inset: -40% -40% auto auto; z-index: -1;
  width: 90%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgb(247 201 52 / .35), transparent);
  transition: transform .8s var(--ease);
}
.review:hover { transform: translateY(-6px) rotate(-1deg); }
.review:hover::before { transform: scale(1.3); }
.review__google {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 16px -6px rgb(0 0 0 / .4);
}
.review__stars { display: inline-block; margin-top: 8px; font-size: 1.5rem; line-height: 1; letter-spacing: 2px; color: var(--gold-2); }
/* Echte Note: leere Sterne als Grund, goldene Sterne anteilig darüber (z. B. 4,8 von 5) */
.review__score { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.review__value { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: #fff; }
.review__stars--rated { position: relative; margin: 0; color: rgb(255 255 255 / .2); white-space: nowrap; }
.review__stars-fill {
  position: absolute; inset: 0 auto 0 0;
  width: calc(var(--rating) / 5 * 100%);
  overflow: hidden; color: var(--gold-2);
  transition: filter .4s;
}
.review:hover .review__stars-fill { filter: drop-shadow(0 0 6px rgb(247 201 52 / .6)); }
.review__count { font-size: .85rem; color: rgb(243 239 230 / .7); margin-top: -4px; }
.review__source { font-size: .7rem; color: rgb(243 239 230 / .45); margin-top: 2px; }
.review__title { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1.2; color: #fff; }
.review__text { font-size: .92rem; line-height: 1.55; color: rgb(243 239 230 / .75); }
.review__button {
  display: inline-flex; align-items: center; gap: .5em;
  margin-top: 8px; padding: .65em 1.1em;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--navy); font-weight: 600; font-size: .9rem;
  white-space: nowrap;
}
.review__button .icon { transition: transform .3s var(--ease); }
.review:hover .review__button .icon { transform: translateX(4px); }

/* ---------- Partner & Mitgliedschaften ---------- */
.partners { padding-block: clamp(32px, 4vw, 48px); border-block: 1px solid var(--line); }
.partners__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.partners__label {
  margin: 0; flex: none;
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.partners__label .icon { color: var(--gold); }
.partners__list {
  list-style: none; margin: 0; padding: 0;
  width: 100%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 32px;
}
.partners__list img {
  height: 40px; width: auto; max-width: 150px; object-fit: contain;
  filter: grayscale(1); opacity: .6;
  mix-blend-mode: multiply; /* weiße Logo-Hintergründe verschwinden auf dem hellen Grund */
  transition: filter .35s, opacity .35s, transform .35s var(--ease);
}
.partner--s img { height: 28px; }
.partner--l img { height: 58px; max-width: 170px; }
@media (max-width: 900px) { .partners__list { justify-content: center; gap: 24px 40px; } }
.partners__list a:hover img, .partners__list a:focus-visible img { filter: none; opacity: 1; transform: scale(1.05); }
/* Im Dunkelmodus Logos auf hellem Grund, damit dunkle Schriftzüge lesbar bleiben */
:root[data-theme="dark"] .partners__list img { filter: grayscale(1) invert(1) brightness(1.4); mix-blend-mode: screen; }
:root[data-theme="dark"] .partners__list a:hover img { filter: invert(1) hue-rotate(180deg); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .partners__list img { filter: grayscale(1) invert(1) brightness(1.4); mix-blend-mode: screen; }
  :root:not([data-theme="light"]) .partners__list a:hover img { filter: invert(1) hue-rotate(180deg); }
}





/* ---------- Kirby-Layout ---------- */
.layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(24px, 5vw, 72px);
}
.layout + .layout { margin-top: clamp(40px, 6vw, 80px); }
.layout__col { grid-column: span var(--span); min-width: 0; }
@media (max-width: 860px) { .layout__col { grid-column: 1 / -1; } }

/* ---------- Prose (Block-Inhalte) ---------- */
.prose { max-width: 100%; }
.prose > :last-child { margin-bottom: 0; }
.prose h1, .prose h2 { margin-top: 1.4em; }
.prose h3, .prose h4 { margin-top: 1.6em; }
.prose > :first-child { margin-top: 0; }
.prose h2 p, .prose h1 p { margin: 0; display: inline; }
.prose a { color: var(--gold-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 0; margin: 0 0 1.4em; list-style: none; }
.prose ul li, .prose ol li { position: relative; padding-left: 1.8em; margin-bottom: .45em; }
.prose li > ul, .prose li > ol { margin: .45em 0 .8em; }
.prose ul li::before {
  content: '';
  position: absolute; left: 0; top: .45em;
  width: 1.05em; height: 1.05em;
  border-radius: 50%;
  background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c88f00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.prose ol { counter-reset: li; }
/* nur direkte Listenpunkte zählen – verschachtelte Aufzählungen behalten ihre Haken */
.prose ol > li::before {
  counter-increment: li; content: counter(li); background-image: none;
  position: absolute; left: 0; top: .2em;
  width: 1.4em; height: 1.4em; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold-ink);
  font-size: .8em; font-weight: 700;
}
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--radius); }
.prose figcaption { font-size: .875rem; color: var(--muted); margin-top: .6em; }
.prose blockquote {
  position: relative;
  margin: 2em 0;
  padding: clamp(28px, 4vw, 44px);
  padding-left: clamp(28px, 6vw, 88px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--gold-soft), transparent 70%), var(--surface);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem);
  line-height: 1.5;
}
.prose blockquote::before {
  content: '“';
  position: absolute; left: clamp(12px, 2vw, 28px); top: -.1em;
  font-size: 5em; line-height: 1;
  color: var(--gold);
}
.prose blockquote footer {
  margin-top: 1em;
  font-family: var(--font-body); font-size: .95rem;
  color: var(--muted);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.prose th, .prose td { padding: .7em; border-bottom: 1px solid var(--line); text-align: left; }
.prose--intro { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.prose--intro > :is(h1, h2) + p { font-size: 1.15rem; color: var(--muted); }
/* Überzeile direkt über der Hauptüberschrift – überall gleicher Abstand wie bei Aktuelles */
.prose > .eyebrow { margin-bottom: 1rem; }
.prose > .eyebrow + :is(h1, h2) { margin-top: 0; }
.prose--small { font-size: .95rem; }
/* Inhaltsseiten: volle Containerbreite, Fließtext bleibt aber gut lesbar schmal */
.prose--page > :is(p, ul, ol, h1, h2, h3, h4, h5, h6, blockquote, .accordion, .downloads) { max-width: 820px; }

/* Bild in der rechten Spalte der Startseite (Google-Bewertungen) */
.layout__col figure:only-child { margin: 0; }
.layout__col figure a { display: block; border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.layout__col figure a:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: var(--shadow-lg); }

/* ---------- Spotlight-Hover (Maus folgt) ---------- */
.spotlight { position: relative; isolation: isolate; }
.spotlight::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgb(247 201 52 / .18), transparent 45%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.spotlight:hover::before { opacity: 1; }

/* ---------- Leistungen ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 20px;
}
/* Startseite (4 Karten) und Leistungsseite (8 Karten): 4, 2 oder 1 Spalte,
   damit nie eine Karte allein in der Zeile steht */
.service-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }
.service-card {
  display: flex; flex-direction: column;
  padding: 0; border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  text-align: left; text-decoration: none;
  cursor: pointer;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgb(238 173 12 / .5); }
.service-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover img { transform: scale(1.06); }
.service-card__body {
  position: relative; z-index: 2;
  /* Nummer und Titel oben bündig, Pfeil unten rechts – freier Raum landet unten statt zwischen Nummer und Titel */
  display: grid; grid-template-columns: minmax(0, 1fr) 38px; grid-template-rows: auto auto 1fr; gap: 8px 12px; align-items: start;
  padding: 20px 22px 22px;
  flex: 1;
}
.service-card__no { grid-column: 1 / -1; align-self: start; font-size: .8rem; font-weight: 700; color: var(--gold-ink); letter-spacing: .1em; }
.service-card { container-type: inline-size; }
.service-card__title { grid-column: 1; grid-row: 2 / 4; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; line-height: 1.3; }
/* Schmale Karten: lange Wörter sauber trennen statt mitten im Wort umbrechen */
@container (max-width: 320px) {
  .service-card__title { font-size: 1rem; hyphens: auto; }
}
.service-card__arrow, .service-card__plus {
  grid-column: 2; grid-row: 3; align-self: end; margin-top: 12px;
  width: 38px; height: 38px; padding: 9px;
  max-width: none; flex: none; box-sizing: border-box;
  border-radius: 50%;
  background: var(--surface-2);
  transition: background-color .3s, transform .4s var(--ease);
}
.service-card:hover .service-card__arrow,
.service-card:hover .service-card__plus { background: var(--gold); color: var(--navy); transform: rotate(-45deg); }
.service-card:hover .service-card__plus { transform: rotate(90deg); }

/* Detail-Ansicht (dialog) */
.sheet {
  width: min(100% - 32px, 1080px);
  max-height: min(92dvh, 900px);
  padding: 0; border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-lg);
  opacity: 0; translate: 0 40px; scale: .98;
  transition: opacity .4s var(--ease), translate .5s var(--ease), scale .5s var(--ease), display .5s allow-discrete, overlay .5s allow-discrete;
}
.sheet[open] { opacity: 1; translate: 0 0; scale: 1; }
@starting-style { .sheet[open] { opacity: 0; translate: 0 40px; scale: .98; } }
.sheet::backdrop {
  background: rgb(8 22 27 / 0);
  backdrop-filter: blur(0);
  transition: background-color .4s, backdrop-filter .4s, display .4s allow-discrete, overlay .4s allow-discrete;
}
.sheet[open]::backdrop { background: rgb(8 22 27 / .55); backdrop-filter: blur(6px); }
@starting-style { .sheet[open]::backdrop { background: rgb(8 22 27 / 0); backdrop-filter: blur(0); } }
.sheet__inner { display: grid; grid-template-columns: 2fr 3fr; max-height: inherit; }
.sheet__media { position: relative; min-height: 220px; background: var(--surface-2); }
.sheet__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sheet__body { padding: clamp(28px, 4vw, 56px); overflow-y: auto; max-height: inherit; }
.sheet__close { position: absolute; top: 16px; right: 16px; z-index: 2; }
@media (max-width: 760px) {
  .sheet__inner { grid-template-columns: 1fr; overflow-y: auto; }
  .sheet__media { height: 200px; min-height: 0; }
  .sheet__body { max-height: none; overflow: visible; }
}

/* Preise */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 20px;
  margin-top: 40px;
}
.price-card {
  display: flex; flex-direction: column;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card__title { font-size: 1.15rem; margin-bottom: .4em; }
.price-card__duration { display: inline-flex; align-items: center; gap: .4em; font-size: .85rem; color: var(--muted); margin-bottom: 1em; }
.price-card__text { color: var(--muted); flex: 1; }
.price-card__text ul li { margin-bottom: .25em; }
.price-card__price {
  margin: 20px 0 0; padding-top: 18px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.8rem; color: var(--gold-ink);
}
.price-card__price s { font-size: .55em; color: var(--muted); margin-left: .4em; }
.price-card__price small { font-family: var(--font-body); font-size: .8rem; font-weight: 500; color: var(--muted); margin-left: .4em; }
.price-card__alt {
  display: flex; align-items: center; gap: 12px;
  margin: 12px 0 0; padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgb(34 160 107 / .1);
  border: 1px solid rgb(34 160 107 / .25);
  font-size: .85rem; line-height: 1.3;
}
.price-card__price .price-card__taxfree { color: #1b7f55; font-weight: 600; }
.price-card__alt-price { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #1b7f55; }
.price-card__alt small { color: var(--muted); }
:root[data-theme="dark"] :is(.price-card__alt-price, .price-card__price .price-card__taxfree) { color: #4cc493; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) :is(.price-card__alt-price, .price-card__price .price-card__taxfree) { color: #4cc493; } }
.price-card__note { font-size: .8rem; color: var(--muted); margin: .4em 0 0; }

/* Hinweis-Kasten (z. B. Privatversicherte) */
.notice {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px clamp(24px, 4vw, 56px); align-items: center;
  margin-top: 40px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--gold-soft), transparent 70%), var(--surface);
  border: 1px solid rgb(238 173 12 / .35);
}
.notice__icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy);
}
.notice__icon .icon { width: 26px; height: 26px; }
.notice__icon { align-self: start; }
/* Überschrift mittig zum Icon (56px), Karte rechts vertikal zentriert */
.notice__body { max-width: 820px; align-self: start; padding-top: 12px; }
.notice > .calc, .notice > .giftcard { align-self: center; }
/* Rechenbeispiel als kleine „Quittung“ */
.calc {
  display: grid; gap: 4px;
  min-width: 220px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-variant-numeric: tabular-nums;
  rotate: 2deg;
  transition: rotate .5s var(--ease);
}
.notice:hover .calc { rotate: 0deg; }
.calc__tag {
  justify-self: start;
  margin: -4px 0 10px;
  padding: .2em .75em; border-radius: 999px;
  background: var(--navy); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.calc__label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.calc__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.calc__value { font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; line-height: 1.2; }
.calc__value--result { font-size: 2.4rem; color: var(--gold-ink); }
.calc__row--op { margin: 4px 0; }
.calc__op {
  padding: .2em .7em; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy);
  font-weight: 700;
}
.calc__hint { font-size: .8rem; color: var(--muted); }
.calc__line { height: 0; border-top: 2px dashed var(--line); margin: 8px 0 6px; }
@media (max-width: 960px) {
  .notice { grid-template-columns: auto minmax(0, 1fr); }
  .calc { grid-column: 2; justify-self: start; rotate: 0deg; }
}
.notice__body h2, .notice__body h3 { margin-top: 0; }
.notice__body .example {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .4em;
}
@media (max-width: 600px) { .notice { grid-template-columns: 1fr; } .calc, .giftcard { grid-column: 1; } }
/* Gutscheinkarte */
.giftcard {
  position: relative; overflow: hidden;
  display: grid; gap: 2px; align-content: start;
  width: 260px; aspect-ratio: 1.6;
  padding: 20px 22px;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 100% 0%, rgb(247 201 52 / .35), transparent 55%),
    var(--navy);
  color: #fff;
  box-shadow: var(--shadow-lg);
  rotate: -3deg;
  transition: rotate .5s var(--ease);
}
.giftcard::after { /* Schleifenband */
  content: ""; position: absolute; top: 0; bottom: 0; right: 72px; width: 14px;
  background: linear-gradient(var(--gold-2), var(--gold));
  opacity: .9;
}
.notice:hover .giftcard { rotate: 0deg; }
.giftcard__logo { position: absolute; right: 16px; bottom: 14px; width: 40px; height: 40px; z-index: 1; padding: 5px; border-radius: 50%; background: #fff; }
.giftcard__tag { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.giftcard__title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.2; max-width: 150px; }
.giftcard__price { font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1.1; margin-top: 6px; }
.giftcard__brand { position: absolute; left: 22px; bottom: 16px; font-size: .75rem; opacity: .7; }
@media (max-width: 960px) { .giftcard { grid-column: 2; justify-self: start; rotate: 0deg; } }

/* ---------- Sprechzeiten ---------- */
.hours-status { font-size: 1.15rem; color: var(--muted); }
.week {
  list-style: none; margin: 0 0 40px; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.week__day {
  position: relative;
  display: flex; flex-direction: column; gap: 4px;
  padding: 22px 20px 26px;
  border-radius: var(--radius);
  background: rgb(255 255 255 / .04);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: background-color .3s, border-color .3s, transform .4s var(--ease);
}
.week__day:hover { transform: translateY(-4px); }
.week__name { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.week__time { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.week__time small { margin: 0 .15em; color: var(--muted); }
.week__time--note { font-size: 1.05rem; line-height: 1.3; }
.week__unit { font-size: .85rem; color: var(--muted); }
/* Zeitbalken 07:00–20:00 */
.week__bar {
  position: absolute; left: 20px; right: 20px; bottom: 12px;
  height: 4px; border-radius: 4px;
  background: rgb(255 255 255 / .08);
}
.week__bar::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  left: calc((var(--start) - 420) / 780 * 100%);
  right: calc((1200 - var(--end)) / 780 * 100%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}
.week__today {
  position: absolute; top: 14px; right: 14px;
  padding: .15em .6em; border-radius: 999px;
  background: var(--gold); color: var(--navy);
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  display: none;
}
.week__day.is-today { background: rgb(238 173 12 / .1); border-color: rgb(238 173 12 / .6); }
.week__day.is-today .week__today { display: block; }
/* Urlaub / Feiertag in der Wochenansicht */
.week__day.is-closed :is(.week__time, .week__unit) { opacity: .4; text-decoration: line-through; text-decoration-thickness: 2px; }
.week__day.is-closed .week__bar { opacity: .3; }
.week__day.is-closed::before,
.week__day.is-short:not(.is-today)::before {
  content: attr(data-closed);
  position: absolute; top: 14px; right: 14px;
  padding: .15em .6em; border-radius: 999px;
  background: rgb(255 255 255 / .12); color: var(--gold-2);
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
@media (max-width: 860px) { .week__day:is(.is-closed, .is-short:not(.is-today))::before { top: 50%; translate: 0 -50%; } }
/* Hinweis auf Schließzeit */
.closure-note {
  display: flex; align-items: flex-start; gap: 14px;
  margin: 0 0 24px; padding: 16px 20px;
  border-radius: var(--radius);
  background: rgb(238 173 12 / .1);
  border: 1px solid rgb(238 173 12 / .45);
}
.closure-note--active { background: rgb(238 173 12 / .18); border-color: var(--gold); }
.closure-note p { margin: 0; }
.closure-note strong { color: var(--gold-2); }
.closure-note__extra { display: block; margin-top: 2px; opacity: .75; font-size: .92rem; }
.closure-note__icon {
  flex: none; width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy);
}
.closure-note__icon .icon { width: 18px; height: 18px; }
@media (max-width: 860px) {
  .week { grid-template-columns: 1fr; }
  .week__day { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 16px 20px 22px; }
  .week__name { min-width: 7.5em; }
  .week__time { font-size: 1.15rem; }
  .week__today { top: 50%; translate: 0 -50%; }
}

.contact-cards { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; }
@media (max-width: 1100px) { .contact-cards:not(.contact-cards--stack) { grid-template-columns: 1fr 1fr; } .contact-cards:not(.contact-cards--stack) > :first-child { grid-column: 1 / -1; } }
.contact-cards--stack { grid-template-columns: 1fr; }
.contact-card {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform .4s var(--ease), border-color .3s;
}
.contact-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.contact-card small { display: block; color: var(--muted); font-size: .85rem; }
.contact-card strong { font-family: var(--font-display); font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-card--big strong { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.2rem); }
.contact-card__icon {
  flex: none;
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--navy);
}
.contact-card__icon .icon { width: 24px; height: 24px; }
.contact-card__arrow { margin-left: auto; transition: transform .3s var(--ease); }
.contact-card:hover .contact-card__arrow { transform: translateX(4px); }
@media (max-width: 760px) { .contact-cards, .contact-cards:not(.contact-cards--stack) { grid-template-columns: 1fr; } }

/* ---------- News ---------- */
/* Feste Spaltenzahl, damit keine Lücken entstehen:
   Übersicht 3 pro Reihe (9 pro Seite), Startseite 4 neueste Meldungen */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-grid--home { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1200px) { .news-grid--home { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1000px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .news-grid, .news-grid--home { grid-template-columns: 1fr; } }
.news-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.06); }
.news-card__placeholder { display: grid; place-items: center; height: 100%; }
.news-card__placeholder img { width: 64px; height: 64px; opacity: .6; filter: grayscale(.3); }
.news-card__body { position: relative; z-index: 2; display: flex; flex-direction: column; flex: 1; padding: 24px; }
.news-card__title { font-size: 1.2rem; line-height: 1.3; margin-bottom: .6em; }
.news-card__title a { text-decoration: none; }
.news-card__title a::after { content: ''; position: absolute; inset: 0; } /* ganze Karte klickbar */
.news-card__excerpt { color: var(--muted); font-size: .95rem; flex: 1; }
.news-card__more { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: .9rem; color: var(--gold-ink); }
.news-card__more .icon { transition: transform .3s var(--ease); }
.news-card:hover .news-card__more .icon { transform: translateX(4px); }

.meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  font-size: .85rem; color: var(--muted);
  margin-bottom: .8em;
}
.meta span { display: inline-flex; align-items: center; gap: .35em; }

.chips { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-block;
  padding: .45em 1em;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: .875rem; text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.chip:hover { border-color: var(--gold); }
.chip[aria-current] { background: var(--navy); color: #fff; border-color: var(--navy); }

.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 48px; }

/* ---------- Artikel ---------- */
.article__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.article__main { max-width: 760px; }
.article__title { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
.article__cover { margin: 0 0 40px; }
.article__cover img { width: 100%; max-height: min(70vh, 600px); object-fit: cover; object-position: 50% 25%; border-radius: var(--radius-lg); }
.article__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.aside-card { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.aside-card .chips { margin: 0; }
.aside-card__title { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.aside-list { list-style: none; margin: 0; padding: 0; }
.aside-list a {
  display: block; padding: .7em 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none; font-size: .95rem; line-height: 1.4;
  transition: color .2s, padding .3s var(--ease);
}
.aside-list li:last-child a { border-bottom: 0; }
.aside-list a:hover, .aside-list a[aria-current] { color: var(--gold-ink); padding-left: 6px; }
.aside-list small { display: block; color: var(--muted); font-size: .75rem; }
.backlink {
  display: flex; width: fit-content; align-items: center; gap: .5em;
  margin-bottom: 24px;
  color: var(--muted); text-decoration: none; font-size: .9rem;
}
.backlink:hover { color: var(--ink); }
@media (max-width: 960px) {
  .article__grid { grid-template-columns: 1fr; }
  .article__aside { position: static; }
}

/* Lesefortschritt (Scroll-driven Animation) */
.scroll-progress {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform-origin: 0 50%;
  transform: scaleX(0);
  display: none;
}
@supports (animation-timeline: scroll()) {
  .tpl-aktuellesartikel .scroll-progress, .tpl-glossar_eintrag .scroll-progress {
    display: block;
    animation: progress linear both;
    animation-timeline: scroll(root);
  }
}
@keyframes progress { to { transform: scaleX(1); } }

/* ---------- Glossar ---------- */
.glossary-tools {
  position: sticky; top: calc(var(--header-h) + 8px); z-index: 10;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  padding: 12px;
  margin-bottom: 40px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.search { display: flex; align-items: center; gap: 10px; flex: 1 1 240px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.search .icon { color: var(--gold); }
.search input { flex: 1; border: 0; background: none; padding: 12px 0; font: inherit; color: inherit; outline: none; }
.alphabet { display: flex; flex-wrap: wrap; gap: 4px; }
.alphabet a {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  font-weight: 700; text-transform: uppercase; text-decoration: none; font-size: .85rem;
  transition: background-color .2s, color .2s;
}
.alphabet a:hover, .alphabet a.is-active { background: var(--gold); color: var(--navy); }
.letter-group { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding-block: 24px; border-top: 1px solid var(--line); }
.letter-group__letter { font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1; text-transform: uppercase; color: var(--gold); margin: 0; }
.term-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.term {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none; font-weight: 500;
  transition: transform .3s var(--ease), border-color .3s;
}
.term:hover { transform: translateX(4px); border-color: var(--gold); }
.term .icon { color: var(--gold); opacity: 0; transition: opacity .2s; }
.term:hover .icon { opacity: 1; }
.term__name { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 600; }
.term__text {
  font-size: .85rem; font-weight: 400; line-height: 1.45; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.aside-card--short p:last-child { margin: 0; line-height: 1.55; }
.empty-state { text-align: center; color: var(--muted); padding: 40px 0; }
@media (max-width: 600px) { .letter-group { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Karriere / Accordion ---------- */
.jobs { display: grid; gap: 16px; margin-bottom: 40px; }
.job, .accordion details {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.job[open] { border-color: rgb(238 173 12 / .6); box-shadow: var(--shadow); }
.job summary, .accordion summary {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 26px;
  cursor: pointer; list-style: none;
}
.job summary::-webkit-details-marker, .accordion summary::-webkit-details-marker { display: none; }
.job__tag { padding: .25em .75em; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); font-size: .75rem; font-weight: 700; white-space: nowrap; }
.job__title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; flex: 1; }
.job__chevron, .accordion summary .icon { margin-left: auto; transition: transform .4s var(--ease); }
.job[open] .job__chevron, .accordion details[open] summary .icon { transform: rotate(180deg); }
.job__content, .accordion__content { padding: 0 26px 26px; }
::details-content { transition: height .4s var(--ease), content-visibility .4s allow-discrete; height: 0; overflow: clip; }
:root { interpolate-size: allow-keywords; }
details[open]::details-content { height: auto; }
.accordion { display: grid; gap: 10px; margin: 1.5em 0; }
.accordion summary { font-weight: 600; padding: 16px 20px; }
.accordion__content { padding: 0 20px 20px; }
@media (max-width: 600px) { .job summary { flex-wrap: wrap; } .job__tag { order: -1; } }

/* ---------- Formulare ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }
.form-card {
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form-grid, .form-card form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; align-content: start; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid, .form-card form { grid-template-columns: 1fr; } }
.label { font-size: .9rem; font-weight: 600; }
.label abbr, .field abbr { text-decoration: none; color: var(--gold-ink); }
.input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  line-height: 1.4;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
textarea.input { min-height: 150px; resize: vertical; }
.input:hover { border-color: color-mix(in srgb, var(--ink) 25%, transparent); }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgb(238 173 12 / .2); background: var(--surface); }
.check { width: 20px; height: 20px; accent-color: var(--gold); vertical-align: -4px; margin-right: 6px; }
.field label:has(.check) { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }
.field label:has(.check) .check { margin-top: 3px; flex: none; }
.field > div > label { display: inline-flex; align-items: center; margin-right: 16px; }
.invisibleinput {
  width: 3ch; border: 0; background: none; padding: 0;
  font: inherit; font-weight: 700; color: var(--gold-ink); text-align: center;
  pointer-events: none;
}
.honey { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.help, .pflichtfelder { font-size: .85rem; color: var(--muted); margin: 4px 0 0; }
.error, .alert.error { color: #d4543a; font-size: .85rem; margin: 0; }
input[type="file"] { font: inherit; font-size: .9rem; }
input[type="file"]::file-selector-button {
  margin-right: 12px; padding: .6em 1.1em;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--ink);
  font: inherit; font-weight: 600; cursor: pointer;
}
.alert { padding: 20px 24px; border-radius: var(--radius); margin-bottom: 24px; }
.alert--success { background: rgb(34 160 107 / .12); border: 1px solid rgb(34 160 107 / .4); }
.alert--error { background: rgb(212 84 58 / .1); border: 1px solid rgb(212 84 58 / .4); }
.alert__title { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }

/* ---------- Blöcke ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
  gap: 10px;
  margin: 2em 0;
}
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0 !important; transition: transform .6s var(--ease), filter .4s; }
.gallery a:hover img { transform: scale(1.06); }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgb(5 14 18 / .94);
  color: #fff;
  opacity: 0;
  transition: opacity .3s, display .3s allow-discrete, overlay .3s allow-discrete;
}
.lightbox[open] { opacity: 1; display: grid; place-items: center; }
@starting-style { .lightbox[open] { opacity: 0; } }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; }
.lightbox img { max-width: 92vw; max-height: 84dvh; border-radius: var(--radius-sm); object-fit: contain; }
.lightbox figcaption { color: #cfd6d8; font-size: .9rem; }
.lightbox button {
  position: absolute;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgb(255 255 255 / .2); background: rgb(255 255 255 / .08);
  color: #fff; display: grid; place-items: center; cursor: pointer;
}
.lightbox button:hover { background: rgb(255 255 255 / .18); }
.lightbox [data-close] { top: 20px; right: 20px; }
.lightbox [data-prev] { left: 20px; top: 50%; translate: 0 -50%; }
.lightbox [data-next] { right: 20px; top: 50%; translate: 0 -50%; }

.carousel { position: relative; margin: 2em 0; }
.carousel__track {
  display: flex; gap: 12px;
  list-style: none; margin: 0; padding: 0;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  border-radius: var(--radius);
}
.carousel__track li { flex: 0 0 100%; scroll-snap-align: start; padding: 0 !important; margin: 0 !important; }
.carousel__track li::before { display: none; }
.carousel__track img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius); }
.carousel__btn {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--glass); backdrop-filter: blur(8px);
  display: grid; place-items: center; cursor: pointer;
}
.carousel__btn--prev { left: 12px; }
.carousel__btn--next { right: 12px; }

.media-frame { margin: 2em 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.media-frame video { width: 100%; }
.media-frame--16x9 { aspect-ratio: 16 / 9; }
.media-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.consent-box {
  margin: 2em 0; padding: 32px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px dashed var(--line);
  text-align: center;
}
.consent-box__icon {
  display: inline-grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: #ff0000; color: #fff; margin-bottom: 16px;
}

.downloads { list-style: none !important; padding: 0 !important; display: grid; gap: 10px; margin: 1.5em 0; }
.downloads li { padding: 0 !important; margin: 0 !important; }
.downloads li::before { display: none; }
.downloads a {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink) !important; text-decoration: none !important;
  transition: border-color .3s, transform .3s var(--ease);
}
.downloads a:hover { border-color: var(--gold); transform: translateX(4px); }
.downloads__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-ink); flex: none; }
.downloads strong { display: block; }
.downloads small { color: var(--muted); font-size: .8rem; }

.cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin: 2em 0; padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--navy);
}
.cta__title { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; margin: 0; }

/* ---------- Team ---------- */
.team-intro__grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 6vw, 80px); align-items: center;
}
.team-intro .prose--intro { margin-bottom: 0; align-self: start; }
@media (max-width: 860px) { .team-intro__grid { grid-template-columns: 1fr; } }

.team-stat {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 90% at 100% 0%, rgb(247 201 52 / .28), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.team-stat__number {
  display: flex; align-items: flex-start; gap: 8px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(5rem, 4rem + 5vw, 8rem); line-height: .9;
  font-variant-numeric: tabular-nums;
}
.team-stat__plus {
  font-size: .3em; line-height: 1;
  padding: .35em .6em; margin-top: .4em;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--navy);
  animation: float 4s ease-in-out infinite;
}
.team-stat__label { font-size: 1.1rem; color: var(--muted); margin: 12px 0 24px; }

.avatar-stack { display: flex; list-style: none; margin: 0; padding: 0 0 0 10px; }
.avatar-stack li {
  width: 48px; height: 48px; margin-left: -10px;
  border-radius: 50%;
  border: 3px solid var(--surface);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-2), var(--navy));
  color: #fff;
  display: grid; place-items: center;
  font-size: .8rem; font-weight: 700;
  transition: transform .3s var(--ease);
}
.avatar-stack li:nth-child(2n) { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); }
.avatar-stack li:nth-child(3n) { background: linear-gradient(135deg, #2b5b6b, var(--navy-2)); }
.avatar-stack li:hover { transform: translateY(-6px) scale(1.1); z-index: 1; }
.avatar-stack img { width: 100%; height: 100%; object-fit: cover; }
.avatar-stack__new { background: var(--surface-2) !important; color: var(--muted) !important; border-style: dashed !important; border-color: var(--gold) !important; }
.js .team-stat.is-visible .avatar-stack li { animation: pop .5s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 300ms); }
@keyframes pop { from { opacity: 0; transform: translateX(-12px) scale(.6); } }
@media (max-width: 420px) { .avatar-stack li { width: 38px; height: 38px; font-size: .7rem; } }

.team-filter { margin-bottom: 32px; }
button.chip { cursor: pointer; font: inherit; font-size: .875rem; color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }

.team-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1200px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
.member { padding: 0 !important; }
.member.is-hidden { display: none; }
/*
  Flip ohne dauerhaften 3D-Kontext: Im Ruhezustand ist die Karte ein ganz normales,
  flaches Element (verhindert feine Lichtlinien durch GPU-Kachelnähte).
  Nur während der Drehung wird 3D genutzt; die Seiten wechseln genau bei 90° per visibility.
*/
.member__card {
  --flip: .8s;
  position: relative;
  display: block; width: 100%; height: 100%;
  padding: 0; border: 0; background: none;
  text-align: left; cursor: pointer;
  transform: none;
  /* symmetrische Kurve: 90° wird genau nach der halben Zeit erreicht */
  transition: transform var(--flip) cubic-bezier(.45, .05, .55, .95);
}
.member__card[aria-pressed="true"] { transform: perspective(1400px) rotateY(180deg); }
@media (hover: hover) {
  /* Hover am äußeren Element, sonst flackert die Karte, wenn sie hochkant steht */
  .member:hover .member__card:not(.member__card--new) { transform: perspective(1400px) rotateY(180deg); }
}
.member__face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: visibility 0s calc(var(--flip) / 2);
}
/* Vorderseite bestimmt die Kartenhöhe, Rückseite liegt deckungsgleich darüber */
.member__front { position: relative; height: 100%; }
.member__card[aria-pressed="true"] .member__front { visibility: hidden; }
.member__card[aria-pressed="true"] .member__back { visibility: visible; }
@media (hover: hover) {
  .member:hover .member__card:not(.member__card--new) .member__front { visibility: hidden; }
  .member:hover .member__card:not(.member__card--new) .member__back { visibility: visible; }
}
.member__photo {
  position: relative; flex: none;
  aspect-ratio: 5 / 7;
  display: grid; place-items: center;
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy-2), var(--navy));
}
.member__photo--1 { background: linear-gradient(150deg, var(--gold-2), var(--gold)); }
.member__photo--2 { background: linear-gradient(150deg, #2b5b6b, var(--navy)); }
.member__photo--3 { background: linear-gradient(150deg, #f6e3b0, #e8c35a); }
/* Signet als dezentes Wasserzeichen hinter den Initialen */
.member__photo::before {
  content: '';
  position: absolute; right: -18%; bottom: -12%;
  width: 75%; aspect-ratio: 1;
  background: url('/assets/public/images/signet_farbig.svg') center / contain no-repeat;
  opacity: .12;
  filter: grayscale(1) brightness(3);
}
.member__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member__initials {
  position: relative;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3rem, 2.4rem + 2vw, 4.2rem);
  letter-spacing: -.03em;
  color: rgb(255 255 255 / .92);
}
.member__photo--1 .member__initials, .member__photo--3 .member__initials { color: var(--navy); }
.member__since {
  position: absolute; left: 14px; top: 14px;
  padding: .3em .8em; border-radius: 999px;
  /* Kein backdrop-filter: verursacht in den 3D-gedrehten Karten feine Lichtlinien */
  background: rgb(255 255 255 / .92); color: var(--navy);
  font-size: .75rem; font-weight: 700;
}
.member__status {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: .4em;
  padding: .4em .9em; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy);
  font-size: .8rem; font-weight: 700; box-shadow: 0 6px 18px rgb(12 31 38 / .25);
}
.member__status .icon { width: 14px; height: 14px; }
.member__meta { display: grid; gap: 4px; padding: 22px 26px 24px; padding-right: 72px; }
/* Schriftgröße wächst mit der Kartenbreite (3 pro Reihe = groß, Handy = etwas kleiner) */
.member { container-type: inline-size; }
.member__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 0.8rem + 3.2cqi, 1.5rem); line-height: 1.2; }
.member__role { color: var(--muted); font-size: clamp(.92rem, 0.75rem + 1.6cqi, 1.05rem); line-height: 1.45; }
.member__hint {
  position: absolute; right: 18px; bottom: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-2);
}
.member__hint .icon { width: 18px; height: 18px; }

.member__back {
  visibility: hidden;
  transform: scaleX(-1); /* wird durch die Drehung wieder lesbar */
  padding: 24px 22px 22px;
  gap: 12px;
  background:
    radial-gradient(90% 70% at 100% 0%, rgb(247 201 52 / .3), transparent 60%),
    var(--navy);
  color: #f3efe6;
  border-color: transparent;
}
.member__back-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--gold-2); }
.member__quote { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.45; }
.member__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.member__tags span {
  padding: .3em .75em; border-radius: 999px;
  background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .15);
  font-size: .78rem;
}
.member__fact { display: flex; gap: .5em; margin-top: auto; font-size: .88rem; color: #c6d0d2; }
.member__fact .icon { color: var(--gold-2); flex: none; margin-top: .15em; }

/* Kachel „Bald sind wir zu neunt“ */
.member__card--new {
  height: 100%; aspect-ratio: 9 / 16;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 10px;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 2px dashed rgb(238 173 12 / .6);
  background: linear-gradient(160deg, var(--gold-soft), transparent 60%), var(--surface);
  text-decoration: none; color: var(--ink);
  overflow: hidden;
  transition: border-color .3s, transform .5s var(--ease), box-shadow .5s;
}
.member__card--new:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow-lg); }
.member__new-plus {
  position: absolute; top: 12px; right: 18px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3.5rem, 3rem + 2vw, 4.5rem); line-height: 1;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .8;
}
.member__new-title { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.2; }
.member__new-text { color: var(--muted); font-size: .92rem; margin-bottom: 6px; }

@media (prefers-reduced-motion: reduce) {
  /* Ohne Drehung: Rückseite wird einfach eingeblendet */
  .member__card, .member__card[aria-pressed="true"], .member:hover .member__card { transform: none !important; }
  .member__back { transform: none; opacity: 0; visibility: visible; transition: opacity .2s; }
  .member__card[aria-pressed="true"] .member__front, .member:hover .member__front { visibility: visible; }
  .member__card[aria-pressed="true"] .member__back, .member:hover .member__back { opacity: 1; }
}

/* ---------- CTA-Band & Footer ---------- */
.cta-band {
  /* Obere Hälfte in der Farbe des letzten Abschnitts, untere Hälfte wie der Footer */
  --cta-prev: var(--bg);
  padding: 0 var(--gutter);
  position: relative; z-index: 2;
  background: linear-gradient(to bottom, var(--cta-prev) 50%, var(--navy) 50%);
}
main:has(> section:last-of-type.section--tint) + .cta-band { --cta-prev: var(--surface-2); }
main:has(> section:last-of-type.section--dark) + .cta-band { --cta-prev: var(--navy); }
.cta-band__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 120% at 100% 0%, rgb(255 255 255 / .35), transparent 60%),
    linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--navy);
  box-shadow: var(--shadow-lg);
}
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--light { --btn-bg: rgb(255 255 255 / .85); --btn-fg: var(--navy); }
button.contact-card { width: 100%; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.cta-band .eyebrow { color: var(--navy); opacity: .75; margin-bottom: .4rem; }
.cta-band__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); line-height: 1.1; margin: 0; }

.site-footer {
  background: var(--navy);
  color: #c6d0d2;
  padding: clamp(48px, 6vw, 80px) 0 32px;
  font-size: .95rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer strong { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgb(255 255 255 / .1); }
.site-footer__logo { height: 44px; width: auto; margin-bottom: 20px; }
.site-footer__text p { margin: 0; }
.site-footer__hours { margin: 0; display: grid; gap: 4px; }
.site-footer__hours div { display: flex; gap: 12px; padding: 2px 8px; margin-inline: -8px; border-radius: 8px; }
.site-footer__hours div.is-today { background: rgb(238 173 12 / .15); color: #fff; }
.site-footer__hours dt { width: 2.5em; font-weight: 600; color: #fff; }
.site-footer__hours dd { margin: 0; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; }
.site-footer__menu, .site-footer__social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer__social { gap: 8px; }
.site-footer__social a, .site-footer__social button {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgb(255 255 255 / .15); background: none;
  color: #fff; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.site-footer__social a:hover, .site-footer__social button:hover { background: var(--gold); color: var(--navy); }
.site-footer__love { margin: 0; font-size: .85rem; display: flex; align-items: center; gap: .35em; }
.site-footer__love .icon { color: var(--gold); width: 1em; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 15% { scale: 1.25; } 30% { scale: 1; } 45% { scale: 1.15; } 60% { scale: 1; } }
@media (max-width: 860px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- 404 ---------- */
.notfound { text-align: center; }
.notfound__code {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(6rem, 20vw, 14rem); line-height: 1; margin: 0;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: float 6s ease-in-out infinite;
}

/* ---------- Reveal-Animationen ---------- */
.js .reveal {
  opacity: 0;
  translate: 0 28px;
  transition: opacity .7s var(--ease), translate .7s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.js .reveal.is-visible { opacity: 1; translate: 0 0; }
/* Im Hero sofort beim Laden einblenden statt beim Scrollen */
.js .hero .reveal { opacity: 1; translate: none; transition: none; animation: rise .8s var(--ease) both; animation-delay: calc(var(--d, 0) * 100ms); }
@keyframes rise { from { opacity: 0; translate: 0 24px; } }

/* Seitenübergänge (View Transitions API, Chrome/Safari) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .25s ease both vt-out; }
::view-transition-new(root) { animation: .35s var(--ease) both vt-in; }
.site-header { view-transition-name: header; }
@keyframes vt-out { to { opacity: 0; translate: 0 -8px; } }
@keyframes vt-in { from { opacity: 0; translate: 0 12px; } }

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

/* Cookie-Banner an das Design anpassen */
#cc-main {
  --cc-font-family: var(--font-body);
  --cc-bg: var(--surface);
  --cc-primary-color: var(--ink);
  --cc-secondary-color: var(--muted);
  --cc-btn-primary-bg: var(--navy);
  --cc-btn-primary-border-color: var(--navy);
  --cc-btn-primary-hover-bg: var(--gold);
  --cc-btn-primary-hover-border-color: var(--gold);
  --cc-btn-primary-hover-color: var(--navy);
  --cc-btn-border-radius: 999px;
  --cc-modal-border-radius: 20px;
}
/* Kategorien in den Einstellungen: normale Rundung statt Pillenform der Buttons.
   Doppelte ID, weil das Cookie-Stylesheet erst nach unserem geladen wird. */
#cc-main#cc-main .pm__section,
#cc-main#cc-main .pm__section--toggle,
#cc-main#cc-main .pm__section-title { border-radius: 14px; }
#cc-main#cc-main .pm__section--toggle .pm__section-desc-wrapper { border-radius: 0 0 14px 14px; }
#cc-main#cc-main .pm__section--toggle.is-expanded .pm__section-title { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* ---------- Für Ärzte & Einrichtungen ---------- */
.referral-intro {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: clamp(32px, 6vw, 80px); align-items: start;
}
.referral-intro .prose--intro { margin-bottom: 0; }
@media (max-width: 860px) { .referral-intro { grid-template-columns: 1fr; } }
.contact-person {
  padding: clamp(24px, 3.5vw, 36px);
  border-radius: var(--radius-lg);
  background: radial-gradient(80% 90% at 100% 0%, rgb(247 201 52 / .22), transparent 60%), var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.contact-person p { margin: 0; }
.contact-person__photo {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  margin-bottom: 18px; box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--line);
}
.contact-person__label { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.contact-person__name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin-top: 4px !important; }
.contact-person__role { color: var(--muted); }
.contact-person__text { margin-top: 14px !important; font-size: .95rem; }
.contact-person__links { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.contact-person__links :is(a, span) { display: inline-flex; align-items: center; gap: .6em; color: var(--ink); text-decoration: none; }
.contact-person__links a:hover { color: var(--gold-ink); }
.contact-person__links .icon { width: 18px; height: 18px; color: var(--gold-ink); }

/* ---------- Ratgeber ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px) { .guide-grid { grid-template-columns: 1fr; } }
.guide-card {
  position: relative;
  display: grid; grid-template-columns: 1fr;
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.guide-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.guide-card__media { display: block; overflow: hidden; aspect-ratio: 400 / 260; }
.guide-card__media .illu { width: 100%; height: 100%; transition: transform .8s var(--ease); }
.guide-card:hover .guide-card__media .illu { transform: scale(1.05); }
.guide-card__body { position: relative; z-index: 2; display: flex; flex-direction: column; padding: 24px; }
.guide-card__term { margin: 0 0 .3em; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.guide-card__title { font-size: 1.35rem; line-height: 1.25; margin: 0 0 .5em; }
.guide-card__title a { text-decoration: none; }
.guide-card__title a::after { content: ''; position: absolute; inset: 0; }
.guide-card__excerpt { color: var(--muted); font-size: .95rem; flex: 1; }
.guide-card:hover .news-card__more .icon { transform: translateX(4px); }
@media (min-width: 1100px) {
  .guide-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .guide-card__media { aspect-ratio: auto; min-height: 100%; }
  .guide-card__body { padding: 28px; }
}
.illu { display: block; width: 100%; height: auto; }
.article__lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 1.6em; }
.article__cover--illu .illu { border-radius: var(--radius-lg); }
.guide-disclaimer {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 48px; padding: 18px 20px;
  border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line);
  font-size: .9rem; color: var(--muted);
}
.guide-disclaimer > .icon { flex: none; width: 22px; height: 22px; color: var(--gold-ink); margin-top: 2px; }
.guide-disclaimer p { margin: 0; }
.guide-disclaimer small { display: block; margin-top: 6px; }
.aside-card--cta { display: grid; gap: 10px; }
.aside-card--cta .btn { width: 100%; }
.aside-card__link { display: inline-flex; align-items: center; gap: .4em; margin-top: 4px; font-weight: 600; font-size: .9rem; color: var(--gold-ink); text-decoration: none; }

/* ---------- Heilmittelkatalog (Für Ärzte) ---------- */
.rx-intro { color: var(--muted); }
.rx-intro p:last-child { margin-bottom: 0; }
.rx-group {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 20px;
  margin-bottom: 24px; padding: clamp(16px, 2.5vw, 24px);
  border-radius: var(--radius-lg); background: var(--surface-2); border: 1px solid var(--line);
}
@media (max-width: 1100px) { .rx-group { grid-template-columns: 1fr; } }
.rx-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; align-items: start; }
.rx-card { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.rx-card__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.rx-code {
  flex: none; min-width: 56px; height: 56px; padding: 0 10px;
  display: grid; place-items: center; border-radius: 14px;
  background: var(--navy); color: var(--gold-2);
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; white-space: nowrap;
}
.rx-card__name { font-size: 1.05rem; line-height: 1.3; margin: 2px 0 8px; }
.rx-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.rx-meta span {
  display: inline-flex; align-items: center; gap: .35em;
  padding: .25em .7em; border-radius: 999px;
  background: var(--gold-soft); color: var(--gold-ink); font-size: .8rem; font-weight: 600;
}
.rx-meta .icon { width: 14px; height: 14px; }
.rx-label { margin: 0 0 8px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rx-label small { font-weight: 500; letter-spacing: 0; text-transform: none; margin-left: .4em; opacity: .8; }
.rx-icd { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rx-icd button {
  position: relative;
  padding: .3em .6em; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  font: 600 .82rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; cursor: copy;
  transition: border-color .2s, background-color .2s;
}
.rx-icd button:hover { border-color: var(--gold); }
.rx-icd button.is-copied { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.rx-icd button.is-copied::after {
  content: attr(data-copied); position: absolute; left: 50%; bottom: calc(100% + 6px); translate: -50% 0;
  padding: .2em .6em; border-radius: 6px; background: var(--navy); color: #fff;
  font: 600 .72rem/1.4 var(--font-body); white-space: nowrap; pointer-events: none;
}
.rx-more summary { cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--gold-ink); margin-bottom: 8px; list-style: none; }
.rx-more summary::-webkit-details-marker { display: none; }
.rx-more[open] summary { display: none; }
.rx-ls { list-style: none; margin: 0; padding: 0; font-size: .9rem; display: grid; gap: 4px; }
.rx-ls b, .rx-map b {
  display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; margin-right: .35em;
  border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); font-size: .75rem;
}
.rx-note { margin: 10px 0 0; font-size: .8rem; color: var(--muted); }
.rx-map {
  align-self: start; padding: 20px; border-radius: var(--radius);
  background: var(--navy); color: #fff;
}
.rx-map__head, .rx-map__row { display: grid; grid-template-columns: 1fr 20px 1fr; gap: 10px; align-items: center; }
.rx-map__head { margin-bottom: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); }
.rx-map__head:has(span:only-child), .rx-map__row--single { grid-template-columns: 1fr; }
.rx-map__row { padding: 10px 0; border-top: 1px solid rgb(255 255 255 / .1); font-size: .92rem; line-height: 1.35; }
.rx-map__row .icon { width: 18px; height: 18px; color: var(--gold-2); }
.rx-map b { background: rgb(247 201 52 / .2); color: var(--gold-2); }
.rx-source {
  display: flex; align-items: center; gap: 16px;
  margin-top: 8px; padding: 16px 20px;
  border-radius: var(--radius); border: 1px dashed rgb(238 173 12 / .5);
  background: linear-gradient(90deg, var(--gold-soft), transparent 70%);
  font-size: .88rem; color: var(--muted);
}
.rx-source p { margin: 0; }
.rx-source__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--gold-2); }
.rx-source__icon .icon { width: 20px; height: 20px; }
.rx-source__text { flex: 1; }
.rx-source__label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 2px !important; }
.rx-source__text strong { color: var(--ink); }
.rx-source__badge {
  flex: none; display: grid; place-items: center; text-align: center;
  padding: 8px 14px; border-radius: 12px; background: var(--navy); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; line-height: 1.1;
}
.rx-source__badge small { font-family: var(--font-body); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
@media (max-width: 600px) { .rx-source { flex-wrap: wrap; } .rx-source__badge { order: -1; margin-left: auto; } }

/* ---------- Startseite: Wissen & Service ---------- */
.know-grid {
  display: grid; gap: 20px;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  grid-template-areas: "guide glossary" "guide docs";
}
@media (max-width: 900px) { .know-grid { grid-template-columns: 1fr; grid-template-areas: "guide" "glossary" "docs"; } }
.know-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  color: inherit; text-decoration: none;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
a.know-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.know-card__kicker { display: inline-flex; align-items: center; gap: .45em; margin: 0 0 .5em; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.know-card__kicker .icon { width: 16px; height: 16px; }
.know-card__title { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.2; margin: 0 0 .5em; }
.know-card__text { color: var(--muted); margin: 0 0 1.2em; max-width: 34ch; }
.know-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: .9rem; color: var(--gold-ink); }
.know-card__more .icon { transition: transform .3s var(--ease); }
a.know-card:hover .know-card__more .icon { transform: translateX(4px); }

/* Ratgeber: große dunkle Karte mit Illustrations-Mosaik */
.know-card--guide { grid-area: guide; padding: 0; background: var(--navy); color: #fff; border-color: transparent; }
.know-card__illus { display: grid; grid-template-columns: repeat(4, 1fr); height: 150px; }
.know-card__illus span { overflow: hidden; }
.know-card__illus .illu { width: 100%; height: 100%; transition: transform .8s var(--ease); }
.know-card--guide:hover .know-card__illus .illu { transform: scale(1.08); }
.know-card__body { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px, 3vw, 32px); flex: 1; }
.know-card--guide .know-card__kicker { color: var(--gold-2); }
.know-list { list-style: none; margin: 0 0 24px; padding: 0; width: 100%; }
.know-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: .75em 0; border-bottom: 1px solid rgb(255 255 255 / .12);
  color: #fff; text-decoration: none; font-weight: 500;
  transition: color .2s, padding .3s var(--ease);
}
.know-list a:hover { color: var(--gold-2); padding-left: 6px; }
.know-list .icon { width: 18px; height: 18px; flex: none; color: var(--gold-2); }

/* Glossar: große A–Z-Buchstaben als Deko */
.know-card--glossary { grid-area: glossary; background: linear-gradient(135deg, var(--gold-soft), transparent 70%), var(--surface); }
.know-card__letters {
  position: absolute; right: -6px; bottom: -22px;
  font-family: var(--font-display); font-weight: 700; font-size: 7rem; line-height: 1;
  color: var(--gold); opacity: .18; pointer-events: none;
  transition: transform .6s var(--ease), opacity .3s;
}
.know-card--glossary:hover .know-card__letters { transform: translateX(-8px) rotate(-4deg); opacity: .28; }

/* Für Ärzte */
.know-card--docs { grid-area: docs; }
.know-card__icon {
  position: absolute; top: clamp(22px, 3vw, 32px); right: clamp(22px, 3vw, 32px);
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--navy); color: var(--gold-2);
}
.know-card__icon .icon { width: 24px; height: 24px; }
.know-card--docs .know-card__kicker, .know-card--docs .know-card__title { padding-right: 60px; }

/* Ratgeber-Link im Leistungs-Dialog */
.sheet__guide {
  display: flex; align-items: center; gap: 14px;
  margin: 8px 0 20px; padding: 10px 16px 10px 10px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-2);
  color: inherit; text-decoration: none;
  transition: border-color .2s, transform .3s var(--ease);
}
.sheet__guide:hover { border-color: var(--gold); transform: translateX(3px); }
.sheet__guide-illu { flex: none; width: 72px; height: 48px; border-radius: 8px; overflow: hidden; }
.sheet__guide-illu .illu { width: 100%; height: 100%; }
.sheet__guide small { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.sheet__guide strong { display: block; line-height: 1.3; }
.sheet__guide > .icon { margin-left: auto; flex: none; color: var(--gold-ink); }

/* Hinweis für Arztpraxen auf der Kontaktseite */
.docs-hint {
  display: flex; align-items: center; gap: 14px;
  margin-top: 16px; padding: 16px 18px;
  border-radius: var(--radius); border: 1px dashed var(--line);
  color: inherit; text-decoration: none; font-size: .95rem; line-height: 1.4;
  transition: border-color .2s, background-color .2s;
}
.docs-hint:hover { border-color: var(--gold); border-style: solid; background: var(--surface); }
.docs-hint strong { display: block; }
.docs-hint__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--gold-2); }
.docs-hint__icon .icon { width: 20px; height: 20px; }
.docs-hint > .icon { margin-left: auto; flex: none; color: var(--gold-ink); }

/* ---------- Hauptmenü: Aufklappmenü (z. B. Patienteninfo) ---------- */
.nav__drop { position: relative; }
.nav__drop-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .3em;
  padding: .5em .9em; border: 0; border-radius: 999px;
  background: none; color: var(--muted);
  font: inherit; font-weight: 500; font-size: .95rem; cursor: pointer;
  transition: color .2s, background-color .2s;
}
.nav__drop-btn .icon { width: 14px; height: 14px; transition: rotate .3s var(--ease); }
.nav__drop-btn:hover, .nav__drop-btn[aria-expanded="true"] { color: var(--ink); background: var(--surface-2); }
.nav__drop-btn[aria-expanded="true"] .icon { rotate: 180deg; }
.nav__drop-btn[aria-current] { color: var(--ink); }
.nav__drop-btn[aria-current]::after {
  content: ''; position: absolute; left: 50%; bottom: 2px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold); translate: -50% 0;
}
@media (max-width: 1380px) { .nav__drop-btn { padding: .5em .7em; } }
.nav__panel {
  position: absolute; top: calc(100% + 14px); left: 50%;
  width: max-content; min-width: 320px; max-width: min(460px, 92vw); padding: 8px;
  display: grid; gap: 2px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; translate: -50% -6px;
  transition: opacity .2s, translate .25s var(--ease), visibility 0s .25s;
}
.nav__panel::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* Hover-Brücke */
.nav__drop.is-open .nav__panel {
  opacity: 1; visibility: visible; translate: -50% 0;
  transition: opacity .2s, translate .25s var(--ease), visibility 0s;
}
.nav__links .nav__panel-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px;
  color: var(--ink); text-decoration: none; font-size: inherit;
  transition: background-color .2s;
}
.nav__links .nav__panel-link::after { display: none; }
.nav__links .nav__panel-link:hover, .nav__links .nav__panel-link:focus-visible { background: var(--surface-2); }
.nav__panel-link[aria-current] strong { color: var(--gold-ink); }
.nav__panel-link strong { display: block; font-weight: 600; font-size: .95rem; }
.nav__panel-link small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.35; margin-top: 1px; }
.nav__panel-icon {
  flex: none; width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold-ink);
}
.nav__panel-icon .icon { width: 18px; height: 18px; }

/* Mobiles Menü: Gruppe mit Unterpunkten */
.mobile-menu { overflow-y: auto; }
.mobile-menu__group {
  display: block; padding: .15em 0;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 9vw, 3rem);
  color: var(--muted);
}
.mobile-menu__sub { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px !important; }
.mobile-menu li .mobile-menu__sub a {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .45em .9em; border-radius: 999px; border: 1px solid var(--line);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
}
.mobile-menu__sub .icon { width: 16px; height: 16px; color: var(--gold-ink); }
.nav__links .nav__panel-link strong { color: var(--ink); transition: color .2s; }
.nav__panel-icon { transition: background-color .25s, color .25s, transform .3s var(--ease); }
.nav__links .nav__panel-link:hover .nav__panel-icon,
.nav__links .nav__panel-link:focus-visible .nav__panel-icon { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); transform: scale(1.06); }
.nav__links .nav__panel-link:hover strong { color: var(--gold-ink); }

.nav__links .nav__panel-link small { white-space: nowrap; }

/* ---------- Praxis ---------- */
.practice-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.practice-intro .prose--intro { margin-bottom: 0; }
@media (max-width: 900px) { .practice-intro { grid-template-columns: 1fr; } }
.practice-intro__media { position: relative; aspect-ratio: 1 / 1; }
.practice-intro__img { position: absolute; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.practice-intro__img--1 { inset: 0 22% 14% 0; width: 78%; height: 86%; }
.practice-intro__img--2 { right: 0; bottom: 0; width: 46%; height: 52%; border: 6px solid var(--bg); rotate: 3deg; transition: rotate .6s var(--ease); }
.practice-intro__media:hover .practice-intro__img--2 { rotate: 0deg; }

.facts { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.facts__item { display: grid; gap: 4px; padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.facts__icon { width: 40px; height: 40px; margin-bottom: 8px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-ink); }
.facts__icon .icon { width: 20px; height: 20px; }
.facts__value { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.1; }
.facts__label { color: var(--muted); font-size: .9rem; }

/* Rundgang */
.tour { display: grid; gap: clamp(40px, 6vw, 72px); }
.tour__item { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.tour__item:nth-child(even) .tour__media { order: 2; }
@media (max-width: 860px) { .tour__item { grid-template-columns: 1fr; } .tour__item:nth-child(even) .tour__media { order: 0; } }
.tour__media { position: relative; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 3 / 2; }
.tour__img { display: block; overflow: hidden; border-radius: var(--radius); }
.tour__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tour__img:hover img { transform: scale(1.05); }
.tour__img--1 { grid-row: 1 / 3; }
.tour__media:not(:has(.tour__img--2)) { grid-template-columns: 1fr; }
.tour__media:not(:has(.tour__img--3)) .tour__img--2 { grid-row: 1 / 3; }
.tour__more {
  position: absolute; right: 10px; bottom: 10px; pointer-events: none;
  padding: .3em .7em; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: .85rem;
}
.tour__no { font-family: var(--font-display); font-weight: 700; font-size: 3.2rem; line-height: 1; color: var(--gold); opacity: .35; }
.tour__kicker { margin: 10px 0 4px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.tour__title { font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem); margin: 0 0 .5em; }
.tour__text { color: var(--muted); }
.tour__text p:last-child { margin-bottom: 0; }
.tour__text strong { color: var(--ink); }
.tour__link { display: inline-flex; align-items: center; gap: .4em; margin-top: 16px; font-weight: 600; color: var(--gold-ink); text-decoration: none; }
.tour__link:hover .icon { transform: translateX(4px); }
.tour__link .icon { transition: transform .3s var(--ease); }

/* Zeitstrahl: versetzt links/rechts mit Mittellinie */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 960px; position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 4px; bottom: 0; width: 2px; translate: -1px 0; background: linear-gradient(var(--gold), var(--line)); }
.timeline__item { position: relative; padding: 0 0 36px; }
.timeline__item:nth-child(odd) { grid-column: 1; text-align: right; }
.timeline__item:nth-child(even) { grid-column: 2; margin-top: 72px; margin-bottom: -72px; }
.timeline__dot { position: absolute; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 3px solid var(--gold); }
.timeline__item:nth-child(odd) .timeline__dot { right: -46px; }
.timeline__item:nth-child(even) .timeline__dot { left: -46px; }
.timeline__item:last-child .timeline__dot { background: var(--gold); box-shadow: 0 0 0 6px rgb(238 173 12 / .2); }
.timeline__date { margin: 0 0 4px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.timeline__title { font-size: 1.15rem; line-height: 1.3; margin: 0 0 .35em; }
.timeline__text { color: var(--muted); font-size: .92rem; margin: 0 0 .5em; }
.timeline__link { display: inline-flex; align-items: center; gap: .35em; font-size: .88rem; font-weight: 600; color: var(--gold-ink); text-decoration: none; }
.timeline__link .icon { transition: transform .3s var(--ease); }
.timeline__link:hover .icon { transform: translateX(4px); }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; padding-left: 32px; }
  .timeline::before { left: 9px; translate: 0 0; }
  .timeline__item:nth-child(n) { grid-column: 1; text-align: left; margin: 0; padding-bottom: 28px; }
  .timeline__item:nth-child(n) .timeline__dot { left: -32px; right: auto; }
}

/* Anfahrt */
.directions { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 960px) { .directions { grid-template-columns: 1fr; } }
.directions__map { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.directions__map .map { display: block; width: 100%; height: 100%; min-height: 360px; }
@media (max-width: 960px) { .directions__map .map { min-height: 0; height: auto; aspect-ratio: 4 / 3; } }
.directions__map figcaption { position: absolute; right: 10px; bottom: 8px; padding: .2em .6em; border-radius: 6px; background: rgb(255 255 255 / .8); color: #333; font-size: .7rem; }
.directions__map figcaption a { color: inherit; }
.directions__info { display: flex; flex-direction: column; gap: 20px; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.directions__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.directions__list li { display: flex; gap: 14px; align-items: flex-start; }
.directions__list strong { display: block; color: var(--ink); }
.directions__list span:last-child { color: var(--muted); font-size: .93rem; line-height: 1.45; }
.directions__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--gold-2); }
.directions__icon .icon { width: 20px; height: 20px; }
.directions__info .btn { margin-top: auto; align-self: flex-start; }

/* Karte (aus OpenStreetMap-Daten erzeugt) */
.map { --m-bg: #f3ede2; --m-bldg: #e2d8c8; --m-green: #dfe8cf; --m-road: #fff; --m-case: #d9cdb8; --m-main: #f7d978; --m-main-case: #d9a92c; --m-path: #cbbfa9; --m-text: #4b5559; }
:root[data-theme="dark"] .map { --m-bg: #132a33; --m-bldg: #1d3843; --m-green: #18352f; --m-road: #2c4651; --m-case: #0c1f26; --m-main: #8a6a1b; --m-main-case: #0c1f26; --m-path: #2a4450; --m-text: #b8c4c7; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .map { --m-bg: #132a33; --m-bldg: #1d3843; --m-green: #18352f; --m-road: #2c4651; --m-case: #0c1f26; --m-main: #8a6a1b; --m-main-case: #0c1f26; --m-path: #2a4450; --m-text: #b8c4c7; } }
.map__bg { fill: var(--m-bg); }
.map__green { fill: var(--m-green); }
.map__water { fill: none; stroke: #9cc3d5; stroke-width: 4; }
.map__park { fill: var(--m-bldg); opacity: .55; }
.map__bldg { fill: var(--m-bldg); }
.map__path { fill: none; stroke: var(--m-path); stroke-width: 2; stroke-dasharray: 4 5; }
.map__rail { fill: none; stroke: var(--m-text); stroke-width: 3; stroke-dasharray: 10 8; opacity: .35; }
.map__minor { fill: none; stroke: var(--m-road); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.map__res-case { fill: none; stroke: var(--m-case); stroke-width: 15; stroke-linecap: round; stroke-linejoin: round; }
.map__res { fill: none; stroke: var(--m-road); stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.map__main-case { fill: none; stroke: var(--m-main-case); stroke-width: 22; stroke-linecap: round; stroke-linejoin: round; }
.map__main { fill: none; stroke: var(--m-main); stroke-width: 18; stroke-linecap: round; stroke-linejoin: round; }
.map__parking { fill: #4a7fd1; opacity: .2; stroke: #4a7fd1; stroke-width: 2; }
.map__label { font: 600 22px/1 var(--font-body); fill: var(--m-text); text-anchor: middle; dominant-baseline: middle; paint-order: stroke; stroke: var(--m-bg); stroke-width: 6px; stroke-linejoin: round; }
.map__label--main { font-weight: 700; fill: var(--ink); }
.map__home { fill: var(--gold); stroke: var(--navy); stroke-width: 2; }
.map__pin-shape { fill: var(--navy); stroke: #fff; stroke-width: 3; }
.map__pin-dot { fill: var(--gold-2); }
.map__pulse { fill: var(--gold); opacity: .3; transform-box: fill-box; transform-origin: center; animation: map-pulse 2.4s var(--ease) infinite; }
@keyframes map-pulse { from { transform: scale(.6); opacity: .5; } to { transform: scale(2.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .map__pulse { animation: none; } }
.map__tag-bg { fill: var(--navy); }
.map__tag-title { font: 700 17px/1 var(--font-display); fill: #fff; }
.map__tag-sub { font: 500 12.5px/1 var(--font-body); fill: var(--gold-2); }
.map__poi-p { fill: #3d6fc2; }
.map__poi-bus { fill: #2f8f5b; }
.map__poi-txt { font: 800 15px/1 var(--font-body); fill: #fff; text-anchor: middle; }
.map__dir-bg { fill: var(--navy); opacity: .92; }
.map__dir-arrow { fill: none; stroke: var(--gold-2); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.map__dir-txt { font: 600 14px/1 var(--font-body); fill: #fff; }

/* Team-Teaser am Seitenende */
.practice-team {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 24px; border-radius: var(--radius-lg);
  background: var(--navy); color: #fff; text-decoration: none;
  transition: transform .4s var(--ease);
}
.practice-team:hover { transform: translateY(-3px); }
.practice-team__avatars { display: flex; flex: none; }
.practice-team__avatars img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 3px solid var(--navy); margin-left: -12px; }
.practice-team__avatars img:first-child { margin-left: 0; }
.practice-team__text { flex: 1; }
.practice-team__text strong { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.practice-team__text small { color: var(--gold-2); font-weight: 600; }
.practice-team > .icon { color: var(--gold-2); flex: none; }
@media (max-width: 600px) { .practice-team { flex-wrap: wrap; } }

/* Sprach-Hinweis (Kontakt) */
.lang-hint {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 16px 0 0; padding: 10px 16px 10px 10px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-size: .92rem;
}
.lang-hint strong { margin-right: .35em; }
.lang-hint span span { color: var(--muted); }
.lang-hint__flag {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(#fff 50%, #dc143c 50%);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12);
}
.lang-hints { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.lang-hints .lang-hint { margin: 0; }
.lang-hint__flag--en {
  background:
    linear-gradient(90deg, transparent 42%, #c8102e 42% 58%, transparent 58%),
    linear-gradient(transparent 40%, #c8102e 40% 60%, transparent 60%),
    linear-gradient(90deg, transparent 36%, #fff 36% 64%, transparent 64%),
    linear-gradient(transparent 34%, #fff 34% 66%, transparent 66%),
    linear-gradient(26deg, transparent 46%, #fff 46% 54%, transparent 54%),
    linear-gradient(-26deg, transparent 46%, #fff 46% 54%, transparent 54%),
    #012169;
}

/* Für Ärzte: Einleitung und Katalog haben denselben Hintergrund – Abstand nicht doppeln */
.page-intro:has(.referral-intro) { padding-bottom: clamp(32px, 4vw, 56px); }
#heilmittelkatalog { padding-top: clamp(32px, 4vw, 56px); }

/* ---------- Patientenstimmen (Google) ---------- */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 960px) { .voices { grid-template-columns: 1fr; max-width: 640px; } }
.voice { margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.voice__stars { color: #fbbc05; letter-spacing: 2px; font-size: 1.05rem; }
.voice__text { margin: 0; padding: 0; border: 0; font-size: 1rem; line-height: 1.6; color: var(--ink); }
.voice__text p { margin: 0; }
.voice__text[data-clamp].is-clamped { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.voice__more { align-self: flex-start; padding: 0; border: 0; background: none; font: inherit; font-size: .88rem; font-weight: 600; color: var(--gold-ink); cursor: pointer; }
.voice__author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .92rem; }
.voice__author a { color: var(--ink); font-weight: 600; text-decoration: none; }
.voice__author a:hover { color: var(--gold-ink); }
.voice__author small { display: block; color: var(--muted); font-size: .8rem; }
.voice__avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-2); font-family: var(--font-display); font-weight: 700; }
.voice__g { margin-left: auto; flex: none; }
.voices__source { margin: 20px 0 0; font-size: .82rem; color: var(--muted); }
.voices__source a { color: var(--gold-ink); }

/* ---------- Fuß-Check (Selbsttest) ---------- */
.check-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.check-layout .prose--intro { margin-bottom: 0; }
@media (max-width: 900px) { .check-layout { grid-template-columns: 1fr; } }
.check-privacy { display: flex; gap: .6em; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check-privacy .icon { flex: none; width: 18px; height: 18px; color: var(--gold-ink); margin-top: .15em; }
.footcheck {
  min-height: 360px; padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
}
.check__head { display: grid; gap: 10px; margin-bottom: 28px; }
.check__step { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.check__bar { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; position: relative; }
.check__bar::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--p); background: linear-gradient(90deg, var(--gold), var(--gold-2)); border-radius: inherit; transition: width .4s var(--ease); }
.check__q { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); line-height: 1.3; margin: 0 0 12px; outline: none; animation: check-in .35s var(--ease); }
.check__hint { margin: 0 0 8px; font-size: .9rem; color: var(--muted); }
.check__answers { display: flex; gap: 12px; margin-top: auto; padding-top: 24px; }
.check__answers .btn { flex: 1; min-height: 52px; font-size: 1.05rem; }
.check__back { align-self: flex-start; margin-top: 16px; padding: 0; border: 0; background: none; font: inherit; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check__back:hover { color: var(--ink); }
@keyframes check-in { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .check__q, .check__result { animation: none; } }
.check__result { display: flex; flex-direction: column; animation: check-in .4s var(--ease); }
.check__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); }
.check__icon .icon { width: 28px; height: 28px; }
.check__result--warn .check__icon { background: #d4543a; color: #fff; }
.check__result--ok .check__icon { background: #22a06b; color: #fff; }
.check__title { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); margin: 0 0 .5em; outline: none; }
.check__text { color: var(--muted); }
.check__tips-title { margin: 8px 0 8px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.check__tips { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; }
.check__tips a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 12px; background: var(--surface-2); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; transition: background-color .2s; }
.check__tips a::after { content: '→'; color: var(--gold-ink); }
.check__tips a:hover { background: var(--gold-soft); }
.check__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.check__disclaimer { margin: 18px 0 0; font-size: .82rem; color: var(--muted); }

.check-teaser {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 20px; padding: 18px 22px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--gold-soft), transparent 70%), var(--surface); border: 1px dashed rgb(238 173 12 / .55);
  color: var(--ink); text-decoration: none;
  transition: border-color .2s, transform .3s var(--ease);
}
.check-teaser:hover { border-style: solid; border-color: var(--gold); transform: translateY(-2px); }
.check-teaser > span:nth-child(2) { flex: 1; min-width: 240px; }
.check-teaser strong { margin-right: .3em; }
.check-teaser__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); }
.check-teaser__icon .icon { width: 22px; height: 22px; }
.check-teaser__btn { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--gold-ink); white-space: nowrap; }

/* ---------- Karriere: Vorteile, Ausbildung, Geschichte ---------- */
.perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .perks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .perks { grid-template-columns: 1fr; } }
.perk { padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.perk:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.perk__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); }
.perk__icon .icon { width: 24px; height: 24px; }
.perk__title { font-size: 1.15rem; margin: 0 0 .4em; }
.perk__text { margin: 0; color: var(--muted); font-size: .95rem; }
.jobs-extra { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; align-items: stretch; }
@media (max-width: 900px) { .jobs-extra { grid-template-columns: 1fr; } }
.trainee { display: flex; gap: 18px; align-items: flex-start; padding: 26px; border-radius: var(--radius-lg); background: var(--navy); color: #fff; }
.trainee .perk__icon { flex: none; margin: 0; }
.trainee .perk__title { color: var(--gold-2); }
.trainee__text { color: #c6d0d2; margin-bottom: 16px; }
.trainee__text p { margin: 0 0 .6em; }
.story { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .3s var(--ease); }
.story:hover { border-color: var(--gold); transform: translateY(-3px); }
.story img { flex: none; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--line); }
.story small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.story strong { display: block; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.3; margin: 4px 0 8px; }
.story__more { display: inline-flex; align-items: center; gap: .35em; font-size: .88rem; font-weight: 600; color: var(--gold-ink); }

/* Fahrzeiten aus der Region */
.region { margin-top: 20px; padding: 22px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.region__title { display: flex; align-items: center; gap: .5em; margin: 0 0 14px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.region__title .icon { color: var(--gold-ink); }
.region__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 4px 32px; }
.region__list li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.region__list b { color: var(--gold-ink); font-weight: 700; white-space: nowrap; }
.region__note { margin: 12px 0 0; font-size: .8rem; color: var(--muted); }

/* ---------- Termin-Leiste fürs Handy ---------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 900; display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px;
    padding: 8px; border-radius: 18px;
    background: var(--glass-nav); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line); box-shadow: 0 10px 30px rgb(12 31 38 / .18);
    translate: 0 140%; transition: translate .4s var(--ease);
  }
  .mobile-cta.is-visible { translate: 0 0; }
  .mobile-cta__btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 48px; border-radius: 12px; border: 1px solid var(--line);
    background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer;
  }
  .mobile-cta__btn--primary { background: linear-gradient(135deg, var(--gold-2), var(--gold)); border-color: transparent; color: var(--navy); }
  .mobile-cta__btn .icon { width: 18px; height: 18px; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .mobile-cta { transition: none; } }
