/* TACTUS Rechtstexte – eigenständig, ohne externe Ressourcen */
:root { color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: #100E0D; color: #E6DED5; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased;
  padding: max(env(safe-area-inset-top), 16px) 16px max(env(safe-area-inset-bottom), 32px); }
main { max-width: 760px; margin: 0 auto; }
header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0 20px; border-bottom: 1px solid #2C2725; margin-bottom: 24px; }
header a.brand { color: #D6BC8E; font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 700; letter-spacing: .18em; text-decoration: none; font-size: 13px;
  min-height: 44px; display: inline-flex; align-items: center; }
header a.back { color: #A69B91; font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
/* Lange Wörter („Geschäftsbedingungen“) passen auch auf 320 px breite iPhones (vorher bis an den Rand; die Hauptüberschrift
   wird dort etwas kleiner), Ziffern in normaler Höhe („§ 1“ statt „§ ı“ der Serifenschrift) */
h1, h2 { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; font-feature-settings: "lnum" 1; }
h1 { font-family: 'Cormorant Garamond', Georgia, serif; color: #fff; font-size: clamp(28px, 9vw, 34px); line-height: 1.15; margin: 0 0 6px; }
h2 { font-family: 'Cormorant Garamond', Georgia, serif; color: #fff; font-size: 23px; margin: 32px 0 8px; }
h2.legal-h2-big { margin-top: 48px; font-size: 34px; } /* Widerrufsbelehrung in den AGB */
h3 { color: #F2EBE3; font-size: 16px; margin: 20px 0 6px; }
p, li { color: #D6CCC2; }
a { color: #D6BC8E; }
.meta { color: #A69B91; font-size: 13px; font-family: 'JetBrains Mono', ui-monospace, monospace; }
.box { border: 1px solid #3C3532; background: #1A1716; border-radius: 16px; padding: 14px 16px; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
td, th { text-align: left; vertical-align: top; padding: 8px 6px; border-bottom: 1px solid #2C2725; }
th { color: #D6BC8E; font-weight: 600; }
.table-wrap { overflow-x: auto; }
footer { margin-top: 40px; padding-top: 16px; border-top: 1px solid #2C2725; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; }
footer a { color: #A69B91; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }

/* Kontaktformular (kontakt.html, js/kontakt.js) */
form.kf { display: grid; gap: 14px; margin-top: 8px; }
.kf label.field { display: grid; gap: 6px; font-weight: 600; color: #F2EBE3; }
.kf input[type=text], .kf input[type=email], .kf select, .kf textarea {
  font: inherit; font-size: 16px; min-height: 48px; padding: 10px 12px; border-radius: 14px;
  border: 1px solid #3C3532; background: #000; color: #fff; width: 100%; }
.kf textarea { min-height: 160px; resize: vertical; }
.kf input:focus, .kf select:focus, .kf textarea:focus { outline: none; border-color: #D6BC8E; }
.kf .hint { font-size: 13px; color: #A69B91; font-weight: 400; }
.kf .submit { min-height: 52px; border-radius: 14px; border: 0; background: #D6BC8E; color: #000; font: inherit; font-weight: 800; font-size: 17px; cursor: pointer; }
.kf .submit:disabled { opacity: .5; }
.kf .err { color: #f87171; font-size: 14px; min-height: 20px; margin: 0; }
/* Unsichtbares Feld gegen Bots: für Menschen und VoiceOver ausgeblendet, Bots füllen es trotzdem aus */
.kf .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.kf-done[hidden], .kf[hidden] { display: none !important; }
/* Meldung rechtswidriger Inhalte (kontakt.html, Thema „meldung“): Zusatzfelder und Häkchen */
.kf-meldung[hidden] { display: none !important; }
.kf-meldung { display: grid; gap: 14px; }
.kf label.check { display: flex; gap: 10px; align-items: flex-start; color: #F2EBE3; font-weight: 400; }
.kf label.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: #D6BC8E; }
.kf-done .box h2 { margin-top: 0; }

/* Widerruf (widerruf.html, js/widerruf.js): Formular wie oben (.kf), dazu Datum, Bestätigung zum Speichern */
.kf input[type=date] { font: inherit; font-size: 16px; min-height: 48px; padding: 10px 12px; border-radius: 14px;
  border: 1px solid #3C3532; background: #000; color: #fff; width: 100%; }
.kf input[type=date]:focus { outline: none; border-color: #D6BC8E; }
/* Datumsfelder (Widerruf, Kündigung): Safari auf dem iPhone gibt type=date eine eigene Mindestbreite und übergeht
   width 100 %, solange das Systemaussehen gilt. Ohne Systemaussehen und mit min-width 0 bleibt das Feld im Fenster. */
input[type=date] { display: block; min-width: 0; max-width: 100%; -webkit-appearance: none; appearance: none; text-align: left; }
input[type=date]::-webkit-date-and-time-value { text-align: left; min-width: 0; }
pre.kf-receipt { white-space: pre-wrap; word-break: break-word; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px;
  color: #E6DED5; background: #000; border: 1px solid #2e5746; border-radius: 14px; padding: 14px; }
.kf-row { display: flex; flex-wrap: wrap; gap: 8px; }
.kf-btn { min-height: 48px; border-radius: 14px; border: 1px solid #3C3532; background: #000; color: #F2EBE3; font: inherit; font-weight: 700; cursor: pointer; padding: 0 16px; }
@media print { body.vf header, body.vf footer, body.vf .kf-row, body.vf form { display: none !important; } body.vf { background: #fff; color: #000; } body.vf pre.kf-receipt { color: #000; border-color: #000; } }

/* Verbraucher-Knöpfe im Fußbereich hervorgehoben (§ 312k und § 356a BGB: deutlich abgesetzt von anderen Links) */
footer a.hervor { color: #D6BC8E; font-weight: 700; }
/* Hauptknopf als Link (404: „Zurück zu TACTUS“): gold wie der Hauptknopf der App, 52 px hoch */
a.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 12px;
  background: #D6BC8E; color: #000; font-weight: 800; text-decoration: none; }

/* Geschenk-Gutschein (geschenk.html, js/geschenk.js): Auswahl als Karten mit Radioknopf bzw. Häkchen */
.kf fieldset.wahl { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.kf fieldset.wahl legend { font-weight: 600; color: #F2EBE3; margin-bottom: 6px; padding: 0; }
.kf label.opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid #3C3532; border-radius: 14px; background: #000; cursor: pointer; }
.kf label.opt:has(input:checked) { border-color: #D6BC8E; }
.kf label.opt input { margin: 4px 0 0; width: 20px; height: 20px; flex: none; accent-color: #D6BC8E; }
.kf label.opt b { color: #F2EBE3; }
.kf label.opt .sub { display: block; font-size: 13px; color: #A69B91; }
.kf input[type=number] { font: inherit; font-size: 16px; min-height: 48px; padding: 10px 12px; border-radius: 14px;
  border: 1px solid #3C3532; background: #000; color: #fff; width: 100%; }
.kf input[type=number]:focus { outline: none; border-color: #D6BC8E; }
.kf [hidden] { display: none !important; }
section.gs[hidden] { display: none !important; }
