/* ==========================================================================
   Hausarztpraxis Huwaida El-Buruq
   Stylesheet - Farben und Typografie nach PDF-Vorlage
   ========================================================================== */

/* --------------------------------------------------------------- Fonts -- */
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/FiraSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/FiraSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/FiraSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------ Variablen -- */
:root {
  --tuerkis:        #08acab;   /* Footer, Überschriften, Links */
  --tuerkis-icon:   #009da1;   /* Icon-Linien */
  --tuerkis-hell:   #6bcdc4;   /* Große Farbfläche */
  --tuerkis-dunkel: #069594;   /* Hover */
  --orange:         #f8a10e;
  --orange-dunkel:  #e08f06;
  --grau-text:      #696667;
  --grau-kachel:    #e9e9e9;
  --grau-hell:      #f4f4f4;
  --weiss:          #ffffff;

  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 4px;
  --radius-gross: 12px;   /* Fotos, Karten */
  --abstand: clamp(44px, 5.5vw, 72px);   /* einheitlicher Abstand der Abschnitte */
  --linie: 92px;                         /* Länge der kurzen Trennlinien */
  --shadow: 0 2px 6px rgba(0, 0, 0, .10);
  --shadow-hover: 0 12px 28px rgba(0, 0, 0, .16);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --header-h: 78px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Fira Sans", "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--grau-text);
  background: var(--weiss);
  /* verhindert horizontales Verrutschen auf Mobilgeräten */
  overflow-x: hidden;
}

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

a { color: var(--tuerkis); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.2; }

/* Sichtbarer Fokus für Tastaturbedienung (Barrierefreiheit) */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--tuerkis); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: 0; }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--weiss);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  padding-block: 10px;
}

.logo { flex: 0 0 auto; }
.logo img {
  width: clamp(180px, 22vw, 250px);
  height: auto;
}

/* ----------------------------------------------------------- Navigation -- */
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.6vw, 20px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius);
  font-size: clamp(13px, 1.15vw, 15px);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--grau-text);
  white-space: nowrap;
  transition: background-color .22s var(--ease), color .22s var(--ease);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: var(--grau-kachel);
  color: var(--tuerkis);
  text-decoration: none;
}

/* Aktiver Link: türkiser Hintergrund wie in der Vorlage */
.nav-list a.is-active,
.nav-list a[aria-current="page"] {
  background: var(--tuerkis);
  color: var(--weiss);
  border-radius: 9px;
}
.nav-list a.is-active:hover,
.nav-list a[aria-current="page"]:hover {
  background: var(--tuerkis-dunkel);
  color: var(--weiss);
}

/* ------------------------------------------------------ Burger (mobil) -- */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  margin: 5px auto;
  background: var(--tuerkis);
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}
.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); }

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

  .site-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--weiss);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .12);
    max-height: 0;
    overflow: hidden;
    transition: max-height .32s var(--ease);
  }
  .site-nav.is-open { max-height: 70vh; overflow-y: auto; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 16px;
  }
  .nav-list a {
    padding: 14px 12px;
    font-size: 16px;
  }
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  background: var(--tuerkis-hell);
}

.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1600 / 400;
  overflow: hidden;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Bildausschnitt je Seite einstellbar: im HTML style="--hero-fokus:60%"
     Kleinerer Wert = mehr vom oberen Bildteil sichtbar. */
  object-position: center var(--hero-fokus, 42%);
}

/* Auf schmalen Geräten wird das Band höher statt seitlich beschnitten -
   sonst würden die Personen am Bildrand wegfallen. */
@media (max-width: 780px) {
  .hero-media { aspect-ratio: 2.9 / 1; }
}
@media (max-width: 520px) {
  .hero-media { aspect-ratio: 2.4 / 1; }
}

/* --------------------------------------------------------- Telefon-Badge -- */
.phone-badge {
  position: absolute;
  right: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
  bottom: 0;
  transform: translateY(50%);
  z-index: 3;

  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: var(--radius);
  background: var(--orange);
  color: var(--weiss);
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  box-shadow: var(--shadow);
  transition: background-color .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
}
.phone-badge:hover {
  background: var(--orange-dunkel);
  transform: translateY(50%) scale(1.04);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
  color: var(--weiss);
}
.phone-badge svg { width: 1.35em; height: 1.35em; flex: 0 0 auto; }

@media (max-width: 560px) {
  .phone-badge {
    left: 50%; right: auto;
    transform: translate(-50%, 50%);
  }
  .phone-badge:hover { transform: translate(-50%, 50%) scale(1.04); }
}

/* =========================================================================
   TÜRKISE INFO-SEKTION
   ========================================================================= */
.info-section {
  position: relative;
  background: var(--tuerkis-hell);
  padding-block: var(--abstand);
  overflow: hidden;
}

/* Herz-Grafik im Hintergrund */
.info-heart {
  position: absolute;
  right: -60px;
  top: 8%;
  width: clamp(260px, 34vw, 460px);
  opacity: .55;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
@media (max-width: 780px) {
  .info-heart { right: -110px; top: auto; bottom: -40px; opacity: .35; }
}

.info-section .container { position: relative; z-index: 1; }

.section-title {
  margin: 0 0 clamp(28px, 3.5vw, 44px);
  text-align: center;
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.section-title--light  { color: var(--weiss); }
.section-title--orange { color: var(--orange); }
.section-title--tuerkis { color: var(--tuerkis); }

/* ----------------------------------------------------------- Info-Karten -- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
}
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

.info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(24px, 2.6vw, 34px) clamp(18px, 2vw, 26px);
  background: var(--weiss);
  border-radius: var(--radius-gross);
  box-shadow: var(--shadow);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.info-card__icon {
  width: auto;
  height: clamp(56px, 5.4vw, 72px);
  max-width: 80%;
  object-fit: contain;
  margin-bottom: 18px;
  transition: transform .32s var(--ease);
}
.info-card:hover .info-card__icon { transform: scale(1.08); }

.info-card__title {
  margin-bottom: 14px;
  font-size: clamp(13.5px, 1.3vw, 16px);
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--tuerkis);
}
.info-card__title span {
  display: block;
  letter-spacing: .02em;
  text-transform: none;
}

.info-card__text {
  margin: 0;
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.7;
}
.info-card__text + .info-card__text { margin-top: 14px; }
.info-card__text strong { font-weight: 600; }

.info-card__link {
  margin-top: 14px;
  font-size: clamp(13px, 1.15vw, 15px);
  font-weight: 600;
  color: var(--tuerkis);
}

/* =========================================================================
   LEISTUNGEN
   ========================================================================= */
.services-section {
  padding-block: var(--abstand);
  background: var(--weiss);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
  max-width: 900px;
  margin-inline: auto;
}
@media (max-width: 700px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .services-grid { grid-template-columns: 1fr; max-width: 340px; } }

.service-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: clamp(150px, 16vw, 185px);
  padding: 24px 16px;
  border-radius: 9px;
  background: var(--weiss);
  box-shadow: var(--shadow);
  color: var(--grau-text);
  text-align: center;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background-color .28s var(--ease);
}
/* Dreispaltig: Schachbrett-Muster wie in der Vorlage.
   Die Klasse setzt index.php anhand von Zeile und Spalte. */
.service-tile--alt { background: var(--grau-kachel); }

/* Zwei- und einspaltig gibt es kein Schachbrett mehr - dort wechseln
   die Farben einfach der Reihe nach ab: weiß, grau, weiß, grau … */
@media (max-width: 700px) {
  .service-tile,
  .service-tile--alt            { background: var(--weiss); }
  .service-tile:nth-child(even) { background: var(--grau-kachel); }
}

.service-tile:hover,
.service-tile:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  background: var(--weiss);
  text-decoration: none;
  color: var(--tuerkis);
}

/* Feste Höhe statt fester Breite: Die Icons haben unterschiedliche
   Seitenverhältnisse - über die Höhe wirken sie gleich groß und die
   Beschriftungen darunter stehen auf einer Linie. */
.service-tile__icon {
  width: auto;
  height: clamp(46px, 4.6vw, 60px);
  max-width: 80%;
  object-fit: contain;
  transition: transform .32s var(--ease);
}
.service-tile:hover .service-tile__icon { transform: scale(1.12) translateY(-2px); }

.service-tile__label {
  font-size: clamp(12px, 1.25vw, 15px);
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 1.4;
  text-transform: uppercase;
  transition: color .28s var(--ease);
}

/* =========================================================================
   INHALTSSEITEN (Unterseiten)
   ========================================================================= */
.page-head {
  background: var(--tuerkis);
  padding-block: clamp(36px, 5vw, 58px);
  text-align: center;
}
.page-head h1 {
  margin: 0;
  text-align: center;
  color: var(--weiss);
  font-size: clamp(24px, 3.2vw, 36px);
  letter-spacing: .03em;
  text-transform: uppercase;
}
.page-head__sub {
  margin: 10px 0 0;
  color: var(--weiss);
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 600;
}

/* Rundes Icon im Seitenkopf */
.page-head__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(76px, 8vw, 104px);
  height: clamp(76px, 8vw, 104px);
  margin: 0 auto clamp(16px, 2vw, 24px);
  padding: clamp(16px, 1.8vw, 22px);
  border-radius: 50%;
  background: var(--weiss);
  box-shadow: var(--shadow);
}
.page-head__icon img { width: 100%; height: auto; }

/* Türkises Band mit Telefonnummer unter Hero oder Kopf.
   Der orange Knopf ist genauso hoch wie das Band und hat wie in der
   Vorlage keine abgerundeten Ecken. */
.phone-band {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  background: var(--tuerkis-hell);
  color: var(--weiss);
  text-align: center;
}
.phone-band__text {
  display: flex;
  align-items: center;
  padding: 12px clamp(14px, 2vw, 26px);
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 600;
}
.phone-band .phone-badge {
  position: static;
  transform: none;
  border-radius: 0;
  box-shadow: none;
  padding: clamp(12px, 1.4vw, 16px) clamp(20px, 2.6vw, 34px);
  font-size: clamp(15px, 1.5vw, 19px);
}
.phone-band .phone-badge:hover { transform: none; background: var(--orange-dunkel); }

.page-body {
  /* hält den Footer auch bei leeren Seiten unten */
  min-height: 42vh;
  padding-block: var(--abstand);
}
/* Nur Überschriften OHNE eigene Klasse einfärben - sonst würde diese Regel
   die Farbe von .abschnitt-titel & Co. überschreiben. */
.page-body h2:not([class]) { font-size: clamp(19px, 2vw, 24px); color: var(--tuerkis); margin-bottom: 12px; }
.page-body p:not([class])  { font-size: clamp(14px, 1.2vw, 16px); }

.placeholder-note {
  max-width: 640px;
  margin-inline: auto;
  padding: 26px 30px;
  border: 1px dashed var(--tuerkis-hell);
  border-radius: var(--radius);
  text-align: center;
  color: #8a8788;
  font-size: 15px;
}

/* =========================================================================
   LEISTUNGS-DETAILSEITEN
   ========================================================================= */
.leistung-intro {
  position: relative;
  padding-block: var(--abstand) 0;
  overflow: hidden;
}
/* Das Herz liegt im Inhaltsbereich, damit es nie am Fensterrand
   abgeschnitten wird. Die Mindesthöhe sorgt dafür, dass es auch bei
   kurzen Einleitungstexten vollständig hineinpasst - der Abschnitt
   ist sonst niedriger als das Herz und schneidet es oben und unten ab. */
.leistung-intro .container {
  position: relative;
  min-height: clamp(235px, 27vw, 335px);
}
.leistung-intro__heart {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(200px, 26vw, 330px);
  max-width: 42%;
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}
.leistung-intro__text { position: relative; z-index: 1; }
.leistung-intro__text {
  max-width: 560px;
  font-size: clamp(14px, 1.25vw, 16.5px);
  line-height: 1.75;
}
@media (max-width: 780px) {
  .leistung-intro__heart {
    width: 200px;
    right: -50px;
    top: auto;
    bottom: -20px;
    transform: none;
    opacity: .3;
  }
  .leistung-intro__text { max-width: none; }
}

/* Abschnittsüberschrift mit kurzem Strich darunter */
.abschnitt-titel {
  margin: 0 0 26px;
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--grau-text);
}
.abschnitt-titel::after {
  content: "";
  display: block;
  width: 92px;
  height: 2px;
  margin-top: 14px;
  background: var(--tuerkis);
}
.abschnitt-titel--zentriert { text-align: center; }
.abschnitt-titel--zentriert::after { margin-inline: auto; }

/* Aufzählung „Was wir bieten" */
.merkmal-liste {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.5vw, 18px);
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 860px) { .merkmal-liste { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .merkmal-liste { grid-template-columns: 1fr; } }

.merkmal-liste li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 15px 18px;
  border-left: 3px solid var(--tuerkis);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--grau-hell);
  font-size: clamp(13.5px, 1.15vw, 15px);
  line-height: 1.45;
  transition: background-color .22s var(--ease), transform .22s var(--ease);
}
.merkmal-liste li:hover {
  background: var(--grau-kachel);
  transform: translateX(3px);
}
.merkmal-liste li::before {
  content: "✓";
  flex: 0 0 auto;
  color: var(--tuerkis);
  font-weight: 600;
}

/* Oranger Hinweisbanner */
.hinweis-banner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  margin-top: clamp(28px, 3.5vw, 44px);
  padding: clamp(16px, 2vw, 22px) clamp(18px, 2.4vw, 30px);
  border-radius: var(--radius);
  background: var(--orange);
  color: var(--weiss);
}
.hinweis-banner img {
  width: clamp(34px, 3.4vw, 46px);
  flex: 0 0 auto;
}
.hinweis-banner p {
  margin: 0;
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 600;
  line-height: 1.45;
}
@media (max-width: 560px) {
  .hinweis-banner { flex-direction: column; text-align: center; }
}

/* Zurück-Button */
.zurueck-leiste {
  margin-top: clamp(32px, 4vw, 50px);
  text-align: center;
}
.zurueck-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 26px;
  border-radius: var(--radius);
  background: var(--grau-kachel);
  color: var(--grau-text);
  font-size: clamp(13.5px, 1.2vw, 15px);
  font-weight: 600;
  transition: background-color .22s var(--ease), color .22s var(--ease), transform .22s var(--ease);
}
.zurueck-link:hover {
  background: var(--tuerkis);
  color: var(--weiss);
  text-decoration: none;
  transform: translateX(-3px);
}
.zurueck-link::before { content: "←"; font-size: 1.15em; line-height: 1; }

/* =========================================================================
   TEXT-/BILD-ABSCHNITT (Praxis, Kosmetik)
   ========================================================================= */
.text-bild {
  padding-block: var(--abstand);
  background: var(--grau-kachel);
}
.text-bild--weiss { background: var(--weiss); }

.text-bild__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 820px) { .text-bild__grid { grid-template-columns: 1fr; } }

.text-bild__titel {
  margin: 0 0 16px;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--tuerkis);
}
.text-bild__lead {
  margin: 0 0 26px;
  padding-bottom: 18px;
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 600;
  color: var(--grau-text);
}
/* kurze Linie statt durchgehendem Strich - wie in der Vorlage */
.text-bild__lead::after {
  content: "";
  display: block;
  width: var(--linie);
  height: 2px;
  margin-top: 18px;
  background: var(--tuerkis-hell);
}
.text-bild p {
  margin: 0 0 14px;
  font-size: clamp(13.5px, 1.2vw, 15.5px);
  line-height: 1.75;
}
.text-bild p:last-child { margin-bottom: 0; }
.text-bild p strong { font-weight: 600; }

/* Bild mit Zitat-Kachel.
   Die Kachel sitzt unter dem Bild und überlappt es nur am unteren Rand -
   wie in der Vorlage. Zusätzlicher Abstand nach unten, damit der nächste
   Abschnitt nicht darunterrutscht. */
.bild-zitat { position: relative; padding-bottom: 40px; }
.bild-zitat img { width: 100%; border-radius: 12px; box-shadow: var(--shadow); }

.zitat-kachel {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: clamp(16px, 2vw, 26px);
  max-width: min(400px, 94%);
  margin-top: -38px;
  margin-left: 10%;
  padding: clamp(18px, 2vw, 26px) clamp(22px, 2.6vw, 34px);
  border-radius: 14px;
  background: var(--tuerkis);
  color: var(--weiss);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}
.zitat-kachel img {
  width: auto;
  height: clamp(46px, 4.4vw, 58px);
  flex: 0 0 auto;
  object-fit: contain;
  box-shadow: none;
  border-radius: 0;
}

/* Weiße Kachel mit Pflanzen-Symbol und Text (Kosmetik).
   Gleiche Schrift wie auf der Praxis-Seite, nur in Türkis-Grün. */
.zitat-kachel--hell {
  justify-content: flex-start;
  max-width: min(400px, 90%);
  padding: clamp(20px, 2.4vw, 30px) clamp(24px, 2.8vw, 36px);
  background: var(--weiss);
}
.zitat-kachel--hell img { height: clamp(48px, 4.6vw, 60px); }
.zitat-kachel--hell .zitat-kachel__spruch { color: var(--tuerkis-icon); }

.zitat-kachel__name   { display: block; font-size: clamp(15px, 1.4vw, 18px); font-weight: 600; }
.zitat-kachel__spruch { display: block; margin-top: 6px; font-size: clamp(14px, 1.3vw, 17px); line-height: 1.4; }

@media (max-width: 820px) {
  .zitat-kachel { margin-left: 5%; }
}

/* =========================================================================
   MERKMAL-KARTEN (Praxis „Was Sie erwartet", Kosmetik „Behandlungen")
   ========================================================================= */
.karten-band { padding-block: var(--abstand); }
/* schließt direkt an den Abschnitt darüber an */
.karten-band--anschluss { padding-top: 0; }

.karten-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
}
@media (max-width: 900px) { .karten-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .karten-grid { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; } }

.merkmal-karte {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(22px, 2.4vw, 30px) clamp(16px, 1.8vw, 22px);
  border-radius: var(--radius-gross);
  background: var(--weiss);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.merkmal-karte:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.merkmal-karte__icon {
  width: auto;
  height: clamp(52px, 5vw, 66px);
  max-width: 80%;
  object-fit: contain;
  margin-bottom: 18px;
  transition: transform .32s var(--ease);
}
.merkmal-karte:hover .merkmal-karte__icon { transform: scale(1.1); }

.merkmal-karte__titel {
  margin-bottom: 12px;
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--orange);
}
.merkmal-karte__titel--tuerkis { color: var(--tuerkis); }
.merkmal-karte__text {
  margin: 0;
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.6;
}

/* Drei Merkmale mit Foto darunter (Kosmetik) */
.foto-merkmale {
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius);
  background: var(--grau-hell);
}
.foto-merkmale__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
}
@media (max-width: 820px) { .foto-merkmale__grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* Alle drei Spalten bekommen denselben Innenabstand, damit die Fotos
   exakt gleich breit und damit gleich hoch werden. Vorher hatten nur
   die Spalten 2 und 3 einen Abstand - die erste wurde dadurch breiter. */
.foto-merkmal {
  display: flex;
  flex-direction: column;
  padding-inline: clamp(14px, 1.8vw, 24px);
}
.foto-merkmal + .foto-merkmal { border-left: 1px solid #e0e0e0; }
@media (max-width: 820px) {
  .foto-merkmal { padding-inline: 0; }
  .foto-merkmal + .foto-merkmal { border-left: 0; }
}
.foto-merkmal__kopf { text-align: center; }
.foto-merkmal__icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 16px;
  padding: 15px;
  border-radius: 50%;
  background: var(--weiss);
  box-shadow: var(--shadow);
  object-fit: contain;
}
.foto-merkmal__titel {
  margin-bottom: 12px;
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--tuerkis);
}
.foto-merkmal__text {
  margin: 0 0 20px;
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.6;
  text-align: center;
}
.foto-merkmal__bild {
  margin-top: auto;
  border-radius: var(--radius-gross);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.foto-merkmal__bild img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.foto-merkmal__bild:hover img { transform: scale(1.05); }

/* =========================================================================
   FOTOGALERIE (Praxis)
   ========================================================================= */
.galerie {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
  max-width: 940px;
  margin-inline: auto;
}
/* Galeriebilder bleiben eckig - wie in der Vorlage */
.galerie figure {
  position: relative;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.galerie figure:hover img { transform: scale(1.06); }

/* Lupensymbol beim Überfahren */
.galerie figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 172, 171, .28)
    center / 46px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M16 16l4.5 4.5M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E");
  opacity: 0;
  transition: opacity .25s var(--ease);
  pointer-events: none;
}
.galerie figure:hover::after,
.galerie figure:focus-within::after { opacity: 1; }

.galerie__hoch  { grid-row: span 2; }

@media (max-width: 760px) {
  .galerie { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; }
  .galerie__hoch { grid-row: span 2; }
}
@media (max-width: 460px) {
  .galerie { grid-template-columns: 1fr; }
  .galerie__hoch { grid-row: auto; }
  .galerie img { aspect-ratio: 4 / 3; }
}

/* =========================================================================
   TEAM
   ========================================================================= */
.aerztin-karte {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  max-width: 900px;
  margin-inline: auto;
  border-radius: var(--radius-gross);
  background: var(--weiss);
  box-shadow: var(--shadow);
  overflow: hidden;
}
@media (max-width: 760px) { .aerztin-karte { grid-template-columns: 1fr; } }

.aerztin-karte__bild img { width: 100%; height: 100%; object-fit: cover; }
.aerztin-karte__text { padding: clamp(24px, 3.4vw, 44px); }
.aerztin-karte__name {
  margin-bottom: 14px;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--tuerkis);
  letter-spacing: .02em;
}
.aerztin-karte__rolle {
  margin: 0 0 26px;
  padding-bottom: 18px;
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 600;
  line-height: 1.5;
}
.aerztin-karte__rolle::after {
  content: "";
  display: block;
  width: var(--linie);
  height: 2px;
  margin-top: 18px;
  background: var(--tuerkis);
}
.aerztin-karte__text p { margin: 0 0 14px; font-size: clamp(13.5px, 1.2vw, 15.5px); line-height: 1.7; }
.aerztin-karte__text p:last-child { margin-bottom: 0; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .team-grid { grid-template-columns: 1fr; max-width: 300px; margin-inline: auto; } }

.team-karte {
  border-radius: var(--radius-gross);
  background: var(--weiss);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.team-karte:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.team-karte img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.team-karte__text { padding: 16px 18px 20px; }
.team-karte__name {
  margin-bottom: 14px;
  font-size: clamp(13px, 1.2vw, 15px);
  color: var(--tuerkis);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.team-karte__name::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 10px;
  background: var(--tuerkis-hell);
}
.team-karte__rolle { margin: 0; font-size: clamp(12px, 1.05vw, 13.5px); font-weight: 600; }

.team-lead {
  max-width: 700px;
  margin: 0 auto clamp(28px, 3.5vw, 40px);
  text-align: center;
  font-size: clamp(13.5px, 1.2vw, 15.5px);
  line-height: 1.7;
}

/* =========================================================================
   KONTAKT
   ========================================================================= */
.kontakt-block {
  position: relative;
  padding-block: var(--abstand);
  overflow: hidden;
}
.kontakt-block .container { position: relative; }

.kontakt-block__heart {
  position: absolute;
  right: 0;
  top: 0;
  width: clamp(190px, 24vw, 310px);
  max-width: 40%;
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 780px) {
  .kontakt-block__heart { width: 180px; right: -30px; top: auto; bottom: 0; opacity: .3; }
}

.kontakt-daten { position: relative; z-index: 1; max-width: 540px; }
.kontakt-daten__marke {
  margin-bottom: 4px;
  font-size: clamp(18px, 2.1vw, 24px);
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.kontakt-daten__name {
  margin-bottom: 20px;
  font-size: clamp(15px, 1.7vw, 19px);
  color: var(--tuerkis);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.kontakt-daten__rolle {
  margin: 0 0 18px;
  font-size: clamp(13.5px, 1.2vw, 15.5px);
  font-weight: 600;
  line-height: 1.6;
}
.kontakt-daten__adresse {
  margin: 0 0 26px;
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.7;
}
.kontakt-daten hr {
  width: var(--linie);
  margin: 0 0 26px;
  border: 0;
  border-top: 2px solid var(--tuerkis-hell);
}
.kontakt-daten__zeiten-titel {
  margin-bottom: 14px;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--tuerkis);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.kontakt-daten__zeiten { margin: 0 0 12px; font-size: clamp(13px, 1.15vw, 15px); line-height: 1.6; }
.kontakt-daten__zeiten strong { font-weight: 600; }
.kontakt-daten__nachvereinbarung {
  margin: 0;
  font-size: clamp(13px, 1.15vw, 15px);
  font-weight: 600;
  color: var(--orange);
}

/* Band „Anfahrt": Der Kreis ragt oben und unten über das Band hinaus. */
.anfahrt-band {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 14px var(--gutter);
  background: #b7ddd9;
}
.anfahrt-band__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
}
.anfahrt-band__icon {
  width: clamp(88px, 9vw, 124px);
  height: clamp(88px, 9vw, 124px);
  /* über die Bandhöhe hinausragen, ohne die Zeile höher zu machen */
  margin-block: calc(clamp(88px, 9vw, 124px) / -2 + 22px);
  padding: clamp(18px, 2vw, 26px);
  border-radius: 50%;
  /* exakt die Farbe des Bandes, damit keine Kante sichtbar wird */
  background: #b7ddd9;
  object-fit: contain;
  flex: 0 0 auto;
}
.anfahrt-band h2 {
  font-size: clamp(17px, 2.1vw, 24px);
  color: var(--tuerkis);
  text-transform: uppercase;
  letter-spacing: .03em;
}
@media (max-width: 560px) {
  .anfahrt-band__icon { width: 72px; height: 72px; margin-block: -14px; padding: 15px; }
}

/* =========================================================================
   KARTE MIT EINWILLIGUNG
   ========================================================================= */
.karte {
  position: relative;
  aspect-ratio: 2400 / 660;
  background: var(--tuerkis-hell);
  overflow: hidden;
}
@media (max-width: 900px) { .karte { aspect-ratio: 16 / 10; } }

.karte iframe { width: 100%; height: 100%; border: 0; display: block; }

.karte-platzhalter {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: clamp(20px, 4vw, 40px);
  text-align: center;
  color: var(--weiss);
  /* dezentes Stadtplan-Muster aus reinem CSS - lädt nichts von außen */
  background:
    linear-gradient(115deg, rgba(255,255,255,.16) 0 3px, transparent 3px 92px),
    linear-gradient(25deg,  rgba(255,255,255,.16) 0 3px, transparent 3px 120px),
    linear-gradient(70deg,  rgba(255,255,255,.11) 0 2px, transparent 2px 64px),
    linear-gradient(160deg, rgba(255,255,255,.11) 0 2px, transparent 2px 78px),
    var(--tuerkis-hell);
}
.karte-platzhalter__icon {
  width: clamp(52px, 6vw, 70px);
  padding: 13px;
  border-radius: 50%;
  background: var(--weiss);
  box-shadow: var(--shadow);
}
.karte-platzhalter p {
  max-width: 520px;
  margin: 0;
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.6;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}
.karte-platzhalter .btn-karte {
  padding: 12px 26px;
  border: 0;
  border-radius: var(--radius);
  background: var(--orange);
  color: var(--weiss);
  font-family: inherit;
  font-size: clamp(14px, 1.3vw, 16px);
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background-color .22s var(--ease), transform .22s var(--ease);
}
.karte-platzhalter .btn-karte:hover {
  background: var(--orange-dunkel);
  transform: scale(1.04);
}
.karte-platzhalter__klein {
  font-size: clamp(11.5px, 1vw, 13px) !important;
  opacity: .9;
}
.karte-platzhalter__klein a { color: var(--weiss); text-decoration: underline; }

/* Link unter der Karte */
.karte-fuss {
  padding: 12px var(--gutter);
  background: var(--grau-hell);
  text-align: center;
  font-size: clamp(12.5px, 1.1vw, 14px);
}

/* =========================================================================
   RECHTSTEXTE (Impressum, Datenschutz)
   ========================================================================= */
.rechtstext {
  max-width: 780px;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.75;
}
.rechtstext h2 {
  margin: clamp(30px, 3.4vw, 44px) 0 12px;
  font-size: clamp(17px, 1.8vw, 21px);
  color: var(--tuerkis);
}
.rechtstext h2:first-of-type { margin-top: 0; }
.rechtstext h3 {
  margin: 26px 0 8px;
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--grau-text);
}
.rechtstext h4 {
  margin: 20px 0 6px;
  font-size: clamp(14px, 1.3vw, 15.5px);
  font-weight: 600;
  color: var(--grau-text);
}
.rechtstext p  { margin: 0 0 14px; }
.rechtstext a  { word-break: break-word; }
.rechtstext code {
  padding: 1px 6px;
  border-radius: 3px;
  background: var(--grau-kachel);
  font-size: .92em;
}

/* Die Absätze in Großbuchstaben (Widerspruchsrecht) etwas ruhiger setzen */
.rechtstext .grossschrift {
  font-size: .92em;
  line-height: 1.6;
  letter-spacing: .01em;
  color: #7d7a7b;
}
.rechtstext ul { margin: 0 0 14px; padding-left: 22px; }
.rechtstext li { margin-bottom: 5px; }

/* Noch auszufüllende Stellen deutlich sichtbar machen */
.luecke {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  background: #fff3cd;
  box-shadow: inset 0 0 0 1px #f0d48a;
  color: #7a5c00;
  font-size: .94em;
}
.entwurf-hinweis {
  margin-bottom: clamp(26px, 3vw, 36px) !important;
  padding: 16px 20px;
  border-left: 4px solid #d9534f;
  border-radius: var(--radius);
  background: #fdecec;
  color: #8a2a27;
  font-size: 14px;
}
.hinweis-klein {
  font-size: 13px !important;
  color: #8a8788;
  border-left: 3px solid var(--grau-kachel);
  padding-left: 14px;
}

/* =========================================================================
   FOOTER  (kompakt - in der Vorlage war er zu hoch)
   ========================================================================= */
.site-footer {
  background: var(--tuerkis);
  color: var(--weiss);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-block: 14px;
  font-size: clamp(12px, 1vw, 13px);
}
.footer-copy { margin: 0; opacity: .92; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: auto;
}
.footer-nav a {
  color: var(--weiss);
  opacity: .92;
  transition: opacity .2s var(--ease);
}
.footer-nav a:hover { opacity: 1; text-decoration: underline; }

@media (max-width: 560px) {
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { margin-left: 0; justify-content: center; }
}

/* =========================================================================
   HINWEIS-POPUP
   ========================================================================= */
.notice-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  background: rgba(0, 0, 0, .45);
  opacity: 0;
  animation: noticeFade .3s var(--ease) forwards;
}
@keyframes noticeFade { to { opacity: 1; } }

.notice-box {
  position: relative;
  width: min(560px, 100%);
  max-height: 84vh;
  overflow-y: auto;
  padding: clamp(26px, 4vw, 40px);
  background: var(--weiss);
  border-radius: 6px;
  border-top: 6px solid var(--orange);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
  transform: translateY(16px);
  animation: noticeSlide .34s var(--ease) forwards;
}
@keyframes noticeSlide { to { transform: translateY(0); } }

.notice-box h2 {
  margin-bottom: 14px;
  color: var(--tuerkis);
  font-size: clamp(18px, 2.2vw, 23px);
  padding-right: 40px;
}
.notice-content { font-size: clamp(14px, 1.2vw, 16px); }
.notice-content ul { padding-left: 20px; }
.notice-content :first-child { margin-top: 0; }
.notice-content :last-child { margin-bottom: 0; }

.notice-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 38px; height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--grau-text);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.notice-close:hover { background: var(--grau-kachel); color: var(--tuerkis); }

/* =========================================================================
   BILDBETRACHTER (Galerie in Groß)
   ========================================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 40px);
  background: rgba(0, 0, 0, .88);
  opacity: 0;
  animation: lbFade .25s var(--ease) forwards;
}
@keyframes lbFade { to { opacity: 1; } }

.lightbox__bild {
  max-width: min(1200px, 100%);
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}

.lightbox__text {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 4vw, 34px);
  transform: translateX(-50%);
  max-width: 80%;
  margin: 0;
  color: #fff;
  font-size: clamp(13px, 1.2vw, 15px);
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .8);
}

.lightbox__zaehler {
  position: absolute;
  top: clamp(14px, 3vw, 26px);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
  letter-spacing: .06em;
}

/* Knöpfe: schließen, vor, zurück */
.lightbox button {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.lightbox button:hover { background: var(--tuerkis); transform: scale(1.08); }

.lightbox__zu {
  top: clamp(10px, 2.5vw, 24px);
  right: clamp(10px, 2.5vw, 24px);
  width: 46px; height: 46px;
  font-size: 28px;
  line-height: 1;
}

.lightbox__vor,
.lightbox__zurueck {
  top: 50%;
  width: clamp(46px, 5vw, 58px);
  height: clamp(46px, 5vw, 58px);
  margin-top: calc(clamp(46px, 5vw, 58px) / -2);
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1;
  padding-bottom: 3px;
}
.lightbox__zurueck { left:  clamp(8px, 2.5vw, 30px); }
.lightbox__vor     { right: clamp(8px, 2.5vw, 30px); }

@media (max-width: 560px) {
  .lightbox__vor, .lightbox__zurueck { top: auto; bottom: 14px; margin-top: 0; }
  .lightbox__text { bottom: 76px; }
}

/* =========================================================================
   Bewegung reduzieren (Systemeinstellung respektieren)
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================================
   Druck
   ========================================================================= */
@media print {
  .site-header, .site-footer, .notice-overlay, .phone-badge { display: none !important; }
  body { color: #000; }
}
