/* ==========================================================================
   TURKUAZ MVZ — Berlin Wedding · 2026
   Design: modern & elegant, Markenfarben Türkis #1e97ac / Braun #7e4d22
   ========================================================================== */

@import url("../assets/fonts/fonts.css");

:root {
  --teal: #1e97ac;
  --teal-600: #16808f;
  --teal-700: #0e5d6b;
  --teal-900: #0a3641;
  --teal-soft: #e3f2f4;
  --teal-mist: #f0f7f8;

  --brown: #7e4d22;
  --brown-500: #9a6532;
  --brown-soft: #f4ece2;

  --ink: #132f36;
  --ink-2: #48626a;
  --bg: #fbfaf8;
  --card: #ffffff;
  --line: #e3e9e9;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --radius: 24px;
  --radius-lg: 36px;
  --shadow-sm: 0 2px 10px rgba(10, 54, 65, 0.06);
  --shadow-md: 0 14px 40px -12px rgba(10, 54, 65, 0.18);
  --shadow-lg: 0 30px 70px -20px rgba(10, 54, 65, 0.28);

  --wrap: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--teal-700); }

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

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.display {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  font-weight: 500;
}

.display em,
.section-title em {
  font-style: italic;
  color: var(--teal);
}

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  margin-bottom: 0.6rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
}

.lead { font-size: 1.15rem; color: var(--ink-2); }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-head { max-width: 680px; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(30, 151, 172, 0.65);
}
.btn-primary:hover { background: var(--teal-600); color: #fff; transform: translateY(-2px); }

.btn-ghost {
  border-color: rgba(19, 47, 54, 0.18);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-700); transform: translateY(-2px); }

.btn-light {
  background: #fff;
  color: var(--teal-700);
}
.btn-light:hover { transform: translateY(-2px); color: var(--teal-900); }

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--teal-700);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 14px 0;
  font-weight: 700;
}

.skip-link:focus { left: 0; color: #fff; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 248, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(10, 54, 65, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.85rem;
}

.brand { display: inline-flex; align-items: center; flex: none; }

.brand-logo { height: 68px; width: auto; display: block; flex: none; }

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

.main-nav a {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--ink-2);
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover { color: var(--teal-700); background: var(--teal-soft); }
.main-nav a.active { color: var(--teal-700); background: var(--teal-soft); }

.header-cta { display: inline-flex; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(4rem, 9vw, 7rem);
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(30, 151, 172, 0.14), transparent 65%),
    radial-gradient(700px 420px at -10% 110%, rgba(126, 77, 34, 0.08), transparent 60%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.hero .display { margin-bottom: 1.4rem; }
.hero .lead { max-width: 34rem; margin-bottom: 2.2rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.6rem; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.7rem;
}

.fact { text-align: center; }

.fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--brown);
}

.fact span { font-size: 0.92rem; color: var(--ink-2); }

.hero-visual { position: relative; }

.hero-photo {
  width: 100%;
  aspect-ratio: 5 / 5.4;
  object-fit: cover;
  border-radius: 46% 54% 48% 52% / 38% 40% 60% 62%;
  box-shadow: var(--shadow-lg);
}

.hero-blob {
  position: absolute;
  inset: -7% -9% auto auto;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50% 50% 44% 56% / 55% 48% 52% 45%;
  background: linear-gradient(140deg, rgba(30, 151, 172, 0.22), rgba(30, 151, 172, 0.04));
  z-index: -1;
}

.hero-squares {
  position: absolute;
  left: -26px;
  bottom: 14%;
  width: 88px;
  opacity: 0.9;
}

.hero-card {
  position: absolute;
  right: clamp(-10px, -1vw, 0px);
  bottom: -26px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 1rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 300px;
}

.hero-card .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2fae62;
  flex: none;
  box-shadow: 0 0 0 5px rgba(47, 174, 98, 0.16);
}

.hero-card .dot.closed { background: #c8552e; box-shadow: 0 0 0 5px rgba(200, 85, 46, 0.14); }

.hero-card strong { display: block; font-size: 0.95rem; }
.hero-card span { font-size: 0.83rem; color: var(--ink-2); }

/* ---------- Intro / Welcome ---------- */

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.intro-copy p { color: var(--ink-2); margin-bottom: 1.1rem; }

.intro-quote {
  margin-top: 1.8rem;
  padding: 1.4rem 1.6rem;
  background: var(--brown-soft);
  border-left: 4px solid var(--brown);
  border-radius: 0 18px 18px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--brown);
}

.intro-visual { position: relative; }

.intro-photo-main {
  width: 82%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.intro-photo-small {
  position: absolute;
  right: 0;
  bottom: -14%;
  width: 46%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid var(--bg);
  box-shadow: var(--shadow-md);
}

/* ---------- Leistungen ---------- */

.section-tint { background: linear-gradient(180deg, var(--teal-mist), var(--bg)); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 151, 172, 0.35);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal-600);
  margin-bottom: 1.2rem;
}

.service-card:nth-child(3n) .service-icon { background: var(--brown-soft); color: var(--brown); }

.service-icon svg { width: 26px; height: 26px; }

.service-card h3 { font-size: 1.22rem; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.96rem; color: var(--ink-2); }

.section-foot { margin-top: 2.6rem; text-align: center; }

/* Leistungen page: compact list */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-top: 2rem;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.95rem 1.2rem;
  font-weight: 600;
}

.service-item svg { width: 20px; height: 20px; color: var(--teal); flex: none; }

/* ---------- Ärzte ---------- */

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.doctor-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.doctor-photo {
  position: relative;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  background: linear-gradient(160deg, var(--teal-soft), #fff 70%);
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.doctor-card:hover .doctor-photo img { transform: scale(1.045); }

.doctor-meta { padding: 1.4rem 1.5rem 1.6rem; }

.doctor-meta h3 { font-size: 1.3rem; margin-bottom: 0.25rem; }

.doctor-meta .role { font-size: 0.92rem; color: var(--ink-2); margin-bottom: 1rem; }

.doctor-link {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--teal-600);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.doctor-link svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.doctor-link:hover svg { transform: translateX(4px); }

/* Ärzte-Detail: profile + timeline */

.doctor-profile {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.doctor-profile + .doctor-profile { border-top: 1px solid var(--line); }

.doctor-side { position: sticky; top: 110px; }

.doctor-side img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin-bottom: 1.2rem;
}

.doctor-side .badge {
  display: inline-block;
  background: var(--teal-soft);
  color: var(--teal-700);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.4rem 1rem;
}

.doctor-body h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 0.3rem; }

.doctor-body .role { color: var(--brown); font-weight: 700; margin-bottom: 2rem; }

.timeline { position: relative; padding-left: 1.8rem; margin-top: 1.5rem; }

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--teal), rgba(30, 151, 172, 0.12));
  border-radius: 2px;
}

.timeline-item { position: relative; padding-bottom: 1.7rem; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.8rem;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--teal);
}

.timeline-item .time {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown);
}

.timeline-item h4 { font-size: 1.05rem; font-weight: 700; margin: 0.15rem 0; }
.timeline-item p { font-size: 0.95rem; color: var(--ink-2); }

/* ---------- Galerie ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.gallery-grid a {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
}

.gallery-grid a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 54, 65, 0.38));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-grid a:hover::after { opacity: 1; }

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-grid a:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 34, 41, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: min(1000px, 92vw);
  max-height: 86vh;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}

.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}

.lightbox button:hover { background: rgba(255, 255, 255, 0.28); }

.lightbox .lb-close { top: 1.4rem; right: 1.4rem; }
.lightbox .lb-prev { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1.4rem; top: 50%; transform: translateY(-50%); }

/* ---------- Info band (Öffnungszeiten + Kontakt) ---------- */

.info-band {
  background:
    radial-gradient(800px 400px at 110% 120%, rgba(30, 151, 172, 0.35), transparent 60%),
    radial-gradient(600px 350px at -10% -30%, rgba(126, 77, 34, 0.35), transparent 55%),
    var(--teal-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}

.info-band h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 1rem; }
.info-band p { color: rgba(255, 255, 255, 0.78); margin-bottom: 1.6rem; }

.contact-lines { display: grid; gap: 0.9rem; }

.contact-line {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.contact-line a { color: #fff; }
.contact-line a:hover { color: var(--teal-soft); }

.contact-line svg { width: 20px; height: 20px; color: #7fd0dd; flex: none; }

.hours-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.8rem;
  backdrop-filter: blur(6px);
}

.hours-card h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hours-status {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  background: var(--brown-soft);
  color: var(--brown);
}

.hours-status.closed { background: rgba(220, 96, 60, 0.22); color: #ffb9a0; }

.hours-table { width: 100%; border-collapse: collapse; }

.hours-table td {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.97rem;
}

.hours-table tr:last-child td { border-bottom: none; }
.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  padding-left: 1rem;
}
.hours-table tr.today td { color: #9adcE8; font-weight: 700; }

/* ---------- Kontakt page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.4rem;
}

.contact-card h3 { font-size: 1.25rem; margin-bottom: 1.2rem; }

.contact-card .contact-line { color: var(--ink); }
.contact-card .contact-line svg { color: var(--teal); }
.contact-card .contact-line a { color: var(--ink); font-weight: 600; }
.contact-card .contact-line a:hover { color: var(--teal-700); }

.contact-card .hours-table td { color: var(--ink-2); border-color: var(--line); }
.contact-card .hours-table td:last-child { color: var(--ink); }
.contact-card .hours-table tr.today td { color: var(--teal-700); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-sm);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.form-field { display: grid; gap: 0.4rem; }
.form-field.full { grid-column: 1 / -1; }

.form-field label { font-size: 0.9rem; font-weight: 700; }

.form-field input,
.form-field textarea {
  font: inherit;
  padding: 0.85rem 1.05rem;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(30, 151, 172, 0.14);
}

.form-note { font-size: 0.85rem; color: var(--ink-2); margin-top: 1rem; }

.form-status { margin-top: 1rem; font-weight: 700; display: none; }
.form-status.ok { display: block; color: #22794a; }
.form-status.error { display: block; color: #b3401f; }

/* Map consent */
.map-wrap {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--teal-mist);
  border: 1px solid var(--line);
  min-height: 420px;
  display: grid;
  place-items: center;
}

.map-consent { text-align: center; padding: 2.5rem; max-width: 460px; }
.map-consent p { color: var(--ink-2); font-size: 0.95rem; margin-block: 0.8rem 1.4rem; }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Page hero (subpages) ---------- */

.page-hero {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  background:
    radial-gradient(700px 380px at 92% -20%, rgba(30, 151, 172, 0.16), transparent 60%),
    radial-gradient(500px 300px at 0% 130%, rgba(126, 77, 34, 0.07), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 0.8rem; }
.page-hero .lead { max-width: 620px; }

/* ---------- Legal pages ---------- */

.legal { max-width: 820px; }
.legal h2 { font-size: 1.5rem; margin: 2.4rem 0 0.8rem; }
.legal h3 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 800; margin: 1.6rem 0 0.5rem; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 0.8rem; }
.legal ul { padding-left: 1.3rem; }

/* ---------- CTA strip ---------- */

.cta-strip { text-align: center; }

.cta-strip .inner {
  background: linear-gradient(120deg, var(--teal-soft), #fff 60%, var(--brown-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
}

.cta-strip h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 0.7rem; }
.cta-strip p { color: var(--ink-2); max-width: 520px; margin: 0 auto 1.8rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--teal-900);
  color: rgba(255, 255, 255, 0.75);
  margin-top: clamp(3rem, 7vw, 5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
}

.site-footer .brand {
  background: #fff;
  padding: 0.7rem 1rem;
  border-radius: 16px;
}

.site-footer .brand-logo { height: 56px; }

.footer-about { font-size: 0.95rem; margin-top: 1.2rem; max-width: 30ch; }

.site-footer h4 {
  color: #7fd0dd;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.footer-links { list-style: none; display: grid; gap: 0.55rem; }
.footer-links a { color: rgba(255, 255, 255, 0.75); font-size: 0.97rem; }
.footer-links a:hover { color: #fff; }

.footer-contact { display: grid; gap: 0.7rem; font-size: 0.97rem; }
.footer-contact a { color: rgba(255, 255, 255, 0.85); }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
}

.footer-bottom a { color: rgba(255, 255, 255, 0.75); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Ankündigungs-Popup (gesteuert über popup.json) ---------- */

.announce-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(8, 34, 41, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.announce-overlay.visible { opacity: 1; }

.announce-modal {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  width: 100%;
  padding: 1.7rem 1.8rem 1.6rem;
  position: relative;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.3s ease;
  border-top: 5px solid var(--teal);
  max-height: 86vh;
  overflow-y: auto;
}

.announce-overlay.visible .announce-modal { transform: none; }

.announce-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-700);
  font-size: 1.1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}

.announce-close:hover { background: var(--teal); color: #fff; }

.announce-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--teal-soft);
  color: var(--teal-600);
  display: grid;
  place-items: center;
  margin-bottom: 0.8rem;
}

.announce-icon svg { width: 21px; height: 21px; }

.announce-modal h2 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.announce-modal .announce-text {
  color: var(--ink-2);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.announce-lang {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brown);
  background: var(--brown-soft);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.45rem;
}

.announce-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0.1rem 0 0.85rem;
}

.announce-modal .announce-h2-tr { font-size: 1.15rem; margin-bottom: 0.45rem; }

.announce-modal .announce-ok {
  padding: 0.7rem 1.4rem;
  font-size: 0.88rem;
}

.announce-close {
  width: 32px;
  height: 32px;
  font-size: 0.95rem;
}

/* ---------- Reveal animations ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

/* CTA braucht Platz: unterhalb 1160px ausblenden, Logo bleibt unverzerrt */
@media (max-width: 1160px) {
  .header-cta { display: none; }
}

@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .doctor-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .doctor-profile { grid-template-columns: 280px 1fr; }
}

@media (max-width: 860px) {
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    inset: 76px 1rem auto 1rem;
    background: #fff;
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    gap: 0.2rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 99;
  }

  body.nav-open .main-nav { opacity: 1; pointer-events: auto; transform: none; }

  .main-nav a { padding: 0.85rem 1.1rem; border-radius: 14px; }

  .hero-grid, .intro-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin-inline: auto; }
  .info-band { grid-template-columns: 1fr; }
  .doctor-profile { grid-template-columns: 1fr; }
  .doctor-side { position: static; max-width: 340px; }
  .intro-visual { margin-bottom: 2.5rem; order: -1; }
  .intro-photo-small { bottom: -10%; }
}

@media (max-width: 620px) {
  .brand-logo { height: 54px; }

  /* Sprechzeiten-Karte: alles zentriert, keine Verschiebungen */
  .hours-card { text-align: center; }
  .hours-card h3 {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
  }
  .contact-card .hours-table,
  .hours-card .hours-table { width: 100%; }
  .hours-table tr { display: block; padding: 0.6rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .hours-table td,
  .hours-table td:last-child {
    display: block;
    border-bottom: none;
    text-align: center;
    padding: 0;
    white-space: normal;
  }
  .hours-table tr:last-child { border-bottom: none; }
  .contact-card .hours-table tr { border-bottom: 1px solid var(--line); }
  .contact-card .hours-table tr:last-child { border-bottom: none; }
  .contact-card h3[style] { flex-direction: column; align-items: center; gap: 0.6rem; }
  .service-grid, .doctor-grid, .gallery-grid, .form-grid, .service-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-card { position: static; margin-top: 1.4rem; max-width: none; }
  .hero-photo { aspect-ratio: 4 / 3.4; border-radius: var(--radius-lg); }
  .hero-squares { display: none; }
}
