/* Blumen-Marr Bestell-App. Farben und Schriften von blumenmarr.de (websites/kunden/blumenmarr/build.py, Kopf):
   Dunkelrot #501011 (Kopfzeile), Braun #6c3423 (Akzent), Beige #e3c0a1 (Linien), Marcellus + Barlow (lokal in schrift/).
   Hell/Dunkel/Gerät über data-thema am <html> (Keks „thema“, Doktrin: Eigene Programme). Ältere Browser ohne light-dark()
   bekommen die hellen Werte aus der ersten Zeile jedes Tokens. */
@font-face { font-family: 'Marcellus'; src: url('schrift/marcellus-normal-400-latin.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('schrift/barlow-normal-400-latin.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('schrift/barlow-normal-500-latin.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('schrift/barlow-normal-600-latin.woff2') format('woff2'); font-weight: 600; font-display: swap; }

html { color-scheme: light; }
html[data-thema="dunkel"] { color-scheme: dark; }
html[data-thema="geraet"] { color-scheme: light dark; }
:root {
  --grund: #f8f4f0; --grund: light-dark(#f8f4f0, #191213);
  --flaeche: #ffffff; --flaeche: light-dark(#ffffff, #241a1b);
  --rand: #ece3da; --rand: light-dark(#ece3da, #3d2e2c);
  --linie: #e3c0a1; --linie: light-dark(#e3c0a1, #6b4f3c);
  --titel: #2a2426; --titel: light-dark(#2a2426, #f3ebe6);
  --text: #4f4a4b; --text: light-dark(#4f4a4b, #ded3cd);
  --leise: #6e6667; --leise: light-dark(#6e6667, #b5a8a2);
  --dunkel: #501011; --dunkel: light-dark(#501011, #3a0b0c);
  --akzent: #6c3423; --akzent: light-dark(#6c3423, #e3c0a1);
  --auf-akzent: #ffffff; --auf-akzent: light-dark(#ffffff, #2a1810);
  --kicker: #8b5a3c; --kicker: light-dark(#8b5a3c, #d9b08f);
  --gut: #2f6b3a; --gut: light-dark(#2f6b3a, #8fd19c);
  --warn: #9a3412; --warn: light-dark(#9a3412, #fdba74);
  --fehler: #a1121b; --fehler: light-dark(#a1121b, #ff9a9f);
  --hinweis-grund: #fbf3e9; --hinweis-grund: light-dark(#fbf3e9, #2f2420);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--grund); color: var(--text); font: 400 17px/1.55 Barlow, system-ui, sans-serif; }
h1, h2, h3 { font-family: Marcellus, Georgia, serif; font-weight: 400; color: var(--titel); line-height: 1.2; }
a { color: var(--akzent); }
.zum-inhalt { position: absolute; left: -10000px; top: 0; }
.zum-inhalt:focus { left: 12px; top: 12px; z-index: 50; background: var(--flaeche); color: var(--titel); padding: 8px 14px; border-radius: 8px; }
main:focus { outline: none; }

/* Kopf wie auf blumenmarr.de: dunkelrote Leiste mit Logo */
.kopf { background: var(--dunkel); color: #f6ece4; display: flex; align-items: center; gap: 14px; padding: 10px 18px; flex-wrap: wrap; }
.kopf .marke { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.kopf .marke img { width: 52px; height: 52px; border-radius: 8px; }
.kopf .marke span { font-family: Marcellus, Georgia, serif; font-size: 22px; line-height: 1.1; }
.kopf .marke small { display: block; font: 400 13px Barlow, sans-serif; color: #e3c0a1; }
.kopf .raum { flex: 1; }
.kopf a.pille, .kopf button.pille { color: #f6ece4; border: 1px solid #8a4a3c; background: transparent; border-radius: 999px; padding: 6px 12px; font: 500 14px Barlow, sans-serif; text-decoration: none; cursor: pointer; }
.kopf .pille:hover { background: #6a1a1b; }

.seite { max-width: 820px; margin: 0 auto; padding: 22px 16px 60px; }
.einleitung h1 { font-size: clamp(28px, 5vw, 40px); margin: 8px 0 6px; }
.kicker { color: var(--kicker); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 600; margin: 0; }
.einleitung p { margin: 6px 0; }
.leise { color: var(--leise); }

.karte { background: var(--flaeche); border: 1px solid var(--rand); border-radius: 14px; padding: 18px 18px 8px; margin: 18px 0; }
.karte > h2 { font-size: 22px; margin: 0 0 4px; }
.karte > h2 .nr { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--akzent); color: var(--auf-akzent); font: 600 15px Barlow, sans-serif; margin-right: 10px; vertical-align: 3px; } /* Barlow: Marcellus setzt „1“ wie ein „I“ */
fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
legend, .feld > span.titel { display: block; font-weight: 600; color: var(--titel); margin-bottom: 6px; padding: 0; }
.wahlen { display: flex; flex-wrap: wrap; gap: 8px; }
.wahl { position: relative; }
.wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wahl span { display: inline-block; border: 1px solid var(--linie); border-radius: 999px; padding: 7px 14px; cursor: pointer; background: var(--flaeche); }
.wahl input:checked + span { background: var(--akzent); color: var(--auf-akzent); border-color: var(--akzent); }
.wahl input:focus-visible + span { outline: 3px solid var(--kicker); outline-offset: 2px; }
.feld { display: block; margin: 0 0 14px; }
.feld input, .feld select, .feld textarea { width: 100%; font: inherit; color: var(--titel); background: var(--flaeche); border: 1px solid var(--linie); border-radius: 10px; padding: 10px 12px; }
.feld textarea { min-height: 96px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: 3px solid color-mix(in srgb, var(--kicker) 45%, transparent); border-color: var(--kicker); }
[aria-invalid="true"] { border-color: var(--fehler) !important; }
.feldfehler { color: var(--fehler); font-size: 15px; margin: 4px 0 0; }
.reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.reihe.plz { grid-template-columns: 140px 1fr; }
@media (max-width: 560px) { .reihe, .reihe.plz { grid-template-columns: 1fr; } }
.hinweis { background: var(--hinweis-grund); border-left: 4px solid var(--linie); border-radius: 8px; padding: 10px 14px; margin: 0 0 14px; font-size: 15px; }
.falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.haken { display: flex; gap: 10px; align-items: flex-start; }
.haken input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--akzent); }
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 17px Barlow, sans-serif; border-radius: 999px; padding: 12px 26px; border: 1px solid var(--akzent); background: var(--akzent); color: var(--auf-akzent); cursor: pointer; text-decoration: none; }
.knopf.rand { background: transparent; color: var(--akzent); }
.knopf.klein { padding: 7px 14px; font-size: 15px; }
.knopf.gruen { background: var(--gut); border-color: var(--gut); color: #fff; }
.knopf.rot { background: transparent; border-color: var(--fehler); color: var(--fehler); }
.knopf[disabled], .knopf[aria-busy="true"] { opacity: .65; cursor: progress; }
.meldung { border-radius: 10px; padding: 12px 14px; margin: 12px 0; }
.meldung.fehler { background: color-mix(in srgb, var(--fehler) 12%, var(--flaeche)); color: var(--titel); border: 1px solid var(--fehler); }
.meldung.gut { background: color-mix(in srgb, var(--gut) 12%, var(--flaeche)); color: var(--titel); border: 1px solid var(--gut); }
.meldung:empty { display: none; }
.zusammenfassung { margin: 0; }
.zusammenfassung .zeile { display: grid; grid-template-columns: 190px 1fr; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--rand); }
.zusammenfassung dt { color: var(--leise); }
.zusammenfassung dd { margin: 0; color: var(--titel); white-space: pre-line; }
@media (max-width: 560px) { .zusammenfassung .zeile { grid-template-columns: 1fr; gap: 0; } }
.fuss { text-align: center; color: var(--leise); font-size: 14px; padding: 20px 16px 40px; }
.fuss a { color: var(--leise); }
.nur-liefern[hidden] { display: none; }
