/* =========================================================
   Frauenarztpraxis Dr. med. Juliane Gosselke – gosselke.net
   Stylesheet, Stand 31.10.2026
   Farben aus dem Original: Beige, Steingrau, Lime; dunkle
   Flächen in Salbeigrau. Schriften liegen auf dem eigenen
   Server (keine Verbindung zu Google).
   ========================================================= */

@font-face {
  font-family: "DM Serif Display";
  src: url("dm-serif-display-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("dm-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("dm-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --beige: #F0EFE2;
  --beige-dunkel: #E4E3D3;
  --beige-zeile: #ECEBDD;
  --salbei-flaeche: #DCDFD0;
  --stein: #C5C8BC;
  --linie: #DAD6C8;
  --text: #47433F;
  --text-stark: #2E2C28;
  --ueberschrift: #3A3833;
  --leise: #5F6154;
  --tabellenkopf: #6E7261;
  --dunkel: #66705A;        /* Kopf, Fuß, Handy-Leiste: Salbeigrau */
  --dunkel-linie: #7C8670;
  --knopf: #5F6154;
  --knopf-hover: #4D5043;
  --lime: #CCFF33;
  --lime-hover: #E1FF7A;
  --mint: #EEFABE;
  --mint-rand: #CFE08A;
  --schrift-titel: "DM Serif Display", Georgia, serif;
  --schrift-text: "DM Sans", "Segoe UI", Arial, sans-serif;
  --breite: 1180px;
  --rund: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--beige);
  color: var(--text);
  font-family: var(--schrift-text);
  font-size: 18px;
  line-height: 1.6;
}

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

h1, h2, h3, h4 {
  font-family: var(--schrift-titel);
  font-weight: 400;
  color: var(--ueberschrift);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
h2 { font-size: clamp(30px, 4vw, 40px); }
h3 { font-size: 24px; }
p { margin: 0; }

a { color: var(--knopf); }
a:hover { color: var(--knopf-hover); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.wrap {
  max-width: var(--breite);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.eyebrow {
  font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leise);
}

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: 18px;
}
.btn-primary { background: var(--knopf); color: #fff; }
.btn-primary:hover { background: var(--knopf-hover); color: #fff; }
.btn-ghost { border: 1.5px solid var(--text); color: var(--text-stark); }
.btn-ghost:hover { background: var(--beige-dunkel); color: var(--text-stark); }
.btn-lime { background: var(--lime); color: #2C3817; min-height: 44px; padding: 10px 18px; }
.btn-lime:hover { background: var(--lime-hover); color: #2C3817; }

/* ---------- Kopfbereich ---------- */
.kopf { background: var(--dunkel); color: #fff; }
.kopf-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 28px;
  padding-top: 12px; padding-bottom: 12px;
}
.marke { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; min-width: 0; }
.marke:hover { color: #fff; }
.marke img { width: 64px; flex: none; }
.marke-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.marke-name { font-family: var(--schrift-titel); font-size: 22px; }
.marke-sub { font-size: 15px; color: #EEF1E6; }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; }
.nav a.nav-link { color: #fff; text-decoration: none; padding: 10px 0; }
.nav a.nav-link:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 6px; }

.menu-btn {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; flex: none; cursor: pointer;
  border: 1.5px solid #fff; border-radius: 10px; background: transparent; color: #fff;
}
.menu-mobil { border-top: 1px solid var(--dunkel-linie); padding: 6px 0 16px; display: flex; flex-direction: column; }
.menu-mobil a { color: #fff; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--dunkel-linie); font-size: 20px; }
.menu-mobil a:last-child { border-bottom: 0; }
.streifen { height: 6px; background: var(--lime); }

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}

/* ---------- Urlaubsbanner ---------- */
.urlaub-banner { background: var(--mint); border-bottom: 1px solid var(--mint-rand); }
.urlaub-banner .wrap { padding-top: 16px; padding-bottom: 16px; display: flex; flex-direction: column; gap: 4px; }
.urlaub-banner strong { color: var(--text-stark); }

/* ---------- Fotobanner ---------- */
.banner { position: relative; height: clamp(260px, 40vw, 500px); overflow: hidden; background: var(--stein); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.slide.aktiv { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }
.banner-steuerung {
  position: absolute; right: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 6px;
  background: rgba(60, 64, 52, 0.82); border-radius: 999px; padding: 6px 8px;
}
.banner-steuerung button {
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: transparent; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.banner-steuerung .pause { background: rgba(255,255,255,0.14); }
.banner-steuerung .punkt {
  width: 10px; height: 10px; padding: 0; margin: 0 2px; border-radius: 999px;
  background: rgba(255,255,255,0.55); transition: width .2s ease, background .2s ease;
}
.banner-steuerung .punkt[aria-current="true"] { width: 24px; background: var(--lime); }

/* ---------- Begrüßung ---------- */
.willkommen { background: var(--salbei-flaeche); border-bottom: 1px solid var(--stein); }
.willkommen .wrap { padding-top: 44px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 18px; }
.willkommen h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.05; }
.willkommen-text { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.willkommen-text p { font-size: 20px; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sprechzeiten ---------- */
.sprechzeiten .wrap { padding-top: 52px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 32px 48px; }
.sz-haupt { flex: 2 1 480px; min-width: 0; }
.sz-haupt h2 { margin-bottom: 20px; }
.sz-seite { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.kasten { background: var(--beige-dunkel); border-radius: var(--rund); padding: 24px 26px; }
.kasten h2 { font-size: 26px; margin-bottom: 10px; }

.zeiten { width: 100%; border-collapse: collapse; border-radius: var(--rund); overflow: hidden; }
.zeiten thead th { background: var(--tabellenkopf); color: #fff; text-align: left; font-size: 16px; padding: 12px 16px; }
.zeiten tbody th, .zeiten tbody td { text-align: left; padding: 13px 16px; border-top: 2px solid var(--beige); }
.zeiten tbody th { color: var(--text-stark); white-space: nowrap; }
.zeiten tbody tr:nth-child(odd) { background: var(--beige-dunkel); }
.zeiten tbody tr:nth-child(even) { background: var(--beige-zeile); }
.zeiten tbody tr.heute { background: var(--mint); }
.heute-chip {
  display: none; margin-left: 8px; background: var(--lime); color: #2C3817;
  font-size: 13px; font-weight: 700; padding: 1px 8px; border-radius: 999px; vertical-align: 2px;
}
tr.heute .heute-chip { display: inline-block; }

.hinweis {
  margin-top: 18px; background: var(--mint); border: 1px solid var(--mint-rand);
  border-radius: var(--rund); padding: 14px 18px; color: var(--text-stark);
}
.telefon-gross { font-weight: 700; font-size: 26px; text-decoration: none; }
.kasten .adresse { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--stein); display: flex; flex-direction: column; gap: 4px; }
.urlaub-label { font-size: 15px; color: var(--leise); }
.urlaub-label.jetzt { color: var(--knopf); font-weight: 700; }
.urlaub-datum { font-size: 22px; font-weight: 700; color: var(--text-stark); margin-top: 2px; }
.stand { margin-top: 10px; font-size: 15px; color: var(--leise); }

/* Auf schmalen Bildschirmen: Tabelle als Liste */
@media (max-width: 600px) {
  .zeiten thead { display: none; }
  .zeiten, .zeiten tbody, .zeiten tr, .zeiten th, .zeiten td { display: block; width: 100%; }
  .zeiten tbody tr { padding: 10px 16px; border-top: 2px solid var(--beige); }
  .zeiten tbody th, .zeiten tbody td { padding: 0; border: 0; }
  .zeiten td.leer { display: none; }
}

/* ---------- Saisonhinweis ---------- */
.saison .wrap { padding-bottom: 48px; }
.saison-box {
  background: var(--mint); border: 1px solid var(--mint-rand); border-radius: var(--rund);
  padding: 18px 24px; display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: baseline; color: var(--text-stark);
}
.saison-box .zeitraum { font-size: 15px; font-weight: 700; color: var(--knopf); }
.saison-box span:last-child { flex: 1 1 380px; }

/* ---------- Leistungen ---------- */
.leistungen { background: var(--salbei-flaeche); }
.leistungen .wrap { padding-top: 64px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 32px; }
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.karte {
  background: var(--beige); border-radius: var(--rund); border-top: 5px solid var(--mint-rand);
  padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px;
}
.karte ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }

.igel { background: var(--beige); border-radius: var(--rund); padding: 32px; display: flex; flex-direction: column; gap: 26px; }
.igel-kopf {
  display: flex; flex-wrap: wrap; gap: 8px 40px; align-items: baseline; justify-content: space-between;
  border-bottom: 2px solid var(--mint-rand); padding-bottom: 18px;
}
.igel-kopf h3 { font-size: 28px; }
.igel-kopf p { flex: 1 1 360px; max-width: 560px; font-size: 17px; }
.igel-spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px 48px; }
.igel-spalten h4 {
  font-family: var(--schrift-text); font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--leise); margin-bottom: 4px;
}
.igel-spalten ul { list-style: none; margin: 0; padding: 0; }
.igel-spalten li { padding: 10px 0; border-top: 1px solid var(--linie); display: flex; flex-direction: column; gap: 1px; }
.igel-spalten li strong { color: var(--text-stark); }
.igel-spalten li span { font-size: 16px; }
@media (max-width: 600px) { .igel { padding: 24px 20px; } }

/* ---------- Ärztin und Team ---------- */
.team .wrap { padding-top: 72px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 48px; }
.aerztin { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.aerztin img { width: 260px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rund); flex: 0 1 260px; }
.aerztin-text { flex: 1 1 440px; min-width: 0; max-width: 640px; display: flex; flex-direction: column; gap: 16px; }
.unterschrift { font-family: var(--schrift-titel); font-style: italic; font-size: 26px; color: var(--ueberschrift); margin-top: 6px; }
.team-box { background: var(--salbei-flaeche); border-radius: var(--rund); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.team-namen { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.team-namen li { background: var(--beige); border-radius: 999px; padding: 10px 20px; font-weight: 700; color: var(--text-stark); }
.galerie { display: flex; flex-wrap: wrap; gap: 16px; }
.galerie figure { margin: 0; flex: 0 1 280px; max-width: 100%; }
.galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rund); }
.galerie figcaption { font-size: 15px; margin-top: 6px; }

/* ---------- Gut zu wissen ---------- */
.wissen { background: var(--beige-dunkel); }
.wissen .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 28px; }
.wissen-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px 40px; }
.wissen-raster div { border-top: 3px solid var(--mint-rand); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.wissen-raster h3 { font-size: 22px; }

/* ---------- Anfahrt ---------- */
.anfahrt .wrap { padding-top: 64px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 32px 48px; }
.anfahrt-text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.anfahrt-text img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rund); width: 100%; }
.anfahrt-text h3 { font-size: 21px; margin-bottom: 4px; }
.karte-box {
  flex: 1 1 420px; min-width: 0; min-height: 380px; border-radius: var(--rund); overflow: hidden;
  background: var(--stein); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; text-align: center; padding: 24px;
}
.karte-box p { max-width: 380px; font-size: 16px; color: var(--text-stark); }
.karte-box iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.karte-box.geladen { padding: 0; }
.links-klein { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 16px; }

/* ---------- Rechtstexte ---------- */
.rechtstext .wrap { padding-top: 56px; padding-bottom: 72px; max-width: 860px; }
.rechtstext h1 { font-size: clamp(34px, 4.6vw, 48px); margin-bottom: 28px; }
.rechtstext h2 { font-size: 24px; margin: 32px 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--mint-rand); }
.rechtstext p, .rechtstext ul { margin: 0 0 12px; }

/* ---------- Fußbereich ---------- */
.fuss { background: var(--dunkel); color: #fff; }
.fuss-inner {
  padding-top: 32px; padding-bottom: 40px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; font-size: 16px;
}
.fuss a { color: #fff; }
.fuss .lime a, .fuss a.lime { color: var(--lime); font-weight: 700; }
.fuss-marke { display: flex; align-items: flex-start; gap: 14px; }
.fuss-marke img { width: 56px; flex: none; }
.fuss-spalte { display: flex; flex-direction: column; gap: 2px; }

/* ---------- Handy-Leiste ---------- */
.handy-leiste { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .handy-leiste {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    background: var(--dunkel); border-top: 4px solid var(--lime); gap: 10px;
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  }
  .handy-leiste a {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 50px; border-radius: 999px; font-weight: 700; text-decoration: none;
  }
  .handy-leiste .anrufen { background: var(--lime); color: #2C3817; }
  .handy-leiste .weg { color: #fff; border: 1.5px solid #fff; }
}

[hidden] { display: none !important; }
