/* Ständla – Oberfläche.
   Leitmotiv: Hausnummernschild (Standnummern). Schrift: Archivo (schmal für Titel, normal für Text) – lokal.
   Große Bedienelemente, hoher Kontrast, Farben des Veranstalters über --stdl-akzent. */
:root {
	--stdl-akzent: #047857; --stdl-akzent-dunkel: #064e3b; --stdl-akzent-hell: #dcf5e9;
	--stdl-tinte: #17211b; --stdl-text: #17211b; --stdl-leise: #4e5c54; --stdl-kalk: #f4f6f5; --stdl-hell: #f4f6f5; --stdl-rand: #d6ddd8; --stdl-feld: #9aa9a0;
	--stdl-signal: #d9480f; --stdl-strasse: #2457c5; --stdl-ort: #66706a; --stdl-gefahr: #b42318; --stdl-warn: #8a5a00;
	--stdl-r-gross: 14px; --stdl-r: 10px; --stdl-r-klein: 7px;
	--stdl-schrift: "Archivo STDL", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--stdl-titel: "Archivo STDL", "Arial Narrow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.stdl { font-family: var(--stdl-schrift); font-size: 1.0625rem; line-height: 1.55; color: var(--stdl-text); max-width: 62rem; margin: 0 auto; }
.stdl * { box-sizing: border-box; }
.stdl h1, .stdl h2, .stdl h3 { font-family: var(--stdl-titel); font-stretch: 87.5%; letter-spacing: -.005em; line-height: 1.15; color: var(--stdl-tinte); }
.stdl h2 { margin: 2rem 0 .7rem; font-size: 1.6rem; font-weight: 750; }
.stdl h3 { margin: 1.5rem 0 .5rem; font-size: 1.2rem; font-weight: 700; }
.stdl p { margin: 0 0 .8rem; }
.stdl-klein { font-size: .9rem; color: var(--stdl-leise); }
.stdl-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stdl :focus-visible, .stdl-druck :focus-visible { outline: 3px solid var(--stdl-akzent); outline-offset: 3px; border-radius: 4px; }
.stdl a { color: var(--stdl-akzent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.stdl a:hover { text-decoration-thickness: 2px; }
.stdl .stdl-btn, .stdl .stdl-nav a { text-decoration: none; }
.stdl-gross { font-size: 1.4rem; }
.stdl-fehler { color: var(--stdl-gefahr); font-weight: 600; }

/* ---------- Hausnummernschild (Standnummer) ---------- */
.stdl-nrschild { display: inline-grid; place-items: center; min-width: 2.1em; height: 1.75em; padding: 0 .35em; border-radius: .38em; background: var(--stdl-akzent); color: #fff; font-family: var(--stdl-titel); font-weight: 800; font-stretch: 87.5%; font-size: 1rem; line-height: 1; box-shadow: inset 0 0 0 .14em var(--stdl-akzent), inset 0 0 0 .22em rgba(255,255,255,.9); vertical-align: middle; }

/* ---------- Karte ---------- */
.stdl-map { width: 100%; height: 62vh; min-height: 340px; max-height: 640px; border: 1px solid var(--stdl-rand); border-radius: var(--stdl-r-gross); background: var(--stdl-kalk); margin: .6rem 0 1rem; overflow: hidden; }
.stdl-map--klein { height: 40vh; min-height: 260px; cursor: crosshair; }
.stdl-marker { border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(23,33,27,.35); }
.stdl-marker--markt { background: var(--stdl-signal); }
.stdl-marker--genau { background: var(--stdl-akzent); }
.stdl-marker--strasse { background: var(--stdl-strasse); }
.stdl-marker--ort { background: var(--stdl-ort); border-style: dashed; }
.stdl-marker--nr { border-radius: 6px; transform: none; border: 0; box-shadow: inset 0 0 0 2px currentColor, inset 0 0 0 3.5px #fff, 0 2px 6px rgba(23,33,27,.35); color: transparent; }
.stdl-marker--nr.stdl-marker--genau { color: var(--stdl-akzent); } .stdl-marker--nr.stdl-marker--strasse { color: var(--stdl-strasse); } .stdl-marker--nr.stdl-marker--ort { color: var(--stdl-ort); }
.stdl-marker--nr span { display: block; color: #fff; font: 800 12px/26px var(--stdl-titel); font-stretch: 87.5%; text-align: center; }
.leaflet-container { font-family: var(--stdl-schrift); }
.leaflet-popup-content-wrapper { border-radius: var(--stdl-r); }
.leaflet-popup-content { font-size: .95rem; line-height: 1.45; }

/* ---------- Listen ---------- */
.stdl-liste { list-style: none; padding: 0; margin: 0; }
.stdl-liste > li { padding: .9rem .25rem; border-bottom: 1px solid var(--stdl-rand); }
.stdl-liste > li:last-child { border-bottom: 0; }
.stdl-nrliste { counter-reset: none; padding: 0; }
.stdl-nrliste > li { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: start; }
.stdl-nrliste > li::before { content: attr(value); grid-row: span 9; margin-top: .1rem; display: grid; place-items: center; min-width: 2.3rem; height: 1.9rem; padding: 0 .3rem; border-radius: 7px; background: var(--stdl-akzent); color: #fff; font: 800 1rem/1 var(--stdl-titel); font-stretch: 87.5%; box-shadow: inset 0 0 0 2px var(--stdl-akzent), inset 0 0 0 3.5px rgba(255,255,255,.9); }
.stdl-nrliste > li:not([value])::before { content: none; }
.stdl-nrliste > li:not([value]) { display: block; }
.stdl-stand-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--stdl-tinte); cursor: pointer; text-decoration: underline; text-decoration-color: var(--stdl-rand); text-underline-offset: .2em; }
.stdl-stand-btn:hover { text-decoration-color: var(--stdl-akzent); }
.stdl-stufe--ort { color: var(--stdl-ort); }
.stdl-karte-item a strong { font-family: var(--stdl-titel); font-stretch: 87.5%; font-size: 1.15rem; }
.stdl-fotos { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.stdl-fotos img { width: 104px; height: 104px; object-fit: cover; border-radius: var(--stdl-r-klein); border: 1px solid var(--stdl-rand); cursor: zoom-in; }
.stdl-fotos > div { text-align: center; }
.stdl-popup-fotos { display: flex; gap: 4px; margin-top: 6px; } .stdl-popup-fotos img { width: 64px; height: 64px; object-fit: cover; border-radius: 5px; }
.stdl-lightbox { position: fixed; inset: 0; background: rgba(15,22,18,.9); display: grid; place-items: center; z-index: 9999; cursor: zoom-out; } .stdl-lightbox img { max-width: 95vw; max-height: 95vh; border-radius: 8px; }

/* Badges: ruhig, getönt */
.stdl-badge { display: inline-block; background: var(--stdl-akzent-hell); background: color-mix(in srgb, var(--stdl-akzent) 13%, #fff); color: var(--stdl-akzent-dunkel); font-size: .8rem; font-weight: 700; padding: .12rem .55rem; border-radius: 999px; vertical-align: middle; text-decoration: none; }
a.stdl-badge:hover { background: var(--stdl-akzent); color: #fff; }
.stdl-badge--grau { background: #eceeed; color: #3f4943; }

/* ---------- Filter ---------- */
.stdl-filter { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; margin: .9rem 0; padding: .7rem .9rem; background: var(--stdl-kalk); border-radius: var(--stdl-r); }
.stdl-filter label { font-weight: 700; font-size: .95rem; }
.stdl-filter input, .stdl-filter select { font: inherit; font-size: 1rem; padding: .5rem .7rem; border: 1.5px solid var(--stdl-feld); border-radius: var(--stdl-r-klein); min-width: 11rem; min-height: 44px; background: #fff; }

/* ---------- Hinweise ---------- */
.stdl-hinweis { padding: .85rem 1rem .85rem 1.1rem; border-radius: var(--stdl-r); margin: .9rem 0; background: #fff7e8; border: 1px solid #ecd7a8; border-left: 5px solid #c88a12; }
.stdl-hinweis--ok { background: #ecf6ef; border-color: #b9dcc4; border-left-color: #2f8a52; }
.stdl-hinweis--fehler { background: #fdeeec; border-color: #f2c0b9; border-left-color: var(--stdl-gefahr); }
.stdl-hinweis--info { background: #eef3fb; border-color: #c6d5ee; border-left-color: var(--stdl-strasse); }

/* ---------- Schaltflächen ---------- */
.stdl-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; background: var(--stdl-akzent); color: #fff !important; text-decoration: none !important; border: 2px solid var(--stdl-akzent); border-radius: var(--stdl-r); padding: .7rem 1.25rem; font: inherit; font-weight: 700; cursor: pointer; margin: .2rem .25rem .2rem 0; min-height: 46px; line-height: 1.2; transition: background-color .15s, border-color .15s; }
.stdl-btn:hover { background: var(--stdl-akzent-dunkel); border-color: var(--stdl-akzent-dunkel); }
.stdl-btn:focus-visible { outline: 3px solid var(--stdl-akzent); outline-offset: 3px; }
.stdl-btn--sekundaer { background: #fff; color: var(--stdl-akzent) !important; border-color: currentColor; }
.stdl-btn--sekundaer:hover { background: var(--stdl-akzent-hell); background: color-mix(in srgb, var(--stdl-akzent) 9%, #fff); border-color: var(--stdl-akzent); }
.stdl-btn--gefahr { background: var(--stdl-gefahr); border-color: var(--stdl-gefahr); }
.stdl-btn--gefahr:hover { background: #8c1b12; border-color: #8c1b12; }
.stdl-btn--klein { padding: .38rem .8rem; font-size: .92rem; min-height: 38px; border-width: 1.5px; border-radius: var(--stdl-r-klein); }
.stdl-btn--gross { font-size: 1.15rem; padding: .9rem 1.7rem; }
.stdl-inline { display: inline; }
.stdl-aktionen form { display: inline; }
@media (prefers-reduced-motion: reduce) { .stdl-btn { transition: none; } }

/* ---------- Formulare ---------- */
.stdl-box { background: #fff; border: 1px solid var(--stdl-rand); border-radius: var(--stdl-r-gross); padding: 1.4rem 1.5rem; max-width: 38rem; box-shadow: 0 1px 0 var(--stdl-rand); }
.stdl-form label { display: block; font-weight: 700; margin-bottom: .3rem; }
.stdl-form input[type=text], .stdl-form input[type=email], .stdl-form input[type=url], .stdl-form input[type=password], .stdl-form input[type=date], .stdl-form input[type=time], .stdl-form input[type=number], .stdl-form input[type=search], .stdl-form input:not([type]), .stdl-form select, .stdl-form textarea,
.stdl-box input[type=text], .stdl-box input[type=password], .stdl-box input[type=email] {
	width: 100%; font: inherit; font-size: 1.05rem; padding: .6rem .75rem; border: 1.5px solid var(--stdl-feld); border-radius: var(--stdl-r-klein); background: #fff; min-height: 46px; color: var(--stdl-tinte); }
.stdl-form input:focus, .stdl-form select:focus, .stdl-form textarea:focus, .stdl-box input:focus { border-color: var(--stdl-akzent); outline: 3px solid color-mix(in srgb, var(--stdl-akzent) 25%, transparent); outline-offset: 0; }
.stdl-form input[type=color] { width: 4rem; height: 46px; padding: 3px; border: 1.5px solid var(--stdl-feld); border-radius: var(--stdl-r-klein); background: #fff; }
.stdl-form input[type=file] { font: inherit; font-size: .95rem; }
.stdl-form textarea { min-height: 5.5rem; line-height: 1.5; }
.stdl-form fieldset { border: 0; border-top: 1px solid var(--stdl-rand); padding: 1rem 0 .4rem; margin: 1.2rem 0 .6rem; }
.stdl-form legend { font-family: var(--stdl-titel); font-stretch: 87.5%; font-weight: 750; font-size: 1.12rem; padding: 0 .6rem 0 0; color: var(--stdl-tinte); }
.stdl-form p { margin: 0 0 .9rem; }
.stdl-check, .stdl-radio { display: block; font-weight: 400 !important; margin: .55rem 0; cursor: pointer; padding-left: 2.1rem; text-indent: -2.1rem; line-height: 1.5; }
.stdl-check input, .stdl-radio input { width: 1.3rem; height: 1.3rem; margin: 0 .7rem 0 0; vertical-align: -0.22rem; accent-color: var(--stdl-akzent); }
.stdl-kats { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); column-gap: 1rem; }
.stdl-zeile { display: flex; gap: 1rem; flex-wrap: wrap; }
.stdl-zeile > p { flex: 1 1 8rem; margin: .4rem 0; }
.stdl-zeile > p.stdl-breit { flex: 3 1 14rem; }
.stdl-hp { position: absolute; left: -9999px; }
.stdl-nur-veranstalter { display: none; }
.stdl-form:has(input[value=veranstalter]:checked) .stdl-nur-veranstalter { display: block; }
.stdl-picker { border: 0; }

/* Aufklappbereiche */
.stdl-details { border: 1px solid var(--stdl-rand); border-radius: var(--stdl-r); padding: 0; margin: .6rem 0; background: #fff; }
.stdl-details > summary { cursor: pointer; font-weight: 700; padding: .85rem 1rem .85rem 2.6rem; list-style: none; position: relative; border-radius: var(--stdl-r); }
.stdl-details > summary::-webkit-details-marker { display: none; }
.stdl-details > summary::before { content: ""; position: absolute; left: 1.05rem; top: 50%; width: .55rem; height: .55rem; border-right: 2.5px solid var(--stdl-akzent); border-bottom: 2.5px solid var(--stdl-akzent); transform: translateY(-65%) rotate(-45deg); transition: transform .15s; }
.stdl-details[open] > summary::before { transform: translateY(-75%) rotate(45deg); }
.stdl-details > summary:hover { background: var(--stdl-kalk); }
.stdl-details[open] > summary { border-bottom: 1px solid var(--stdl-rand); border-radius: var(--stdl-r) var(--stdl-r) 0 0; }
.stdl-details > :not(summary) { margin-left: 1rem; margin-right: 1rem; }
.stdl-details > :not(summary):last-child { margin-bottom: 1rem; }
.stdl-details > :nth-child(2) { margin-top: .9rem; }
.stdl-gefahr { margin-top: 2.2rem; border: 1px solid #f0c3bd; border-radius: var(--stdl-r); padding: 0; }
.stdl-gefahr > summary { cursor: pointer; color: var(--stdl-gefahr); font-weight: 700; padding: .8rem 1rem; }
.stdl-gefahr > form { padding: 0 1rem 1rem; }
@media (prefers-reduced-motion: reduce) { .stdl-details > summary::before { transition: none; } }

.stdl-code { background: var(--stdl-kalk); border: 1px solid var(--stdl-rand); border-radius: var(--stdl-r-klein); padding: .7rem; white-space: pre-wrap; word-break: break-all; font-size: .85rem; }
.stdl-werkzeuge { margin: 1.2rem 0; }
.stdl-besucher { margin: 1rem 0; }
.stdl-filter--maerkte { margin-bottom: 1rem; }

/* ---------- Navigation „Mein Bereich“ ---------- */
.stdl-nav { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 1.4rem; padding: .35rem; background: var(--stdl-kalk); border-radius: var(--stdl-r-gross); }
.stdl-nav a { padding: .55rem 1rem; border-radius: var(--stdl-r); color: var(--stdl-tinte); font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.stdl-nav a:hover { background: #fff; }
.stdl-nav a[aria-current="page"] { background: #fff; color: var(--stdl-akzent); box-shadow: 0 1px 2px rgba(23,33,27,.12), inset 0 -3px 0 var(--stdl-akzent); }
.stdl-nav a.stdl-nav__plus { color: var(--stdl-akzent); }
.stdl-nav a.stdl-nav__ab { color: var(--stdl-leise); font-weight: 600; }

/* ---------- Tabellen ---------- */
.stdl-tabelle { width: 100%; border-collapse: collapse; font-size: .97rem; }
.stdl-tabelle th { text-align: left; font-size: .85rem; font-weight: 700; color: var(--stdl-leise); padding: .5rem .6rem; border-bottom: 2px solid var(--stdl-rand); }
.stdl-tabelle td { text-align: left; padding: .7rem .6rem; border-bottom: 1px solid var(--stdl-rand); vertical-align: top; }
.stdl-tabelle tbody tr:hover td { background: #fafbfa; }
@media (max-width: 640px) {
	.stdl-tabelle thead { display: none; }
	.stdl-tabelle tr { display: block; border: 1px solid var(--stdl-rand); border-radius: var(--stdl-r); margin-bottom: .7rem; padding: .4rem .7rem; }
	.stdl-tabelle td { display: block; border: 0; padding: .3rem 0; }
}

/* ---------- Einrichtungshilfe ---------- */
.stdl-start { border: 1px solid var(--stdl-rand); border-radius: var(--stdl-r-gross); padding: 1.2rem 1.3rem 1rem; margin: 0 0 1.6rem; background: linear-gradient(180deg, color-mix(in srgb, var(--stdl-akzent) 6%, #fff), #fff 70%); }
.stdl-start h2 { margin: 0 0 .25rem; font-size: 1.45rem; }
.stdl-start__balken { height: 8px; border-radius: 99px; background: #e2e8e4; margin: .7rem 0 1rem; overflow: hidden; }
.stdl-start__balken span { display: block; height: 100%; background: var(--stdl-akzent); border-radius: 99px; }
.stdl-start ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.stdl-start li { display: grid; grid-template-columns: 2.2rem 1fr auto; gap: .7rem; align-items: center; padding: .6rem 0; border-top: 1px solid var(--stdl-rand); }
.stdl-start li:first-child { border-top: 0; }
.stdl-start__marke { width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-family: var(--stdl-titel); border: 2px solid var(--stdl-feld); color: var(--stdl-leise); }
.stdl-start li.erledigt .stdl-start__marke { background: var(--stdl-akzent); border-color: var(--stdl-akzent); color: #fff; }
.stdl-start li.erledigt .stdl-start__titel { color: var(--stdl-leise); text-decoration: line-through; text-decoration-color: var(--stdl-feld); }
.stdl-start__titel { font-weight: 700; display: block; }
.stdl-start__text { font-size: .92rem; color: var(--stdl-leise); }
@media (max-width: 560px) { .stdl-start li { grid-template-columns: 2.2rem 1fr; } .stdl-start li .stdl-btn { grid-column: 2; justify-self: start; } }

/* ---------- Druck (Aushang) ---------- */
.stdl-druck { font-family: var(--stdl-schrift); padding: 2rem; color: var(--stdl-tinte); }
.stdl-druck h1 { font-family: var(--stdl-titel); font-stretch: 87.5%; font-size: 2.6rem; margin: 0 0 .3rem; }
.stdl-druck ol { font-size: 1.1rem; }
@media print { .stdl-druck .stdl-klein { display: block; } }

/* ---------- Landingpage / Preise ---------- */
.stdl-landing__hero { background: var(--stdl-kalk); border-radius: var(--stdl-r-gross); padding: 1.6rem 1.6rem 1.2rem; margin-bottom: 1.2rem; }
.stdl-landing__hero h2 { margin-top: 0; font-size: 1.9rem; }
.stdl-schritte { counter-reset: s; list-style: none; padding: 0; display: grid; gap: .9rem; }
.stdl-schritte li { position: relative; padding-left: 3.2rem; min-height: 2.4rem; }
.stdl-schritte li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 2.3rem; height: 2rem; border-radius: 7px; background: var(--stdl-akzent); color: #fff; font: 800 1.05rem/2rem var(--stdl-titel); text-align: center; box-shadow: inset 0 0 0 2px var(--stdl-akzent), inset 0 0 0 3.5px rgba(255,255,255,.9); }
.stdl-vorteile { padding-left: 1.2rem; }
.stdl-vertrag { max-height: 24rem; overflow: auto; border: 1px solid var(--stdl-rand); border-radius: var(--stdl-r-klein); padding: .6rem 1rem; background: #fff; font-size: .92rem; }
.stdl-preise { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: .9rem; }
.stdl-preis { border: 1.5px solid var(--stdl-rand); border-top: 5px solid var(--stdl-akzent); border-radius: var(--stdl-r); padding: 1rem 1.2rem; background: #fff; }
.stdl-preis > strong:first-child { font-family: var(--stdl-titel); font-stretch: 87.5%; font-size: 1.9rem; }

/* ---------- Rechtstexte ---------- */
.stdl-rechtstext { max-width: 46rem; }
.stdl-rechtstext h3 { font-size: 1.08rem; margin: 1.3rem 0 .4rem; }
.stdl-rechtstext p { margin: 0 0 .75rem; }

/* ---------- Kundendesign ---------- */
.stdl-kopf { display: flex; align-items: center; gap: 1.1rem; padding: .9rem 1.2rem; margin: 0 0 1.2rem; background: var(--stdl-kalk); border-left: 6px solid var(--stdl-kunde, var(--stdl-akzent)); border-radius: 0 var(--stdl-r-gross) var(--stdl-r-gross) 0; }
.stdl-kopf--bild { color: #fff; background-size: cover; background-position: center; min-height: 140px; border-left: 0; border-radius: var(--stdl-r-gross); padding: 1.3rem 1.5rem; }
.stdl-kopf--bild a { color: #fff; }
.stdl-kopf__logo { max-height: 64px; max-width: 160px; width: auto; height: auto; background: #fff; padding: 5px; border-radius: var(--stdl-r-klein); }
.stdl-kopf__von { display: block; font-size: .85rem; opacity: .85; }
.stdl-kopf__name { font-family: var(--stdl-titel); font-stretch: 87.5%; font-size: 1.35rem; }
.stdl-kopf__name a { color: inherit; text-decoration: none; }
.stdl-kunde-fuss { margin-top: 1.8rem; padding-top: .8rem; border-top: 2px solid var(--stdl-kunde, var(--stdl-akzent)); font-size: .95rem; }
.stdl-v__text { font-size: 1.1rem; margin: 0 0 1rem; max-width: 46rem; }
.stdl-design-vorschau { border: 1px dashed var(--stdl-feld); border-radius: var(--stdl-r); padding: .9rem; margin: .9rem 0; background: #fff; }
.stdl-design-vorschau .stdl-kopf { margin-bottom: .7rem; }
.stdl-design-vorschau.stdl-eckig .stdl-btn, .stdl-design-vorschau.stdl-eckig .stdl-badge, .stdl-design-vorschau.stdl-eckig .stdl-kopf { border-radius: 0; }
.stdl-v .stdl-marker--markt { background: var(--stdl-akzent); }
.stdl-wl { display: flex; align-items: center; gap: 1rem; border-left: 5px solid var(--stdl-akzent); padding: .5rem 1rem; margin: 0 0 1rem; background: var(--stdl-kalk); border-radius: 0 8px 8px 0; }
.stdl-wl__logo { max-height: 60px; width: auto; }

/* ---------- Teilen ---------- */
.stdl-teilen { margin: 1rem 0; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.stdl-teilen__label { font-weight: 700; margin-right: .4rem; }

/* ---------- Plakat-Auswahl ---------- */
.stdl-vorlagen { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .8rem; margin: .6rem 0 1rem; }
.stdl-vorlage { display: block; text-decoration: none !important; color: var(--stdl-tinte) !important; border: 1.5px solid var(--stdl-rand); border-radius: var(--stdl-r); padding: .5rem; background: #fff; }
.stdl-vorlage:hover, .stdl-vorlage:focus-visible { border-color: var(--stdl-akzent); }
.stdl-vorlage svg { display: block; width: 100%; height: auto; border-radius: 5px; }
.stdl-vorlage span { display: block; font-weight: 700; margin-top: .4rem; }
.stdl-vorlage small { color: var(--stdl-leise); }
.stdl-vorlage--wahl { position: relative; cursor: pointer; }
.stdl-vorlage--wahl input { position: absolute; opacity: 0; }
.stdl-vorlage--wahl:has(input:checked) { border-color: var(--stdl-akzent); box-shadow: 0 0 0 2px var(--stdl-akzent); }
.stdl-vorlage--wahl:has(input:focus-visible) { outline: 3px solid var(--stdl-tinte); outline-offset: 2px; }
.stdl-vorlage--wahl:has(input:checked) span::after { content: " ✓"; color: var(--stdl-akzent); }
.stdl-linien-wahl { border: 0; padding: 0; margin: 0 0 1rem; }

/* =====================================================================
   Designlinien – Flohmarktseite („Bühne“), Veranstalterseite, Einbettung
   Jede Linie: .stdl-l-<schlüssel>. Akzentfarbe = Hausfarbe des Kunden (--stdl-akzent).
   ===================================================================== */
.stdl-l-klar { --stdl-titel-dehnung: 75%; --stdl-titel-gewicht: 850; }
.stdl-l-amtlich { --stdl-schrift: "Source Sans STDL", "Segoe UI", Arial, sans-serif; --stdl-titel: "Source Serif STDL", Georgia, "Times New Roman", serif; --stdl-titel-dehnung: 100%; --stdl-titel-gewicht: 700; }
.stdl-l-werkstatt { --stdl-schrift: "Bitter STDL", Georgia, serif; --stdl-titel: "Bitter STDL", Georgia, serif; --stdl-titel-dehnung: 100%; --stdl-titel-gewicht: 800; }
.stdl-l-preisschild { --stdl-schrift: "Courier Prime STDL", "Courier New", monospace; --stdl-titel: "Archivo STDL", "Arial Narrow", Arial, sans-serif; --stdl-titel-dehnung: 66%; --stdl-titel-gewicht: 900; }
.stdl-l-pinnwand { --stdl-titel-dehnung: 78%; --stdl-titel-gewicht: 850; --stdl-hand: "Caveat STDL", "Comic Sans MS", cursive; }
.stdl-buehne-aktiv .entry-header, .stdl-buehne-aktiv h1.entry-title, .stdl-buehne-aktiv .wp-block-post-title { display: none; }
.stdl-buehne { position: relative; margin: 0 0 1.5rem; border-radius: var(--stdl-r-gross); overflow: hidden; }
.stdl-buehne__bild { height: 9rem; background-size: cover; background-position: center; }
.stdl-buehne__kopf { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; font-weight: 600; font-size: .95rem; }
.stdl-buehne__kopf a { color: inherit; }
.stdl-buehne__logo { max-height: 52px; max-width: 150px; width: auto; height: auto; display: block; }
.stdl-buehne__web { font-weight: 400; }
.stdl .stdl-buehne__dach { margin: 0; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.stdl .stdl-buehne__titel { margin: .15rem 0 .6rem; font-family: var(--stdl-titel); font-stretch: var(--stdl-titel-dehnung, 75%); font-weight: var(--stdl-titel-gewicht, 850); font-size: clamp(2rem, 7vw, 4.2rem); line-height: .95; letter-spacing: -.01em; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.stdl .stdl-buehne__meta { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; font-size: 1.05rem; margin: 0 0 .9rem; }
.stdl-buehne__meta small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stdl-buehne__datum { font-weight: 700; }
.stdl .stdl-buehne__knoepfe { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .3rem; }
.stdl-buehne__frist { font-size: .9rem; }
.stdl-buehne__stempel { display: none; }
.stdl-beschreibung { font-size: 1.08rem; max-width: 46rem; margin: 0 0 1rem; }

/* ---------- 1 · Klar ---------- */
.stdl-l-klar .stdl-buehne { background: var(--stdl-akzent); color: #fff; }
.stdl-l-klar .stdl-buehne__kopf { padding: 1.1rem 1.4rem 0; }
.stdl-l-klar .stdl-buehne__logo { background: #fff; padding: 5px; border-radius: 6px; }
.stdl-l-klar .stdl-buehne__inhalt { padding: 1.6rem 1.4rem 1.4rem; }
.stdl-l-klar .stdl-buehne__titel, .stdl-l-klar .stdl-buehne a:not(.stdl-btn) { color: #fff; }
.stdl-l-klar .stdl-buehne .stdl-btn { background: #fff; border-color: #fff; color: var(--stdl-akzent) !important; }
.stdl-l-klar .stdl-buehne .stdl-btn:hover { background: color-mix(in srgb, var(--stdl-akzent) 10%, #fff); }
.stdl-l-klar .stdl-buehne .stdl-btn--sekundaer { background: transparent; color: #fff !important; }
.stdl-l-klar .stdl-buehne .stdl-btn--sekundaer:hover { background: rgba(255,255,255,.14); }

/* ---------- 2 · Amtlich ---------- */
.stdl-l-amtlich { --stdl-r-gross: 4px; --stdl-r: 3px; --stdl-r-klein: 2px; }
.stdl-l-amtlich .stdl-buehne { border: 1px solid var(--stdl-rand); background: #fff; }
.stdl-l-amtlich .stdl-buehne__kopf { background: var(--stdl-akzent); color: #fff; padding: .75rem 1.2rem; font-size: 1rem; letter-spacing: .02em; }
.stdl-l-amtlich .stdl-buehne__logo { background: #fff; padding: 4px; border-radius: 3px; max-height: 46px; }
.stdl-l-amtlich .stdl-buehne__inhalt { padding: 1.3rem 1.2rem 1.2rem; }
.stdl-l-amtlich .stdl-buehne__dach { color: var(--stdl-akzent); }
.stdl-l-amtlich .stdl-buehne__titel { font-size: clamp(1.9rem, 5vw, 2.9rem); line-height: 1.08; letter-spacing: 0; }
.stdl-l-amtlich .stdl-buehne__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 1px; background: var(--stdl-rand); border: 1px solid var(--stdl-rand); }
.stdl-l-amtlich .stdl-buehne__meta > span { background: #fff; padding: .45rem .75rem; font-weight: 600; }
.stdl-l-amtlich .stdl-buehne__meta small { position: static; width: auto; height: auto; clip: auto; display: block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--stdl-leise); }
.stdl-l-amtlich h2 { font-weight: 700; border-bottom: 2px solid var(--stdl-akzent); padding-bottom: .35rem; }
.stdl-l-amtlich .stdl-nrliste > li::before { border-radius: 2px; box-shadow: none; }
.stdl-l-amtlich .stdl-btn { border-radius: 3px; }

/* ---------- 5 · Werkstatt ---------- */
.stdl-l-werkstatt { --stdl-ort: #5e5348; --stdl-kalk: #efe5d3; --stdl-rand: #dccdb3; --stdl-leise: #5b4d40; --stdl-tinte: #2b2118; --stdl-text: #2b2118; background: #f6efe3; padding: 1.1rem 1.2rem 1.5rem; border-radius: 14px; }
.stdl-l-werkstatt .stdl-buehne { border: 3px solid var(--stdl-akzent); outline: 1px solid var(--stdl-akzent); outline-offset: -9px; border-radius: 14px; padding: 1.7rem 1.4rem 1.5rem; text-align: center; }
.stdl-l-werkstatt .stdl-buehne__kopf { flex-direction: column; justify-content: center; color: var(--stdl-akzent); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: .85rem; }
.stdl-l-werkstatt .stdl-buehne__dach { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 1.15rem; margin-top: .8rem; }
.stdl-l-werkstatt .stdl-buehne__titel { color: var(--stdl-akzent); letter-spacing: 0; }
.stdl-l-werkstatt .stdl-buehne__meta, .stdl-l-werkstatt .stdl-buehne__knoepfe { justify-content: center; align-items: center; }
.stdl-l-werkstatt .stdl-buehne__datum { background: var(--stdl-akzent); color: #fff; padding: .35rem 1.6rem; clip-path: polygon(0 0, 100% 0, 95% 50%, 100% 100%, 0 100%, 5% 50%); }
.stdl-l-werkstatt .stdl-buehne__stempel { display: flex; position: absolute; right: 1.3rem; top: 1.3rem; width: 5.4rem; height: 5.4rem; border-radius: 50%; border: 2px dashed var(--stdl-akzent); color: var(--stdl-akzent); flex-direction: column; align-items: center; justify-content: center; transform: rotate(-10deg); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: #f6efe3; }
.stdl-l-werkstatt .stdl-buehne__stempel b { font-size: 1.7rem; line-height: 1; letter-spacing: 0; }
.stdl-l-werkstatt h2 { color: var(--stdl-akzent); font-weight: 800; }
.stdl-l-werkstatt .stdl-btn { border-radius: 10px; box-shadow: 0 3px 0 var(--stdl-akzent-dunkel); }
.stdl-l-werkstatt .stdl-btn--sekundaer { background: #fff8ec; box-shadow: none; }
.stdl-l-werkstatt .stdl-nrliste > li::before { border-radius: 50%; background: transparent; color: var(--stdl-akzent); box-shadow: none; border: 2px dashed var(--stdl-akzent); min-width: 2.5rem; height: 2.5rem; }
.stdl-l-werkstatt .stdl-details, .stdl-l-werkstatt .stdl-filter { background: #fff8ec; }
@media (max-width: 640px) { .stdl-l-werkstatt .stdl-buehne__stempel { position: static; margin: 1rem auto 0; } }

/* ---------- 6 · Preisschild ---------- */
.stdl-l-preisschild { --stdl-r-gross: 2px; --stdl-r: 2px; --stdl-r-klein: 2px; --stdl-rand: #cfc6b4; --stdl-kalk: #ece4d3; --stdl-tinte: #1b1b1b; --stdl-text: #1b1b1b; background: #f6f1e6; padding: 1.1rem 1.2rem 1.5rem; }
.stdl-l-preisschild .stdl-buehne { overflow: visible; }
.stdl-l-preisschild .stdl-buehne__kopf { background: var(--stdl-akzent); color: #fff; padding: .6rem 1rem; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; }
.stdl-l-preisschild .stdl-buehne__logo { background: #fff; padding: 3px; max-height: 40px; }
.stdl-l-preisschild .stdl-buehne__inhalt { padding: 1.2rem 0 0; }
.stdl-l-preisschild .stdl-buehne__etikett { display: inline-block; max-width: 100%; position: relative; background: #fff; padding: 1rem 1.6rem 1rem 3rem; margin: 0 0 1rem .4rem; clip-path: polygon(1.9rem 0, 100% 0, 100% 100%, 1.9rem 100%, 0 50%); transform: rotate(-1.5deg); }
.stdl-l-preisschild .stdl-buehne__etikett::before { content: ""; position: absolute; left: 1rem; top: 50%; width: .75rem; height: .75rem; margin-top: -.375rem; border-radius: 50%; background: #f6f1e6; box-shadow: inset 0 0 0 2px #d8ccb2; }
.stdl-l-preisschild .stdl-buehne__titel { text-transform: uppercase; color: var(--stdl-akzent); margin-bottom: 0; }
.stdl-l-preisschild .stdl-buehne__meta { text-transform: uppercase; font-weight: 700; }
.stdl-l-preisschild h2 { text-transform: uppercase; letter-spacing: .03em; }
.stdl-l-preisschild .stdl-nrliste { background: #fff; padding: .4rem 1rem 1.8rem; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 97.5% 100%, 95% calc(100% - 10px), 92.5% 100%, 90% calc(100% - 10px), 87.5% 100%, 85% calc(100% - 10px), 82.5% 100%, 80% calc(100% - 10px), 77.5% 100%, 75% calc(100% - 10px), 72.5% 100%, 70% calc(100% - 10px), 67.5% 100%, 65% calc(100% - 10px), 62.5% 100%, 60% calc(100% - 10px), 57.5% 100%, 55% calc(100% - 10px), 52.5% 100%, 50% calc(100% - 10px), 47.5% 100%, 45% calc(100% - 10px), 42.5% 100%, 40% calc(100% - 10px), 37.5% 100%, 35% calc(100% - 10px), 32.5% 100%, 30% calc(100% - 10px), 27.5% 100%, 25% calc(100% - 10px), 22.5% 100%, 20% calc(100% - 10px), 17.5% 100%, 15% calc(100% - 10px), 12.5% 100%, 10% calc(100% - 10px), 7.5% 100%, 5% calc(100% - 10px), 2.5% 100%, 0 calc(100% - 10px)); }
.stdl-l-preisschild .stdl-nrliste > li { border-bottom: 1px dashed #b9b2a3; }
.stdl-l-preisschild .stdl-nrliste > li::before { content: "Nr. " attr(value); background: none; box-shadow: none; color: var(--stdl-akzent); font: 700 1rem/1.4 var(--stdl-schrift); place-items: start; min-width: 4.2rem; }
.stdl-l-preisschild .stdl-btn--sekundaer { color: var(--stdl-tinte) !important; border-color: var(--stdl-tinte); }
.stdl-l-preisschild .stdl-details, .stdl-l-preisschild .stdl-filter { background: #fff; }

/* ---------- 7 · Pinnwand ---------- */
.stdl-l-pinnwand { --stdl-r-gross: 3px; --stdl-r: 999px; --stdl-r-klein: 6px; background-color: #fcfcf8; background-image: linear-gradient(rgba(0,0,0,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px); background-size: 22px 22px; padding: 1.4rem 1.2rem 1.6rem; border-radius: 6px; }
.stdl-l-pinnwand .stdl-buehne { background: #fff; box-shadow: 0 3px 12px rgba(0,0,0,.13); transform: rotate(-.6deg); overflow: visible; margin-top: .4rem; }
.stdl-l-pinnwand .stdl-buehne::before { content: ""; position: absolute; z-index: 1; top: -12px; left: 50%; width: 110px; margin-left: -55px; height: 26px; background: color-mix(in srgb, var(--stdl-akzent) 40%, #fff); opacity: .85; transform: rotate(-3deg); }
.stdl-l-pinnwand .stdl-buehne__kopf { padding: 1.3rem 1.4rem 0; }
.stdl-l-pinnwand .stdl-buehne__inhalt { padding: .8rem 1.4rem 1.3rem; }
.stdl-l-pinnwand .stdl-buehne__dach { font-family: var(--stdl-hand); font-size: 1.9rem; text-transform: none; letter-spacing: 0; line-height: 1; color: var(--stdl-akzent); }
.stdl-l-pinnwand .stdl-buehne__stempel { display: block; position: absolute; right: 1.4rem; bottom: 1.2rem; font-family: var(--stdl-hand); font-size: 1.7rem; font-weight: 700; color: var(--stdl-akzent); transform: rotate(-6deg); }
.stdl-l-pinnwand .stdl-buehne__stempel b { margin-right: .3rem; }
.stdl-l-pinnwand .stdl-buehne__stempel::after { content: "!"; }
.stdl-l-pinnwand h2 { font-family: var(--stdl-hand); font-size: 2.1rem; font-weight: 700; }
.stdl-l-pinnwand .stdl-nrliste > li { background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.09); margin-bottom: .6rem; border: 0; padding: .8rem; }
.stdl-l-pinnwand .stdl-nrliste > li:nth-child(odd) { transform: rotate(-.4deg); }
.stdl-l-pinnwand .stdl-nrliste > li:nth-child(even) { transform: rotate(.4deg); }
.stdl-l-pinnwand .stdl-nrliste > li::before { border-radius: 50%; box-shadow: none; font: 700 1.5rem/1 var(--stdl-hand); min-width: 2.5rem; height: 2.5rem; }
.stdl-l-pinnwand .stdl-map { border: 8px solid #fff; box-shadow: 0 3px 12px rgba(0,0,0,.12); }
.stdl-l-pinnwand .stdl-details, .stdl-l-pinnwand .stdl-filter { border-radius: 4px; background: #fff; }
@media (max-width: 640px) { .stdl-l-pinnwand .stdl-buehne__stempel { position: static; display: inline-block; margin-top: .6rem; } }
@media (prefers-reduced-motion: reduce) { .stdl-l-pinnwand .stdl-buehne, .stdl-l-pinnwand .stdl-nrliste > li { transform: none; } }

/* Vorschau im Konto */
.stdl-design-vorschau { max-width: 40rem; font-size: .9rem; font-family: var(--stdl-schrift); }
.stdl-design-vorschau .stdl-buehne__titel { font-size: 2.2rem; }
.stdl-design-vorschau .stdl-nrliste { margin-top: .5rem; }
@media (max-width: 560px) { .stdl-l-werkstatt, .stdl-l-preisschild, .stdl-l-pinnwand { padding: .8rem .7rem 1.2rem; } .stdl-l-preisschild .stdl-buehne__titel { font-size: 2rem; } }
.stdl-vorlage--wahl small { display: block; font-weight: 400; font-size: .85rem; line-height: 1.35; margin-top: .2rem; }

/* ---------- Dashboard „Mein Bereich“ ---------- */
.stdl-kennzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: .7rem; margin: 0 0 1rem; }
.stdl-kachel { background: #fff; border: 1px solid var(--stdl-rand); border-radius: var(--stdl-r); padding: .8rem 1rem; position: relative; overflow: hidden; }
.stdl-kachel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--stdl-akzent); }
.stdl-kachel strong { display: block; font-family: var(--stdl-titel); font-stretch: 80%; font-weight: 800; font-size: 1.7rem; line-height: 1.1; color: var(--stdl-tinte); }
.stdl-kachel span { display: block; font-size: .9rem; color: var(--stdl-leise); }
.stdl-kachel small { display: block; font-size: .8rem; color: var(--stdl-akzent); font-weight: 600; margin-top: .15rem; }
.stdl-dash { margin: 0 0 1.6rem; }
.stdl-dash__spalten { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: .9rem; }
@media (max-width: 760px) { .stdl-dash__spalten { grid-template-columns: 1fr; } }
.stdl-dash__karte { background: #fff; border: 1px solid var(--stdl-rand); border-radius: var(--stdl-r-gross); padding: .9rem 1.1rem; }
.stdl .stdl-dash__karte h2 { margin: 0 0 .5rem; font-size: 1.15rem; }
.stdl-aufgabenliste, .stdl-terminliste { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.stdl-aufgabenliste a { display: block; padding: .5rem .7rem .5rem 1.6rem; border-radius: var(--stdl-r-klein); background: var(--stdl-kalk); color: var(--stdl-tinte); text-decoration: none; font-weight: 600; position: relative; }
.stdl-aufgabenliste a::before { content: ""; position: absolute; left: .7rem; top: 50%; width: .45rem; height: .45rem; margin-top: -.22rem; border-radius: 50%; background: #d08a00; }
.stdl-aufgabenliste a:hover { background: color-mix(in srgb, var(--stdl-akzent) 9%, #fff); }
.stdl-terminliste a { display: flex; gap: .7rem; align-items: center; padding: .35rem .2rem; color: var(--stdl-tinte); text-decoration: none; border-radius: var(--stdl-r-klein); }
.stdl-terminliste a:hover { background: var(--stdl-kalk); }
.stdl-terminliste strong { display: block; }
.stdl-terminliste small { display: block; color: var(--stdl-leise); }
.stdl-terminliste__datum { flex: none; min-width: 3.2rem; text-align: center; padding: .3rem; border-radius: 6px; background: var(--stdl-akzent); color: #fff; font-family: var(--stdl-titel); font-stretch: 85%; font-weight: 800; box-shadow: inset 0 0 0 2px var(--stdl-akzent), inset 0 0 0 3.5px rgba(255,255,255,.85); }

/* ---------- Feste & Märkte ---------- */
.stdl-badge--warn { background: #fff1d6; color: #7a4d00; }
.stdl-badge--rot { background: #fde8e6; color: #8f1c12; }
.stdl-fest-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: .5rem 1rem; }
.stdl-reiterleiste { display: flex; gap: .3rem; flex-wrap: wrap; margin: 1rem 0; border-bottom: 2px solid var(--stdl-rand); }
.stdl-reiterleiste a { padding: .6rem 1rem; font-weight: 700; color: var(--stdl-leise); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -2px; min-height: 44px; display: inline-flex; align-items: center; }
.stdl-reiterleiste a[aria-current] { color: var(--stdl-akzent); border-bottom-color: var(--stdl-akzent); }
.stdl-filterzeile { display: flex; flex-wrap: wrap; gap: .35rem; margin: .5rem 0 .8rem; }
.stdl-pille { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--stdl-rand); background: #fff; color: var(--stdl-tinte); text-decoration: none; font-weight: 600; min-height: 36px; }
.stdl-pille span { color: var(--stdl-leise); font-weight: 400; }
.stdl-pille[aria-current] { background: var(--stdl-akzent); border-color: var(--stdl-akzent); color: #fff; }
.stdl-pille[aria-current] span { color: rgba(255,255,255,.85); }
.stdl-bewerbungslink { display: flex; flex-wrap: wrap; gap: .4rem .6rem; align-items: center; word-break: break-all; }
.stdl-zweispaltig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
@media (max-width: 860px) { .stdl-zweispaltig { grid-template-columns: 1fr; } }
.stdl-box--breit { max-width: none; margin-bottom: 1rem; }
.stdl-box h3:first-child { margin-top: 0; }
.stdl-dl { display: grid; grid-template-columns: 9rem 1fr; gap: .3rem .8rem; margin: 0 0 .8rem; }
.stdl-dl dt { color: var(--stdl-leise); font-weight: 600; }
.stdl-dl dd { margin: 0; }
.stdl-bw-foto { max-width: 100%; height: auto; border-radius: var(--stdl-r-klein); }
.stdl-nachweise { padding-left: 1.1rem; }
.stdl-krit { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 1px solid var(--stdl-rand); padding-bottom: .4rem; }
.stdl-krit label { font-weight: 600 !important; margin: 0 !important; }
.stdl-form .stdl-krit select { width: 5rem; }
.stdl-festplan { display: grid; grid-template-columns: 18rem minmax(0, 1fr); gap: .8rem; align-items: start; }
@media (max-width: 860px) { .stdl-festplan { grid-template-columns: 1fr; } }
.stdl-festplan__liste { max-height: 70vh; overflow: auto; border: 1px solid var(--stdl-rand); border-radius: var(--stdl-r); background: #fff; padding: .4rem .6rem; }
.stdl .stdl-festplan__liste h3 { font-size: .95rem; margin: .6rem 0 .3rem; color: var(--stdl-leise); }
.stdl-festplan__liste ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.stdl-festplan__liste button { width: 100%; display: flex; align-items: center; gap: .5rem; text-align: left; padding: .45rem .5rem; border: 1px solid transparent; border-radius: var(--stdl-r-klein); background: var(--stdl-kalk); font: inherit; cursor: pointer; color: var(--stdl-tinte); min-height: 44px; }
.stdl-festplan__liste button[aria-pressed=true] { border-color: var(--stdl-akzent); background: color-mix(in srgb, var(--stdl-akzent) 10%, #fff); }
.stdl-festplan__liste button > span:nth-child(2) { flex: 1; min-width: 0; }
.stdl-festplan__liste small { display: block; color: var(--stdl-leise); font-size: .8rem; }
.stdl-fp-farbe { width: .8rem; height: .8rem; border-radius: 3px; flex: none; }
.stdl-festplan .stdl-map { height: 70vh; min-height: 420px; margin-top: 0; }
.stdl-festplan__werkzeug { border: 1px solid var(--stdl-rand); border-radius: var(--stdl-r); padding: .7rem 1rem; margin-top: .6rem; background: #fff; }
.stdl-festplan__werkzeug input { width: 100%; font: inherit; padding: .45rem .6rem; border: 1.5px solid var(--stdl-feld); border-radius: var(--stdl-r-klein); min-height: 42px; }
.stdl-festplan__werkzeug input[type=range] { padding: 0; border: 0; accent-color: var(--stdl-akzent); }
.stdl-festplan__werkzeug label { display: block; font-weight: 700; font-size: .9rem; }
.stdl-fp-schild span { display: grid; place-items: center; width: 30px; height: 24px; border-radius: 5px; color: #fff; font: 800 12px/1 var(--stdl-titel); font-stretch: 87.5%; }
.stdl-fp-schild--aktiv span { outline: 3px solid #1b1d1b; outline-offset: 1px; }
.stdl-fest-filter { display: flex; flex-wrap: wrap; gap: .3rem; }
.stdl-fest-filter [aria-pressed=false] { opacity: .55; text-decoration: line-through; }
.stdl-ausschreibung { margin-top: 2rem; padding: 1.2rem 1.4rem; border: 1px solid var(--stdl-rand); border-radius: var(--stdl-r-gross); background: #fff; }
.stdl .stdl-ausschreibung h2 { margin-top: 0; }
.stdl-schrittfolge { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: .5rem 0 1rem; counter-reset: s; }
.stdl-schrittfolge li { counter-increment: s; padding: .35rem .8rem .35rem .4rem; border-radius: 999px; background: var(--stdl-kalk); color: var(--stdl-leise); font-weight: 600; display: flex; align-items: center; gap: .4rem; }
.stdl-schrittfolge li::before { content: counter(s); display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 2px solid var(--stdl-feld); font-size: .85rem; }
.stdl-schrittfolge li.erledigt { color: var(--stdl-tinte); }
.stdl-schrittfolge li.erledigt::before { content: "✓"; background: var(--stdl-akzent); border-color: var(--stdl-akzent); color: #fff; }
.stdl-btn:disabled, .stdl-btn[disabled] { opacity: .5; cursor: not-allowed; }
.stdl-landing__modul { border: 1px solid var(--stdl-rand); border-radius: var(--stdl-r-gross); padding: 1.2rem 1.4rem; margin: 1.6rem 0; background: color-mix(in srgb, var(--stdl-akzent) 5%, #fff); }
.stdl .stdl-landing__modul h2 { margin-top: 0; }
.stdl-preis-modul { border-left: 4px solid var(--stdl-akzent); padding: .6rem .9rem; background: var(--stdl-kalk); border-radius: 0 var(--stdl-r) var(--stdl-r) 0; margin: .8rem 0; }
.stdl-festliste .stdl-festkarte a { padding: .6rem .5rem; flex-wrap: wrap; }
.stdl-festliste .stdl-festkarte a > span:nth-child(2) { flex: 1; min-width: 12rem; }
.stdl-start-feste { margin-top: 2rem; }
.stdl-fp-schieben { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; margin: .3rem 0; }
.stdl-fp-schieben .stdl-btn--klein { min-width: 44px; min-height: 44px; margin: 0; }

/* Website-Einbindung: Code-Generator */
textarea.stdl-code { width: 100%; box-sizing: border-box; font-family: ui-monospace, Menlo, Consolas, monospace; resize: vertical; color: inherit; }
.stdl-eb .stdl-box h3:first-child { margin-top: 0; }
.stdl-eb-vorschau { border: 2px dashed var(--stdl-rand); border-radius: var(--stdl-r-gross); padding: .5rem; background: #fff; }
.stdl-landing__code { margin: .8rem 0; }

/* Feste im Jahreslauf */
.stdl-inline { display: inline; margin: 0; }
.stdl-nachruecken ol { margin: .4rem 0 .5rem 1.2rem; padding: 0; }
.stdl-nachruecken li { margin: .25rem 0; }
.stdl-einladen-box form, .stdl-vorjahr-box form { margin: 0; }
.stdl-uebernahme { margin-top: 1.2rem; }
.stdl-nachreichen ul { margin: .3rem 0 0 1.2rem; }

/* Hilfe zu Formularfeldern */
.stdl-hilfe-zeile { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.stdl-hilfe-zeile > label { margin-bottom: 0; }
.stdl .stdl-hilfe-zeile + input, .stdl .stdl-hilfe-zeile + select, .stdl .stdl-hilfe-zeile + textarea, .stdl .stdl-hilfe-text + input, .stdl .stdl-hilfe-text + select, .stdl .stdl-hilfe-text + textarea { margin-top: .3rem; }
.stdl-hilfe-knopf { flex: none; display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; min-width: 24px; min-height: 24px; padding: 0; border-radius: 50%; border: 1.5px solid var(--stdl-akzent, #047857); background: #fff; color: var(--stdl-akzent, #047857); font: 700 .85rem/1 var(--stdl-schrift, system-ui); cursor: pointer; vertical-align: middle; }
.stdl-hilfe-knopf:hover, .stdl-hilfe-knopf[aria-expanded="true"] { background: var(--stdl-akzent, #047857); color: #fff; }
.stdl-hilfe-knopf:focus-visible { outline: 3px solid var(--stdl-akzent, #047857); outline-offset: 2px; }
legend .stdl-hilfe-knopf { margin-left: .4rem; }
.stdl-hilfe-text { margin: .35rem 0 .4rem; padding: .5rem .75rem; border-left: 3px solid var(--stdl-akzent, #047857); background: color-mix(in srgb, var(--stdl-akzent, #047857) 6%, #fff); font-size: .9rem; line-height: 1.45; color: #1b1d1b; border-radius: 0 6px 6px 0; }
.stdl-hilfe-leiste { margin: 0 0 .8rem; text-align: right; }
@media print { .stdl-hilfe-knopf, .stdl-hilfe-leiste { display: none; } }
