/* ============================================================
   Hausarztpraxis Offenburg – 1:1 Nachbau
   Farben aus Elementor CSS extrahiert:
   - Top-Bar & Copyright-Leiste: #1384C6
   - Footer-Grün: #94cb45
   - Praxisname-Text: #324A6D
   - Nav-Text: #525252, aktiv: #4B4B4B
   - Überschriften Footer: #2D2D2D
   - Links: #1c8fc9
   - Schriften: Poppins (Header-Text, Copyright), Roboto (alles andere)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&family=Roboto:wght@300;400;500;700&display=swap');

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

:root {
  --gruen:      #94cb45;
  --blau:       #1384C6;
  --link:       #1c8fc9;
  --praxis-blau:#324A6D;
  --nav-text:   #525252;
  --nav-aktiv:  #4B4B4B;
  --footer-h:   #2D2D2D;
  --dunkel:     #333333;
  --weiss:      #ffffff;
  --grau:       #7A7A7A;
  --border:     #e0e7d6;
  --shadow:     0 2px 12px rgba(0,0,0,.08);
  --radius:     4px;
  --max:        1140px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--dunkel);
  background: var(--weiss);
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

/* ══════════════════════════════════════════════════════════
   1. BLAUER TOP-BAR (background #1384C6, 34px)
   ══════════════════════════════════════════════════════════ */
.top-bar {
  background: var(--blau);
  min-height: 34px;
  display: flex;
  align-items: center;
}

.top-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: .9rem;
}

.top-bar a {
  color: var(--weiss);
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  opacity: .9;
  transition: opacity .2s;
}

.top-bar a:hover { opacity: 1; }
.top-bar .ti { font-size: .95rem; }
.top-bar a > span:first-child { font-style: normal; }
.top-bar a { font-size: 1.75rem; line-height: 1; }
.top-bar-inner { gap: 1.4rem; }

/* ══════════════════════════════════════════════════════════
   2. WEISSER HEADER (sticky, 3 Spalten: Logo | Name | Nav)
   ══════════════════════════════════════════════════════════ */
header {
  background: var(--weiss);
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.header-logo { align-self: stretch; display: flex; align-items: center; }
.header-logo a { display: flex; height: 100%; align-items: center; }
.header-logo img { height: 100%; width: auto; max-height: 110px; }

.header-name {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--praxis-blau);
}

.header-name strong {
  font-weight: 600;
  display: block;
}

/* ── NAVIGATION ──────────────────────────────────────────── */
.header-nav ul {
  list-style: none;
  display: flex;
  gap: .15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-nav a {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: .88rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: var(--nav-text);
  padding: .4rem .8rem;
  border-radius: var(--radius);
  transition: background .15s, color .15s;
  text-transform: uppercase;
}

.header-nav a:hover,
.header-nav a.aktiv {
  background: var(--gruen);
  color: var(--weiss);
}

/* Hamburger (Mobile) */
.hamburger {
  display: none;
  background: none;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  cursor: pointer;
  padding: .4rem .5rem;
  flex-direction: column;
  gap: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dunkel);
  border-radius: 2px;
}

/* ══════════════════════════════════════════════════════════
   3b. URLAUBS-POPUP
   ══════════════════════════════════════════════════════════ */
#popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: popup-einblenden .2s ease;
}

#popup-overlay.popup-ausblenden {
  animation: popup-ausblenden .25s ease forwards;
}

@keyframes popup-einblenden {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes popup-ausblenden {
  from { opacity: 1; }
  to   { opacity: 0; }
}

.popup-box {
  background: var(--weiss);
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .3);
  max-width: 480px;
  width: 100%;
  padding: 2rem 2rem 1.75rem;
  position: relative;
  text-align: center;
  border-top: 5px solid var(--gruen);
}

.popup-close {
  position: absolute;
  top: .75rem;
  right: .9rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--grau);
  cursor: pointer;
  padding: 0 .25rem;
}

.popup-close:hover { color: var(--dunkel); }

.popup-icon {
  font-size: 2.2rem;
  margin-bottom: .6rem;
}

.popup-titel {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--praxis-blau);
  margin-bottom: .9rem;
}

.popup-text {
  font-size: 1rem;
  color: var(--dunkel);
  margin-bottom: .5rem;
  line-height: 1.6;
}

.popup-hinweis {
  font-size: .88rem;
  color: #92400e;
  background: #fef3c7;
  border-radius: var(--radius);
  padding: .5rem .75rem;
  margin: .4rem 0;
  line-height: 1.5;
}

.popup-btn {
  display: inline-block;
  margin-top: 1.25rem;
  background: var(--gruen);
  color: var(--weiss);
  font-family: 'Roboto', sans-serif;
  font-size: .95rem;
  font-weight: 500;
  padding: .65rem 2rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .15s;
}

.popup-btn:hover { background: #7db33a; }

@media (max-width: 520px) {
  .popup-box { padding: 1.5rem 1.25rem 1.4rem; }
  .popup-titel { font-size: 1.05rem; }
}

/* ══════════════════════════════════════════════════════════
   3a. MANUELLES BANNER (Start + Rezept)
   ══════════════════════════════════════════════════════════ */
#manuell-banner {
  display: none;
  background: #fef3c7;
  border-top: 4px solid #f59e0b;
  border-bottom: 4px solid #f59e0b;
  padding: .9rem 0;
  text-align: center;
  font-size: .96rem;
  font-weight: 400;
  color: #78350f;
}

#manuell-banner strong { font-weight: 700; }

.manuell-banner-hinweis {
  font-size: .87rem;
  color: #92400e;
  margin-top: .35rem;
}

/* ══════════════════════════════════════════════════════════
   3. URLAUBSBANNER
   ══════════════════════════════════════════════════════════ */
#urlaub-banner {
  display: none;
  background: #fff8e1;
  border-bottom: 3px solid #f59e0b;
  padding: .85rem 1.5rem;
  text-align: center;
  font-size: .94rem;
}

#urlaub-banner.sichtbar { display: block; }
#urlaub-banner strong { color: #78350f; }
#urlaub-banner .bd { margin-top: .3rem; font-size: .86rem; color: #92400e; }
#urlaub-banner a { color: #b45309; font-weight: 600; }

/* ══════════════════════════════════════════════════════════
   4. HERO – volles Stethoskop-Foto, kein Text-Overlay
   ══════════════════════════════════════════════════════════ */
.hero-foto {
  width: 100%;
  display: block;
  line-height: 0;
}

.hero-foto img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Hero für Unterseiten: grüner Banner */
.hero-plain {
  background: linear-gradient(135deg, var(--gruen) 0%, #72a031 100%);
  color: var(--weiss);
  padding: 2.75rem 1.5rem;
  text-align: center;
}

.hero-plain h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: .4rem;
}

.hero-plain p { font-size: 1rem; opacity: .9; max-width: 600px; margin: 0 auto; }

.hero-rot {
  background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
  color: var(--weiss);
  padding: 2.75rem 1.5rem;
  text-align: center;
}

.hero-rot h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: .4rem;
}

.hero-rot p { font-size: 1rem; opacity: .9; }

/* ══════════════════════════════════════════════════════════
   5. CONTENT-SEKTIONEN
   ══════════════════════════════════════════════════════════ */
section.content-section { padding: 3rem 0; }
section.content-section.bg-hell { background: #f5f7f2; }

/* 2/3 + 1/3 Layout (Start-Seite) */
.col-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.section-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--dunkel);
  margin-bottom: 1rem;
  padding-bottom: .4rem;
  border-bottom: 3px solid var(--gruen);
  display: inline-block;
}

.section-divider {
  border: none;
  border-top: 1px solid #ccc;
  margin: .8rem 0 1rem;
}

/* Begrüßungstext */
.welcome-text {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--dunkel);
}

.welcome-text p { margin-bottom: .75rem; }
.welcome-text strong { font-weight: 700; }

/* Überschrift-Box (grüner Hintergrund) – wie "Aktuelles" auf Startseite */
.box-heading {
  background: var(--gruen);
  padding: 10px 0;
  text-align: center;
  margin-bottom: .5rem;
}

.box-heading h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: #000;
}

/* News-Liste auf Startseite */
.news-kompakt { list-style: none; margin-bottom: 1rem; }

.news-kompakt li {
  border-bottom: 1px solid var(--border);
  padding: .5rem 0;
  display: flex;
  flex-direction: column;
}

.news-kompakt a {
  font-weight: 400;
  color: var(--link);
  font-size: .95rem;
}

.news-kompakt .nd {
  font-size: .8rem;
  color: var(--grau);
  margin-top: .15rem;
}

/* Button "Telefonisch Termin vereinbaren" */
.btn-primary {
  display: inline-block;
  background: var(--gruen);
  color: var(--weiss);
  font-family: 'Roboto', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  padding: .55rem 1.4rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background .15s;
}

.btn-primary:hover { background: #7db33a; color: var(--weiss); }

/* ══════════════════════════════════════════════════════════
   6. NEWS-SEITE (Aktuelles)
   ══════════════════════════════════════════════════════════ */
.news-list { list-style: none; }

.news-item {
  border-left: 4px solid var(--gruen);
  padding: .9rem 1.2rem;
  margin-bottom: 1.1rem;
  background: var(--weiss);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}

.news-datum { font-size: .8rem; color: var(--grau); margin-bottom: .25rem; }
.news-titel { font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }

/* Urlaubsmeldung mit Vertretungsliste */
.urlaub-zeitraum {
  font-size: 1.3rem;
  color: var(--praxis-blau);
  background: #f1f8e6;
  border-radius: var(--radius);
  padding: .7rem 1rem;
  margin: .6rem 0 1.1rem;
}
.vertretung-titel { font-weight: 700; margin-bottom: .5rem; }
.vertretung-liste {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem 1.5rem;
  font-size: .9rem;
  margin-bottom: 1.2rem;
}
.vertretung-liste li { line-height: 1.35; }
.vertretung-liste strong,
.vertretung-liste .adr { display: block; }
.vertretung-liste .adr { color: var(--grau); }
.vertretung-liste a { color: var(--link); }
.notdienst-hinweis {
  border-left: 4px solid #c0392b;
  background: #fdecea;
  color: #7f1d1d;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: .8rem 1rem;
  font-weight: 500;
}
.notdienst-hinweis a {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 700;
  color: #c0392b;
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════
   7. LEISTUNGEN
   ══════════════════════════════════════════════════════════ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }

.leistung-liste { list-style: none; }

.leistung-liste li {
  padding: .5rem 0 .5rem 1.6rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  font-weight: 300;
}

.leistung-liste li::before {
  content: "✓";
  color: var(--gruen);
  position: absolute;
  left: 0;
  font-weight: 700;
}

.leistung-liste li:last-child { border-bottom: none; }

/* ══════════════════════════════════════════════════════════
   8. KARTE / CARD
   ══════════════════════════════════════════════════════════ */
.card {
  background: var(--weiss);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card h3 { color: var(--gruen); margin-bottom: .6rem; font-size: 1.05rem; font-weight: 500; }

/* ══════════════════════════════════════════════════════════
   9. ÖFFNUNGSZEITEN TABELLE
   ══════════════════════════════════════════════════════════ */
.oz-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}

.oz-table td {
  padding: .4rem .6rem .4rem 0;
  vertical-align: top;
  border-bottom: 1px solid #eee;
  font-size: .95rem;
}

.oz-table td:first-child { font-weight: 400; white-space: nowrap; min-width: 110px; }
.oz-table tr:last-child td { border-bottom: none; }

/* ══════════════════════════════════════════════════════════
   10. URLAUB
   ══════════════════════════════════════════════════════════ */
.urlaub-block {
  background: var(--weiss);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow);
}

.urlaub-block h3 { color: var(--gruen); font-size: 1.15rem; margin-bottom: .6rem; }

.vertretung-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: .9rem;
  margin-top: 1rem;
}

.vertretung-card {
  background: #f5f7f2;
  border-radius: var(--radius);
  padding: .85rem 1rem;
  border-left: 3px solid var(--gruen);
}

.vertretung-card strong { display: block; margin-bottom: .2rem; font-size: .95rem; }
.vertretung-card .adr { font-size: .85rem; color: var(--grau); }
.vertretung-card .tel { font-size: .9rem; margin-top: .2rem; }
.vertretung-card .tel a { color: var(--link); }

/* ══════════════════════════════════════════════════════════
   11. NOTFALL
   ══════════════════════════════════════════════════════════ */
.notfall-box {
  background: #fef2f2;
  border: 2px solid #dc2626;
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.notfall-box .num { font-size: 2.5rem; font-weight: 700; color: #dc2626; display: block; }
.notfall-box p { color: #7f1d1d; margin-top: .25rem; }

.notfall-box2 {
  background: #eff6ff;
  border: 2px solid var(--link);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.notfall-box2 .num { font-size: 2rem; font-weight: 700; color: var(--link); display: block; }
.notfall-box2 p { color: #1e40af; margin-top: .25rem; }

/* ══════════════════════════════════════════════════════════
   12. KONTAKT & TEAMS
   ══════════════════════════════════════════════════════════ */
.kontakt-info dt {
  font-weight: 700;
  color: var(--grau);
  font-size: .82rem;
  margin-top: .9rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.kontakt-info dd { font-size: 1rem; margin-top: .1rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.team-card {
  background: #f5f7f2;
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  border-top: 3px solid var(--gruen);
  text-align: center;
}

.team-card strong { display: block; font-size: 1rem; margin-bottom: .25rem; }
.team-card span { font-size: .85rem; color: var(--grau); }

/* ══════════════════════════════════════════════════════════
   13. FORMULARE
   ══════════════════════════════════════════════════════════ */
.praxis-form { max-width: 620px; }

.form-group { margin-bottom: 1.1rem; }

.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: .35rem;
  color: var(--dunkel);
}

.form-group label .req { color: #dc2626; margin-left: .2rem; }

.form-control {
  width: 100%;
  padding: .6rem .85rem;
  border: 1px solid #c8c8c8;
  border-radius: var(--radius);
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: var(--dunkel);
  background: var(--weiss);
  transition: border-color .15s;
}

.form-control:focus {
  outline: none;
  border-color: var(--gruen);
  box-shadow: 0 0 0 2px rgba(148,203,69,.2);
}

select.form-control { appearance: auto; }
textarea.form-control { min-height: 120px; resize: vertical; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .88rem;
  color: var(--dunkel);
  margin-bottom: 1.1rem;
}

.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: .2rem;
  flex-shrink: 0;
  accent-color: var(--gruen);
}

.form-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: #15803d;
  margin-bottom: 1rem;
}

.form-fehler {
  display: none;
  background: #fdecea;
  border: 1px solid #f5a8a0;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: #7f1d1d;
  margin-bottom: 1rem;
}

/* Spam-Schutzfeld: für Besucher unsichtbar */
.form-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ══════════════════════════════════════════════════════════
   14. PROSE (Impressum / Datenschutz)
   ══════════════════════════════════════════════════════════ */
.prose h2 { font-size: 1.2rem; margin: 2rem 0 .6rem; font-weight: 500; }
.prose h3 { font-size: 1.05rem; margin: 1.4rem 0 .4rem; font-weight: 500; }
.prose p  { margin-bottom: .75rem; font-weight: 300; }
.prose ul { margin: .5rem 0 .75rem 1.5rem; }
.prose ul li { margin-bottom: .3rem; font-weight: 300; }

/* ══════════════════════════════════════════════════════════
   15. FOOTER GRÜN (background #94cb45, 4 Spalten)
   ══════════════════════════════════════════════════════════ */
.footer-gruen {
  background: var(--gruen);
  padding: 20px 28px 21px;
  margin-top: 15px;
}

.footer-gruen-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 150px 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-logo img {
  width: 150px;
  height: 150px;
  border-radius: var(--radius);
}

.footer-col h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--footer-h);
  margin-bottom: .75rem;
  letter-spacing: .03em;
}

.footer-icon-list { list-style: none; }

.footer-icon-list li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin-bottom: .45rem;
  font-size: .9rem;
  color: var(--weiss);
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}

.footer-icon-list li .icon,
.footer-icon-list li .ficon {
  width: 18px;
  flex-shrink: 0;
  font-size: .95rem;
  opacity: .85;
  margin-top: .1rem;
}

.footer-icon-list a { color: var(--weiss); }
.footer-icon-list a:hover { text-decoration: underline; }

.footer-sprechzeiten {
  font-family: 'Roboto', sans-serif;
  font-size: .9rem;
  font-weight: 300;
  color: var(--weiss);
  line-height: 1.75;
}

.footer-info-links { list-style: none; }

.footer-info-links li { margin-bottom: .4rem; }

.footer-info-links a {
  font-family: 'Roboto', sans-serif;
  font-size: .9rem;
  font-weight: 300;
  letter-spacing: 1.5px;
  color: var(--weiss);
  background: var(--gruen);
  display: block;
  text-transform: uppercase;
}

.footer-info-links a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════
   16. COPYRIGHT-LEISTE (background #1384C6)
   ══════════════════════════════════════════════════════════ */
.footer-copyright {
  background: var(--blau);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: .75rem 1.5rem;
}

.footer-copyright a,
.footer-copyright p {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--weiss);
  line-height: 1.5;
}

.footer-copyright a:hover { text-decoration: underline; color: var(--weiss); }

/* ══════════════════════════════════════════════════════════
   17. UTILITIES
   ══════════════════════════════════════════════════════════ */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.text-center { text-align: center; }

/* ══════════════════════════════════════════════════════════
   18. RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-gruen-inner { grid-template-columns: 150px 1fr 1fr; }
  .footer-logo { grid-row: span 2; }
}

@media (max-width: 768px) {
  /* Header */
  .header-inner { grid-template-columns: auto 1fr auto; gap: .75rem; }
  .header-name { font-size: 11px; line-height: 1.4; }
  .header-logo img { max-height: 64px; }

  /* Hamburger-Menü */
  header { position: relative; }
  .header-nav { position: static; }
  .header-nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--weiss);
    border-top: 3px solid var(--gruen);
    box-shadow: 0 6px 16px rgba(0,0,0,.15);
    padding: .5rem;
    z-index: 200;
  }
  .header-nav ul.offen { display: flex; }
  .header-nav a { text-align: center; padding: .75rem; font-size: .95rem; }
  .hamburger { display: flex; }

  /* Abschnitte */
  section.content-section { padding: 2rem 0; }
  .container { padding: 0 1rem; }

  /* Layouts */
  .col-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .grid-2 { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Hero */
  .hero-plain { padding: 1.75rem 1rem; }
  .hero-plain h1 { font-size: clamp(1.4rem, 5vw, 2rem); }

  /* Buttons – touch-friendly */
  .btn-primary { padding: .75rem 1.4rem; font-size: 1rem; width: 100%; }

  /* Formulare */
  .praxis-form { max-width: 100%; }

  /* News */
  .news-item { padding: 1rem; }
  .vertretung-liste { grid-template-columns: 1fr; }

  /* Leistungen-Grid */
  .leistungen-grid { grid-template-columns: 1fr; }

  /* Vertretungs-Grid */
  .vertr-grid { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-gruen { padding: 1.5rem 1rem; }
  .footer-gruen-inner { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .footer-logo { grid-column: span 2; display: flex; align-items: center; gap: 1rem; }
  .footer-logo img { width: 80px; height: 80px; }
  .footer-copyright { font-size: .85rem; padding: .75rem 1rem; min-height: unset; }
}

@media (max-width: 520px) {
  /* Header */
  .header-logo img { max-height: 52px; }
  .header-inner { padding: .4rem 1rem; }

  /* Top-Bar: nur Icons, keine Texte */
  .top-bar-inner { gap: .5rem; padding: 0 1rem; }
  .top-bar a span.label { display: none; }
  .top-bar a { font-size: 1rem; }

  /* Layouts */
  .col-layout { gap: 1.25rem; }
  .team-grid { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-gruen-inner { grid-template-columns: 1fr; }
  .footer-logo { grid-column: span 1; }

  /* Vertretungs-Grid */
  .vertr-grid { grid-template-columns: 1fr; }

  /* Karte auf Kontaktseite */
  iframe { height: 240px !important; }

  /* Notfall-Nummer größer */
  .notfall-tel { font-size: clamp(1.6rem, 8vw, 2.5rem); }
}
