/* ============================================================
   Die Berner Urologen AG — Relaunch-Prototyp
   Palette: Petrol #0B3B4F · Creme #F6F5F0 · Weiss #FFFFFF
   Fonts:   Cormorant Garamond (Headings) · Barlow (Body)
   ============================================================ */

@font-face {
  font-family: "Argesta Headline";
  src: url("assets/argesta-headline.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Karbon";
  src: url("assets/karbon-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --petrol: #0b3b4f;
  --petrol-dark: #082d3d;
  --cream: #f6f5f0;
  --cream-warm: #f3efe6;
  --white: #ffffff;
  --text: #16323e;
  --text-light: #f0ece2;
  --serif: "Argesta Headline", "Cormorant Garamond", Georgia, serif;
  --sans: "Karbon", "Barlow", "Helvetica Neue", Arial, sans-serif;
  --radius-arch: 999px 999px 0 0;
  --container: 2000px;
  --transition: 0.3s cubic-bezier(0.25, 0.6, 0.3, 1);
  --grid-gap: clamp(1rem, 2vw, 2rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--petrol);
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(2.2rem, 3.6vw, 3.3rem); margin-bottom: 1.3rem; }
h3 { font-size: clamp(1.85rem, 3vw, 2.6rem); margin-bottom: 1.2rem; }
h4 { font-size: 1.75rem; }

a { color: inherit; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--petrol);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 1.2em 1.9em 0.8em;
  border-radius: 999px;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}

.btn-light {
  background: var(--cream-warm);
  color: var(--petrol);
}

.btn-light:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(8, 45, 61, 0.25);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  transition: background 0.35s ease;
}

.site-header.scrolled { background: var(--petrol); }

main section[id] { scroll-margin-top: calc(var(--header-h, 90px) + 1rem); }

.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1.75rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo img { width: 52px; height: auto; }

.main-nav { display: flex; align-items: center; gap: 2.2rem; }

.main-nav ul {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.main-nav a:not(.btn) {
  color: var(--text-light);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-decoration: none;
  position: relative;
}

.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -0.35em;
  width: 100%;
  height: 1px;
  background: var(--cream-warm);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 0.6, 0.3, 1);
}

.main-nav a:not(.btn):hover::after,
.main-nav a.active::after { transform: scaleX(1); transform-origin: left; }

.subpage .site-header,
body.nav-open .site-header { background: var(--petrol); }

.nav-cta { font-size: 1.25rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--cream);
  margin: 6px 0;
  transition: transform var(--transition), opacity var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--petrol);
  color: var(--text-light);
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.page-body {
  position: relative;
  z-index: 1;
  background: var(--cream);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 45, 61, 0.88) 0%, rgba(8, 45, 61, 0) 26%),
    linear-gradient(0deg, rgba(8, 45, 61, 0.82) 0%, rgba(8, 45, 61, 0) 32%),
    linear-gradient(100deg, rgba(8, 45, 61, 0.94) 0%, rgba(8, 45, 61, 0.72) 45%, rgba(8, 45, 61, 0.35) 100%);
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  padding-top: calc(var(--header-h, 90px) + clamp(2rem, 4vw, 3.5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
  /* Fluchtlinie = Container-Rand (= Rasterspalte 1) */
  padding-left: max(clamp(1.25rem, 4vw, 2.5rem), calc((100vw - var(--container)) / 2 + clamp(1.25rem, 4vw, 2.5rem)));
}

.hero-text h1 .line {
  display: block;
  overflow: hidden;
}

.hero-text h1 .line-inner {
  display: inline-block;
  will-change: transform;
}

.hero-text h1 {
  text-shadow: 0 2px 24px rgba(8, 45, 61, 0.45);
  color: var(--cream-warm);
  font-size: clamp(3.2rem, 6.4vw, 6.8rem);
  margin-bottom: 1.5rem;
}

.hero-text h1 em {
  font-style: italic;
  color: var(--text-light);
}

.hero-text .lead {
  text-shadow: 0 1px 16px rgba(8, 45, 61, 0.5);
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  max-width: 48ch;
  margin-bottom: 2.4rem;
  color: var(--text-light);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
}

.hero-actions .btn {
  font-size: 1.15rem;
  padding: 0.9em 2.2em;
}

.btn-ghost {
  background: transparent;
  color: var(--cream-warm);
  border: 1px solid rgba(240, 236, 226, 0.45);
}

.btn-ghost:hover {
  background: rgba(240, 236, 226, 0.1);
  border-color: var(--cream-warm);
  transform: translateY(-2px);
}

.hero-hours {
  position: absolute;
  z-index: 1;
  bottom: clamp(2rem, 4vh, 3.5rem);
  left: max(clamp(1.25rem, 4vw, 2.5rem), calc((100vw - var(--container)) / 2 + clamp(1.25rem, 4vw, 2.5rem)));
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 0;
}

.hero-hours-label {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 236, 226, 0.8);
}

.hero-hours-items {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.4rem;
  font-size: 1.5rem;
  color: rgba(240, 236, 226, 0.95);
  text-shadow: 0 1px 12px rgba(8, 45, 61, 0.5);
}

.hero-hours-items strong {
  font-weight: 500;
  color: var(--cream-warm);
}

.hero-hours-sep {
  width: 1px;
  height: 1.1em;
  background: rgba(240, 236, 226, 0.5);
  align-self: center;
}

.scroll-link {
  position: absolute;
  z-index: 1;
  bottom: calc(clamp(2rem, 4vh, 3.5rem) - 4px);
  right: max(clamp(1.25rem, 4vw, 2.5rem), calc((100vw - var(--container)) / 2 + clamp(1.25rem, 4vw, 2.5rem)));
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--cream-warm);
  text-shadow: 0 1px 10px rgba(8, 45, 61, 0.6);
  transition: color var(--transition);
}

.scroll-link:hover { color: var(--cream-warm); }

.scroll-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(240, 236, 226, 0.65);
  border-radius: 50%;
  background: rgba(8, 45, 61, 0.25);
  transition: border-color var(--transition), background var(--transition);
}

.scroll-link:hover .scroll-circle {
  border-color: var(--cream-warm);
  background: rgba(240, 236, 226, 0.08);
}

.scroll-circle svg { animation: cue-bob 2.2s ease-in-out infinite; }

@keyframes cue-bob {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(3px); }
}

/* ---------- Background-Color-Transition on Scroll ---------- */
/* JS setzt body.bg-anim; dann liefern die Sektionen keine eigene
   Flaeche mehr, der Body-Hintergrund morpht zwischen den Farben. */
body.bg-anim .site-footer:not(.ov-cta):not(.ov-footer) { background: transparent; }

/* Sobald der Body-Hintergrund ins Petrol wechselt (bg-dark), werden die
   direkt auf der Flaeche liegenden Texte hell – Karten bleiben dunkel. */
body.bg-dark main :where(h1, h2, h3, h4, h5, p, li, a, .team-kicker, .page-kicker, .card-subtitle, .stat-num, .stat-label) {
  color: var(--text-light);
  transition: color var(--transition, 0.25s) ease;
}
body.bg-dark main :where(.service-card, .zuweisen-card, .card, .job-apply) :where(h1, h2, h3, h4, h5, p, li, a) {
  color: var(--text);
}


/* ---------- Page-Hero (Unterseiten) ---------- */
.page-hero {
  background: var(--petrol);
  color: var(--text-light);
  min-height: clamp(600px, 68svh, 700px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h, 100px) + clamp(3rem, 6vw, 5rem)) 0 clamp(3.5rem, 7vw, 5.5rem);
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 45, 61, 0.88) 0%, rgba(8, 45, 61, 0) 30%),
    linear-gradient(0deg, rgba(8, 45, 61, 0.55) 0%, rgba(8, 45, 61, 0) 45%),
    linear-gradient(100deg, rgba(8, 45, 61, 0.92) 0%, rgba(8, 45, 61, 0.6) 45%, rgba(8, 45, 61, 0.3) 100%);
}

.page-hero .container { width: 100%; }

.page-hero .arch-deco {
  position: absolute;
  right: max(clamp(1.25rem, 4vw, 2.5rem), calc((100vw - var(--container)) / 2 + clamp(1.25rem, 4vw, 2.5rem)));
  bottom: 0;
  width: min(27vw, 350px);
  height: auto;
  color: rgba(240, 236, 226, 0.22);
  pointer-events: none;
}

.page-hero .container { position: relative; }

.page-hero h1 {
  color: var(--cream-warm);
  font-size: clamp(2.6rem, 4.8vw, 4.8rem);
  max-width: 20ch;
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 24px rgba(8, 45, 61, 0.45);
}

.page-hero .lead {
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  max-width: 52ch;
  color: var(--text-light);
  text-shadow: 0 1px 16px rgba(8, 45, 61, 0.5);
}

/* ---------- Header.Text-Media (wie Header.Text, mit Bild) ---------- */
.header-media .container { position: relative; z-index: 2; }

.header-media-body { max-width: 34ch; }
.header-media .lead { max-width: 40ch; }

.header-media-img {
  position: absolute;
  right: max(clamp(1.25rem, 4vw, 2.5rem), calc((100vw - var(--container)) / 2 + clamp(1.25rem, 4vw, 2.5rem)));
  bottom: 0;
  width: min(27vw, 350px);
  z-index: 1;
  margin: 0;
}
.header-media-img img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 200px 200px 0 0;
  display: block;
}

@media (max-width: 760px) {
  .page-hero.header-media {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding-bottom: clamp(2.75rem, 8vw, 4rem);
  }
  .header-media .container { order: 0; width: 100%; }
  .header-media-img {
    position: static;
    order: 1;
    width: min(56%, 220px);
    margin: clamp(2rem, 7vw, 3rem) 0 0 clamp(1.25rem, 4vw, 2.5rem);
  }
  /* Bogen-Grafik (Header.Text) auf Mobil ganz ausblenden */
  .page-hero .arch-deco { display: none; }
}

/* ---------- Services (Angebot) ---------- */
.services { padding: clamp(5rem, 10vw, 8.5rem) 0 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.service-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(11, 59, 79, 0.08);
  padding: clamp(2rem, 3.5vw, 3rem);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(11, 59, 79, 0.14);
}

.service-card h3 {
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  margin-bottom: 0.9rem;
}

.service-card p { font-size: 1.2rem; line-height: 1.6; }

/* ---------- Team-Teaser-Button ---------- */
.team-teaser { margin-top: clamp(2.5rem, 5vw, 4rem); }

.btn-petrol {
  background: var(--petrol);
  color: var(--cream-warm);
}

.btn-petrol:hover {
  background: var(--petrol-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(8, 45, 61, 0.3);
}

/* ---------- Team-Seite ---------- */
.team--staff { padding-top: 0; }

.team-grid--staff { grid-template-columns: repeat(6, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem) var(--grid-gap); }

.team-grid--staff .doctor h4 { font-size: 1.35rem; }

.team-grid--staff .doctor p { font-size: 1.1rem; }

.doctor--ph figure {
  background: linear-gradient(160deg, #e7e3d8, #d5dde1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.doctor--ph figure img {
  width: 38%;
  height: auto;
  opacity: 0.45;
}

/* ---------- Fachgebiete-Marquee ---------- */
.marquee {
  display: block;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-top: 1px solid rgba(11, 59, 79, 0.12);
  border-bottom: 1px solid rgba(11, 59, 79, 0.12);
  text-decoration: none;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee span {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  color: var(--petrol);
  white-space: nowrap;
}

.mq-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(11, 59, 79, 0.35);
  flex-shrink: 0;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Zahlen ---------- */
.stats { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(6.5rem, 13vw, 12rem); overflow: hidden; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gap);
  align-items: start;
}

.stats-grid .stat { grid-column: span 3; }
.stats-grid .stat:last-child { text-align: right; align-items: flex-end; }

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

.stat:nth-child(2), .stat:nth-child(4) { margin-top: clamp(2rem, 5vw, 4.5rem); }

.stat-num {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 9vw, 9.5rem);
  line-height: 0.95;
  color: var(--petrol);
  letter-spacing: -0.01em;
}

.stat-label {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(11, 59, 79, 0.7);
}

/* ---------- Intro (Über die Praxis) ---------- */
.intro { padding: clamp(6.5rem, 13vw, 12rem) 0; }

.intro-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gap);
  align-items: start;
  padding-block: clamp(2.75rem, 5.5vw, 4.5rem);
}

.intro-row:first-child { padding-top: 0; }
.intro-row:last-child { padding-bottom: 0; }

.intro-row + .intro-row { border-top: 1px solid rgba(11, 59, 79, 0.15); }

.intro-row h2, .intro-row h3 { margin-bottom: 0; }
.intro-row > :first-child { grid-column: 1 / 5; }
.intro-row > :last-child { grid-column: 6 / 13; }

.intro-text {
  font-size: clamp(1.5rem, 2.1vw, 1.9rem);
  line-height: 1.55;
  color: var(--petrol);
}

.intro-row p { max-width: 52ch; }

/* ---------- Job-Listen (Stellen / Praxisassistenz) ---------- */
.job-list { list-style: none; margin: 0; max-width: 60ch; }
.job-list li {
  position: relative;
  padding: 0.9rem 0 0.9rem 1.6rem;
  border-bottom: 1px solid rgba(11, 59, 79, 0.15);
  line-height: 1.55;
}
.job-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--petrol);
}
.job-list li:last-child { border-bottom: none; }
.job-loc {
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--petrol);
  opacity: 0.75;
  margin: 0.6rem 0 1.6rem;
}
.job-apply {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(11, 59, 79, 0.08);
  padding: clamp(2rem, 4vw, 3.25rem);
  max-width: 52ch;
}
.job-apply p { margin-top: 0.4rem; }
.job-apply .footer-label { margin-bottom: 0.8rem; }

/* ---------- Footer: weitere Links ---------- */
.footer-temp {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin-top: 1.75rem;
}
.footer-temp a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.2rem;
}
.footer-temp a:hover { text-decoration: underline; text-underline-offset: 4px; }

.hours { margin-top: 0.4rem; max-width: 560px; }

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(11, 59, 79, 0.15);
}

.hours div:first-child { padding-top: 0; }

.hours dt { font-weight: 500; }

.hours dd { margin: 0; }

.zuweisung { margin-top: 1.1rem; }

.zuweisung a {
  color: var(--petrol);
  font-weight: 400;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: opacity var(--transition);
}

.zuweisung a:hover { opacity: 0.65; }

/* ---------- Video ---------- */
.video-section { padding-bottom: clamp(6.5rem, 13vw, 12rem); }

.video-section video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
}

/* ---------- Galerie ---------- */
.gallery { padding: clamp(6.5rem, 13vw, 12rem) 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gap);
  align-items: start;
}

.gallery-grid figure { overflow: hidden; border-radius: 14px; grid-column: span 4; }

.gallery-grid figure:nth-child(2) { margin-top: clamp(2.5rem, 5vw, 4.5rem); }

.gallery-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  will-change: transform;
}



/* ---------- Kontakt CTA ---------- */
.contact-cta {
  background: var(--petrol);
  color: var(--text-light);
  overflow: hidden;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  padding-top: clamp(5.5rem, 11vw, 9rem);
}

.cta-text { padding-bottom: clamp(5.5rem, 11vw, 9rem); }

.cta-text h3 { color: var(--cream-warm); max-width: 18ch; }

.cta-text p { max-width: 44ch; margin-bottom: 2rem; }

.cta-media img {
  width: 100%;
  aspect-ratio: 380 / 480;
  object-fit: cover;
  border-radius: var(--radius-arch);
}

/* ---------- Standorte ---------- */
.standorte { padding: clamp(6.5rem, 13vw, 12rem) 0; }

.standorte-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gap);
}

.card {
  background: var(--white);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(11, 59, 79, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(11, 59, 79, 0.14);
}

.card hr {
  border: none;
  border-top: 1px solid rgba(11, 59, 79, 0.15);
  margin: 1.4rem 0;
}

.card a {
  color: var(--petrol);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: opacity var(--transition);
}

.card a:hover { opacity: 0.65; }

.card-hours { line-height: 1.6; }

.card-hours .card-subtitle { display: block; margin-bottom: 0.6rem; }

.card-subtitle {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(11, 59, 79, 0.75);
  margin-bottom: 0.9rem;
}

.hours-card { max-width: none; }

.hours-card div { padding: 0.75rem 0; }

.hours-card div:last-child { border-bottom: none; padding-bottom: 0; }

/* ---------- Patienten zuweisen ---------- */
.zuweisen { padding-bottom: clamp(6.5rem, 13vw, 12rem); }

.zuweisen-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(11, 59, 79, 0.08);
  padding: clamp(2.75rem, 5vw, 4.5rem) 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gap);
  align-items: center;
}
.zuweisen-card > :first-child { grid-column: 2 / 7; }
.zuweisen-card .zuweisen-links { grid-column: 8 / 12; }

.zuweisen-card h3 { margin-bottom: 1rem; }

.zuweisen-card p { max-width: 48ch; }

.zuweisen-links .zuweisung { margin-top: 0; }

.zuweisen-links .zuweisung + .zuweisung { margin-top: 1.5rem; }

.zuweisen-links a {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  color: var(--petrol);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

/* ---------- Team ---------- */
.team {
  padding: clamp(6.5rem, 13vw, 12rem) 0;
}

.team-kicker {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(11, 59, 79, 0.72);
  margin-bottom: 0.9rem;
}

.team h2 { margin-bottom: clamp(2rem, 5vw, 3.5rem); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem) var(--grid-gap);
}

.doctor {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
}

.doctor figure {
  position: absolute;
  inset: 0;
}

.doctor img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.doctor:hover img { transform: scale(1.05); }

/* Blur-Streifen + Verlauf fuer Lesbarkeit (Referenz: iwcglobal.net) */
.doctor::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  z-index: 1;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(rgba(0,0,0,0) 0%, #000 65%);
  mask-image: linear-gradient(rgba(0,0,0,0) 0%, #000 65%);
}

.doctor::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 52%;
  z-index: 1;
  background: linear-gradient(rgba(8, 45, 61, 0) 0%, rgba(8, 45, 61, 0.55) 55%, rgba(8, 45, 61, 0.92) 100%);
}

.doctor-info {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1.3rem 1.4rem 1.4rem;
}

.doctor h4 {
  font-family: var(--sans);
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 12px rgba(8, 45, 61, 0.5);
}

.doctor p {
  font-size: 1.25rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 10px rgba(8, 45, 61, 0.5);
}

.doctor .more {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(8, 45, 61, 0.5);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: opacity var(--transition);
}

.doctor .more:hover { opacity: 0.7; }

/* ---------- Footer (mit integriertem Termin-CTA) ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--petrol);
  color: var(--text-light);
  padding: clamp(5rem, 10vw, 8.5rem) 0 2.25rem;
  font-size: 1.15rem;
  line-height: 1.7;
  overflow: hidden;
}

.footer-cols .footer-col { font-size: 1.35rem; line-height: 1.65; }

.footer-cta {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gap);
  align-items: center;
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  position: relative;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

.footer-cta::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: clamp(1.25rem, 4vw, 2.5rem);
  right: clamp(1.25rem, 4vw, 2.5rem);
  height: 1px;
  background: rgba(240, 236, 226, 0.18);
}

.footer-cta-text { grid-column: 1 / 8; }
.footer-cta-media { grid-column: 9 / 13; }

.footer-cta-text h2 {
  color: var(--cream-warm);
  max-width: 16ch;
}

.footer-cta-text p {
  max-width: 44ch;
  margin-bottom: 2rem;
}

.footer-cta-media img {
  width: 100%;
  aspect-ratio: 320 / 380;
  object-fit: cover;
  border-radius: var(--radius-arch);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.footer-label {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 236, 226, 0.65);
  margin-bottom: 0.9rem;
}

.footer-col a {
  color: var(--text-light);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.footer-col a:hover { color: #fff; }

nav.footer-col a {
  display: block;
  width: max-content;
  text-decoration: none;
  padding: 0.15em 0;
  font-size: 1.35rem;
}

.footer-col p + p { margin-top: 1.1rem; }

.footer-bottom {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-top: 1.75rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 1.2rem;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(1.25rem, 4vw, 2.5rem);
  right: clamp(1.25rem, 4vw, 2.5rem);
  height: 1px;
  background: rgba(240, 236, 226, 0.18);
}

.footer-bottom img { width: 44px; height: auto; flex-shrink: 0; }

.footer-bottom p { opacity: 0.85; }

.footer-bottom a { color: var(--text-light); }

/* ---------- Modulübersicht ---------- */
.page-kicker {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 236, 226, 0.6);
  margin-bottom: 1rem;
}

.mod-section { padding: clamp(4rem, 8vw, 7rem) 0 clamp(6.5rem, 13vw, 12rem); }

.mod-note {
  border: 1px solid rgba(11, 59, 79, 0.2);
  border-radius: 12px;
  padding: 1.25rem 1.75rem;
  font-size: 1.2rem;
  color: rgba(11, 59, 79, 0.8);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 70ch;
}

.mod-group { margin: clamp(2.5rem, 5vw, 4rem) 0 0.5rem; }
.mod-group:first-of-type { margin-top: 0; }

.mod-group-title {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(11, 59, 79, 0.55);
  margin-bottom: 0;
}

.mod-row {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 22rem);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid rgba(11, 59, 79, 0.14);
  text-decoration: none;
  color: var(--text);
  transition: padding-left 0.35s cubic-bezier(0.25, 0.6, 0.3, 1);
}

.mod-group + .mod-row { border-top: 1px solid rgba(11, 59, 79, 0.14); }

.mod-row:hover { padding-left: 0.75rem; }

.mod-idx {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: rgba(11, 59, 79, 0.5);
  padding-top: 0.15rem;
}

.mod-name {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  color: var(--petrol);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.mod-row:hover .mod-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.mod-desc { display: block; font-size: 1.2rem; line-height: 1.55; color: rgba(11, 59, 79, 0.78); max-width: 60ch; }

.mod-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-end; padding-top: 0.4rem; }

.mod-tags span {
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--petrol);
  border: 1px solid rgba(11, 59, 79, 0.25);
  border-radius: 999px;
  padding: 0.3em 0.9em;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .mod-row { grid-template-columns: 3.5rem 1fr; }
  .mod-idx { font-size: 1.3rem; }
  .mod-tags { grid-column: 1 / -1; justify-content: flex-start; padding-top: 0.9rem; }
}

/* ============================================================
   Modulübersicht (Showcase) — VZ1-Stil
   ============================================================ */
.ov-body { background: var(--cream); }

.ov-intro {
  background: var(--petrol);
  color: var(--text-light);
  padding: calc(var(--header-h, 90px) + clamp(3rem, 6vw, 5rem)) 0 clamp(3rem, 6vw, 5rem);
}
.ov-intro h1 { color: var(--cream-warm); font-size: clamp(3rem, 6vw, 6rem); margin-bottom: 1.2rem; }
.ov-intro .lead { color: var(--text-light); font-size: clamp(1.2rem, 1.9vw, 1.55rem); max-width: 60ch; margin-bottom: 2.5rem; }
.ov-intro .page-kicker { color: rgba(240,236,226,0.6); }

.ov-nav { display: flex; flex-wrap: wrap; gap: 0.6rem 0.75rem; }
.ov-nav a {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.95rem;
  color: var(--cream-warm);
  text-decoration: none;
  border: 1px solid rgba(240,236,226,0.3);
  border-radius: 999px;
  padding: 0.35em 0.9em;
  transition: background var(--transition), border-color var(--transition);
}
.ov-nav a:hover { background: rgba(240,236,226,0.12); border-color: var(--cream-warm); }

.mod-zwischen {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(11,59,79,0.5);
  max-width: var(--container);
  margin: clamp(3.5rem, 7vw, 6rem) auto 0;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) 1rem;
  border-bottom: 1px solid rgba(11,59,79,0.14);
}

.mod { position: relative; }

.mod-label {
  position: sticky;
  top: calc(var(--header-h, 90px) + 0.75rem);
  z-index: 6;
  display: inline-block;
  margin-left: clamp(1.25rem, 4vw, 2.5rem);
  transform: translateY(1.25rem);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--cream-warm);
  background: var(--petrol);
  border-radius: 6px;
  padding: 0.35em 0.75em;
  box-shadow: 0 4px 16px rgba(8,45,61,0.25);
  pointer-events: none;
}
html[data-dev="aus"] .mod-label { display: none; }

/* Full-viewport-Module im Rahmen bändigen */
.mod .hero.ov-contain { position: relative; top: auto; min-height: 100svh; z-index: 0; }
.mod .page-hero.ov-contain { min-height: clamp(560px, 62svh, 660px); }

/* Statischer Header-Demo */
.ov-static-header { padding: 0; }
.ov-static-header .site-header.ov-static { position: static; background: var(--petrol); }
.ov-static-header .logo img { width: 52px; height: auto; }

/* CTA-Demo (Petrol-Block) */
.ov-body .site-footer.ov-cta { background: var(--petrol-dark); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.site-footer.ov-cta .ov-cta-inner { padding-bottom: 0; border-bottom: none; margin-bottom: 0; }
.site-footer.ov-cta .ov-cta-inner::after { display: none; }

/* Footer-Demo: nicht Vollbild */
.ov-body .site-footer.ov-footer { background: var(--petrol-dark); padding-top: clamp(4rem, 8vw, 6rem); }

.ov-pagefoot {
  background: var(--petrol-dark);
  color: rgba(240,236,226,0.7);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 1rem;
}

/* ---------- Raster-Overlay (Designhilfe) ---------- */
.grid-overlay { position: fixed; inset: 0; z-index: 90; pointer-events: none; display: none; }
html[data-grid="an"] .grid-overlay { display: block; }
.grid-overlay .go-inner {
  max-width: var(--container);
  height: 100%;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gap);
}
.grid-overlay .go-inner span {
  height: 100%;
  background: rgba(214, 74, 74, 0.07);
  border-left: 1px solid rgba(214, 74, 74, 0.22);
  border-right: 1px solid rgba(214, 74, 74, 0.22);
}
@media (max-width: 768px) {
  .grid-overlay .go-inner { grid-template-columns: 1fr; gap: 0; }
  .grid-overlay .go-inner span:nth-child(n+2) { display: none; }
}

/* ---------- Content.Text (Rich) ---------- */
.intro-rich > * + * { margin-top: 1.4rem; }
.intro-rich .intro-lead-p {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  line-height: 1.5;
  color: var(--petrol);
}
.intro-rich h3 { margin-top: 2.6rem; }
.intro-rich h4 {
  margin-top: 2.2rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--petrol);
}
.text-link {
  color: var(--petrol);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: opacity var(--transition);
}
.text-link:hover { opacity: 0.65; }
.text-link-eigen {
  display: inline-block;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--petrol);
  padding-bottom: 0.1em;
}
.rich-list {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
}
.rich-list li {
  display: flex;
  gap: 1.25rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(11, 59, 79, 0.15);
}
.rich-list .rich-n { font-family: var(--serif); font-size: 1.4rem; color: rgba(11, 59, 79, 0.55); flex-shrink: 0; }

.m-stufe {
  display: none;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.7em;
  letter-spacing: 0.02em;
  vertical-align: middle;
  color: var(--petrol);
  background: rgba(11, 59, 79, 0.08);
  border: 1px solid rgba(11, 59, 79, 0.18);
  border-radius: 5px;
  padding: 0.15em 0.5em;
  margin-left: 0.5em;
}
html[data-dev="an"] .m-stufe { display: inline-block; }

/* ---------- Stil-Panel ---------- */
.styler {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 70;
  background: var(--petrol);
  color: var(--cream-warm);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(8,45,61,0.35);
  overflow: hidden;
  min-width: 180px;
}
.styler-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--cream-warm);
  font-family: var(--sans);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  padding: 0.9rem 1.2rem;
  cursor: pointer;
}
.styler[data-open="0"] .styler-body { display: none; }
.styler-body { padding: 0 1.2rem 1.2rem; }
.styler fieldset { border: none; padding: 0; }
.styler legend {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240,236,226,0.6);
  margin-bottom: 0.6rem;
}
.styler .opts { display: inline-flex; border: 1px solid rgba(240,236,226,0.3); border-radius: 999px; overflow: hidden; }
.styler .opts button {
  background: none;
  border: none;
  color: var(--cream-warm);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.4em 1.1em;
  cursor: pointer;
  transition: background var(--transition);
}
.styler .opts button.is-on { background: var(--cream-warm); color: var(--petrol); }

@media (max-width: 768px) {
  .mod .hero.ov-contain { min-height: 100svh; }
  .styler { min-width: 0; right: 0.75rem; bottom: 0.75rem; }
}

/* ---------- Modulübersicht: Style-Parameter-Toggle ---------- */
.mod-controls { margin-bottom: clamp(2rem, 4vw, 3rem); }

.mod-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: var(--petrol);
  padding: 0;
}

.mod-toggle-track {
  width: 48px;
  height: 26px;
  border-radius: 999px;
  background: rgba(11, 59, 79, 0.2);
  position: relative;
  transition: background var(--transition);
  flex-shrink: 0;
}

.mod-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cream);
  transition: transform var(--transition);
}

.mod-toggle[aria-pressed="true"] .mod-toggle-track { background: var(--petrol); }
.mod-toggle[aria-pressed="true"] .mod-toggle-knob { transform: translateX(22px); }

.mod-param {
  display: none;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.95rem;
  letter-spacing: 0;
  color: var(--petrol);
  background: rgba(11, 59, 79, 0.08);
  border: 1px solid rgba(11, 59, 79, 0.16);
  border-radius: 6px;
  padding: 0.15em 0.6em;
  margin-left: 0.85rem;
  vertical-align: 0.15em;
  white-space: nowrap;
}

.mod-section.show-params .mod-param { display: inline-block; }

/* ---------- Reveal-Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .gallery-grid img, .doctor img { transition: none; }
  .scroll-circle svg { animation: none; }
  .hero-bg { display: none; }
}

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

@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid--staff { grid-template-columns: repeat(4, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat { grid-column: auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-row { grid-template-columns: 1fr; gap: 1.25rem; }
  .intro-row > :first-child,
  .intro-row > :last-child { grid-column: auto; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-toggle { position: relative; z-index: 60; }
  body.nav-open .logo { position: relative; z-index: 60; }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: var(--petrol);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    padding: clamp(6rem, 20vw, 9rem) clamp(1.75rem, 8vw, 3.5rem) clamp(3rem, 10vw, 5rem);
    clip-path: circle(0% at calc(100% - 2.6rem) 2.6rem);
    opacity: 0;
    pointer-events: none;
    transition: clip-path 0.65s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.3s ease;
  }

  .main-nav.open {
    clip-path: circle(150% at calc(100% - 2.6rem) 2.6rem);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .main-nav ul li {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.25, 0.6, 0.3, 1);
  }

  .main-nav.open ul li { opacity: 1; transform: none; }
  .main-nav.open ul li:nth-child(1) { transition-delay: 0.22s; }
  .main-nav.open ul li:nth-child(2) { transition-delay: 0.30s; }
  .main-nav.open ul li:nth-child(3) { transition-delay: 0.38s; }
  .main-nav.open ul li:nth-child(4) { transition-delay: 0.46s; }
  .main-nav.open ul li:nth-child(5) { transition-delay: 0.54s; }

  .main-nav ul a:not(.btn) {
    display: inline-block;
    font-family: var(--serif);
    font-size: clamp(2.6rem, 11vw, 4rem);
    line-height: 1.15;
    padding: 0.18em 0;
    color: var(--cream-warm);
  }

  .main-nav ul a:not(.btn)::after { bottom: 0.1em; height: 2px; }

  .nav-cta {
    margin-top: clamp(2rem, 6vw, 3.5rem);
    font-size: 1.3rem;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.4s ease 0.5s, transform 0.55s cubic-bezier(0.25, 0.6, 0.3, 1) 0.5s;
  }

  .main-nav.open .nav-cta { opacity: 1; transform: none; }

  .nav-toggle[aria-expanded="true"] span { background: var(--cream-warm); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .hero { min-height: calc(100svh - var(--header-h, 80px)); }

  .hero-text { padding: 3.5rem clamp(1.25rem, 4vw, 2.5rem); }

  .hero-hours { left: clamp(1.25rem, 4vw, 2.5rem); right: clamp(1.25rem, 4vw, 2.5rem); bottom: 2.25rem; }
  .hero-hours-items { flex-direction: column; align-items: flex-start; gap: 0.4rem; font-size: 1.3rem; }
  .hero-hours-sep { display: none; }
  .hero-text { padding-bottom: 11rem; }

  .scroll-link { display: none; }

  .intro-row { grid-template-columns: 1fr; gap: 1.25rem; }

  .zuweisen-card { grid-template-columns: 1fr; padding: clamp(2rem, 6vw, 2.75rem); }
  .zuweisen-card > :first-child,
  .zuweisen-card .zuweisen-links { grid-column: 1 / -1; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid figure { grid-column: auto; }
  .gallery-grid figure:nth-child(2) { margin-top: 0; }
  .gallery-grid img { aspect-ratio: 4 / 3; }

  .cta-grid { grid-template-columns: 1fr; align-items: start; }
  .cta-text { padding-bottom: 0; }
  .cta-media { max-width: 380px; margin-inline: auto; width: 100%; }

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

  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid--staff { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }

  .footer-cta { grid-template-columns: 1fr; }
  .footer-cta-text, .footer-cta-media { grid-column: auto; }
  .footer-cta-media { margin-top: clamp(2rem, 8vw, 3.25rem); }
  .footer-cta-media img { max-width: min(72%, 300px); margin-inline: 0; }
  .footer-cols { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .stats-grid { grid-template-columns: 1fr; gap: clamp(1.75rem, 6vw, 2.75rem); }
  .stats-grid .stat { grid-column: auto; }
  .stats-grid .stat:last-child { text-align: left; align-items: flex-start; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
}
