/* ===================================================================
   Hilfe bei Hashimoto — schlankes, statisches Stylesheet
   Keine externen Ressourcen, System-Schriften, WCAG-AA-Kontraste
   =================================================================== */

:root {
  --gruen-dunkel: #1e4d2b;
  --gruen: #3d7a4a;
  --gruen-hell: #eaf3ec;
  --text: #222;
  --text-gedimmt: #555;
  --linie: #d8e2da;
  --weiss: #fff;
  --max-breite: 68rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
}

/* ---------- Barrierefreiheit ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gruen-dunkel);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

:focus-visible {
  outline: 3px solid var(--gruen);
  outline-offset: 2px;
}

/* ---------- Kopfbereich ---------- */

header.site-header {
  background: var(--gruen-dunkel);
  color: #fff;
}

.header-inner {
  max-width: var(--max-breite);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.header-inner img.logo {
  height: 3rem;
  width: auto;
}

nav.hauptnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

nav.hauptnav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

nav.hauptnav a:hover,
nav.hauptnav a[aria-current="page"] {
  border-bottom-color: #fff;
}

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

.hero {
  position: relative;
  min-height: 18rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.25rem;
  background: var(--gruen-hell);
}

.hero img.hero-bild {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .hero-text {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 0.5rem;
  padding: 1.5rem 2rem;
  max-width: 46rem;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--gruen-dunkel);
  line-height: 1.25;
}

.hero p {
  margin: 0;
  font-size: 1.125rem;
}

/* ---------- Inhalt ---------- */

main {
  max-width: var(--max-breite);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

main h2 {
  color: var(--gruen-dunkel);
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 2.5rem 0 0.75rem;
}

main h2:first-child { margin-top: 0; }

.textspalte { max-width: 50rem; }

a { color: var(--gruen); }
a:hover { color: var(--gruen-dunkel); }

/* Hinweiskasten (kein Heilversprechen / ärztliche Beratung) */
.hinweis {
  background: var(--gruen-hell);
  border-left: 4px solid var(--gruen);
  padding: 0.9rem 1.2rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: var(--text-gedimmt);
}

/* ---------- Länderfilter ---------- */

.filterleiste {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.75rem;
}

.filterleiste.js-only { display: none; }
.js .filterleiste.js-only { display: flex; }

.filterleiste button {
  font: inherit;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border: 2px solid var(--gruen);
  border-radius: 2rem;
  background: #fff;
  color: var(--gruen-dunkel);
  cursor: pointer;
}

.filterleiste button[aria-pressed="true"] {
  background: var(--gruen-dunkel);
  border-color: var(--gruen-dunkel);
  color: #fff;
}

/* ---------- Arztliste ---------- */

.arztliste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
  gap: 1rem;
}

.arztliste li {
  border: 1px solid var(--linie);
  border-radius: 0.5rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
}

.arztliste li[hidden] { display: none; }

.arztliste h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  color: var(--gruen-dunkel);
}

.arztliste p {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  white-space: pre-line;
}

.arztliste .land {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-gedimmt);
  background: var(--gruen-hell);
  border-radius: 0.3rem;
  padding: 0.1rem 0.5rem;
  margin-bottom: 0.5rem;
}

.arztliste a { word-break: break-all; font-size: 0.95rem; }

/* ---------- Fußbereich ---------- */

footer.site-footer {
  background: var(--gruen-dunkel);
  color: #fff;
  margin-top: 3rem;
}

.footer-inner {
  max-width: var(--max-breite);
  margin: 0 auto;
  padding: 2rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.footer-inner a { color: #cfe6d5; }
.footer-inner a:hover { color: #fff; }

.footer-inner h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.5rem;
}

.footer-inner p { margin: 0.25rem 0; }

.footer-meta {
  text-align: center;
  font-size: 0.85rem;
  padding: 0.75rem 1.25rem;
  background: #16391f;
}

.footer-meta p { margin: 0.2rem 0; }

/* ---------- Unterseiten (Impressum / Datenschutz) ---------- */

.unterseite h1 {
  color: var(--gruen-dunkel);
  font-size: 1.9rem;
  margin: 0 0 1.5rem;
}

.unterseite h2 { font-size: 1.25rem; }
.unterseite h3 { font-size: 1.05rem; margin: 1.25rem 0 0.4rem; }

/* ---------- Kleine Bildschirme ---------- */

@media (max-width: 40rem) {
  .header-inner { justify-content: center; text-align: center; }
  .hero .hero-text { padding: 1.25rem 1.25rem; }
}

/* ---------- Druck ---------- */

@media print {
  header.site-header, footer.site-footer, .filterleiste { display: none; }
}
