/* ============================================================
   kopf.css - EINHEITLICHER SEITENKOPF + SEITENNAME (Pille)
   VERSION: 22.10.2026 18:45 - NEU Fusszeile zentral (footer.k13-fuss): ueberall gleich wie die
   Mehrheit der Seiten (Copyright + Impressum mit Mail-Link), steht bei langen Seiten am Ende,
   bei kurzen am unteren Bildschirmrand, nie fest ueber dem Inhalt. PC #102133, Handy #0D1B2A wie index.
   VORGAENGER: 22.10.2026 18:20 - Kopf ohne runde Ecken (border-radius 0), manuelle-quittung hatte 12px.
   VORGAENGER: 22.10.2026 17:40 - PC: Hoehe 75px wie veranstaltungen.html, sonst wie
   index.html (Inter, 1.5rem, Logo 64px, Hintergrund #102133, Untertitel silber).
   Handy (bis 600px): komplett wie index.html (Inter, 1.3rem/1.2rem, Abstaende
   15px 12px / 12px 10px, Logo 64px, Hintergrund #0D1B2A). Pille wie Veranstaltungen in Inter.
   VORGAENGER: 22.10.2026 17:29 - Handy-Ansicht wie index.html (ohne Schrift).
   VORGAENGER: 22.10.2026 17:23 - Untertitel silber.
   VORGAENGER: 22.10.2026 17:14 - Neu, Vorbild veranstaltungen.html.
   Gilt nur fuer Seiten mit <header class="k13-kopf">, die diese Datei einbinden.
   NICHT eingebunden: index.html, quittung.html, veranstaltungen.html,
   veranstaltung-*.html.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

header.k13-kopf {
  background-color: #0D1B2A !important;
  color: #fff !important;
  padding: 15px 12px !important;
  margin: 0 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
  font-size: 1.3rem !important;
  font-weight: bold !important;
  line-height: normal !important;
  text-align: center !important;
  border-bottom: 3px solid var(--brand-akzent, #39D353) !important;
  border-radius: 0 !important;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  box-sizing: border-box;
}
header.k13-kopf .k13-kopf-inhalt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
header.k13-kopf .k13-kopf-logo {
  height: 64px !important;
  width: 64px !important;
  border-radius: 50%;
  flex-shrink: 0;
}
header.k13-kopf .k13-kopf-text {
  font-weight: 800;
  color: #fff;
}
header.k13-kopf .k13-kopf-unter {
  font-size: 0.75rem !important;
  color: #c0c0c0 !important;
  margin-top: 5px;
  font-weight: normal !important;
}
@media (max-width: 480px) {
  header.k13-kopf { font-size: 1.2rem !important; padding: 12px 10px !important; }
}
/* PC: Hoehe wie Veranstaltungen (75px), Rest wie index.html */
@media (min-width: 601px) {
  header.k13-kopf {
    background-color: #102133 !important;
    font-size: 1.5rem !important;
    padding: 4px 15px !important;
  }
}
.k13-pille {
  background-color: #1A3550 !important;
  color: #a0b8cc !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em;
  padding: 4px 16px !important;
  border-radius: 6px;
  display: block !important;
  width: fit-content;
  max-width: 90%;
  margin: 12px auto 16px auto !important;
  text-align: center;
}

/* === FUSSZEILE (zentral) ===
   Steht immer ganz unten: bei langen Seiten am Ende, bei kurzen am
   unteren Bildschirmrand. Kein fester Platz auf dem Bildschirm. */
body:has(> footer.k13-fuss) {
  min-height: 100vh !important;
  position: relative !important;
  box-sizing: border-box !important;
  padding-bottom: 100px !important; /* 69px Fusszeile + Abstand */
}
footer.k13-fuss {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  margin: 0 !important;
  padding: 15px 10px !important;
  background-color: #102133 !important;
  color: #fff !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
  font-size: 0.9rem !important;
  line-height: normal !important;
  text-align: center !important;
  border: none !important;
  border-top: 3px solid var(--brand-akzent, #39D353) !important;
  border-radius: 0 !important;
  box-sizing: border-box;
  width: auto !important;
  z-index: auto !important;
}
footer.k13-fuss .k13-fuss-zeile1 { margin-bottom: 8px; }
footer.k13-fuss .k13-fuss-zeile2 { font-size: 9px; color: #999; }
footer.k13-fuss .k13-fuss-zeile2 a { color: #999; }
@media (max-width: 600px) {
  body:has(> footer.k13-fuss) { padding-bottom: 110px !important; }
  footer.k13-fuss { background-color: #0D1B2A !important; font-size: 0.85rem !important; padding: 10px !important; }
}
/* Eingebettete Ansicht (?embed=1) blendet die Fusszeile aus -> kein Platz dafuer */
html.embed body:has(> footer.k13-fuss) { padding-bottom: 0 !important; min-height: 0 !important; }
