/* Praxis am Neutorplatz – Stylesheet
   Farben nach Visitenkarte (Himbeerrot / Weiß) */

:root {
  --primary: #d2365f;
  --primary-dark: #a8244a;
  --primary-light: #fbe9ee;
  --text: #2b2b2b;
  --muted: #666;
  --bg: #ffffff;
  --bg-alt: #f7f4f5;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(168, 36, 74, 0.10);
  --max: 1140px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-script: "Segoe Script", "Brush Script MT", "Lucida Handwriting", cursive;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

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

a { color: var(--primary); }
a:hover { color: var(--primary-dark); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}
.brand {
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 5px;
  flex: none;
}
.brand small { display: block; font-size: .8rem; opacity: .9; letter-spacing: .02em; }
.brand strong { font-size: 1.35rem; font-weight: 700; }
.brand:hover { color: #fff; }

.nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.nav a {
  color: #fff;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
  transition: background .2s;
}
.nav a:hover, .nav a:focus-visible { background: rgba(255, 255, 255, .18); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255, 255, 255, .7);
  color: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(180deg, var(--primary) 0, var(--primary) 18px, transparent 18px),
    linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
  padding: 80px 0 90px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .85rem;
  margin-bottom: 10px;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  margin: 0 0 14px;
}
.hero h1 span { color: var(--primary); }
.slogan {
  font-family: var(--font-script);
  color: var(--primary);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 26px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.slogan svg { width: 34px; height: 34px; flex: none; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin: 0 0 30px; }

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(210, 54, 95, .25);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 8px 18px;
  margin: 0 0 26px;
}
.hero-note svg { width: 20px; height: 20px; flex: none; }

/* Hero-Karte rechts */
.hero-card {
  justify-self: end;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid rgba(210, 54, 95, .12);
  border-radius: 32px 10px 32px 10px;
  padding: 34px 32px;
  box-shadow: 0 4px 12px rgba(168, 36, 74, .08), 0 30px 70px rgba(168, 36, 74, .18);
}
.hero-card-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero-card-label svg { width: 20px; height: 20px; }
.hero-card-time { font-size: 1.65rem; font-weight: 700; line-height: 1.2; margin: 8px 0 18px; }
.hero-today { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid #f0e4e8; }
.hero-today .hero-card-time { margin-bottom: 0; }
.hero-card > .btn { width: 100%; justify-content: center; }
.hero-card-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.hero-card-links .btn { justify-content: center; padding: 11px 14px; font-size: .96rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: transform .15s, background .2s, box-shadow .2s;
}
.btn-lg { font-size: 1.2rem; padding: 15px 26px; }
.btn-lg svg { width: 22px; height: 22px; }
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(210, 54, 95, .35); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: #fff; }
.btn-outline:hover { background: var(--primary-light); transform: translateY(-2px); }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 12px;
  position: relative;
  padding-bottom: 16px;
}
.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 70px;
  height: 3px;
  background: var(--primary);
  transform: translateX(-50%);
  border-radius: 3px;
}
.section-head p { color: var(--muted); margin: 0; }

/* Ärztin */
.doctor {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  align-items: start;
}
.doctor-photo {
  position: sticky;
  top: 110px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--primary-light), #fff);
  border: 2px dashed rgba(210, 54, 95, .35);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--primary);
  font-size: .9rem;
  padding: 20px;
}
.doctor h3 { font-size: 1.7rem; margin: 0 0 4px; }
.doctor .title { color: var(--primary); font-weight: 600; margin: 0 0 18px; }
.doctor h4 { font-size: 1.15rem; color: var(--primary-dark); margin: 30px 0 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.tags li {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
}

.doctor-short { grid-template-columns: 260px 1fr; align-items: center; }
.doctor-short .doctor-photo { position: static; }
.doctor-teaser { margin: 24px 0 0; }
.doctor-quote {
  margin: 22px 0 28px;
  padding-left: 18px;
  border-left: 3px solid var(--primary);
  font-weight: 600;
  color: var(--primary-dark);
}

/* Werte (Kleeblatt) */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.card:hover { transform: translateY(-4px); }
.card .icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-light);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 32px; height: 32px; }
.card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Leistungen */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service {
  border-left: 4px solid var(--primary);
  background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 26px;
  box-shadow: var(--shadow);
}
.service h3 { margin: 0 0 8px; font-size: 1.15rem; color: var(--primary-dark); }
.service p { margin: 0; color: var(--muted); font-size: .98rem; }
.service { min-width: 0; }
.service h3, .service p { hyphens: auto; overflow-wrap: break-word; }
.services-2 { grid-template-columns: repeat(2, 1fr); }
.news { max-width: 820px; margin: 0 auto; }
.news p { margin: 0 0 10px; }
.note.highlight { color: var(--primary-dark); font-weight: 700; }

/* Sprechzeiten & Kontakt */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.panel {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.panel h3 { margin: 0 0 20px; font-size: 1.35rem; display: flex; align-items: center; gap: 10px; }
.panel h3 svg { width: 26px; height: 26px; }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid #eee; text-align: left; }
.hours th { font-weight: 600; width: 40%; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.note { font-size: .92rem; color: var(--muted); margin: 18px 0 0; }
.placeholder { background: #fff6d6; padding: 0 4px; border-radius: 4px; }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid #eee; align-items: flex-start; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list svg { width: 22px; height: 22px; flex: none; margin-top: 3px; }
.contact-list span.label { display: block; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.contact-list a { text-decoration: none; font-weight: 600; word-break: break-word; }

.map-cta {
  margin-top: 30px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  padding: 30px 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.map-cta p { margin: 0; font-size: 1.1rem; }
.map-cta .btn { background: #fff; color: var(--primary); }
.map-cta .btn:hover { background: var(--primary-light); color: var(--primary-dark); }

/* Notfall */
.emergency {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 22px 28px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 30px;
}
.emergency strong { color: var(--primary-dark); }
.emergency svg { width: 36px; height: 36px; flex: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary);
  color: #fff;
  padding: 44px 0 26px;
}
.site-footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer h4 { margin: 0 0 12px; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.site-footer p, .site-footer ul { margin: 0; padding: 0; list-style: none; opacity: .95; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .slogan { color: #fff; font-size: 1.5rem; margin: 10px 0 0; }
.copyright {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, .3);
  padding-top: 20px;
  margin-top: 10px;
  font-size: .9rem;
  opacity: .85;
}

/* ---------- Rechtstexte ---------- */
.legal { padding: 60px 0 80px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); margin: 0 0 30px; hyphens: auto; overflow-wrap: break-word; }
.legal h2 { font-size: 1.3rem; margin: 34px 0 10px; color: var(--primary-dark); }

.nav a[aria-current="page"] { background: rgba(255, 255, 255, .18); }

/* ---------- Leistungs-Kacheln (Startseite) ----------
   Ab 1024 px mit Maus: Die Kachel hat eine feste Grundfläche, der Link liegt
   absolut darin. Beim Überfahren wächst er 36 px nach oben und unten, wird
   himbeerrot und blendet den Kurztext ein – die Nachbarn bleiben stehen.
   Darunter und auf Touchgeräten ist der Kurztext immer sichtbar. */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 24px;
}
.tile { position: relative; min-width: 0; }
.tile-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 28px 22px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(210, 54, 95, .12);
  border-radius: 28px 8px 28px 8px;
  box-shadow: 0 2px 6px rgba(168, 36, 74, .06), 0 14px 36px rgba(168, 36, 74, .12);
  transition: all .35s ease-out;
}
.tile-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex: none;
  transition: background .35s, color .35s;
}
.tile-icon svg { width: 30px; height: 30px; }
.tile-title {
  margin-top: 14px;
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.3;
  hyphens: auto;
  transition: color .35s;
}
.tile-text {
  margin-top: 8px;
  max-width: 32ch;
  font-size: .95rem;
  line-height: 1.45;
  color: var(--muted);
  transition: all .35s ease-out;
}
.tiles-4 { grid-template-columns: repeat(4, 1fr); }
.center-cta { text-align: center; margin-top: 56px; }

@media (min-width: 1024px) and (hover: hover) {
  .tile { height: 13rem; }
  .tile-box { position: absolute; inset: 0; height: auto; }
  .tile-text { max-height: 0; margin-top: 0; opacity: 0; transform: translateY(4px); overflow: hidden; }
  .tile:hover, .tile:focus-within, .tile.is-active { z-index: 10; }
  .tile:hover .tile-box, .tile:focus-within .tile-box, .tile.is-active .tile-box {
    inset: -36px 0;
    background: var(--primary);
    border-color: var(--primary);
    border-style: solid;
    box-shadow: 0 4px 10px rgba(168, 36, 74, .12), 0 26px 56px rgba(168, 36, 74, .32);
  }
  .tile:hover .tile-icon, .tile:focus-within .tile-icon, .tile.is-active .tile-icon { background: rgba(255, 255, 255, .2); color: #fff; }
  .tile:hover .tile-title, .tile:focus-within .tile-title, .tile.is-active .tile-title,
  .tile:hover .tile-text, .tile:focus-within .tile-text, .tile.is-active .tile-text { color: #fff; }
  .tile:hover .tile-text, .tile:focus-within .tile-text, .tile.is-active .tile-text { max-height: 8rem; margin-top: 8px; opacity: 1; transform: none; }
}
.tile-box:focus-visible { outline: 3px solid var(--primary-dark); outline-offset: 3px; }

/* ---------- Unterseite Leistungen ---------- */
.narrow { max-width: 1000px; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 100px;
  color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #e2577d 0%, var(--primary) 42%, #8c1d3d 100%);
}
.page-hero-clover {
  position: absolute;
  right: -110px;
  top: -90px;
  width: 560px;
  opacity: .14;
  pointer-events: none;
}
.page-hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  align-items: center;
}
.page-hero .eyebrow { color: #fff; opacity: .85; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.12; margin: 0 0 20px; }
.page-hero-text p { font-size: 1.12rem; color: rgba(255, 255, 255, .92); max-width: 560px; margin: 0 0 28px; }
.page-hero .hero-note { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .35); color: #fff; margin: 0; }
.page-hero .hero-note span { color: #fff; }

.jump-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.jump-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 168px;
  padding: 20px 20px 18px;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 24px 6px 24px 6px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background .3s, color .3s, transform .3s, box-shadow .3s;
}
.jump-card:hover, .jump-card:focus-visible {
  background: #fff;
  color: var(--text);
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(60, 0, 20, .28);
  outline: none;
}
.jump-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.jump-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .18);
  display: grid;
  place-items: center;
  transition: background .3s, color .3s;
}
.jump-icon svg { width: 24px; height: 24px; }
.jump-card:hover .jump-icon, .jump-card:focus-visible .jump-icon { background: var(--primary); color: #fff; }
.jump-nr { font-size: 1.9rem; font-weight: 800; line-height: 1; opacity: .32; transition: color .3s, opacity .3s; }
.jump-card:hover .jump-nr, .jump-card:focus-visible .jump-nr { color: var(--primary); opacity: .3; }
.jump-title { font-size: 1.08rem; font-weight: 700; line-height: 1.25; hyphens: auto; overflow-wrap: break-word; }
.jump-count {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
  font-size: .86rem;
  opacity: .8;
}
.jump-count svg { width: 16px; height: 16px; transition: transform .3s; }
.jump-card:hover .jump-count, .jump-card:focus-visible .jump-count { color: var(--primary); opacity: 1; }
.jump-card:hover .jump-count svg, .jump-card:focus-visible .jump-count svg { transform: translateX(4px); }

.group { padding: 96px 0; }
.group-light { background: #fff; }
.group-soft { background: var(--bg-alt); }
.group-tint { background: linear-gradient(180deg, #fdf1f4, #f8dce4); }
.group-head { display: flex; align-items: baseline; gap: 22px; }
.group-nr {
  font-size: clamp(3rem, 7vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  opacity: .28;
  flex: none;
}
.group-tint .group-nr { opacity: .35; }
.group h2 { font-size: clamp(1.55rem, 3.2vw, 2.3rem); line-height: 1.2; margin: 0; hyphens: auto; overflow-wrap: break-word; min-width: 0; }
.group-promise { max-width: 700px; font-size: 1.1rem; color: var(--muted); margin: 22px 0 44px; }
.group-note { font-size: .95rem; color: var(--muted); margin: 28px 0 0; padding-left: 16px; border-left: 3px solid var(--primary); }

.acc { list-style: none; margin: 0; padding: 0; border-top: 1px solid #ecdfe4; }
.acc-item { border-bottom: 1px solid #ecdfe4; transition: background .3s; }
.group-tint .acc, .group-tint .acc-item { border-color: rgba(210, 54, 95, .18); }
.acc-item.open { background: var(--primary-light); }
.group-soft .acc-item.open { background: #fff; }
.group-tint .acc-item.open { background: rgba(255, 255, 255, .75); }
.acc-btn {
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
  padding: 22px 20px;
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .3s, color .3s;
}
.acc-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.acc-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex: none;
  transition: background .3s, color .3s;
}
.group-soft .acc-icon { background: #fff; }
.acc-item.open .acc-icon { background: var(--primary); color: #fff; }
.group-tint .acc-icon { background: #fff; }
.acc-icon svg { width: 24px; height: 24px; }
.acc-head { flex: 1; min-width: 0; }
.acc-title { display: block; font-size: 1.18rem; font-weight: 700; line-height: 1.3; hyphens: auto; overflow-wrap: break-word; }
.acc-benefit { display: block; margin-top: 4px; font-size: 1rem; line-height: 1.45; color: var(--muted); transition: color .3s; }
.acc-chevron { flex: none; color: var(--primary); transition: color .3s; }
.acc-chevron svg { width: 22px; height: 22px; transition: transform .3s; }
.acc-item.open .acc-chevron svg { transform: rotate(180deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease-out; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { margin: 0; padding: 6px 20px 30px 90px; line-height: 1.7; max-width: 820px; }

@media (min-width: 1024px) and (hover: hover) {
  .acc-btn:hover { background: var(--primary); color: #fff; }
  .acc-btn:hover .acc-icon { background: rgba(255, 255, 255, .22); color: #fff; }
  .acc-btn:hover .acc-benefit, .acc-btn:hover .acc-chevron { color: #fff; }
}

.closing { padding: 90px 0; background: var(--bg-alt); }
.closing-card {
  text-align: center;
  color: #fff;
  padding: 56px 48px;
  border-radius: 44px 10px 44px 10px;
  background: radial-gradient(130% 130% at 15% 0%, #e2577d, var(--primary) 45%, var(--primary-dark));
  box-shadow: 0 24px 60px rgba(168, 36, 74, .3);
}
.closing-card h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; margin: 0 0 14px; }
.closing-card p { max-width: 560px; margin: 0 auto 30px; color: rgba(255, 255, 255, .92); font-size: 1.08rem; }
.closing-card .btn-row { justify-content: center; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--primary-light); color: var(--primary-dark); transform: translateY(-2px); }
.btn-ghost { border: 2px solid rgba(255, 255, 255, .75); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; transform: translateY(-2px); }

/* ---------- Unterseite Über mich ---------- */
.about-hero .container { grid-template-columns: 1fr 300px; }
.page-hero-sub { font-size: 1.25rem; font-weight: 600; margin: 0 0 6px; color: rgba(255, 255, 255, .95); }
.tags-light li { background: rgba(255, 255, 255, .15); color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: 32px 10px 32px 10px;
  border: 2px dashed rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .1);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: .9rem;
}
.h-accent {
  position: relative;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  margin: 0 0 24px;
  padding-bottom: 14px;
}
.h-accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: var(--primary);
}
.prose { max-width: 780px; }
.prose p { margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }
.lead-text { font-size: 1.28rem; line-height: 1.6; }
.focus-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; margin-top: 44px; }
.focus-card {
  grid-column: span 2;
  background: #fff;
  border: 1px solid rgba(210, 54, 95, .1);
  border-radius: 28px 8px 28px 8px;
  padding: 30px 28px;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.focus-card:nth-child(4), .focus-card:nth-child(5) { grid-column: span 3; }
.focus-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(168, 36, 74, .16); }
.focus-card .tile-icon { margin-bottom: 18px; }
.focus-card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.focus-card p { margin: 0; color: var(--muted); font-size: .99rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.quote-block {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  text-align: center;
  color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, #e2577d 0%, var(--primary) 42%, #8c1d3d 100%);
}
/* Kleeblatt oben rechts, zur Hälfte über den oberen Rand hinaus (Spiegelbild zum Kopf der Seite) */
.quote-block .page-hero-clover { left: auto; right: -170px; top: -280px; }
.quote-block blockquote {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
  font-size: clamp(1.4rem, 3vw, 2.05rem);
  font-weight: 600;
  line-height: 1.4;
}
.quote-block cite { display: block; margin-top: 22px; font-style: normal; font-family: var(--font-script); font-size: 1.5rem; }

/* ---------- Unterseite Kontakt ---------- */
.page-hero-aside {
  justify-self: end;
  width: 100%;
  max-width: 380px;
  padding: 28px;
  border-radius: 28px 8px 28px 8px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .3);
}
.page-hero-aside p { margin: 0; }
.page-hero-aside .hero-card-label { color: #fff; opacity: .9; }
.page-hero-aside .hero-card-time { margin-bottom: 20px; }
.page-hero-aside .btn { width: 100%; justify-content: center; }
.hours tr.today th, .hours tr.today td { color: var(--primary-dark); font-weight: 700; }
.hours tr.today td::after {
  content: "Heute";
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: .72rem;
  vertical-align: 2px;
}
.anfahrt { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: stretch; }
.anfahrt-info p { margin: 0 0 18px; }
.anfahrt-info .btn-row { margin-top: 26px; }
.map-embed {
  position: relative;
  min-height: 420px;
  border-radius: 28px 8px 28px 8px;
  overflow: hidden;
  background: var(--primary-light);
  box-shadow: var(--shadow);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 30px;
  text-align: center;
  background:
    radial-gradient(circle at 1px 1px, rgba(210, 54, 95, .14) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(135deg, #fff, var(--primary-light));
}
.map-embed.loaded .map-consent { display: none; }
.map-consent > svg { width: 48px; height: 48px; color: var(--primary); }
.map-consent-title { margin: 0; font-size: 1.2rem; font-weight: 700; }
.map-consent p { margin: 0; max-width: 430px; color: var(--muted); font-size: .95rem; }
.map-consent .btn { margin-top: 8px; }
.map-consent .small-link { font-size: .9rem; }

/* ---------- Cookie-Banner ---------- */
.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.consent[hidden] { display: none; }
.consent-inner {
  pointer-events: auto;
  max-width: 780px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 28px;
  align-items: center;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid rgba(210, 54, 95, .15);
  border-radius: 24px 8px 24px 8px;
  box-shadow: 0 20px 60px rgba(60, 0, 20, .25);
}
.consent-title { margin: 0 0 4px; font-weight: 700; }
.consent p { margin: 0; font-size: .93rem; color: var(--muted); }
.consent-actions { display: flex; flex-direction: column; gap: 10px; }
.consent .btn { justify-content: center; padding: 10px 20px; font-size: .95rem; white-space: nowrap; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }

/* Einblenden beim Scrollen (nur mit JavaScript) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .values { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .tiles, .tiles.tiles-4 { grid-template-columns: repeat(2, 1fr); }
  .page-hero .container, .about-hero .container { grid-template-columns: 1fr; gap: 44px; }
  .page-hero-aside { justify-self: start; }
  .about-photo { max-width: 240px; }
  .focus-grid { grid-template-columns: 1fr 1fr; }
  .focus-card, .focus-card:nth-child(4), .focus-card:nth-child(5) { grid-column: auto; }
  .focus-card:nth-child(5) { grid-column: 1 / -1; }
  .anfahrt, .two-col { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { justify-self: start; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    display: none;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 10px 20px 20px; }
  .nav a { display: block; border-radius: 8px; }
}

@media (max-width: 820px) {

  .hero { padding: 50px 0 60px; }
  .hero .container { grid-template-columns: 1fr; }

  .doctor, .doctor-short { grid-template-columns: 1fr; }
  .doctor-photo { max-width: 260px; }

  .contact-grid { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
}

@media (max-width: 560px) {
  .values, .services, .tiles, .tiles.tiles-4, .focus-grid { grid-template-columns: 1fr; }
  .hero-card { padding: 26px 22px; }
  .jump-grid { gap: 10px; }
  .jump-card { min-height: 150px; padding: 16px 14px 14px; }
  .jump-icon { width: 40px; height: 40px; }
  .jump-title { font-size: .98rem; }
  .map-embed { min-height: 360px; }
  .consent-inner { grid-template-columns: 1fr; padding: 20px; }
  .consent-actions { flex-direction: row; flex-wrap: wrap; }
  .consent .btn { flex: 1; }
  .quote-block { padding: 70px 0; }
  .page-hero { padding: 56px 0 64px; }
  .page-hero-clover { width: 340px; right: -110px; top: -70px; }
  .group { padding: 64px 0; }
  .group-head { gap: 14px; }
  .acc-btn { gap: 14px; padding: 18px 10px; }
  .acc-icon { width: 42px; height: 42px; border-radius: 12px; }
  .acc-title { font-size: 1.06rem; }
  .acc-benefit { font-size: .95rem; }
  .acc-panel p { padding: 4px 12px 24px; }
  .closing { padding: 64px 0; }
  .closing-card { padding: 40px 22px; }
  .panel { padding: 24px; }
  .brand strong { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.map-cta .btn-ghost { background: transparent; color: #fff; }
.map-cta .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.about-hero .page-hero-clover { right: auto; left: -170px; top: auto; bottom: -230px; }

/* Foto der Ärztin */
.doctor-photo.has-photo, .about-photo.has-photo { padding: 0; border: 0; overflow: hidden; background: var(--primary-light); }
.doctor-photo.has-photo { box-shadow: var(--shadow); }
.about-photo.has-photo { box-shadow: 0 24px 60px rgba(60, 0, 20, .35); border: 6px solid rgba(255, 255, 255, .9); }
.has-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

/* Werte als Kleeblatt: vier Kacheln um das Kleeblatt, jedes Blatt gehört zu einem Wert */
.values-clover {
  grid-template-columns: 1fr 270px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 40px 36px;
}
.values-clover .v1 { grid-area: 1 / 1; }
.values-clover .v2 { grid-area: 1 / 3; }
.values-clover .v3 { grid-area: 2 / 1; }
.values-clover .v4 { grid-area: 2 / 3; }
.vc-clover { grid-area: 1 / 2 / 3 / 3; }
.vc-clover svg { width: 100%; height: auto; overflow: visible; }
.vc-leaf {
  fill: var(--primary-light);
  stroke: var(--primary);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  transition: fill .35s, transform .35s;
}
.vc-stem { fill: none; stroke: var(--primary); stroke-width: 3; stroke-linecap: round; }
.vc-center { fill: #fff; stroke: var(--primary); stroke-width: 2; }
/* Ecke der Kachel, die zum Kleeblatt zeigt, abrunden wie ein Blatt */
.values-clover .v1 .tile-box { border-radius: 28px 28px 80px 28px; }
.values-clover .v2 .tile-box { border-radius: 28px 28px 28px 80px; }
.values-clover .v3 .tile-box { border-radius: 28px 80px 28px 28px; }
.values-clover .v4 .tile-box { border-radius: 80px 28px 28px 28px; }
/* Fährt man über einen Wert, füllt sich sein Blatt */
.values-clover:has(.v1:hover, .v1:focus-within) .leaf-1,
.values-clover:has(.v2:hover, .v2:focus-within) .leaf-2,
.values-clover:has(.v3:hover, .v3:focus-within) .leaf-3,
.values-clover:has(.v4:hover, .v4:focus-within) .leaf-4 { fill: var(--primary); }

@media (max-width: 960px) {
  .values-clover { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .vc-clover { grid-area: 1 / 1 / 2 / 3; justify-self: center; width: 170px; }
  .values-clover .v1 { grid-area: 2 / 1; }
  .values-clover .v2 { grid-area: 2 / 2; }
  .values-clover .v3 { grid-area: 3 / 1; }
  .values-clover .v4 { grid-area: 3 / 2; }
}
@media (max-width: 560px) {
  .values-clover { grid-template-columns: 1fr; }
  .vc-clover { grid-area: auto; order: -1; width: 140px; justify-self: center; }
  .values-clover .v1, .values-clover .v2, .values-clover .v3, .values-clover .v4 { grid-area: auto; }
  .values-clover .tile-box { border-radius: 28px 8px 28px 8px; }
}

/* Bereichskarten im Kopf der Leistungsseite: weiß, beim Überfahren himbeerrot */
.jump-card {
  background: #fff;
  color: var(--text);
  border-color: #fff;
  box-shadow: 0 10px 28px rgba(60, 0, 20, .18);
}
.jump-icon { background: var(--primary-light); color: var(--primary); }
.jump-nr { color: var(--primary); opacity: .3; }
.jump-count { color: var(--primary); opacity: 1; }
.jump-card:hover, .jump-card:focus-visible {
  background: var(--primary-dark);
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
  box-shadow: 0 20px 44px rgba(60, 0, 20, .35);
}
.jump-card:hover .jump-icon, .jump-card:focus-visible .jump-icon { background: rgba(255, 255, 255, .18); color: #fff; }
.jump-card:hover .jump-nr, .jump-card:focus-visible .jump-nr { color: #fff; opacity: .4; }
.jump-card:hover .jump-count, .jump-card:focus-visible .jump-count { color: #fff; }

/* Schwerpunkte (Über mich): ein Kreis aus fünf Teilstücken, Text erscheint in der Mitte */
.focus-wheel { position: relative; width: min(680px, 100%); margin: 50px auto 0; }
.fw-disc { position: relative; aspect-ratio: 1; }
.fw-ring { width: 100%; height: 100%; overflow: visible; }
.fw-seg { fill: var(--primary-light); stroke: #fff; stroke-width: 6; transition: fill .3s; }
.fw-label {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 26%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  color: var(--text);
  text-align: center;
  cursor: pointer;
  transition: color .3s;
}
.fw-label:focus { outline: none; }
.fw-icon {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--primary);
  transition: background .3s, color .3s;
}
.fw-icon svg { width: 28px; height: 28px; }
.fw-title { font-size: 1.1rem; font-weight: 700; line-height: 1.2; hyphens: manual; }
/* Palliativmedizin liegt am linken Rand: schmaler, damit das Wort umbricht und im Teilstück bleibt */
.fw-label.s4 { width: 20%; left: 19.5% !important; }
.fw-center {
  position: absolute;
  left: 50%; top: 50%;
  width: 46%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 26px;
  text-align: center;
  background: #fff;
  box-shadow: 0 14px 40px rgba(168, 36, 74, .16);
  pointer-events: none;
}
.fw-text { grid-area: 1 / 1; opacity: 0; transition: opacity .25s; }
.fw-text strong { display: block; color: var(--primary-dark); font-size: 1.15rem; margin-bottom: 8px; }
.fw-text p { margin: 0; font-size: .95rem; line-height: 1.45; color: var(--muted); }
.fw-default { opacity: 1; }
.fw-default strong { font-size: 1.35rem; }
.focus-wheel:has(.s1:hover, .s1:focus) .fw-seg.s1,
.focus-wheel:has(.s2:hover, .s2:focus) .fw-seg.s2,
.focus-wheel:has(.s3:hover, .s3:focus) .fw-seg.s3,
.focus-wheel:has(.s4:hover, .s4:focus) .fw-seg.s4,
.focus-wheel:has(.s5:hover, .s5:focus) .fw-seg.s5 { fill: var(--primary); }
.focus-wheel:has(.s1:hover, .s1:focus) .fw-label.s1,
.focus-wheel:has(.s2:hover, .s2:focus) .fw-label.s2,
.focus-wheel:has(.s3:hover, .s3:focus) .fw-label.s3,
.focus-wheel:has(.s4:hover, .s4:focus) .fw-label.s4,
.focus-wheel:has(.s5:hover, .s5:focus) .fw-label.s5 { color: #fff; }
.focus-wheel:has(.s1:hover, .s1:focus) .t1,
.focus-wheel:has(.s2:hover, .s2:focus) .t2,
.focus-wheel:has(.s3:hover, .s3:focus) .t3,
.focus-wheel:has(.s4:hover, .s4:focus) .t4,
.focus-wheel:has(.s5:hover, .s5:focus) .t5 { opacity: 1; }
.focus-wheel:has(.s1:hover, .s1:focus) .fw-default,
.focus-wheel:has(.s2:hover, .s2:focus) .fw-default,
.focus-wheel:has(.s3:hover, .s3:focus) .fw-default,
.focus-wheel:has(.s4:hover, .s4:focus) .fw-default,
.focus-wheel:has(.s5:hover, .s5:focus) .fw-default { opacity: 0; }
.focus-wheel:has(.fw-label:hover, .fw-label:focus) .fw-label:is(:hover, :focus) .fw-icon { background: rgba(255, 255, 255, .2); color: #fff; }

/* Handy: Kreis kleiner, Text unter dem Kreis statt in der Mitte */
@media (max-width: 640px) {
  .fw-label { width: 28%; gap: 4px; }
  .fw-label.s4 { width: 22%; }
  .fw-icon { width: 34px; height: 34px; }
  .fw-icon svg { width: 18px; height: 18px; }
  .fw-title { font-size: .72rem; }
  .fw-center { position: static; transform: none; width: 100%; aspect-ratio: auto; border-radius: 24px 8px 24px 8px; margin-top: 20px; padding: 22px; }
  .fw-text p { font-size: .95rem; }
}

/* Ärztin, Variante B: größeres Foto, so hoch wie der Text */
.doctor-big { grid-template-columns: clamp(260px, 25vw, 330px) 1fr; gap: 40px; align-items: stretch; }
.doctor-big .doctor-photo { aspect-ratio: auto; min-height: 480px; border-radius: 32px 10px 32px 10px; }
@media (max-width: 820px) {
  .doctor-big { grid-template-columns: 1fr; }
  .doctor-big .doctor-photo { max-width: 420px; width: 100%; min-height: 0; aspect-ratio: 4 / 5; }
}

/* Platzhalter der Karte: Vorschaubild, darüber die Zustimmung */
.map-consent { background: #e9e9e9; }
.map-consent::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/karte-vorschau.webp") center / cover no-repeat;
}
.map-consent-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 460px;
  padding: 26px 28px;
  border-radius: 24px 8px 24px 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .12);
}
.map-consent-card > svg { width: 44px; height: 44px; color: var(--primary); }
@media (max-width: 560px) { .map-consent-card { padding: 20px 18px; } }

@media (max-width: 560px) { .quote-block .page-hero-clover { right: -100px; top: -170px; } }

/* Werte: Fährt man über ein Blatt, wird es gefüllt und die zugehörige Kachel hervorgehoben (main.js) */
.vc-leaf { cursor: pointer; }
.vc-leaf:hover, .vc-leaf.is-active { fill: var(--primary); }

/* Kontaktseite: Karte "Lob & Kritik" weiß, Button himbeerrot */
.feedback-card { background: #fff; border-color: #fff; color: var(--text); box-shadow: 0 18px 44px rgba(60, 0, 20, .25); }
.feedback-card { max-width: 380px; padding: 26px 24px 28px; text-align: center; }
.feedback-card .hero-card-label { display: block; color: var(--primary-dark); opacity: 1; font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; text-transform: none; }
.feedback-card .hero-card-time { font-size: clamp(1rem, 1.6vw, 1.1rem); font-weight: 400; color: #4b5563; margin: 8px 0 20px; }
.feedback-card .btn { font-size: .95rem; padding: 11px 20px; }
.feedback-card .btn svg { width: 18px; height: 18px; }
.btn-sep { width: 1.5px; height: 1.3em; background: currentColor; opacity: .7; }

/* Werte: Symbol des Werts erscheint im aktiven Blatt (über Kachel oder Blatt) */
.vc-ico { color: #fff; opacity: 0; pointer-events: none; transition: opacity .3s; }
.values-clover:has(.v1:hover, .v1:focus-within, .leaf-1:hover) .ico-1,
.values-clover:has(.v2:hover, .v2:focus-within, .leaf-2:hover) .ico-2,
.values-clover:has(.v3:hover, .v3:focus-within, .leaf-3:hover) .ico-3,
.values-clover:has(.v4:hover, .v4:focus-within, .leaf-4:hover) .ico-4 { opacity: 1; }
