/* =========================================================
   Zahnärzte am Gärtnerplatz 1 – gemeinsames Stylesheet
   Schriften lokal eingebunden (kein Abruf bei Google, DSGVO)
   ========================================================= */

@font-face { font-family: "Jost"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/jost-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/jost-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }

:root {
  --blau: #204F9E;
  --blau-dunkel: #183d7c;
  --weiss: #ffffff;
  --text: #204F9E;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Futura", "Century Gothic", Arial, sans-serif;
  --radius: 30px;
  --max: 980px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--serif); font-weight: 300; line-height: 1.15; margin: 0 0 .5em; overflow-wrap: break-word; hyphens: auto; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.bg-blau { background: var(--blau); color: var(--weiss); }
.bg-weiss { background: var(--weiss); color: var(--blau); }
.center { text-align: center; }
.abschnitt { padding: 80px 0; }
.abschnitt-titel { font-size: 64px; text-align: center; margin-bottom: 50px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 400; font-size: 15px;
  text-decoration: none; border-radius: var(--radius);
  padding: 10px 30px; border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn-blau { background: var(--blau); color: var(--weiss); }
.btn-blau:hover { background: var(--weiss); color: var(--blau); border-color: var(--blau); }
.btn-weiss { background: var(--weiss); color: var(--blau); }
.btn-weiss:hover { background: var(--blau); color: var(--weiss); border-color: var(--weiss); }
.btn-rand { background: transparent; color: var(--weiss); border-color: var(--weiss); }
.btn-rand:hover { background: var(--weiss); color: var(--blau); }

/* ---------- Kopfzeile ---------- */
.kopf { background: var(--blau); color: var(--weiss); position: sticky; top: 0; z-index: 50; }
.kopf-inner {
  max-width: 1280px; margin: 0 auto; padding: 22px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { text-decoration: none; color: var(--weiss); display: block; }
.logo-text { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.1; text-transform: uppercase; }
.logo img { width: 52px; margin-top: 8px; filter: brightness(0) invert(1); }

.nav { display: flex; align-items: center; gap: 22px; }
.nav-liste {
  list-style: none; margin: 0; padding: 4px 10px;
  display: flex; align-items: center;
  border: 2px solid var(--weiss); border-radius: 100px;
}
.nav-liste > li { position: relative; }
.nav-liste a {
  display: block; padding: 6px 14px; text-decoration: none;
  font-family: var(--serif); font-weight: 600; font-size: 16px; color: var(--weiss);
}
.nav-liste a:hover, .nav-liste a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.untermenue {
  list-style: none; margin: 0; padding: 8px 0;
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--weiss); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.15);
  display: none;
}
.untermenue a { color: var(--blau); padding: 8px 18px; }
.hat-untermenue:hover .untermenue,
.hat-untermenue:focus-within .untermenue { display: block; }
.nav .btn-rand { font-family: var(--serif); font-weight: 600; font-size: 16px; padding: 8px 22px; }

/* Terminknopf in der Kopfzeile: nur auf Tablet/Handy, bleibt beim Scrollen sichtbar */
.termin-mobil { display: none; }

.menue-knopf {
  display: none; background: none; border: 2px solid var(--weiss); border-radius: 100px;
  color: var(--weiss); font: inherit; font-size: 15px; padding: 6px 16px; cursor: pointer;
}

/* ---------- Startseite: Hero ---------- */
.hero { min-height: 614px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px; }
.hero-titel { display: flex; align-items: center; gap: 40px; }
.hero h1 { font-size: 80px; margin: 0; color: var(--blau); text-align: center; }
.hero-unterzeile { font-family: var(--serif); font-size: 26px; color: var(--blau); text-align: center; margin: 28px 0 0; }
.hero-titel img { width: 140px; }
.hero .btn { margin-top: 60px; min-width: 200px; }

/* ---------- Team ---------- */
.team-raster { display: grid; grid-template-columns: 513px 1fr; gap: 24px; align-items: stretch; }
.team-karten { display: flex; flex-direction: column; gap: 24px; }
.karte { background: var(--weiss); color: var(--blau); border-radius: var(--radius); }
.team-karte { display: grid; grid-template-columns: 168px 1fr; gap: 24px; align-items: center; padding: 30px; }
.team-karte img { width: 168px; height: auto; }
.team-karte h3 { font-size: 20px; font-weight: 400; margin-bottom: .4em; }
.team-karte p { font-size: 18px; margin: 0; }
.intro-karte { padding: 40px; display: flex; flex-direction: column; }
.intro-karte h2 { font-size: 35px; }
.intro-karte .lead { font-family: var(--serif); font-size: 20px; }
.intro-karte .btn { margin-top: auto; }

/* ---------- Dienstleistungen ---------- */
.leistungen-raster { display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px; }
.leistungen-text h2 { font-size: 50px; }
.leistungen-text p { font-size: 20px; }
.kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 24px; }
.kachel { text-decoration: none; color: var(--blau); text-align: center; }
.kachel img { width: 100%; aspect-ratio: 292 / 240; object-fit: cover; border-radius: var(--radius); transition: transform .3s; }
.kachel:hover img { transform: scale(1.03); }
.kachel span { display: block; font-family: var(--serif); font-size: 30px; margin-top: 12px; }

/* ---------- Werte ---------- */
.werte-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 50px 60px; }
.wert { display: grid; grid-template-columns: 70px 1fr; gap: 24px; align-items: start; }
.wert-icon { width: 70px; height: 70px; border: 1px solid var(--weiss); border-radius: 50%; display: grid; place-items: center; }
.wert-icon svg { width: 28px; height: 28px; }
.wert h3 { font-size: 20px; font-weight: 400; margin-bottom: .3em; }
.wert p { font-size: 14px; margin: 0; }

/* ---------- Uns erreichen ---------- */
.erreichen-raster { display: grid; grid-template-columns: 495px 389px; gap: 30px; justify-content: center; }
.blaukarte { background: var(--blau); color: var(--weiss); border-radius: var(--radius); padding: 24px 32px 32px; }
.blaukarte h3 { font-size: 44px; margin-bottom: 10px; }
.blaukarte h3.klein { font-size: 33px; }
.trennlinie { height: 5px; background: var(--weiss); border-radius: 30px; margin-bottom: 26px; }
.kontakt-knoepfe { display: flex; flex-direction: column; gap: 18px; }
.kontakt-knopf {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--weiss); color: var(--blau); text-decoration: none;
  border-radius: var(--radius); padding: 14px 20px; font-size: 14px; text-align: center;
}
.kontakt-knopf:hover { background: #e9eef8; }
.kontakt-knopf svg { width: 20px; height: 20px; }
.rechte-spalte { display: flex; flex-direction: column; gap: 30px; }
.zeiten { display: grid; grid-template-columns: auto auto; gap: 6px 24px; font-family: var(--serif); font-size: 20px; }
.adresse-zeile { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--serif); font-size: 20px; }

/* ---------- Anfahrt-Leiste + Karte ---------- */
.anfahrt-leiste { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: center; padding-top: 60px; padding-bottom: 40px; }
h1.anfahrt-name { font-size: inherit; font-weight: inherit; line-height: inherit; margin: 0; }
.anfahrt-name .gross { font-family: var(--serif); font-size: 26px; display: block; }
.anfahrt-name .mittel { font-family: var(--serif); font-size: 23px; display: block; }
.anfahrt-name .klein { font-family: var(--serif); font-size: 20px; display: block; margin-top: 10px; }
.karten-knoepfe { display: flex; flex-direction: column; gap: 14px; }
.karten-knoepfe .btn { width: 100%; }
.oepnv p { font-size: 17px; margin: 0; }
.karte-einbettung {
  height: 300px; background: #e5e3df; display: grid; place-items: center; text-align: center;
  color: #333; padding: 20px;
}
.karte-einbettung iframe { width: 100%; height: 100%; border: 0; }
.karte-einbettung p { font-size: 14px; max-width: 520px; margin: 0 auto 14px; }

/* ---------- Rezensionen ---------- */
.slider { position: relative; max-width: 900px; margin: 0 auto; padding: 0 50px; }
.slide { display: none; background: var(--weiss); color: var(--blau); border-radius: var(--radius); padding: 40px 50px 30px; position: relative; }
.slide.aktiv { display: block; }
.slide h3 { font-size: 40px; padding-right: 60px; }
.slide .zitatzeichen { position: absolute; top: 10px; right: 40px; font-family: var(--serif); font-size: 120px; line-height: 1; }
.slide p { font-family: var(--serif); font-size: 23px; line-height: 1.3; white-space: pre-line; }
.slide .autor { font-family: var(--sans); font-size: 18px; margin: 0; }
.slider-pfeil {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--weiss); cursor: pointer; padding: 10px;
}
.slider-pfeil svg { width: 22px; height: 22px; }
.slider-pfeil.zurueck { left: 0; }
.slider-pfeil.weiter { right: 0; }
.punkte { display: flex; justify-content: center; gap: 0; margin-top: 14px; }
/* Tippfläche 32px fürs Handy, sichtbar bleibt ein 8px-Punkt */
.punkte button { width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.punkte button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); }
.punkte button.aktiv::before { background: var(--weiss); }

/* ---------- Bewertungsportale ---------- */
.portale h2 { font-size: 44px; }
.portale p { font-family: var(--serif); font-size: 20px; }
.portal-logos { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 40px; margin-top: 30px; }
.portal-logos img { height: 59px; width: auto; }

/* ---------- Fußzeile ---------- */
.fuss { background: var(--blau); color: var(--weiss); text-align: center; padding: 70px 20px 40px; }
.fuss h3 { font-family: var(--sans); font-weight: 500; font-size: 32px; margin: 0 0 14px; }
.fuss .block { margin-bottom: 50px; }
.fuss p, .fuss .block div { font-family: var(--sans); font-weight: 400; font-size: 15px; margin: 0; line-height: 1.6; }
.fuss a { text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.copyright { font-weight: 500 !important; font-size: 16px !important; margin-bottom: 18px !important; }
.rechtliches { font-size: 13px; }
.rechtliches a { text-decoration: underline; margin: 0 14px; }

/* ---------- Unterseiten: Inhalt ---------- */
.inhalt { padding: 70px 0 80px; color: #000; }
.inhalt .container { max-width: 940px; }
.seiten-titel { font-size: 96px; line-height: 1; color: #000; margin-bottom: 40px; hyphens: manual; }
.seiten-titel.zentriert { text-align: center; font-size: 64px; }
.inhalt p { font-size: 18px; line-height: 1.6; margin-bottom: 1.2em; }
.inhalt p strong { font-weight: 500; }
.inhalt ul, .inhalt ol { font-size: 18px; line-height: 1.6; margin: 0 0 1.2em; padding-left: 1.3em; }
.inhalt li { margin-bottom: .5em; }
.inhalt li strong { font-weight: 500; }
.inhalt h2 { font-size: 42px; color: #000; margin: 1.4em 0 .5em; }
.inhalt h2.klein { font-size: 39px; }
.inhalt h3 { font-size: 32px; color: #000; margin: 1.2em 0 .4em; }
.inhalt h2, .inhalt h3 { hyphens: manual; }
.inhalt .gross { font-size: 30px; font-family: var(--serif); line-height: 1.2; margin: 1.4em 0 .5em; }
.inhalt .sehr-gross { font-size: 40px; font-family: var(--serif); line-height: 1.2; margin: 1.4em 0 .5em; }
.inhalt .gross strong, .inhalt .sehr-gross strong { font-weight: 600; }
.inhalt .eng p, .inhalt p.eng { margin-bottom: 0; }
.inhalt .block { margin-bottom: 1.2em; }
.inhalt a:not(.btn) { color: var(--blau); }

/* Kacheln auf Unterseiten */
.kacheln-3 { display: grid; grid-template-columns: repeat(3, 240px); justify-content: space-between; gap: 40px 30px; margin-top: 60px; }
.kacheln-3 .kachel img { aspect-ratio: 1 / 1; }
.kacheln-3.breit { grid-template-columns: repeat(3, 272px); }
.kacheln-3.breit .kachel img { aspect-ratio: 272 / 155; }
.kacheln-3 .kachel span { font-size: 30px; }

/* Über uns */
.ueber-raster { display: grid; grid-template-columns: 1fr 365px; gap: 50px; align-items: start; }
.ueber-raster .lead { font-family: var(--serif); font-size: 25px; line-height: 1.25; margin-bottom: .3em; }
.ueber-raster p { font-size: 16px; }
.portrait-rahmen { display: flex; justify-content: center; gap: 0; border: 1px solid var(--blau); border-radius: var(--radius); padding: 20px 10px 0; overflow: hidden; }
.portrait-rahmen img { width: 156px; height: auto; }
.ueber-raster .btn { width: 100%; margin-top: 40px; font-size: 18px; padding: 12px 30px; }

/* FAQ */
.faq-raster { columns: 2; column-gap: 20px; }
.faq-karte { break-inside: avoid; display: inline-block; width: 100%; background: var(--weiss); color: var(--blau); border-radius: var(--radius); padding: 26px 30px; margin-bottom: 20px; }
.faq-karte h3 { font-size: 30px; margin-bottom: .4em; }
.faq-karte p { font-family: var(--serif); font-size: 20px; line-height: 1.3; margin: 0; }
.faq-karte ul { font-family: var(--serif); font-size: 20px; line-height: 1.3; margin: .4em 0 0; padding-left: 1.2em; }

/* Anfahrt-Seite: fett gesetzte ÖPNV-Zeilen */
.oepnv.fett p { font-weight: 500; }

/* ---------- Responsiv ---------- */
@media (max-width: 1000px) {
  .menue-knopf { display: block; }
  .kopf-inner { gap: 12px; }
  .termin-mobil { display: block; margin-left: auto; font-family: var(--serif); font-weight: 600; font-size: 17px; padding: 7px 20px; white-space: nowrap; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--blau); flex-direction: column; align-items: stretch; padding: 10px 20px 24px;
  }
  .nav.offen { display: flex; }
  .nav-liste { flex-direction: column; align-items: stretch; border: 0; padding: 0; }
  .untermenue { position: static; display: block; background: none; box-shadow: none; padding: 0 0 0 16px; }
  .untermenue a { color: var(--weiss); font-weight: 400; }
  .kopf-inner { padding: 16px 20px; position: relative; }
  .team-raster, .leistungen-raster, .erreichen-raster, .werte-raster, .anfahrt-leiste { grid-template-columns: 1fr; }
  .hero h1 { font-size: 56px; }
  .seiten-titel { font-size: 64px; }
  .ueber-raster { grid-template-columns: 1fr; }
  .ueber-raster .rechts { max-width: 365px; margin: 0 auto; width: 100%; }
  .kacheln-3, .kacheln-3.breit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kachel span { overflow-wrap: anywhere; hyphens: auto; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .logo-text { display: none; }
  .logo img { width: 40px; margin-top: 0; }
  .kopf-inner { padding: 12px 16px; }
  .abschnitt { padding: 56px 0; }
  .abschnitt-titel { font-size: 44px; margin-bottom: 32px; }
  .hero { min-height: 420px; }
  .hero-titel { flex-direction: column; gap: 24px; }
  .hero h1 { font-size: 44px; }
  .hero-unterzeile { font-size: 21px; margin-top: 20px; }
  .hero-titel img { width: 90px; }
  .team-karte { grid-template-columns: 110px 1fr; padding: 20px; gap: 16px; }
  .team-karte img { width: 110px; }
  .intro-karte { padding: 28px 22px; }
  .leistungen-text h2 { font-size: 40px; }
  .kacheln { gap: 20px 14px; }
  .kachel span { font-size: 22px; }
  .blaukarte { padding: 20px; }
  .blaukarte h3 { font-size: 34px; }
  .slider { padding: 0 30px; }
  .slide { padding: 28px 22px 22px; }
  .slide h3 { font-size: 28px; }
  .slide p { font-size: 19px; }
  .slide .zitatzeichen { font-size: 80px; right: 18px; }
  .fuss h3 { font-size: 26px; }
  .inhalt { padding: 44px 0 56px; }
  .seiten-titel { font-size: 34px; margin-bottom: 28px; hyphens: manual; }
  .seiten-titel.zentriert { font-size: 34px; }
  .inhalt p, .inhalt ul, .inhalt ol { font-size: 16px; }
  .inhalt h2 { font-size: 32px; }
  .inhalt h3 { font-size: 26px; }
  .inhalt .gross { font-size: 26px; }
  .inhalt .sehr-gross { font-size: 32px; }
  .kacheln-3, .kacheln-3.breit { gap: 24px 14px; }
  .kacheln-3 .kachel span { font-size: 22px; }
  .faq-raster { columns: 1; }
  .faq-karte { padding: 22px; }
  .faq-karte h3 { font-size: 26px; }
}

/* Wortgruppen nie umbrechen (z. B. München-Zentrum) */
.nb { white-space: nowrap; }

/* Sprachumschalter DE/EN in der Kopfzeile (auf dem Handy im Menü) */
.sprache {
  font-family: var(--serif); font-weight: 600; font-size: 16px; letter-spacing: .04em;
  color: var(--weiss); text-decoration: none; white-space: nowrap;
  border: 2px solid var(--weiss); border-radius: 100px; padding: 6px 14px;
}
.sprache:hover { background: var(--weiss); color: var(--blau); }
.sprache-mobil { display: none; }
@media (max-width: 1000px) {
  /* auf Tablet/Handy: Umschalter in der Kopfzeile links neben „Terminbuchung“, nicht im Menü */
  .nav .sprache { display: none; }
  .sprache-mobil { display: block; margin-left: auto; }
  .kopf-inner .termin-mobil { margin-left: 0; }
}
@media (max-width: 600px) {
  .kopf-inner { gap: 8px; padding: 12px 14px; }
  .sprache-mobil { font-size: 14px; padding: 5px 10px; }
  .kopf-inner .termin-mobil { font-size: 16px; padding: 7px 14px; }
  .menue-knopf { padding: 6px 12px; }
}
@media (max-width: 359px) {
  .logo img { width: 32px; }
  .kopf-inner { gap: 6px; padding: 12px 10px; }
  .kopf-inner .termin-mobil { font-size: 15px; padding: 6px 11px; }
  .sprache-mobil { padding: 5px 8px; }
  .menue-knopf { padding: 6px 10px; font-size: 14px; }
}
/* Hinweis unter den Bewertungen (englische Seite) */
.hinweis-original { font-size: 14px; text-align: center; opacity: .85; margin: -12px 0 28px; }

/* Foto im Fließtext (z. B. Dentalmikroskop) */
.inhalt-bild { margin: 8px 0 28px; max-width: 760px; }
.inhalt-bild img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.inhalt-bild figcaption { font-size: 15px; color: #555; margin-top: 10px; }

/* Bewertungshinweis unter dem Terminknopf auf der Startseite */
.hero-bewertung {
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 8px;
  margin-top: 22px; color: var(--blau); text-decoration: none; font-size: 16px; text-align: center;
}
.hero-bewertung:hover span:not(.sterne) { text-decoration: underline; text-underline-offset: 3px; }
.hero-bewertung strong { font-weight: 500; }
.hero-bewertung .sterne { color: #E8A800; letter-spacing: 2px; font-size: 18px; }
.hero-bewertung .stand { font-size: 13px; color: #555; }
