/* Systemseiten freier Seiten (Seitenformat): Impressum, Datenschutzerklärung, 404, Platzhalter im Entwurf, 503.
   Wird VOR styles.css des Bündels geladen, damit die Kundenseite mit ihren Element-Regeln (body, h1, p, a) gewinnt:
   Schrift und Farben kommen von der Kundenseite, Aufbau und Abstände von hier (Präfix rs-). Kein JavaScript, keine externen Schriften.
   Die Klassen section / wrap / narrow / legal kommen aus @wl/render (renderImpressumAusLegal, renderDatenschutzHtml). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; line-height: 1.55; color: #1a1a1a; background: #ffffff; font-size: 1.0625rem; }
a { color: inherit; text-underline-offset: 0.15em; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.6em; overflow-wrap: break-word; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }

.rs-inner { width: min(760px, 100% - 2rem); margin-inline: auto; }
.rs-kopf { border-bottom: 1px solid rgba(0, 0, 0, 0.12); }
.rs-kopf .rs-inner { min-height: 3.5rem; display: flex; align-items: center; padding-block: 0.75rem; }
.rs-marke { font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; text-decoration: none; }
.rs-marke:hover { text-decoration: underline; }

.rs-main { padding-block: 2.5rem 3rem; }
.rs-main .section { padding: 0; }
.rs-main .wrap { width: min(760px, 100% - 2rem); margin-inline: auto; }
.rs-main .narrow { max-width: 72ch; }
.legal h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); letter-spacing: -0.015em; margin-bottom: 1rem; }
.legal h2 { font-size: 1.2rem; margin: 2rem 0 0.5rem; }
.legal h3, .legal h4 { font-size: 1.05rem; margin: 1.5rem 0 0.4rem; }
.legal p, .legal li { max-width: 72ch; }
.legal ul, .legal ol { padding-left: 1.25rem; margin: 0 0 1rem; }
.legal li { margin-bottom: 0.45rem; }
.legal table { border-collapse: collapse; width: 100%; margin: 0 0 1.25rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 0.5em 0.6em; border-bottom: 1px solid rgba(0, 0, 0, 0.12); }

.rs-fuss { border-top: 1px solid rgba(0, 0, 0, 0.12); font-size: 0.9rem; }
.rs-fuss .rs-inner { padding-block: 1.25rem; }
.rs-fuss nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.rs-fuss .credit { margin: 0.75rem 0 0; font-size: 0.85rem; opacity: 0.8; }

/* Terminvorschläge für die anfragende Person (/__termin/…, seit 30.10.2026, Anfrage-Assistent, Q&A Frage 222; src/termin.ts).
   Farben nur über currentColor, damit Schrift und Farben der Website gelten, auf hellen wie auf dunklen Seiten. Knöpfe setzen alles
   selbst, was eine Element-Regel der Website für button verändern könnte. Ohne color-mix bleiben die Flächen transparent. */
/* Spalte bündig mit Kopf und Fuß (rs-inner, 760 px), nur der Inhalt schmaler: lesbar und wie ein Formular */
.rs-termin > * { max-width: 40rem; }
.rs-termin h1 { font-size: clamp(1.6rem, 4.5vw, 2.15rem); letter-spacing: -0.015em; margin-bottom: 0.75rem; }
.rs-termin-meldung { margin: 0 0 1.75rem; padding: 0.85rem 1rem; border-left: 4px solid currentColor; border-radius: 0 8px 8px 0; background: color-mix(in srgb, currentColor 7%, transparent); font-weight: 600; }
.rs-termin-notiz { margin: 1.25rem 0; padding: 0.9rem 1.1rem; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); border-radius: 10px; font-style: normal; quotes: none; }
.rs-termin-notiz p { margin: 0; }
.rs-termin-notiz p + p { margin-top: 0.35rem; }
.rs-termin-klein { font-size: 0.875rem; opacity: 0.75; }
.rs-termin-liste { list-style: none; margin: 1.5rem 0 1.25rem; padding: 0; display: grid; gap: 0.75rem; }
.rs-termin-liste li { margin: 0; padding: 0; }
.rs-termin-form { margin: 0; }
.rs-termin .rs-termin-ja, .rs-termin .rs-termin-zweit, .rs-termin .rs-termin-kalender {
  -webkit-appearance: none; appearance: none; font: inherit; color: inherit; background: transparent; box-shadow: none; text-transform: none;
  letter-spacing: normal; cursor: pointer; text-decoration: none;
}
/* Ein Termin als Karte (seit 30.10.2026, später, Q&A Frage 228): Ein Tipp klappt sie auf, erst „Ja, …“ darin legt den Termin fest. */
.rs-termin-wahl-auf { border: 2px solid currentColor; border-radius: 12px; }
.rs-termin-wahl-auf[open] { background: color-mix(in srgb, currentColor 6%, transparent); }
.rs-termin-wahl-auf > summary {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.2rem; min-height: 4.25rem; padding: 0.9rem 1.15rem;
  border-radius: 10px; line-height: 1.3; cursor: pointer; list-style: none;
}
.rs-termin-wahl-auf > summary::marker { content: ""; }
.rs-termin-wahl-auf > summary::-webkit-details-marker { display: none; }
.rs-termin-wahl-auf > summary:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.rs-termin-wahl-auf[open] > summary .rs-termin-aktion { display: none; }
.rs-termin-wahl-auf[open] > summary { min-height: 0; padding-bottom: 0.75rem; }
.rs-termin-wahl-auf .rs-termin-form { display: grid; gap: 0.75rem; justify-items: start; padding: 0 1.15rem 1.1rem; }
.rs-termin-wahl-auf .rs-termin-form p { margin: 0; }
.rs-termin-zeit { font-weight: 700; font-size: 1.1rem; }
.rs-termin-aktion { font-size: 0.95rem; text-decoration: underline; text-underline-offset: 0.15em; }
.rs-termin .rs-termin-ja {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; margin: 0; padding: 0.6rem 1.2rem;
  border: 2px solid currentColor; border-radius: 10px; font-weight: 700; line-height: 1.2; background: color-mix(in srgb, currentColor 12%, transparent);
}
.rs-termin .rs-termin-ja:hover { background: color-mix(in srgb, currentColor 20%, transparent); }
.rs-termin .rs-termin-zweit:hover, .rs-termin .rs-termin-kalender:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.rs-termin-vorbei { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.9rem 1.15rem; border: 2px dashed color-mix(in srgb, currentColor 35%, transparent); border-radius: 12px; opacity: 0.6; }
.rs-termin-vorbei .rs-termin-zeit { text-decoration: line-through; }
.rs-termin-vorbei .rs-termin-aktion { text-decoration: none; }
.rs-termin .rs-termin-zweit, .rs-termin .rs-termin-kalender {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; margin: 0; padding: 0.55rem 1.1rem;
  border: 1.5px solid currentColor; border-radius: 10px; font-weight: 600; line-height: 1.2;
}
.rs-termin-gross { font-size: clamp(1.2rem, 3.5vw, 1.45rem); font-weight: 700; line-height: 1.3; margin-bottom: 1.25rem; }
.rs-termin-mehr { margin: 0.5rem 0 0; }
.rs-termin-mehr > summary { display: inline-flex; align-items: center; min-height: 2.75rem; cursor: pointer; font-weight: 600; text-decoration: underline; text-underline-offset: 0.15em; }
.rs-termin-mehr > summary::marker, .rs-termin-mehr > summary::-webkit-details-marker { content: ""; display: none; }
.rs-termin-mehr > summary::after { content: "▾"; margin-left: 0.4em; text-decoration: none; font-size: 0.85em; }
.rs-termin-mehr[open] > summary::after { content: "▴"; }
.rs-termin-mehr .rs-termin-form { display: grid; gap: 0.6rem; justify-items: start; padding: 0.4rem 0 0.75rem; }
.rs-termin-mehr .rs-termin-form p { margin: 0; }
.rs-termin-mehr label { font-weight: 600; }
.rs-termin-mehr textarea {
  width: 100%; min-height: 5rem; padding: 0.65rem 0.75rem; font: inherit; color: inherit; background: transparent; resize: vertical;
  border: 1.5px solid color-mix(in srgb, currentColor 40%, transparent); border-radius: 8px;
}
.rs-termin-ende { margin-top: 1.75rem; padding-top: 0.75rem; border-top: 1px solid color-mix(in srgb, currentColor 15%, transparent); }

@media print {
  .rs-kopf, .rs-fuss, .vs-bar, .vs-feedback { display: none !important; }
  body { color: #000; background: #fff; }
  a { text-decoration: none; }
}
