/* Barlow (SIL Open Font License, fonts/OFL.txt) - lokal, keine externen Schriften. */
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("fonts/barlow-latin-700-normal.woff2") format("woff2"); }
/* Farben aus dem Logo der Jugendfeuerwehr: Dunkelblau und Orange. --rot ist der Hauptton (historischer Name). */
:root {
  --rot: #062e6c; --rot-dunkel: #041e48; --gelb: #fa4e02; --orange-dunkel: #b33800; --fehler: #b3001b;
  --hintergrund: #f7f5f3; --karte: #fff; --text: #1c1917; --leise: #6b6460; --linie: #e6e0db;
  --gruen: #1f7a3a; --radius: 12px; --schatten: 0 1px 2px rgba(0,0,0,.05), 0 4px 14px rgba(0,0,0,.05);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif; background: var(--hintergrund); color: var(--text); line-height: 1.5; font-size: 16px; }
a { color: var(--rot); }
.innen { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.kopf { background: var(--rot); color: #fff; border-bottom: 4px solid var(--gelb); }
.kopf .innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 12px; padding-bottom: 12px; }
.marke { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.marke strong { display: block; font-size: 17px; line-height: 1.2; }
.marke small { display: block; font-size: 12px; opacity: .85; }
.flamme { width: 34px; height: 34px; border-radius: 9px; background: var(--gelb); position: relative; flex: none; }
.flamme::after { content: ""; position: absolute; left: 11px; top: 7px; width: 12px; height: 20px; background: var(--rot); border-radius: 6px 6px 8px 8px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }
.nav a { color: #fff; text-decoration: none; font-weight: 600; opacity: .9; padding: 4px 0; }
.nav a:hover { opacity: 1; text-decoration: underline; }
main.innen { padding-top: 20px; padding-bottom: 40px; }
h1 { font-size: 24px; margin: 0 0 14px; }
h2 { font-size: 15px; font-weight: 700; margin: 24px 0 10px; color: var(--leise); text-transform: uppercase; letter-spacing: .4px; }
h2:first-child, h1 + h2 { margin-top: 0; }
.karte { background: var(--karte); border-radius: var(--radius); box-shadow: var(--schatten); padding: 16px; margin-bottom: 12px; }
.karte h3 { margin: 0 0 4px; font-size: 17px; }
.karte h3 a { color: inherit; text-decoration: none; }
.karte .meta { color: var(--leise); font-size: 14px; }
.karte p { margin: 8px 0 0; }
.etikett { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #ffeadf; color: var(--orange-dunkel); vertical-align: middle; }
.etikett.gruen { background: #e3f3e8; color: var(--gruen); }
.etikett.grau { background: #ece7e3; color: var(--leise); }
.hinweis { background: #e3f3e8; color: #14532d; border-radius: var(--radius); padding: 12px 14px; margin-bottom: 14px; }
.hinweis.fehler { background: #fde8ea; color: #8a0015; }
.hinweis.info { background: #fff6dc; color: #6b4b00; }
.leer { color: var(--leise); padding: 24px 0; text-align: center; }
.leise { color: var(--leise); font-size: 14px; }
.knopf { display: inline-block; border: 0; border-radius: 10px; background: var(--rot); color: #fff; font: inherit; font-weight: 700; padding: 12px 18px; cursor: pointer; text-decoration: none; }
.knopf:hover { background: var(--rot-dunkel); }
.knopf.leise { background: #fff; color: var(--text); border: 1.5px solid var(--linie); }
.knopf.klein { padding: 7px 12px; font-size: 14px; border-radius: 8px; }
.knopf.gefahr { background: #fff; color: var(--fehler); border: 1.5px solid var(--fehler); }
.feld { margin-bottom: 14px; }
.feld label { display: block; font-size: 14px; font-weight: 600; color: var(--leise); margin-bottom: 4px; }
.feld input, .feld textarea, .feld select { width: 100%; border: 1.5px solid var(--linie); border-radius: 10px; padding: 11px 12px; font: inherit; background: #fff; color: var(--text); }
.feld input:focus, .feld textarea:focus, .feld select:focus { outline: 2px solid var(--rot); outline-offset: 0; border-color: var(--rot); }
.feld textarea { min-height: 120px; resize: vertical; }
.feld .erklaerung { font-size: 13px; color: var(--leise); margin-top: 4px; }
.zeile { display: flex; flex-wrap: wrap; gap: 12px; }
.zeile > .feld { flex: 1 1 200px; }
.auswahl { display: flex; gap: 8px; flex-wrap: wrap; }
.auswahl label { flex: 1 1 120px; border: 1.5px solid var(--linie); border-radius: 10px; padding: 12px; text-align: center; font-weight: 700; cursor: pointer; background: #fff; }
.auswahl input { position: absolute; opacity: 0; }
.auswahl label:has(input:checked) { border-color: var(--rot); background: #eef3fb; color: var(--rot-dunkel); }
.aktionen { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.inline { display: inline; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); box-shadow: var(--schatten); overflow: hidden; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--linie); vertical-align: top; }
th { background: #faf8f6; color: var(--leise); font-size: 13px; text-transform: uppercase; letter-spacing: .3px; border-top: 0; }
.tabelle { overflow-x: auto; }
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 16px; }
.kachel { background: #fff; border-radius: var(--radius); box-shadow: var(--schatten); padding: 14px; text-align: center; text-decoration: none; color: inherit; }
.kachel strong { display: block; font-size: 26px; line-height: 1.1; color: var(--rot); }
.kachel span { font-size: 13px; color: var(--leise); font-weight: 600; }
.fuss { color: var(--leise); font-size: 13px; padding: 16px 0 24px; border-top: 1px solid var(--linie); }
.fuss a { color: var(--leise); }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 22px; letter-spacing: 3px; background: #fff; border: 1.5px dashed var(--linie); border-radius: 10px; padding: 10px 14px; display: inline-block; }
.kontakt .zeile-k { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.durchgestrichen { text-decoration: line-through; color: var(--leise); }
@media (max-width: 480px) { h1 { font-size: 21px; } .kopf .innen { padding-top: 10px; padding-bottom: 10px; } }
.feld input[type="checkbox"], .feld input[type="radio"] { width: auto; display: inline-block; margin: 0 6px 0 0; vertical-align: middle; accent-color: var(--rot); }
/* Konten, QR-Kopplung, Lesetabellen */
.ok { color: var(--gruen); font-weight: 700; }
.nein { color: var(--fehler); font-weight: 700; }
.koppeln { text-align: center; border: 2px solid var(--gelb); }
.qr { width: min(260px, 70vw); margin: 8px auto; background: #fff; }
.qr svg { width: 100%; height: auto; display: block; }
.koppeln .code { font-size: 28px; letter-spacing: 6px; }
details.karte summary { cursor: pointer; }
.auswahl .knopf { text-align: center; }
[hidden] { display: none !important; }
/* Logo im Seitenkopf */
.marke img { height: 46px; width: auto; display: block; }
.marke small { display: block; font-size: 12px; opacity: .85; border-left: 1.5px solid rgba(255,255,255,.4); padding-left: 10px; text-transform: uppercase; letter-spacing: .6px; font-weight: 600; }
h1, h2, .karte h3, .knopf { letter-spacing: .1px; }
.willkommen { display: flex; gap: 14px; align-items: center; }
.willkommen img { width: 104px; height: auto; flex: none; }
.knopf.orange { background: var(--gelb); }
.knopf.orange:hover { background: var(--orange-dunkel); }
/* Aufnahmegesuch */
fieldset.karte { border: 0; }
fieldset.karte legend { font-weight: 700; font-size: 17px; padding: 0; float: left; width: 100%; margin-bottom: 10px; }
fieldset.karte legend + * { clear: both; }
.janein { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.janein label { font-weight: 500 !important; color: var(--text) !important; display: inline-flex !important; align-items: center; gap: 6px; }
.janein input { width: auto !important; accent-color: var(--rot); }
@media (max-width: 480px) { .marke img { height: 38px; } .willkommen img { width: 84px; } }
