/* ============================================================
   Creative Zahntechnik – Daniel Küpfer
   Design tokens & global styles
   ============================================================ */

:root {
  --blue:        #5C96F2;
  --blue-dark:   #3f7ad6;
  --cyan:        #5CC5F2;
  --ink:         #15233b;
  --ink-soft:    #46546b;
  --dark:        #0a0e16;
  --grey:        #f4f6f9;
  --line:        #e2e7ee;
  --white:       #ffffff;

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius: 6px;

  /* Original-Brand-Font ist Benton Sans (kommerziell). Bis eine Lizenz/Adobe-Fonts
     eingebunden ist, dient "Libre Franklin" als sehr nahe, kostenlose Entsprechung.
     Zum Umstellen auf das Original einfach den ersten Namen ersetzen. */
  --font: "Libre Franklin", "Benton Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background: var(--white);
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.25rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); font-weight: 700; }
p  { margin: 0 0 1.1em; }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--grey { background: var(--grey); }
.section--dark { background: var(--dark); color: #e8edf6; }
.section--dark h1, .section--dark h2 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  padding: .8rem 1.6rem;
  border-radius: var(--radius);
  border: 0;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.btn:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  border: 1.5px solid currentColor;
  color: var(--blue);
}
.btn--ghost:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.1rem, 3vw, 2rem) var(--gutter);
}
.wordmark { line-height: 1.05; }
.wordmark a { color: inherit; }
.wordmark .name { display: block; font-weight: 800; font-size: clamp(1.6rem, 3.6vw, 2.25rem); letter-spacing: -0.01em; line-height: 1.05; }
.wordmark .sub  { display: block; font-weight: 400; font-size: clamp(1rem, 2.1vw, 1.35rem); color: var(--cyan); }
.site-header--light .wordmark { color: #fff; }
.site-header--dark  .wordmark .name { color: var(--ink); }

.site-logo { display: block; position: relative; line-height: 0; width: 75%; }
.site-logo img { width: 100%; height: auto; display: block; }
/* Blaues Band hinter dem Logo bis an den linken Browserrand ziehen.
   logo-left_blau.png hat das Band exakt auf gleicher Hoehe wie das Logo (0.425–0.776),
   horizontal gestreckt bleibt es unsichtbar – nur die Höhe zählt. */
.site-header:not(.logo-center) .site-logo::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: 100%;
  width: var(--gutter);
  background: url('../img/logo-left_blau.png') right center / 100% 100% no-repeat;
  pointer-events: none;
}
@media (min-width: 769px) {
  /* Breite per Backend-Einstellung (CSS-Variable --logo-w) */
  .site-logo { width: var(--logo-w, 45%); max-width: none; }
  /* Variante „zentriert" (per Backend-Einstellung); Spacer links = Hamburger-Breite rechts */
  .site-header.logo-center::before { content: ""; flex: 0 0 34px; }
}

.nav-toggle {
  background: none; border: 0; cursor: pointer;
  width: 34px; height: 28px; padding: 0;
  display: flex; flex-direction: column; justify-content: space-between;
}
body.page-kontakt .nav-toggle span {  background: #19293E; }

.nav-toggle span { display: block; height: 3px; border-radius: 3px; background: #fff; }


.site-header--light .nav-toggle { color: #fff; }
.site-header--dark  .nav-toggle { color: var(--ink); }

/* ---------- Fullscreen nav overlay ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  /* rechts hell -> links dunkel */
  background: radial-gradient(130% 130% at 100% 45%, #274f78 0%, #0d1b2c 52%, #060b13 100%);
  padding: clamp(1.1rem, 3vw, 2rem) var(--gutter);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .3s ease, visibility .4s;
}
.nav-overlay.open { transform: translateY(0); opacity: 1; visibility: visible; }
.nav-overlay__top { display: flex; align-items: center; justify-content: flex-end; }
.nav-close {
  background: none; border: 0; color: #fff; cursor: pointer;
  font-size: 2.4rem; line-height: 1; width: 48px; height: 48px;
}
.nav-overlay hr { width: 56px; border: 0; border-top: 1px solid rgba(255,255,255,.45); margin: 1.4rem 0 2.6rem; }
.nav-overlay nav { display: flex; flex-direction: column; gap: .35rem; }
.nav-overlay nav a {
  color: #fff;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 400;
  width: max-content;
  transition: padding-left .2s ease, opacity .2s ease;
}
.nav-overlay nav a:hover { padding-left: .5rem; opacity: .85; }
.nav-overlay nav a.active { font-weight: 700; }

/* ---------- Hero (inner pages: image band) ---------- */
.hero {
  position: relative;
  min-height: clamp(420px, 62vh, 620px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,12,20,.55) 0%, rgba(8,12,20,.05) 28%, rgba(8,12,20,.15) 100%);
}
.hero__inner { position: relative; z-index: 2; padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.hero__inner .eyebrow { color: var(--cyan); }
.hero h1 { max-width: 16ch; }

/* ---------- Home hero: fullscreen, scrolls with page ---------- */
.hero-home {
  position: relative;
  height: 100vh;
  /* zusätzlicher heller Schein oben Mitte (hinter dem Logo) + bestehender Verlauf */
  background:
    radial-gradient(80% 100% at 45% 0%, rgba(86,142,200,.42) 0%, rgba(86,142,200,0) 60%),
    radial-gradient(120% 120% at 80% 40%, #18324d 0%, #0c1726 45%, #060b13 100%);
  color: #fff;
  overflow: hidden;
}
.hero-home__teeth {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero-home__intro {
  position: absolute;
  left: var(--gutter);
  /* Immer gleicher Abstand zum Logo: --logo-bottom wird per JS aus der echten
     Logo-Unterkante gesetzt (unabhängig von Fensterhöhe & Logo-Breite). */
  top: calc(var(--logo-bottom, 6rem) + 15px);
  z-index: 2;
}
.hero-home__intro .tagline {
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 700;
  line-height: 1.5;
  color: #898B8C;
}
.hero-home__badge {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(2.5rem, 7vh, 5rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}
.hero-home__badge img { width: 64px; height: 64px; }
.hero-home__badge span { font-size: .95rem; letter-spacing: .02em; }

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

/* ---------- Inner-page hero: full-bleed image, no overlay title ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  height: clamp(340px, var(--hero-h, 70vh), 900px);
  background-size: cover;
  background-position: center;
}
/* Verlauf nur oben rechts (für den Hamburger), nicht hinter dem Logo */
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
 
  pointer-events: none;
}
/* Verlauf oben rechts pro Seite abschaltbar (Backend) */
.no-hero-scrim .page-hero::before { display: none; }

/* Hero-Slider (Fade-Übergang) */
.hero-slide {
  position: absolute; inset: 0; z-index: 1;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-fade { opacity: 0; transition: opacity 1.2s ease; }
.hero-fade.is-active { opacity: 1; }

/* ---------- Indented content rail (matches layout raster) ---------- */
.indent {
  margin-left: 22%;
  max-width: 620px;
}
@media (max-width: 820px) {
  .indent { margin-left: 0; max-width: none; }
}

/* page title sitting at the left gutter, below the hero */
.page-title {
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--ink);
  max-width: 18ch;
  margin: 0;
}

/* big dark statement heading */
.statement {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  max-width: 24ch;
  margin: 0;
}

/* ---------- Intro / lead statement ---------- */
.lead {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 22ch;
}
.lead--full { max-width: 30ch; }

/* ---------- Team boxes ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin-top: 2.5rem;
}
@media (max-width: 820px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  position: relative;
  background: #eceef1;
  border-top: 4px solid var(--blue);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.team-card h3 { color: var(--blue); font-weight: 700; margin: 0 0 .35rem; }
.team-card .role { color: var(--ink-soft); font-weight: 700; font-size: .9rem; margin: 0 0 .8rem; }
.team-card .quals { color: var(--ink-soft); font-size: .85rem; line-height: 1.55; margin: 0 0 1.4rem; }
.team-card img {
  margin-top: auto;   /* Foto an die Kartenunterkante -> alle Fotos auf gleicher Höhe */
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
}

/* ---------- Phone CTA band ---------- */
.cta-phone { text-align: center; }
.cta-phone .label { font-size: 1.15rem; color: var(--ink-soft); margin-bottom: .2rem; }
.cta-phone .number {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.02em;
  display: inline-block;
}
.section--dark .cta-phone .label { color: #aebbcf; }

/* left-aligned phone block (inside indented rail) */
.cta-inline { margin: 2rem 0; }
.cta-inline .label { font-size: 1.15rem; color: var(--ink-soft); margin: 0 0 .15rem; }
.cta-inline .number { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 800; color: var(--blue); letter-spacing: -0.02em; }

/* ---------- Media band (full-width image) ---------- */
.media-band img { width: 100%; height: clamp(260px, 38vw, 460px); object-fit: cover; }

/* ---------- Two column ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split--wide { grid-template-columns: 1.1fr .9fr; }
.split img { border-radius: var(--radius); width: 100%; object-fit: cover; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* larger intro paragraph (e.g. Oralscanner text) */
.lead-text {
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 400;
}

/* ---------- Services list ---------- */
.services { border-top: 1px solid var(--line); margin-top: 2rem; }
.services a, .services .item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem .25rem;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--ink);
  font-weight: 500;
  transition: padding-left .2s ease, color .2s ease;
}
.services a:hover { padding-left: .6rem; color: var(--blue); }
.services .arrow { color: var(--blue); font-size: 1.4rem; }

/* ---------- Entry cards (home: two audiences) ---------- */
.entry-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin-top: 2.5rem;
}
@media (max-width: 680px) { .entry-cards { grid-template-columns: 1fr; } }
.entry-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 300px;
  color: #fff;
}
.entry-card > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.entry-card:hover > img { transform: scale(1.05); }
.entry-card__body {
  position: relative; z-index: 2;
  min-height: 300px;
  padding: clamp(1.5rem, 3vw, 2.3rem);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, rgba(10,15,25,.1) 0%, rgba(10,15,25,.35) 45%, rgba(10,15,25,.8) 100%);
}
.entry-card h3 { color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.75rem); margin: 0 0 .4rem; }
.entry-card p { margin: 0 0 1rem; color: rgba(255,255,255,.92); font-size: 1rem; }
.entry-card .more { font-weight: 600; color: #fff; }
.entry-card .more::after { content: " ›"; }

/* ---------- Farbauswahl (Sportzahnschutz) ---------- */
.color-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.2vw, 1.75rem);
  margin-top: 2.5rem;
}
@media (max-width: 820px) { .color-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .color-grid { grid-template-columns: repeat(2, 1fr); } }
.color-swatch { text-align: center; }
.color-swatch i,
.color-swatch img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(21,35,59,.08), 0 6px 16px rgba(21,35,59,.10);
}
.color-swatch img {
  object-fit: contain;
  background: #fff;
  padding: 6%;
}
.color-swatch span { display: block; margin-top: .7rem; font-size: .92rem; color: var(--ink-soft); }

/* link inside a pillar list (e.g. Sportschutzschienen → Detailseite) */
.pillar li a { color: var(--blue); font-weight: 600; }
.pillar li a:hover { text-decoration: underline; }

/* ---------- Video (facade: thumbnail + play button, no YouTube chrome) ---------- */
.video-facade {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000 center / cover no-repeat;
  cursor: pointer;
}
.video-facade::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(8,12,20,.15);
  transition: background .2s ease;
}
.video-facade:hover::before { background: rgba(8,12,20,.02); }
.video-facade__play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(60px, 8vw, 84px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(20,25,35,.72);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.video-facade:hover .video-facade__play {
  background: var(--blue);
  transform: translate(-50%, -50%) scale(1.06);
}
.video-facade__play::after {
  content: "";
  margin-left: 22%;
  border-style: solid;
  border-width: 0.9em 0 0.9em 1.4em;
  border-color: transparent transparent transparent #fff;
}
.video-facade.is-playing { cursor: default; background: #000; }
.video-facade.is-playing::before,
.video-facade.is-playing .video-facade__play { display: none; }
.video-facade iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ---------- B2B pillars (image cards) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-top: 2.5rem;
}
.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.pillar__img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; background: var(--dark); }
.pillar__body { padding: 1.3rem 1.4rem 1.5rem; }
.pillar h3 { font-size: 1.15rem; margin: 0 0 .8rem; color: var(--ink); padding-bottom: .5rem; border-bottom: 2px solid var(--blue); }
.pillar ul { list-style: none; margin: 0; padding: 0; }
.pillar li { padding: .4rem 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.45; border-bottom: 1px solid var(--line); }
.pillar li:last-child { border-bottom: 0; }
.pillar li small { display: block; color: #8a95a6; font-size: .82rem; }

/* ---------- Leistungskatalog (Angebot) ---------- */
.catalog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 2.5rem;
}
.cat-card h3 {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 .9rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--blue);
}
.cat-card ul { list-style: none; margin: 0; padding: 0; }
.cat-card li {
  padding: .5rem 0;
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.45;
  border-bottom: 1px solid var(--line);
}
.cat-card li:last-child { border-bottom: 0; }
.cat-card li small { display: block; color: #8a95a6; font-size: .85rem; }

/* ---------- Callout ---------- */
.callout {
  background: var(--grey);
  border-left: 4px solid var(--blue);
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius);
  font-size: 1.1rem;
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- Section heading in brand blue ---------- */
.t-blue {
  color: var(--blue);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 1rem;
}

/* ---------- Info blocks (reparatur) ---------- */
.info-block { padding-block: 1.6rem 0; }
.info-block h3 { font-weight: 500; font-size: clamp(1.15rem, 2.4vw, 1.45rem); color: var(--ink); margin-bottom: .8rem; }
.info-block ul { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); }
.info-block li { margin-bottom: 1rem; line-height: 1.6; }

/* ---------- Cases list (plain, two columns) ---------- */
.cases-list { columns: 2; column-gap: 2.5rem; margin: 0; padding-left: 1.1rem; color: var(--ink-soft); }
.cases-list li { margin-bottom: .7rem; break-inside: avoid; }
@media (max-width: 640px) { .cases-list { columns: 1; } }

/* ---------- Highlight box (cases list) ---------- */
.box-blue {
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem);
}
.box-blue h2 { color: #fff; }
.box-blue ul { columns: 2; column-gap: 2.5rem; margin: 0; padding-left: 1.2rem; }
.box-blue li { margin-bottom: .6rem; break-inside: avoid; }
@media (max-width: 560px) { .box-blue ul { columns: 1; } }

/* ---------- Logos ---------- */
.logo-band { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; margin-top: 2.5rem; }
.logo-band img { height: 50px; width: auto; }
.partner { text-align: center; }
.partner-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(220px, 30vw, 300px);
  height: clamp(220px, 30vw, 300px);
  margin: 1.5rem auto 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: clamp(2rem, 5vw, 3rem);
  transition: box-shadow .2s ease, transform .2s ease;
}
.partner-circle:hover { box-shadow: 0 10px 30px rgba(21,35,59,.12); transform: translateY(-2px); }
.partner-circle img { width: 100%; height: auto; }
.partners-row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.25rem, 4vw, 3rem); margin-top: 1.5rem; }
.partners-row .partner-circle { margin: 0; }

/* ---------- Contact form (single column, grey-filled fields) ---------- */
.form-stack .field { margin-bottom: 1.4rem; }
.field label { display: block; font-size: 1rem; color: var(--ink-soft); margin-bottom: .4rem; }
.field input, .field textarea {
  width: 100%;
  padding: .85rem .9rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 1rem;
  background: var(--grey);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(92,150,242,.15);
}

/* ---------- Kontakt hero with interactive location marker ---------- */
.hero-kontakt {
  position: relative;
  height: clamp(460px, 80vh, 840px);
  overflow: hidden;
}
/* Verlauf oben rechts (Menü-Icon) – über dem Bild, unter Zahn/Marker; pro Seite abschaltbar */
.hero-kontakt::before {
  content: "";
  position: absolute; inset: 0;
 
  pointer-events: none;
}
.no-hero-scrim .hero-kontakt::before { display: none; }
.hero-kontakt__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66.5% 51.7%; /* keeps the practice roof fixed at 66.5% / 51.7% */
  display: block;
}
.marker-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
/* Basis-Fläche des Stiels; der Verlauf entsteht aus Streifen entlang der Kurve (per JS). */
.marker-stem { fill: #B8E0F6; }
.marker-ball {
  position: absolute;
  left: 68%;
  top: 30%;
  width: clamp(42px, 4.6vw, 64px);
  aspect-ratio: 358 / 432;
  border: 0;
  padding: 0;
  background: url('../img/zahn.svg') center / contain no-repeat;
  filter: drop-shadow(0 8px 10px rgba(0,0,0,.55));
  transform: translate(-50%, -50%);
  cursor: grab;
  touch-action: none;
  pointer-events: auto;
  will-change: left, top;
}
.marker-ball:active { cursor: grabbing; }
.field textarea { min-height: 130px; resize: vertical; }
.check { display: flex; align-items: center; gap: .6rem; font-size: .95rem; color: var(--ink-soft); }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }

/* Honeypot – für Menschen unsichtbar, für Bots verlockend */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Formular-Rückmeldung (serverseitig gesetzt) */
.form-msg { margin: 1.5rem 0 .5rem; padding: 1rem 1.2rem; border-radius: 8px; font-size: 1rem; line-height: 1.5; }
.form-msg--ok  { background: rgba(92, 150, 242, .12); color: var(--blue); border: 1px solid rgba(92, 150, 242, .35); }
.form-msg--err { background: rgba(224, 76, 76, .10); color: #c0392b; border: 1px solid rgba(224, 76, 76, .35); }

.address-block { font-style: normal; line-height: 1.8; }
.address-block strong { font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 1; background: #19293E; color: #fff; padding-block: clamp(2.5rem, 6vw, 4rem); }
.site-footer a { color: #fff; }
.site-footer a:hover { color: rgba(255,255,255,.75); }
.site-footer .wordmark { color: #fff; margin-bottom: 2rem; }
.site-footer .wordmark .sub { color: rgba(255,255,255,.7); }
.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 600px) { .footer-cols { grid-template-columns: 1fr; } }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-maps { display: inline-block; margin-top: 1rem; font-weight: 600; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
body.nav-open { overflow: hidden; }
