/* =============================================
   Drohnenwetter – style.css v1.2
   ============================================= */

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

/* --- CSS-Variablen Dunkel --- */
:root,
[data-theme="dark"] {
  --bg:           #0f172a;
  --bg2:          #1e293b;
  --rand:         #334155;
  --text:         #e2e8f0;
  --text2:        #94a3b8;
  --akzent:       #38bdf8;
  --gruen:        #22c55e;
  --gelb:         #f59e0b;
  --rot:          #ef4444;
  --btn-suchen:   #00cc00;
  --btn-standort: #ff0000;
  --btn-neu:      #0369a1;
  --radius:       8px;
  --schrift:      'Segoe UI', system-ui, sans-serif;
  --schatten:     0 2px 8px rgba(0,0,0,0.4);
  --svg-bg:       url('/img/bg-dark.svg');
}

/* --- CSS-Variablen Hell --- */
[data-theme="light"] {
  --bg:           #f0f9ff;
  --bg2:          #ffffff;
  --rand:         #bae6fd;
  --text:         #0f172a;
  --text2:        #475569;
  --akzent:       #0369a1;
  --gruen:        #16a34a;
  --gelb:         #d97706;
  --rot:          #dc2626;
  --btn-suchen:   #00cc00;
  --btn-standort: #ff0000;
  --btn-neu:      #0369a1;
  --schatten:     0 2px 8px rgba(0,0,0,0.1);
  --svg-bg:       url('/img/bg-light.svg');
}

/* --- Basis --- */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--schrift);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background 0.3s, color 0.3s;
}

a { color: var(--akzent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- SVG-Hintergrund --- */
.hintergrund-svg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--svg-bg) center center / cover no-repeat;
  pointer-events: none;
}

/* --- Header --- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 2rem;
  background: var(--bg2);
  border-bottom: 1px solid var(--rand);
  box-shadow: var(--schatten);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--akzent);
  text-decoration: none;
}

.site-uhrzeit {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  justify-self: end;
}

.site-nav a {
  color: var(--text2);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--text); text-decoration: none; }

/* --- Buttons --- */
.btn-theme {
  background: transparent;
  border: 1px solid var(--rand);
  color: var(--text);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.btn-theme:hover { background: var(--rand); }

.btn-neuesuche {
  background: var(--btn-neu);
  color: #ffffff;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
  border: none;
}
.btn-neuesuche:hover { opacity: 0.85; text-decoration: none; color: #ffffff; }

.btn-suchen {
  background: var(--btn-suchen);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  flex: 1;
}
.btn-suchen:hover { opacity: 0.85; }

.btn-standort {
  background: var(--btn-standort);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  flex: 1;
}
.btn-standort:hover { opacity: 0.85; }

.btn-drucken {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--rand);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin-left: auto;
}
.btn-drucken:hover { background: var(--rand); color: var(--text); }

/* --- Main --- */
.site-main {
  flex: 1;
  padding: 1.75rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* --- Footer --- */
.site-footer {
  padding: 1.25rem 2rem;
  background: var(--bg2);
  border-top: 1px solid var(--rand);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text2);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: auto;
}
.site-footer a { color: var(--text2); }
.site-footer a:hover { color: var(--akzent); }

/* --- Startseite --- */
.start-container {
  max-width: 580px;
  margin: 5rem auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.start-titel { font-size: 2.5rem; font-weight: 700; color: var(--akzent); }
.start-untertitel { color: var(--text2); font-size: 1.05rem; }

.start-kasten {
  background: var(--bg2);
  border: 1px solid var(--rand);
  border-radius: 14px;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: var(--schatten);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.such-formular { width: 100%; display: flex; flex-direction: column; gap: 0.75rem; }
.such-zeile { display: flex; gap: 0.5rem; }
.such-eingabe {
  flex: 1;
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--rand);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
}
.such-eingabe:focus { outline: 2px solid var(--akzent); }
.start-buttons { display: flex; gap: 0.75rem; }

.start-ausfall-banner {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  background: #ff0000;
  color: #ffffff;
  border: 1px solid #cc0000;
  text-align: left;
}

/* Offline-Banner Startseite */
.start-offline-banner {
  max-width: 580px;
  margin: 1rem auto 0;
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius);
  background: #ff0000;
  color: #ffffff;
  border: 1px solid #cc0000;
}
.start-offline-titel {
  font-size: 1.1rem;
  font-weight: 700;
}
.start-offline-text {
  font-size: 0.875rem;
  font-weight: 400;
}

/* Photon-Ausfall-Banner Startseite */
.start-photon-banner {
  max-width: 580px;
  margin: 1rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius);
  background: #ff0000;
  color: #ffffff;
  border: 1px solid #cc0000;
}
.start-photon-titel {
  font-size: 1.1rem;
  font-weight: 700;
}
.start-photon-text {
  font-size: 0.875rem;
  font-weight: 400;
}

/* --- Fehlerbanner --- */
.fehler-banner {
  background: rgba(239,68,68,0.12);
  border: 1px solid var(--rot);
  color: var(--rot);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

/* --- Warnbanner (Luftverkehr – fixed oben) --- */
.warn-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  text-align: center;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}
.warn-banner--gelb { background: #ff0000; color: #ffffff; }
.warn-banner--rot  { background: #ff0000; color: #ffffff; }

/* --- Ausfall-Banner (Datenquellen – inline in Seite) --- */
.ausfall-banner {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
}
.ausfall-banner--gelb {
  background: #ffcc00;
  color: #1a1400;
  border: 1px solid #e6b800;
}
.ausfall-banner--rot {
  background: #ff0000;
  color: #ffffff;
  border: 1px solid #cc0000;
}

@keyframes blinken {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.15; }
}
.blinken { animation: blinken 0.6s ease-in-out infinite; }

/* --- Ergebnisseite --- */
.ergebnis-container { display: flex; flex-direction: column; gap: 1.5rem; }

/* --- Standort-Block --- */
.standort-block {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg2);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  box-shadow: var(--schatten);
}
.standort-pin { font-size: 1.1rem; flex-shrink: 0; }
.standort-name { font-size: 1rem; font-weight: 600; color: var(--text); flex: 1; }

/* --- Ampel --- */
.ampel-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--rand);
  background: var(--bg2);
  box-shadow: var(--schatten);
}
.ampel-licht { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; }
.ampel-licht--gruen { background: var(--gruen); box-shadow: 0 0 10px var(--gruen); }
.ampel-licht--gelb  { background: var(--gelb);  box-shadow: 0 0 10px var(--gelb); }
.ampel-licht--rot   { background: var(--rot);   box-shadow: 0 0 10px var(--rot); }
.ampel-licht--laden { background: var(--rand); }
.ampel--gruen { border-color: var(--gruen); }
.ampel--gelb  { border-color: var(--gelb); }
.ampel--rot   { border-color: var(--rot); }
.ampel-text small { color: var(--text2); font-size: 0.85rem; font-weight: 400; }

/* --- Widget-Raster --- */
.widget-raster {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.875rem;
}
.widget {
  background: var(--bg2);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
  box-shadow: var(--schatten);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
.widget-titel {
  font-size: 0.75rem;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
}
.widget-titel-sub { font-size: 0.68rem; opacity: 0.75; font-weight: 400; }
.widget-wert-zeile { display: flex; align-items: baseline; gap: 0.3rem; }
.widget-wert { font-size: 1.9rem; font-weight: 700; color: var(--text); line-height: 1; }
.widget-wert--uhrzeit { font-size: 1.4rem; }
.widget-einheit { font-size: 0.85rem; color: var(--text2); }
.widget-datum { font-size: 0.8rem; color: var(--text2); }

/* --- Karte + Panel --- */
.karte-panel-raster {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1rem;
  align-items: start;
}
.karte-wrapper {
  border-radius: var(--radius);
  border: 1px solid var(--rand);
  overflow: hidden;
  box-shadow: var(--schatten);
  position: relative;
  z-index: 1;
}
.karte-container { height: 500px; width: 100%; display: block; }
.seiten-panel { display: flex; flex-direction: column; gap: 1rem; }
.panel-block {
  background: var(--bg2);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--schatten);
}
.panel-titel {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text2);
  padding: 0.6rem 0.875rem;
  border-bottom: 1px solid var(--rand);
  background: var(--bg);
}
.panel-inhalt { padding: 0.5rem 0; }
.panel-scroll { max-height: 220px; overflow-y: auto; }
.panel-leer { font-size: 0.85rem; color: var(--text2); padding: 0.5rem 0.875rem; }

/* --- Zoneneintrag --- */
.zonen-eintrag { border-bottom: 1px solid var(--rand); }
.zonen-eintrag:last-child { border-bottom: none; }
.zonen-kopf {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: background 0.15s;
  user-select: none;
}
.zonen-kopf:hover { background: var(--rand); }
.zonen-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--akzent); flex-shrink: 0; }
.zonen-name { flex: 1; }
.zonen-anzahl { font-size: 0.75rem; color: var(--text2); font-weight: 400; }
.zonen-pfeil { font-size: 0.65rem; color: var(--text2); transition: transform 0.2s; }
.zonen-eintrag.offen .zonen-pfeil { transform: rotate(90deg); }
.zonen-detail { display: none; padding: 0.25rem 0.875rem 0.5rem 1.75rem; }
.zonen-eintrag.offen .zonen-detail { display: block; }
.zonen-gebiet { font-size: 0.82rem; color: var(--text); padding: 0.2rem 0; }
.zonen-recht { font-size: 0.75rem; color: var(--text2); }

/* --- Tabellen-Raster --- */
.tabellen-raster {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  align-items: start;
}
.widget-titel-sub { font-size: 0.68rem; opacity: 0.75; font-weight: 400; }

/* --- Sections --- */
.section-block {
  background: var(--bg2);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--schatten);
}
.section-titel {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text2);
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--rand);
  background: var(--bg);
}

/* --- Tabellen --- */
.daten-tabelle { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.daten-tabelle th,
.daten-tabelle td { text-align: left; padding: 0.5rem 1rem; border-bottom: 1px solid var(--rand); }
.daten-tabelle tr:last-child td { border-bottom: none; }
.daten-tabelle th {
  color: var(--text2);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--bg);
}
.daten-tabelle--klein th,
.daten-tabelle--klein td { padding: 0.35rem 0.875rem; font-size: 0.82rem; }
.td-wert { text-align: right; font-weight: 600; color: var(--text); }
.zeile-warnung { background: rgba(239,68,68,0.1); }

/* --- Karten-Legende --- */
.karte-legende {
  position: absolute;
  bottom: 24px;
  right: 8px;
  z-index: 1000;
  background: var(--bg2);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  font-size: 0.78rem;
  color: var(--text);
  box-shadow: var(--schatten);
  min-width: 180px;
  max-width: 200px;
}
.karte-legende-kopf {
  padding: 0.5rem 0.875rem;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  background: var(--bg);
  border-radius: var(--radius) var(--radius) 0 0;
}
.karte-legende-kopf:hover { background: var(--rand); }
.karte-legende-inhalt {
  padding: 0.4rem 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  max-height: 280px;
  overflow-y: auto;
}
.karte-legende-inhalt.versteckt { display: none; }
.legende-zeile { display: flex; align-items: center; gap: 0.5rem; }

/* --- Hinweise --- */
.hinweis-text { font-size: 0.8rem; color: var(--text2); padding: 0.5rem 1rem; }
.hinweis-inline { font-size: 0.75rem; color: var(--text2); font-weight: 400; }

/* --- Content-Seiten --- */
.content-container { max-width: 100%; display: flex; flex-direction: column; gap: 1.5rem; }
.content-container h1 { font-size: 1.75rem; font-weight: 700; }
.content-container h2 { font-size: 1.1rem; font-weight: 600; margin-top: 0.25rem; color: var(--text2); }
.content-container p  { font-size: 0.95rem; color: var(--text); }

/* --- Changelog --- */
.changelog-eintrag {
  background: var(--bg2);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.changelog-version { font-size: 1rem; font-weight: 700; color: var(--akzent); }
.changelog-datum { font-size: 0.82rem; color: var(--text2); font-weight: 400; margin-left: 0.5rem; }
.changelog-liste { padding-left: 1.25rem; font-size: 0.875rem; display: flex; flex-direction: column; gap: 0.2rem; }

/* --- Ampel Farbtexte --- */
.ampel-gruen-text { color: var(--gruen); font-weight: 600; }
.ampel-gelb-text  { color: var(--gelb);  font-weight: 600; }
.ampel-rot-text   { color: var(--rot);   font-weight: 600; }

/* --- Neue Suche Button --- */
.btn-neuesuche {
  background: var(--btn-neu);
  color: #ffffff !important;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: opacity 0.2s;
  border: none;
}
.btn-neuesuche:hover { opacity: 0.85; }

/* --- Responsiv --- */
@media (max-width: 1100px) {
  .widget-raster { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .karte-panel-raster { grid-template-columns: 1fr; }
  .tabellen-raster { grid-template-columns: 1fr; }
  .widget-raster { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .site-header { padding: 0.75rem 1rem; }
  .site-nav-links { display: none !important; }
  .site-uhrzeit { display: none; }
  .site-main { padding: 1.25rem 1rem; }
  .start-container { margin: 2rem auto; }
  .start-titel { font-size: 1.75rem; }
  .such-zeile { flex-direction: column; }
  .start-buttons { flex-direction: column; }
  .widget-raster { grid-template-columns: repeat(2, 1fr); }
  .karte-container { height: 260px; }

  /* Hamburger */
  .hamburger-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--rand);
    color: var(--text);
    width: 34px;
    height: 34px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1.1rem;
  }
  .hamburger-menu {
    position: absolute;
    top: 56px;
    right: 1rem;
    background: var(--bg2);
    border: 1px solid var(--rand);
    border-radius: var(--radius);
    box-shadow: var(--schatten);
    z-index: 200;
    min-width: 160px;
    flex-direction: column;
    padding: 0.5rem 0;
  }
  .hamburger-menu.offen { display: flex !important; }
  .hamburger-menu a {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    color: var(--text2);
    text-decoration: none;
  }
  .hamburger-menu a:hover { background: var(--rand); color: var(--text); }

  /* Legende Mobile */
  .karte-legende {
    max-height: 200px;
    overflow: hidden;
    bottom: 8px;
    right: 4px;
  }
  .karte-legende-inhalt { max-height: 140px; overflow-y: auto; }

  /* Wetter-Tabelle Mobile */
  .wind-tabelle-desktop { display: none !important; }
  .wind-tabelle-mobil { display: table !important; width: 100%; }
  .wind-tabelle-mobil th:nth-child(2),
  .wind-tabelle-mobil td:nth-child(2),
  .wind-tabelle-mobil th:nth-child(3),
  .wind-tabelle-mobil td:nth-child(3) { width: 30%; }
}

/* --- Hamburger (nur Mobile sichtbar) --- */
.site-nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.hamburger-btn { display: none; }
.hamburger-menu { display: none; }
.wind-tabelle-mobil { display: none; }
.wind-tabelle-desktop { display: table; width: 100%; }

/* --- Druckansicht versteckt (nur beim Drucken sichtbar) --- */
.druck-ansicht { display: none; }

/* --- Drucken --- */
@media print {
  .hintergrund-svg,
  .site-nav,
  .btn-theme,
  .btn-drucken,
  .warn-banner,
  .ergebnis-container,
  .site-footer { display: none !important; }

  .site-header { display: none !important; }

  body { background: white !important; color: #000 !important; font-size: 10pt; margin: 0; }
  .site-main { padding: 0 0.5rem; max-width: 100%; }

  .druck-ansicht { display: block !important; }

  /* Kopfzeile Druck */
  .druck-kopf {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 2px solid #000;
    padding-bottom: 0.4rem;
    margin-bottom: 0.75rem;
  }
  .druck-logo { font-size: 13pt; font-weight: 700; }
  .druck-datum { font-size: 9pt; color: #555; }

  /* Sektions-Titel */
  .druck-section-titel {
    font-size: 9pt;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #333;
    border-bottom: 1px solid #999;
    padding-bottom: 0.15rem;
    margin-top: 1rem;
    margin-bottom: 0.4rem;
    page-break-after: avoid;
  }

  /* Tabellen */
  .druck-tabelle {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0.5rem;
    font-size: 9pt;
    page-break-inside: avoid;
  }
  .druck-tabelle td,
  .druck-tabelle th {
    border: 1px solid #ccc;
    padding: 0.25rem 0.5rem;
    text-align: left;
  }
  .druck-tabelle th {
    background: #f0f0f0;
    font-weight: 600;
    font-size: 8pt;
  }
  .druck-label { width: 42%; color: #444; font-weight: 500; }
  .druck-wert { font-weight: 600; }
  .druck-hinweis { font-size: 7.5pt; color: #888; font-weight: 400; }

  /* Wetter nach Höhe – erste Spalte wie andere Tabellen (42%), restliche 4 gleich */
  .druck-tabelle--hoehe td:first-child,
  .druck-tabelle--hoehe th:first-child { width: 42%; }
  .druck-tabelle--hoehe td:nth-child(2),
  .druck-tabelle--hoehe th:nth-child(2),
  .druck-tabelle--hoehe td:nth-child(3),
  .druck-tabelle--hoehe th:nth-child(3),
  .druck-tabelle--hoehe td:nth-child(4),
  .druck-tabelle--hoehe th:nth-child(4),
  .druck-tabelle--hoehe td:nth-child(5),
  .druck-tabelle--hoehe th:nth-child(5) { width: 14.5%; }

  /* Info-Tabelle */
  .druck-tabelle--info { margin-bottom: 0.75rem; page-break-inside: avoid; }

  /* Höhentabelle */
  .druck-tabelle--hoehe td,
  .druck-tabelle--hoehe th { font-size: 8.5pt; }

  /* Karte */
  .druck-karte-wrapper {
    width: 100%;
    margin-bottom: 0.75rem;
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
  .druck-karte-wrapper img { max-height: 200px; object-fit: cover; }

  /* Fußzeile */
  .druck-fusszeile {
    margin-top: 1rem;
    font-size: 7pt;
    color: #888;
    border-top: 1px solid #ccc;
    padding-top: 0.3rem;
  }
}
