/* Zahnarztpraxis Dr. Heidi Bohn – Homepage
   Warm high-end: sand/beige + terracotta/coral + deep ink */

:root {
  --bg: #f6efe4;
  --bg-alt: #efe4d4;
  --bg-deep: #e5d4bf;
  --surface: #fffaf3;
  --ink: #241c16;
  --ink-soft: #6a5648;
  --accent: #c45a38;
  --accent-deep: #8e3a24;
  --accent-soft: #d9785c;
  --accent-mist: rgba(196, 90, 56, 0.12);
  --coral: #e08a6e;
  --sand: #e8d5b8;
  --line: rgba(36, 28, 22, 0.12);
  --shadow: 0 22px 48px rgba(36, 28, 22, 0.12);
  --shadow-sm: 0 10px 26px rgba(36, 28, 22, 0.08);
  --glow: 0 0 0 1px rgba(196, 90, 56, 0.22), 0 16px 40px rgba(142, 58, 36, 0.16);
  --radius: 28px;
  --radius-sm: 16px;
  --header-h: 76px;
  --font-serif: "Playfair Display", "Palatino Linotype", Georgia, serif;
  --font-sans: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(196, 90, 56, 0.07), transparent 55%),
    radial-gradient(ellipse 50% 35% at 0% 40%, rgba(232, 213, 184, 0.55), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

body.page-home {
  opacity: 0;
  animation: pageFadeIn 0.85s var(--ease) forwards;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
address { font-style: normal; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.16;
  color: var(--ink);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.7rem, 6.4vw, 4.35rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.28rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

.container {
  width: min(1160px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
  border-radius: 8px;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 55;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--coral), var(--accent), var(--accent-deep));
  box-shadow: 0 0 10px rgba(196, 90, 56, 0.45);
  pointer-events: none;
  transition: width 0.05s linear;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(246, 239, 228, 0.72);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 250, 243, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(36, 28, 22, 0.06);
}

.header-inner {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(36, 28, 22, 0.10);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
}
.brand-text span {
  font-size: 0.72rem;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 250, 243, 0.7);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a,
.nav-text-btn {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 0.7rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.25s, background 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}

.site-nav a:hover,
.nav-text-btn:hover {
  color: var(--accent-deep);
  background: var(--accent-mist);
}

.site-nav a.is-active {
  color: var(--accent-deep);
  background: var(--accent-mist);
}

/* Nav CTA must look like other tabs — NOT a filled/dark button */
.nav-text-btn {
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(155deg, var(--accent-soft), var(--accent) 55%, var(--accent-deep));
  color: #fff;
  box-shadow: 0 12px 28px rgba(142, 58, 36, 0.28);
}
.btn-primary:hover {
  background: linear-gradient(155deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 16px 36px rgba(142, 58, 36, 0.38);
}

.btn-ghost {
  background: rgba(255, 250, 243, 0.14);
  color: #fff;
  border-color: rgba(255, 250, 243, 0.55);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 250, 243, 0.28);
  color: #fff;
  border-color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--accent-deep);
  border-color: rgba(196, 90, 56, 0.45);
}
.btn-outline:hover {
  background: var(--accent-mist);
  color: var(--accent-deep);
  border-color: var(--accent);
}

.btn-lg { padding: 1.05rem 1.8rem; font-size: 1.02rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(94vh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  padding-bottom: 5.5rem;
}

.hero-media {
  position: absolute;
  inset: -8% 0 0 0;
  height: 108%;
  z-index: 0;
  will-change: transform;
}
.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transform-origin: center center;
  will-change: transform;
  animation: kenBurns 24s ease-in-out infinite alternate;
  filter: saturate(0.92) contrast(1.04);
}
@keyframes kenBurns {
  from { transform: scale(1.06) translate(0, 0); }
  to { transform: scale(1.14) translate(-1.2%, -0.8%); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(36, 28, 22, 0.78) 0%, rgba(36, 28, 22, 0.48) 46%, rgba(142, 58, 36, 0.28) 100%),
    linear-gradient(to top, rgba(36, 28, 22, 0.55), transparent 48%);
}

.hero-glow {
  position: absolute;
  inset: -18%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 48% 38% at 18% 28%, rgba(196, 90, 56, 0.38), transparent 62%),
    radial-gradient(ellipse 42% 46% at 86% 62%, rgba(224, 138, 110, 0.22), transparent 58%);
  animation: glowShift 18s ease-in-out infinite alternate;
  mix-blend-mode: soft-light;
}
@keyframes glowShift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(3.5%, -2.5%) scale(1.07); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 6rem 0 2.5rem;
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.95rem;
}

.hero .eyebrow { color: rgba(255, 214, 196, 0.95); }

.hero h1 { color: #fff; margin-bottom: 0.35em; }

.hero-lead {
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  color: rgba(255, 250, 243, 0.9);
  max-width: 34em;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.85rem 0 1.3rem;
}

.hero-phone {
  color: rgba(255, 250, 243, 0.82);
  font-size: 0.96rem;
  margin: 0;
}
.hero-phone .tel-plain {
  color: #fff;
  font-weight: 600;
}

.hero-stagger {
  opacity: 0;
  transform: translateY(26px);
  animation: heroStagger 0.9s var(--ease-out) forwards;
  animation-delay: calc(0.22s + var(--d, 0) * 0.12s);
}
@keyframes heroStagger {
  to { opacity: 1; transform: translateY(0); }
}

/* Organic wave at hero bottom */
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  height: clamp(72px, 10vw, 128px);
  pointer-events: none;
  overflow: hidden;
}
.hero-wave svg {
  display: block;
  width: 140%;
  height: 100%;
  margin-left: -20%;
}
.wave-a { fill: var(--bg); }
.wave-b {
  fill: var(--bg);
  opacity: 0.55;
  animation: waveDrift 14s ease-in-out infinite alternate;
  transform-origin: center;
}
@keyframes waveDrift {
  from { transform: translateX(0); }
  to { transform: translateX(6%); }
}

/* ---------- Trust row (not a marquee) ---------- */
.trust-row {
  position: relative;
  z-index: 4;
  margin-top: -2.2rem;
  padding: 0 0 0.5rem;
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.trust-item {
  background: var(--surface);
  padding: 1.35rem 1.4rem 1.4rem;
  text-align: left;
}
.trust-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.trust-item span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(3.6rem, 8.2vw, 6.8rem) 0;
  position: relative;
  overflow: visible;
}
.section-alt {
  background:
    radial-gradient(ellipse 70% 55% at 92% 8%, rgba(196, 90, 56, 0.08), transparent 52%),
    linear-gradient(180deg, var(--bg-alt), var(--bg));
}

.section-intro {
  max-width: 640px;
  margin-bottom: 2.9rem;
}
.section-intro .eyebrow { color: var(--accent); }
.section-intro p { font-size: 1.1rem; }

.has-draw-line {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}
.has-draw-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--coral));
  transition: width 0.9s var(--ease-out);
}
.reveal.is-visible .has-draw-line::after,
.section-intro.is-visible .has-draw-line::after {
  width: 4.8rem;
}

/* ---------- Pillars (editorial, numbered) ---------- */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  overflow: visible;
}
.pillar-card {
  background: transparent;
  border: none;
  border-left: 3px solid var(--accent);
  border-radius: 0;
  padding: 0.2rem 0 0.2rem 1.6rem;
  box-shadow: none;
  position: relative;
}
.pillar-card:hover { transform: none; box-shadow: none; }
.pillar-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.55;
  line-height: 1;
  display: block;
  margin-bottom: 0.7rem;
}
.pillar-card h3 { font-size: 1.45rem; }
.pillar-card p { font-size: 1.02rem; }

/* ---------- Services: 3D tiles ---------- */
.service-grid {
  list-style: none;
  margin: 0;
  padding: 1.1rem 0.7rem 2.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.7rem 1.65rem;
  overflow: visible;
  perspective: 1100px;
}
.service-card {
  background:
    linear-gradient(165deg, #ffffff 0%, #fffaf3 48%, #f3e6d4 100%);
  border: 1px solid rgba(36, 28, 22, 0.10);
  border-top-color: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(142, 58, 36, 0.22);
  border-radius: 22px;
  padding: 1.75rem 1.65rem 1.8rem;
  min-height: 13rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
  transform: translateY(-6px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 2px 0 rgba(142, 58, 36, 0.08),
    0 12px 20px rgba(36, 28, 22, 0.10),
    0 28px 48px rgba(36, 28, 22, 0.14);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.service-card::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -14px;
  height: 22px;
  background: rgba(36, 28, 22, 0.16);
  filter: blur(12px);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}
.service-num {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  color: var(--accent);
  font-weight: 600;
  min-width: 0;
  padding-top: 0;
}
.service-card h3 {
  font-size: 1.38rem;
  margin: 0;
}
.service-card h3 small {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.82em;
  color: var(--ink-soft);
}
.service-card p {
  font-size: 0.96rem;
  margin: 0;
}

/* ---------- Split / Prophylaxe (image left) ---------- */
.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 3rem;
  align-items: center;
  overflow: visible;
}
.split-media {
  margin: 0;
  border-radius: 8px 8px 48px 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  background: var(--surface);
  padding: 0.55rem;
  border: 1px solid var(--line);
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px 4px 40px 4px;
}

.check-list {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.check-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--accent-deep));
  box-shadow: 0 0 0 3px var(--accent-mist);
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  overflow: visible;
}
.team-card {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  position: relative;
  box-shadow: none;
}
.team-card:hover {
  transform: none;
  box-shadow: none;
  z-index: 8;
}
.team-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-deep);
  padding: 0.55rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px 8px 42px 8px;
  box-shadow: var(--shadow-sm);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px 4px 34px 4px;
}
.team-body {
  padding: 1.15rem 0.15rem 0.4rem;
}
.team-body h3 { margin-bottom: 0.15em; }
.team-role {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.7rem !important;
}
.team-body ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.team-body li { margin-bottom: 0.22rem; }

/* ---------- Praxis: asymmetric gallery ---------- */
.praxis-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-areas:
    "main side-a"
    "main side-b"
    "map map";
  gap: 1.1rem;
  margin-bottom: 2.4rem;
  overflow: visible;
}
.praxis-grid figure {
  margin: 0;
  border-radius: 8px 8px 36px 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  padding: 0.5rem;
  border: 1px solid var(--line);
}
.praxis-grid figure:nth-child(1) {
  grid-area: main;
  aspect-ratio: auto;
  min-height: 100%;
  border-radius: 10px 10px 56px 10px;
}
.praxis-grid figure:nth-child(2) { grid-area: side-a; }
.praxis-grid figure:nth-child(3) { grid-area: side-b; }
.praxis-grid figure:nth-child(4) {
  grid-area: map;
  aspect-ratio: 21 / 8;
  max-width: 860px;
  width: 100%;
  justify-self: center;
}
.praxis-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px 4px 28px 4px;
}

@media (hover: hover) and (pointer: fine) {
  .team-grid,
  .praxis-grid,
  .split,
  .section,
  .container {
    overflow: visible;
  }
  .team-photo,
  .praxis-grid figure,
  .split-media {
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  }
  .team-photo { transform-origin: center top; }
  .praxis-grid figure,
  .split-media { transform-origin: center center; position: relative; z-index: 0; }
  .team-card:hover .team-photo {
    transform: scale(1.55);
    z-index: 4;
    box-shadow: 0 26px 56px rgba(36, 28, 22, 0.28);
    cursor: zoom-in;
  }
  .praxis-grid figure:hover,
  .split-media:hover {
    transform: scale(1.42);
    z-index: 8;
    box-shadow: 0 26px 56px rgba(36, 28, 22, 0.28);
    cursor: zoom-in;
  }
}

.praxis-points {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}
.qm-seal {
  width: 88px;
  height: auto;
  object-fit: contain;
  align-self: center;
}
.praxis-points article {
  background: transparent;
  border: none;
  border-top: 2px solid var(--accent);
  border-radius: 0;
  padding: 1rem 0 0;
}
.praxis-points article:hover {
  border-color: var(--accent-deep);
  box-shadow: none;
}
.praxis-points h3 {
  font-size: 1.12rem;
  margin-bottom: 0.3em;
}

/* ---------- Contact: light sand, not dark teal ---------- */
.section-contact {
  background:
    radial-gradient(ellipse 60% 70% at 8% 20%, rgba(196, 90, 56, 0.10), transparent 55%),
    linear-gradient(180deg, var(--bg-alt), #eadcc8);
  color: var(--ink);
}
.section-contact h2,
.section-contact .contact-card h3 {
  color: var(--ink);
}
.section-contact .eyebrow { color: var(--accent); }
.section-contact .contact-lead,
.section-contact .contact-note,
.section-contact p {
  color: var(--ink-soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  overflow: visible;
}
.contact-main .btn { margin: 0.55rem 0 1rem; }

.glass-card,
.contact-card {
  background: var(--surface);
  backdrop-filter: none;
  border: 1px solid var(--line);
  border-radius: 12px 12px 40px 12px;
  padding: 1.9rem 1.8rem;
  box-shadow: var(--shadow);
}
.contact-card address {
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
  line-height: 1.55;
}
.contact-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.contact-list li > span:first-child {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
}
.contact-list .tel-plain,
.contact-list a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.contact-list a:hover { text-decoration: underline; color: var(--accent-deep); }

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 90, 56, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.25s, color 0.25s;
}
.map-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 250, 243, 0.78);
  padding: 2.85rem 0 1.5rem;
  font-size: 0.95rem;
}
.site-footer strong { color: #fff; font-family: var(--font-serif); font-size: 1.18rem; }
.site-footer a { color: rgba(255, 250, 243, 0.88); }
.site-footer a:hover { color: var(--coral); }
.site-footer p { color: rgba(255, 250, 243, 0.7); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
.footer-note strong { font-family: var(--font-sans); font-size: 0.9rem; color: var(--coral); }
.footer-legal-bar {
  border-top: 1px solid rgba(255, 250, 243, 0.12);
  padding-top: 1.1rem;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-legal a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.tel-plain { font-weight: 600; }

/* ---------- Float CTA ---------- */
.float-cta {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.25rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--accent-soft), var(--accent-deep));
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(142, 58, 36, 0.42);
  animation: floatPulse 2.8s ease-in-out infinite;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.float-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(142, 58, 36, 0.52);
  animation: none;
}
.float-cta-icon { font-size: 1.1rem; }
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 12px 32px rgba(142, 58, 36, 0.42); }
  50% { box-shadow: 0 12px 32px rgba(142, 58, 36, 0.42), 0 0 0 10px rgba(196, 90, 56, 0.14); }
}

/* ---------- Phone popover ---------- */
.tel-pop {
  position: fixed;
  z-index: 80;
  width: min(280px, calc(100vw - 24px));
  background: var(--surface);
  color: var(--ink);
  border-radius: 16px;
  padding: 1.15rem 1.25rem 1.2rem;
  box-shadow: 0 20px 50px rgba(36, 28, 22, 0.22);
  border: 1px solid var(--line);
}
.tel-pop-label {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
}
.tel-pop-num {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--ink);
}
.tel-pop-hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.4;
  padding-right: 1.5rem;
}
.tel-pop-close {
  position: absolute;
  top: 0.45rem;
  right: 0.55rem;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: 8px;
}
.tel-pop-close:hover { background: var(--accent-mist); color: var(--accent-deep); }

/* ---------- Scroll reveals ---------- */
.reveal {
  opacity: 0;
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: calc(var(--reveal-delay, 0) * 0.1s);
}
.reveal[data-reveal="up"] { transform: translateY(36px); }
.reveal[data-reveal="left"] { transform: translateX(-40px); }
.reveal[data-reveal="right"] { transform: translateX(40px); }
.reveal:not([data-reveal]) { transform: translateY(28px); }
.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ---------- Legal pages ---------- */
.legal-hero {
  background:
    linear-gradient(118deg, rgba(36, 28, 22, 0.94) 0%, rgba(142, 58, 36, 0.88) 55%, rgba(196, 90, 56, 0.78) 100%);
  color: #fff;
  padding: 3rem 0 2.4rem;
}
.legal-hero .eyebrow { color: rgba(255, 214, 196, 0.92); }
.legal-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 0.3em;
}
.legal-hero p { color: rgba(255, 250, 243, 0.86); max-width: 36rem; }

.legal {
  max-width: 42rem;
  margin-inline: auto;
}
.legal h2 {
  margin-top: 2.35rem;
  padding-top: 0.15rem;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 {
  margin-top: 1.35rem;
  font-size: 1.02rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--accent-deep);
}
.legal p,
.legal li,
.legal dd {
  color: var(--ink-soft);
}
.legal ul {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
}
.legal li + li { margin-top: 0.4rem; }
.legal address {
  color: var(--ink-soft);
  margin: 0 0 1rem;
  line-height: 1.7;
}
.legal blockquote {
  margin: 0 0 1.2rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-soft);
  font-style: italic;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: var(--shadow-sm);
}
.legal-card h2 { margin-top: 0; }

.legal-contact {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.legal-contact li {
  padding: 0.35rem 0;
  border-top: 1px solid var(--line);
}
.legal-contact li:first-child { border-top: 0; }

.legal-dl {
  display: grid;
  grid-template-columns: minmax(9rem, 15rem) 1fr;
  gap: 0.65rem 1.4rem;
  margin: 0 0 1.25rem;
  padding: 1.15rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.legal-dl dt {
  font-weight: 600;
  color: var(--ink);
}
.legal-dl dd { margin: 0; }

.legal-source {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.cookie-declaration {
  max-width: 56rem;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem 1.6rem;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
.cookie-meta {
  text-align: center;
  color: var(--ink-soft);
  margin: 0 0 1.4rem;
}
.cookie-meta a { color: var(--accent-deep); }
#CookieDeclaration,
#CookieDeclaration * { max-width: 100%; }

@media (max-width: 640px) {
  .legal-dl {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
  .legal-dl dd { margin-bottom: 0.85rem; }
  .legal-dl dd:last-child { margin-bottom: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.page-home { animation: none; opacity: 1; }
  .hero-bg { animation: none; transform: scale(1.04); }
  .hero-stagger {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .hero-glow,
  .wave-b { animation: none; }
  .float-cta { animation: none; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .has-draw-line::after { width: 4.8rem; }
  .btn:hover,
  .float-cta:hover {
    transform: none;
  }
  .team-card:hover .team-photo,
  .praxis-grid figure:hover,
  .split-media:hover,
  .service-card:hover,
  .hero-portrait:hover {
    transform: none !important;
    box-shadow: var(--shadow-sm) !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid .team-card:last-child { grid-column: 1 / -1; max-width: 420px; margin-inline: auto; width: 100%; }
  .pillars { grid-template-columns: 1fr; gap: 1.6rem; }
  .split { grid-template-columns: 1fr; gap: 1.75rem; }
  .split-media { aspect-ratio: 4 / 3; max-width: 560px; }
  .contact-layout { grid-template-columns: 1fr; }
  .praxis-points { grid-template-columns: 1fr; }
  .qm-seal { width: 72px; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .praxis-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "main main"
      "side-a side-b"
      "map map";
  }
  .praxis-grid figure:nth-child(1) {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
  .praxis-grid figure:nth-child(4) { aspect-ratio: 16 / 9; }
  .trust-inner { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    top: calc(0 + var(--header-h));
    left: 0;
    right: 0;
    background: rgba(255, 250, 243, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s var(--ease), opacity 0.3s, padding 0.3s;
    padding: 0 1rem;
    box-shadow: var(--shadow-sm);
  }
  .site-nav.is-open {
    max-height: 80vh;
    opacity: 1;
    padding: 0.75rem 1rem 1.1rem;
    overflow-y: auto;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }
  .site-nav a,
  .nav-text-btn {
    width: 100%;
    justify-content: flex-start;
    height: 44px;
    padding: 0 0.9rem;
    border-radius: 12px;
  }

  .brand-text span { display: none; }
  .hero { min-height: min(82vh, 680px); padding-bottom: 4.5rem; }
  .hero-content { padding: 3.5rem 0 2rem; }
  .float-cta-text { display: none; }
  .float-cta { padding: 1rem; border-radius: 50%; width: 56px; height: 56px; justify-content: center; }
}

@media (max-width: 560px) {
  .service-grid,
  .praxis-grid,
  .team-grid { grid-template-columns: 1fr; }
  .praxis-grid {
    grid-template-areas:
      "main"
      "side-a"
      "side-b"
      "map";
  }
  .praxis-grid figure:nth-child(1),
  .praxis-grid figure:nth-child(4) { aspect-ratio: 4 / 3; }
  .team-grid .team-card:last-child { max-width: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-lg { width: 100%; }
  .container { width: min(1160px, calc(100% - 1.5rem)); }
}

/* ---------- Apples + News ---------- */
.apple-band {
  margin: 2.75rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.apple-band img {
  width: 100%;
  height: min(52vw, 420px);
  object-fit: cover;
  object-position: 50% 60%;
  display: block;
}
.apple-band figcaption {
  padding: 0.85rem 1.15rem 1.05rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.news-lead {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.75rem;
  align-items: center;
  margin-bottom: 2.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.news-lead figure {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.news-lead img,
.news-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-lead img { aspect-ratio: 4 / 3; }
.news-year {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 0.35rem;
}
.news-note {
  margin-bottom: 2.2rem;
  padding: 1.25rem 1.4rem;
  border-left: 4px solid var(--accent);
  background: rgba(255, 250, 243, 0.7);
}
.news-block {
  margin-bottom: 2.4rem;
}
.news-block h3 { margin-bottom: 0.4rem; }
.news-block > p { margin-bottom: 1rem; }
.news-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.news-photos-3 { grid-template-columns: 1fr 1fr 1fr; }
.news-photos-4 { grid-template-columns: 1fr 1fr; }
.news-photos figure {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}
@media (hover: hover) and (pointer: fine) {
  .news-photos,
  .news-lead,
  .apple-band { overflow: visible; }
  .apple-band:hover,
  .news-lead figure:hover,
  .news-photos figure:hover {
    transform: scale(1.08);
    z-index: 6;
    position: relative;
    box-shadow: 0 20px 44px rgba(36, 28, 22, 0.22);
  }
  .apple-band,
  .news-lead figure,
  .news-photos figure {
    transition: transform 0.45s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)), box-shadow 0.45s ease;
  }
}
@media (max-width: 860px) {
  .news-lead { grid-template-columns: 1fr; }
  .news-photos-3 { grid-template-columns: 1fr 1fr; }
  .news-photos-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .news-photos,
  .news-photos-3,
  .news-photos-4 { grid-template-columns: 1fr; }
}

.kitten-band img {
  height: min(78vw, 580px);
  object-fit: cover;
  object-position: 48% 70%;
}

/* ---------- Hero: Dr. Bohn as center ---------- */
.hero.hero-meet {
  position: relative;
  min-height: min(94vh, 940px);
  align-items: stretch;
  overflow: hidden;
  color: var(--ink);
  background: #ead9c4;
  padding: 2.6rem 0 5.2rem;
}
.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-scene-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 50%;
  transform: scale(1.06);
  animation: sceneDrift 26s ease-in-out infinite alternate;
  filter: saturate(1.05) contrast(1.02);
}
@keyframes sceneDrift {
  from { transform: scale(1.06) translate(0, 0); }
  to { transform: scale(1.12) translate(-1.4%, 0.8%); }
}
.hero-scene-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(255, 250, 243, 0.78) 0%, rgba(255, 250, 243, 0.42) 42%, rgba(246, 239, 228, 0.18) 70%, rgba(246, 239, 228, 0.08) 100%),
    linear-gradient(to top, rgba(246, 239, 228, 0.55) 0%, transparent 28%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.8rem;
  align-items: center;
  padding-top: 2.2rem;
  padding-bottom: 2rem;
}
.hero.hero-meet .hero-content {
  max-width: none;
  padding: 1.5rem 0 1rem;
}
.hero.hero-meet .eyebrow { color: var(--accent); }
.hero.hero-meet h1 { color: var(--ink); margin-bottom: 0.2em; }
.hero-kicker {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--accent-deep);
  font-weight: 600;
  margin: 0 0 0.85rem;
}
.hero.hero-meet .hero-lead { color: var(--ink-soft); }
.hero.hero-meet .hero-phone { color: var(--ink-soft); }
.hero.hero-meet .hero-phone .tel-plain { color: var(--ink); }

.hero-portrait {
  margin: 0;
  justify-self: center;
  width: min(100%, 460px);
  overflow: visible;
  filter: drop-shadow(0 28px 50px rgba(36, 28, 22, 0.22));
}
.hero-portrait-frame {
  padding: 0.7rem;
  background: var(--surface);
  border: 1px solid rgba(196, 90, 56, 0.28);
  border-radius: 12px 12px 56px 12px;
  box-shadow: 0 0 0 8px rgba(255, 250, 243, 0.45), 0 24px 55px rgba(142, 58, 36, 0.22);
  overflow: hidden;
}
.hero-portrait-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px 4px 38px 4px;
  background: #fff;
}
.hero-portrait figcaption {
  margin-top: 0.85rem;
  text-align: center;
  font-weight: 600;
  color: var(--ink);
}
@media (hover: hover) and (pointer: fine) {
  .hero-portrait { transition: transform 0.45s var(--ease-out); }
  .hero-portrait:hover {
    transform: scale(1.06);
    z-index: 6;
  }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .hero-portrait { width: min(100%, 340px); order: -1; }
  .hero.hero-meet { padding-top: 1.2rem; }
}

.wandlogo-lead {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2rem;
  align-items: center;
  margin: 0 0 2.4rem;
  overflow: visible;
}
.wandlogo-lead figure {
  margin: 0;
  padding: 0.55rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px 10px 48px 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.wandlogo-lead img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 4px 4px 38px 4px;
}
.wandlogo-text h3 { margin-bottom: 0.45rem; }
@media (hover: hover) and (pointer: fine) {
  .wandlogo-lead { overflow: visible; }
  .wandlogo-lead figure {
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  }
  .wandlogo-lead figure:hover {
    transform: scale(1.06);
    z-index: 6;
    position: relative;
    box-shadow: 0 20px 44px rgba(36, 28, 22, 0.2);
  }
}
@media (max-width: 860px) {
  .wandlogo-lead { grid-template-columns: 1fr; }
  .wandlogo-lead figure { max-width: 420px; }
}

#leistungen { overflow: visible; }
.service-grid { overflow: visible; }
.service-card.reveal.is-visible {
  opacity: 1;
  transform: translateY(-6px);
}
@media (hover: hover) and (pointer: fine) {
  .service-card.reveal.is-visible:hover,
  .service-card:hover {
    transform: translateY(-16px) scale(1.09);
    z-index: 8;
    border-color: rgba(196, 90, 56, 0.42);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 1),
      0 4px 0 rgba(142, 58, 36, 0.10),
      0 18px 28px rgba(36, 28, 22, 0.12),
      0 40px 64px rgba(36, 28, 22, 0.20);
  }
  .service-card:hover::after {
    bottom: -22px;
    opacity: 0.85;
    filter: blur(16px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scene-img { animation: none; transform: scale(1.04); }
  .service-card,
  .service-card.reveal.is-visible,
  .service-card.reveal.is-visible:hover,
  .service-card:hover { transform: none; }
}

.anxiety-note {
  max-width: 40rem;
  margin: 0 0 2rem;
  padding: 1.1rem 1.25rem;
  border-left: 4px solid var(--accent);
  background: rgba(255, 250, 243, 0.8);
  color: var(--ink-soft);
}
.more-services {
  margin-top: 1.6rem;
  background: transparent;
  border: none;
}
.more-services summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--accent-deep);
  padding: 0.85rem 0.2rem;
  list-style: none;
  font-size: 1.05rem;
}
.more-services summary::-webkit-details-marker { display: none; }
.more-services summary::after { content: " +"; color: var(--accent); }
.more-services[open] summary::after { content: " \2212"; }
.service-grid-more { margin-top: 0.6rem; padding-top: 0.4rem; }
.news-photos figure { min-height: 220px; }
@media (min-width: 861px) {
  .news-photos figure { min-height: 280px; }
}

/* ---------- Leistungs-Unterseiten (Implantate + service pages) + service-more ---------- */
body.page-implantate,
body.page-service {
  opacity: 0;
  animation: pageFadeIn 0.85s var(--ease) forwards;
}
@media (prefers-reduced-motion: reduce) {
  body.page-implantate,
  body.page-service { animation: none; opacity: 1; }
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  padding: 1.15rem 0 0.35rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.breadcrumb a {
  color: var(--accent-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.breadcrumb a:hover {
  color: var(--accent);
  border-bottom-color: var(--sand);
}
.breadcrumb [aria-hidden="true"] {
  color: var(--sand);
  font-weight: 500;
}
body.page-implantate > main > .container:first-child,
body.page-service > main > .container:first-child {
  position: relative;
  z-index: 5;
}
body.page-implantate .hero.hero-meet,
body.page-service .hero.hero-meet {
  padding-top: 0.4rem;
}

.service-more {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-top: 0.55rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(142, 58, 36, 0.28);
  align-self: flex-start;
  transition: color 0.25s, border-color 0.25s;
}
.service-more:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.service-card .service-more {
  position: relative;
  z-index: 2;
}

.implant-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem;
  margin-bottom: 1.6rem;
}
.implant-two-col h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.implant-close {
  max-width: 40rem;
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
  font-weight: 500;
}
body.page-implantate .anxiety-note,
body.page-service .anxiety-note {
  margin-top: 2.4rem;
}
body.page-implantate #was-ist .trust-inner,
body.page-service #was-ist .trust-inner {
  margin-top: 0.4rem;
}
body.page-implantate .pillars,
body.page-service .pillars {
  margin-bottom: 0.4rem;
}

@media (max-width: 980px) {
  .implant-two-col { grid-template-columns: 1fr; gap: 1.6rem; }
}


/* ---------- Team / Lebenslauf ---------- */
/* Bohn: gleicher großer Zoom wie die anderen, Text+Button bleiben darüber */
.team-card-bohn .team-body {
  position: relative;
  z-index: 12;
  background: var(--bg);
  border-radius: 0 0 10px 10px;
}
.team-card-bohn .vita-link {
  position: relative;
  z-index: 13;
  background: var(--bg);
  pointer-events: auto;
}
.team-card-bohn .vita-link:hover,
.team-card-bohn .vita-link:focus-visible {
  background: var(--accent);
  color: #fff;
}
.vita-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.85rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: transparent;
  color: var(--accent-deep);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.vita-link:hover,
.vita-link:focus-visible {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  outline: none;
}
.team-vita-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 1.75rem;
  margin-bottom: 1.35rem;
}
.team-vita-note {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.team-vita-weiter {
  margin-bottom: 0;
  columns: 2;
  column-gap: 1.75rem;
}
.team-vita-weiter li { break-inside: avoid; }
@media (max-width: 800px) {
  .team-vita-grid { grid-template-columns: 1fr; }
  .team-vita-weiter { columns: 1; }
}


/* ---------- Sprechzeiten-Tabelle ---------- */
.hours-table {
  width: 100%;
  max-width: 22rem;
  margin: 1.1rem 0 0.85rem;
  border-collapse: collapse;
  font-size: 1.02rem;
}
.hours-table th,
.hours-table td {
  padding: 0.42rem 0.55rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: baseline;
}
.hours-table th {
  font-weight: 600;
  color: var(--ink);
  width: 42%;
}
.hours-table td {
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.hours-table tr:last-child th,
.hours-table tr:last-child td {
  border-bottom: none;
}
.hours-note {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.contact-hours {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  align-items: start;
}
.contact-hours > span:first-child {
  font-weight: 600;
  color: var(--ink);
}
.hours-table-compact {
  max-width: none;
  margin: 0;
  font-size: 0.92rem;
}
.hours-table-compact th {
  width: 2.4rem;
  padding-left: 0;
}
.hours-table-compact td {
  padding-right: 0;
}
.section-contact .hours-table th {
  color: var(--ink);
}
.section-contact .hours-table td,
.section-contact .hours-note {
  color: var(--ink-soft);
}
