/* Meldeformular im Stil eines Notfallprotokolls – Rettungsdienstfarben
     Leuchtrot      #D7000F  Kopfbalken der Abschnitte, Anruf, Weiter, Auswahl
     Signalgelb     #FFD100  Warnstreifen, Markierungen (nie als Schriftfarbe)
     Rettungsblau   #0B2545  Text, Rahmen, Fußzeile
     Protokollweiß  #FFFFFF  Blatt; Unterlage #EEF0F3
   Gilt nur für die Erwachsenen-/Standardansicht. Kinderformular (data-mode="k"),
   Dunkel- und Kontrastmodus bleiben unverändert. */

html:not([data-mode="k"]):not(.dark):not(.hc){
  --navy:#0b2545;--bg:#eef0f3;--card:#fff;--ink:#0b2545;--mut:#3d4b5c;--line:#9aa7b6;--shadow:#c9d0d9;
  --pri:#d7000f;--priS:#a8000c;--priL:#fff1f1;--priB:#d7000f;
  --red:#d7000f;--redS:#a8000c;--redL:#ffe9ea;--redB:#f3a5aa;
  --r:6px;
  --rd-red:#d7000f;--rd-yel:#ffd100;--rd-blue:#0b2545;
  --stripe:repeating-linear-gradient(-45deg,var(--rd-red) 0 14px,var(--rd-yel) 14px 28px)}

html:not([data-mode="k"]):not(.dark):not(.hc) body{background:var(--bg)!important;color:var(--ink)}

/* Kopf: weißer Balken mit rot-gelbem Warnstreifen */
html:not([data-mode="k"]):not(.dark):not(.hc) .top{background:#fff!important;border-bottom:0!important;position:relative;box-shadow:0 1px 0 #d5dbe2}
html:not([data-mode="k"]):not(.dark):not(.hc) .top::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:6px;background:var(--stripe)}
html:not([data-mode="k"]):not(.dark):not(.hc) .top :is(.brand b,.brand small,.brand){color:var(--rd-blue)!important}
html:not([data-mode="k"]):not(.dark):not(.hc) .top .brand small{text-transform:uppercase;letter-spacing:.08em;font-weight:700;font-size:.7rem}
html:not([data-mode="k"]):not(.dark):not(.hc) .top :is(.hbtn,.langsel){border:2px solid var(--rd-blue)!important;color:var(--rd-blue)!important;border-radius:6px!important}
html:not([data-mode="k"]):not(.dark):not(.hc) .top .langsel{background-color:#fff!important}
html:not([data-mode="k"]):not(.dark):not(.hc) .top .sos{background:var(--rd-red)!important;color:#fff!important;border-radius:6px!important;text-transform:uppercase;letter-spacing:.05em}

/* Fortschritt wie Protokoll-Abschnitte */
html:not([data-mode="k"]):not(.dark):not(.hc) .prog{padding-top:1.4rem}
html:not([data-mode="k"]):not(.dark):not(.hc) .paws span{height:8px;border-radius:2px;background:#cfd6de}
html:not([data-mode="k"]):not(.dark):not(.hc) .paws span.on{background:var(--rd-red)}
html:not([data-mode="k"]):not(.dark):not(.hc) .meta{color:var(--rd-blue);text-transform:uppercase;letter-spacing:.06em;font-size:.78rem;font-weight:700}

/* Das Blatt */
html:not([data-mode="k"]):not(.dark):not(.hc) main#inhalt{background:#fff;border:2px solid var(--rd-blue);border-radius:6px;margin-top:1rem;padding:0 0 1.4rem;margin-bottom:9rem;box-shadow:0 2px 0 var(--shadow)}
html:not([data-mode="k"]):not(.dark):not(.hc) main#inhalt > .scr{padding:0 1.2rem}
/* Abschnittskopf: roter Balken über die ganze Blattbreite */
html:not([data-mode="k"]):not(.dark):not(.hc) .scr > .qh{margin:0 -1.2rem 1rem;padding:.85rem 1.2rem;background:var(--rd-red);align-items:center}
html:not([data-mode="k"]):not(.dark):not(.hc) .scr > .qh .q{color:#fff!important;font-size:clamp(1.25rem,4.4vw,1.65rem);line-height:1.2;margin:0}
html:not([data-mode="k"]):not(.dark):not(.hc) .scr > .qh .say{background:#fff;border:0;border-radius:6px}
html:not([data-mode="k"]):not(.dark):not(.hc) .scr > .qh .say .sl{color:var(--rd-blue)}
html:not([data-mode="k"]):not(.dark):not(.hc) :is(.lhead,.f){text-transform:uppercase;letter-spacing:.06em;font-size:.82rem;color:var(--rd-blue);font-weight:800}
html:not([data-mode="k"]):not(.dark):not(.hc) .f small{text-transform:none;letter-spacing:0;font-size:.95rem;color:var(--mut)}
html:not([data-mode="k"]):not(.dark):not(.hc) .hint{color:var(--mut)}

/* Auswahl OHNE Kacheln: nur Grafik + Beschriftung, interaktiv */
html:not([data-mode="k"]):not(.dark):not(.hc) .card{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:14px!important;padding:.7rem .5rem 1rem!important;transition:transform .22s cubic-bezier(.2,.8,.2,1),background .2s!important;-webkit-tap-highlight-color:transparent}
html:not([data-mode="k"]):not(.dark):not(.hc) .card::before{display:none!important}
html:not([data-mode="k"]):not(.dark):not(.hc) .card .ico,html:not([data-mode="k"]):not(.dark):not(.hc) .card .e{transition:transform .3s cubic-bezier(.2,.9,.3,1.3),box-shadow .25s,outline-color .2s!important;border-radius:18px;outline:4px solid transparent;outline-offset:4px}
html:not([data-mode="k"]):not(.dark):not(.hc) .card .ico[data-photo]{box-shadow:0 6px 18px -8px rgba(11,37,69,.45)}
html:not([data-mode="k"]):not(.dark):not(.hc) .card .t{transition:color .2s}
html:not([data-mode="k"]):not(.dark):not(.hc) .card:hover{transform:translateY(-3px)!important;border-color:transparent!important}
html:not([data-mode="k"]):not(.dark):not(.hc) .card:hover :is(.ico,.e){transform:scale(1.06) rotate(-1.5deg)}
html:not([data-mode="k"]):not(.dark):not(.hc) .card:hover .t{color:var(--rd-red)}
html:not([data-mode="k"]):not(.dark):not(.hc) .card:active{transform:scale(.96)!important}
html:not([data-mode="k"]):not(.dark):not(.hc) .card:focus-visible{outline:3px solid var(--rd-yel)!important;outline-offset:2px}
/* gewählt: roter Ring um die Grafik, Haken-Plakette, Titel rot */
html:not([data-mode="k"]):not(.dark):not(.hc) :is(.card[aria-pressed="true"],.card[aria-checked="true"]){background:transparent!important;box-shadow:none!important}
html:not([data-mode="k"]):not(.dark):not(.hc) :is(.card[aria-pressed="true"],.card[aria-checked="true"]) :is(.ico,.e){outline-color:var(--rd-red);transform:scale(1.04);animation:nfPick .45s cubic-bezier(.2,.9,.3,1.4)}
html:not([data-mode="k"]):not(.dark):not(.hc) :is(.card[aria-pressed="true"],.card[aria-checked="true"]) .t{color:var(--rd-red)!important}
html:not([data-mode="k"]):not(.dark):not(.hc) :is(.card[aria-pressed="true"],.card[aria-checked="true"])::after{background:var(--rd-red)!important;box-shadow:0 0 0 3px #fff,0 4px 10px rgba(215,0,15,.4);animation:nfBadge .35s cubic-bezier(.2,.9,.3,1.5)}
html:not([data-mode="k"]):not(.dark):not(.hc) .card.wide{border-bottom:1px solid #e3e7ec!important;border-radius:0!important;padding:1rem .4rem!important}
html:not([data-mode="k"]):not(.dark):not(.hc) .card.wide:hover{transform:translateX(4px)!important}
html:not([data-mode="k"]):not(.dark):not(.hc) .card.wide[aria-pressed="true"],html:not([data-mode="k"]):not(.dark):not(.hc) .card.wide[aria-checked="true"]{background:linear-gradient(90deg,#fff1f1,rgba(255,241,241,0))!important}
@keyframes nfPick{0%{transform:scale(.9)}60%{transform:scale(1.09)}100%{transform:scale(1.04)}}
@keyframes nfBadge{0%{transform:scale(0)}100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){html:not([data-mode="k"]) .card,html:not([data-mode="k"]) .card *{transition:none!important;animation:none!important}html:not([data-mode="k"]) .card:hover{transform:none!important}}
html:not([data-mode="k"]):not(.dark):not(.hc) .langs button,html:not([data-mode="k"]):not(.dark):not(.hc) .pill button{border-radius:6px!important}
html:not([data-mode="k"]):not(.dark):not(.hc) .in-t{border:2px solid var(--line);border-radius:6px;background:#fff}
html:not([data-mode="k"]):not(.dark):not(.hc) .in-t:focus{border-color:var(--rd-blue);outline:3px solid var(--rd-yel);outline-offset:1px}

/* Hinweise der Eule: Infokasten mit gelbem Rand */
html:not([data-mode="k"]):not(.dark):not(.hc) main .owl{border-radius:6px!important;border-left:6px solid var(--rd-yel)!important}
html:not([data-mode="k"]):not(.dark):not(.hc) main .owl.red{border-left-color:var(--rd-red)!important}

/* Navigation unten */
html:not([data-mode="k"]):not(.dark):not(.hc) .nb{border-radius:6px!important;text-transform:uppercase;letter-spacing:.05em}
html:not([data-mode="k"]):not(.dark):not(.hc) .nb.go{background:var(--rd-red)!important;border-color:var(--rd-red)!important;color:#fff!important;box-shadow:0 3px 0 #8a0009!important}
html:not([data-mode="k"]):not(.dark):not(.hc) .a-gh{border:2px solid var(--rd-blue)!important;color:var(--rd-blue)!important}
html:not([data-mode="k"]):not(.dark):not(.hc) .a-red{background:var(--rd-red)!important;color:#fff!important}

/* Fußzeile */
html:not([data-mode="k"]):not(.dark):not(.hc) footer{background:var(--rd-blue)!important;color:#e6ebf1!important;position:relative}
html:not([data-mode="k"]):not(.dark):not(.hc) footer::before{content:"";position:absolute;left:0;right:0;top:0;height:6px;background:var(--stripe)}
html:not([data-mode="k"]):not(.dark):not(.hc) footer a{color:#fff!important}

/* Sprachwahl ohne Kästen: Flagge + Name, gewählt rot unterstrichen */
html:not([data-mode="k"]):not(.dark):not(.hc) .langs button{border:0!important;background:transparent!important;box-shadow:none!important;border-bottom:3px solid transparent!important;border-radius:0!important;padding:.45rem .5rem!important;transition:color .2s,border-color .2s,transform .15s}
html:not([data-mode="k"]):not(.dark):not(.hc) .langs button:hover{border-bottom-color:#c3ccd6!important;transform:translateY(-1px)}
html:not([data-mode="k"]):not(.dark):not(.hc) .langs button:is([aria-checked="true"],[aria-pressed="true"]){border-bottom-color:var(--rd-red)!important;color:var(--rd-red)!important}

/* Alle Bilder mittig: auch Listenfelder als zentrierte Einheit (Bild oben, Text darunter) */
html:not([data-mode="k"]):not(.dark):not(.hc) .card,html:not([data-mode="k"]):not(.dark):not(.hc) .card.wide{flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important}
html:not([data-mode="k"]):not(.dark):not(.hc) .card.wide{padding:1.1rem .6rem 1.2rem!important;gap:.6rem!important}
html:not([data-mode="k"]):not(.dark):not(.hc) .card.wide .tx{align-items:center;text-align:center}
html:not([data-mode="k"]):not(.dark):not(.hc) .card.wide:hover{transform:translateY(-3px)!important}
html:not([data-mode="k"]):not(.dark):not(.hc) .card.wide[aria-pressed="true"],html:not([data-mode="k"]):not(.dark):not(.hc) .card.wide[aria-checked="true"]{background:radial-gradient(ellipse 60% 70% at 50% 50%,#fff1f1,rgba(255,241,241,0))!important}
html:not([data-mode="k"]):not(.dark):not(.hc) .card :is(.ico,.e){margin-inline:auto}
html:not([data-mode="k"]):not(.dark):not(.hc) .cards{justify-items:center}
html:not([data-mode="k"]):not(.dark):not(.hc) .cards > .card{width:100%}
html:not([data-mode="k"]):not(.dark):not(.hc) .langs{justify-content:center}
html:not([data-mode="k"]):not(.dark):not(.hc) :is(.hint,.lhead){text-align:center}
