/* Praxis Dr. med. Veronica Jargon – eigenständiges Stylesheet (ohne Theme/Framework).
   Farben und Schrift aus dem Briefpapier-Projekt „privatrezept" (kunden/jargon.py). */

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-var.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --tuerkis: #0f9c86;
  --tuerkis-dunkel: #0b7a69;
  --tuerkis-hell: #e7f5f2;
  --ultramarin: #1d2f6e;
  --magenta: #e5007d;
  --text: #2b3445;
  --text-leise: #5b6475;
  --flaeche: #f6f8f8;
  --linie: #dfe5e5;
  --weiss: #fff;
  --radius: 10px;
  --breite: 1120px;
  --header-h: 76px;
}

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

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

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--tuerkis-dunkel); text-underline-offset: 3px; }
a:hover { color: var(--ultramarin); }

h1, h2, h3 { color: var(--ultramarin); line-height: 1.25; margin: 0 0 .6em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--linie);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.brand img { height: 54px; width: auto; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.nav a {
  display: block; padding: 8px 12px; border-radius: 6px;
  color: var(--ultramarin); text-decoration: none; font-weight: 600; font-size: .92rem;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--tuerkis-hell); color: var(--tuerkis-dunkel); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
  color: var(--ultramarin);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--weiss); border-bottom: 1px solid var(--linie);
    display: none;
  }
  .nav.offen { display: block; }
  .nav ul { flex-direction: column; padding: 8px 16px 16px; gap: 0; }
  .nav a { padding: 12px; font-size: 1rem; }
  .brand img { height: 38px; }
}

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

.hero {
  position: relative;
  background: url("img/hero.jpg") center / cover no-repeat;
  padding: 64px 0 72px;
  text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.90) 0%, rgba(255,255,255,.78) 55%, rgba(255,255,255,.88) 100%);
}
.hero .wrap { position: relative; }
.hero-logo { width: min(520px, 88%); margin: 0 auto 40px; }

.hero-claim { margin: 0 0 36px; color: var(--ultramarin); }
.hero-claim span { display: block; font-weight: 500; font-size: clamp(1.1rem, 2.4vw, 1.5rem); }
.hero-claim strong {
  display: flex; align-items: center; justify-content: center; gap: 22px;
  font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 700; color: var(--tuerkis-dunkel); line-height: 1.15;
}
.hero-claim strong::before, .hero-claim strong::after {
  content: ""; flex: 0 1 110px; height: 2px; background: var(--magenta);
}

.btn-reihe { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-reihe + .btn-reihe { margin-top: 12px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  border: 2px solid var(--tuerkis); color: var(--tuerkis-dunkel); background: var(--weiss);
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--tuerkis-hell); color: var(--tuerkis-dunkel); }
.btn-voll { background: var(--tuerkis); color: var(--weiss); }
.btn-voll:hover { background: var(--tuerkis-dunkel); border-color: var(--tuerkis-dunkel); color: var(--weiss); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Abschnitte ---------- */

.section { padding: 84px 0; }
.section-grau { background: var(--flaeche); }

.section-kopf { text-align: center; margin-bottom: 44px; }
.section-kopf .icon {
  width: 52px; height: 52px; margin: 0 auto 14px; color: var(--tuerkis);
}
.section-kopf h1::after, .section-kopf h2::after {
  content: ""; display: block; width: 56px; height: 3px; margin: 14px auto 0;
  background: var(--magenta); border-radius: 2px;
}
.section-kopf p { color: var(--text-leise); max-width: 720px; margin: 0 auto; }

/* Aktuelles */
.karten { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px) { .karten { grid-template-columns: 1fr; } }
.karten > .karte:only-child { grid-column: 1 / -1; width: 100%; max-width: 640px; justify-self: center; }

.karte {
  background: var(--weiss); border-radius: var(--radius);
  border-left: 5px solid var(--tuerkis);
  padding: 26px 28px; box-shadow: 0 2px 14px rgba(29, 47, 110, .06);
}
.karte-wichtig { border-left-color: var(--magenta); }
.karte h3 { margin-bottom: .5em; }
.karte p:last-child, .karte ul:last-child { margin-bottom: 0; }
.karte ul { padding-left: 1.2em; margin: 0 0 1em; }
.karte .btn { margin-top: 6px; }

/* Sprechzeiten */
.zeiten-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .zeiten-grid { grid-template-columns: 1fr; } }

.hinweis-termin {
  text-align: center; background: var(--tuerkis-hell); border-radius: var(--radius);
  padding: 22px; margin-bottom: 36px;
}
.hinweis-termin p { margin: 0 0 12px; font-weight: 600; color: var(--ultramarin); }

.zeiten { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.zeiten th, .zeiten td { padding: 10px 0; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: top; }
.zeiten th { width: 4.5em; color: var(--tuerkis-dunkel); font-weight: 700; }

.box {
  background: var(--weiss); border-radius: var(--radius); padding: 26px 28px;
  box-shadow: 0 2px 14px rgba(29, 47, 110, .06);
}
.box + .box { margin-top: 24px; }
.kontakt-grid .box + .box { margin-top: 0; }
.box h3 { margin-bottom: .4em; }
.telefon-gross {
  display: inline-block; font-size: 1.6rem; font-weight: 700; color: var(--tuerkis-dunkel);
  text-decoration: none; margin: 4px 0 8px;
}
.notruf { font-size: 1.8rem; font-weight: 800; color: var(--magenta); letter-spacing: .04em; }

/* Praxis */
.team-bild { border-radius: var(--radius); margin: 0 0 32px; }
.lead { font-size: 1.15rem; font-weight: 500; color: var(--ultramarin); text-align: center; max-width: 820px; margin: 0 auto 32px; }
.text-spalten { columns: 2 380px; column-gap: 48px; }
.text-spalten p { break-inside: avoid; }

.aerztin {
  display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: center;
  margin-top: 56px; background: var(--weiss); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 14px rgba(29, 47, 110, .06);
}
.aerztin img { width: 100%; height: 100%; object-fit: cover; }
.aerztin div { padding: 32px 36px 32px 0; }
.aerztin .funktion { color: var(--tuerkis-dunkel); font-weight: 600; margin-top: -.4em; }
@media (max-width: 760px) {
  .aerztin { grid-template-columns: 1fr; gap: 0; }
  .aerztin div { padding: 26px 28px; }
}

/* Leistungen */
.leistungen {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px;
}
@media (max-width: 760px) { .leistungen { grid-template-columns: 1fr; } }
.leistungen li {
  position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--linie);
}
.leistungen li::before {
  content: ""; position: absolute; left: 4px; top: 21px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--tuerkis);
}

/* Kontakt */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }
@media (max-width: 760px) { .kontakt-grid { grid-template-columns: 1fr; } }
.iframe-rahmen {
  background: var(--weiss); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 14px rgba(29, 47, 110, .06);
}
.iframe-rahmen iframe { display: block; width: 100%; height: 620px; border: 0; }
.termin-rahmen iframe { height: 780px; }
@media (max-width: 700px) { .termin-rahmen iframe { height: 1000px; } }
.termin-alternativ { text-align: center; margin-top: 18px; color: var(--text-leise); font-size: .95rem; }

/* Impressum / Rechtstexte */
.rechtstext { max-width: 820px; }
.rechtstext h2 { text-align: left; }
.rechtstext h3 { margin-top: 1.6em; }
.rechtstext p, .rechtstext li { color: var(--text-leise); font-size: .95rem; }

/* Patienten-Service */
.download {
  display: flex; gap: 24px; align-items: flex-start;
}
.download .icon { width: 44px; height: 44px; flex: none; color: var(--tuerkis); }
@media (max-width: 600px) { .download { flex-direction: column; } }

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

.site-footer {
  background: var(--ultramarin); color: #cfd6ea; font-size: .9rem; padding: 36px 0;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
.site-footer a { color: var(--weiss); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--weiss); }
.site-footer nav { display: flex; gap: 20px; }

/* ---------- Schnellzugriff rechts ---------- */

.schnell {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 40;
  display: flex; flex-direction: column; gap: 4px;
}
.schnell a {
  display: flex; align-items: center; justify-content: flex-end;
  height: 46px; padding: 0 12px; background: var(--tuerkis); color: var(--weiss);
  border-radius: 8px 0 0 8px; text-decoration: none; font-weight: 600; font-size: .85rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.schnell a span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .2s, margin .2s; }
.schnell a:hover, .schnell a:focus-visible { background: var(--tuerkis-dunkel); }
.schnell a:hover span, .schnell a:focus-visible span { max-width: 160px; margin-right: 10px; }
.schnell svg { width: 22px; height: 22px; flex: none; }
@media (max-width: 920px) { .schnell { display: none; } }

.nach-oben {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--weiss); color: var(--ultramarin); border: 1px solid var(--linie);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
}
.nach-oben svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
