/* ============================================================================
   seite-kontakt  —  aus kontakt.html des statischen Standes
   Automatisch extrahiert (_work/theme-css-extrakt.mjs), inhaltlich unveraendert.
   Einzige Aenderung: Bildpfade zeigen auf das Theme-Verzeichnis.
   ========================================================================= */


.page-hero { position: relative; padding: 160px 0 64px; overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 60% 50% at 80% 30%, rgba(225,6,0,.22), transparent 60%), linear-gradient(180deg, #050505, var(--bg-base-2));
}
.page-hero h1 { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(52px, 10vw, 168px); line-height: 0.86; letter-spacing: -0.04em; text-transform: uppercase; margin: 24px 0; }
.page-hero h1 .accent { color: var(--red); }
.crumbs { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 16px; }
/* Klickflaeche auf 24px (WCAG 2.2 Zielgroesse) — das negative Margin haelt die
   Zeilenhoehe unveraendert, optisch aendert sich nichts. */
.crumbs a { color: var(--text-secondary); padding: 4px 0; margin: -4px 0; }
.crumbs .sep { color: var(--red-bright); }

.contact-grid { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.2fr 1fr; gap: 72px; } }
/* Grid-Kinder duerfen unter ihre Inhaltsbreite schrumpfen (Default ist
   min-width:auto). Bei 320px schob sonst das laengste Wort das Raster
   auseinander — gemessen 377px Dokumentbreite bei 320px Viewport. */
.contact-grid > *, .form-row > * { min-width: 0; }

.form { padding: 36px; background: linear-gradient(180deg, var(--surface-1), var(--surface-2)); border: 1px solid var(--border-1); border-radius: var(--r-xl); }
.form h2 { font-family: var(--font-display); font-style: italic; font-size: 40px; line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; margin-bottom: 8px; }
.form .sub { color: var(--text-secondary); font-size: 14.5px; margin-bottom: 28px; }
.form-row { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 14px; }
@media (min-width: 600px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); }
.field input, .field textarea, .field select {
  appearance: none; -webkit-appearance: none;
  background: var(--bg-base);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  padding: 14px 16px;
  color: var(--text-primary);
  font-size: 14.5px;
  font-family: var(--font-body);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { padding-right: 36px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a8a8a8' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; }
/* Fokus und Fehler waren am Feld pixelidentisch — beide rot + red-soft (Review
   20/10 Z1); ein fokussiertes LEERES Feld sah aus wie ein Fehler. Den Fokus
   traegt jetzt die weisse Outline aus shared.css (deshalb hier KEIN `outline: 0`
   mehr, das sie bisher tot machte), die Border hellt nur dezent auf. Rot +
   red-soft bleibt exklusiv dem .is-invalid-Zustand — beide gleichzeitig
   (fokussiert UND fehlerhaft) bleiben damit unterscheidbar. */
.field input:focus, .field textarea:focus, .field select:focus { border-color: rgba(255,255,255,.45); box-shadow: none; }
.checkbox-row { display: flex; gap: 12px; align-items: start; padding: 14px 0; font-size: 13px; color: var(--text-secondary); }
.checkbox-row input { width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--red); margin-top: 2px; }
.checkbox-row a { color: var(--red-bright); }

.info-card { padding: 36px; background: linear-gradient(180deg, var(--surface-1), var(--surface-2)); border: 1px solid var(--border-1); border-radius: var(--r-xl); margin-bottom: 24px; }
.info-card h3 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.info-row { display: flex; gap: 16px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--border-1); }
.info-row:last-child { border-bottom: 0; padding-bottom: 0; }
.info-row .ic { flex: 0 0 36px; height: 36px; border-radius: var(--r-md); background: var(--red-soft); border: 1px solid var(--border-red); display: grid; place-items: center; color: var(--red); }
/* 11 statt 10 px (Review 20/9 §2): "Adresse/Telefon/E-Mail/Fax" beschriften die
   Kontaktdaten — informationstragender Text bleibt nicht unter 11 px, erst recht
   nicht in Mono mit 0.22em Sperrung. Die h3-Zeile "Standort" steht bereits auf 11. */
.info-row .l { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 4px; }
.info-row .v { font-size: 15px; color: var(--text-primary); line-height: 1.5; }
.info-row .v a { color: var(--text-primary); transition: color .2s; }
.info-row .v a:hover { color: var(--red-bright); }

.hours-row { display: grid; grid-template-columns: 1fr auto; padding: 12px 0; border-bottom: 1px solid var(--border-1); font-size: 14.5px; }
.hours-row:last-child { border-bottom: 0; }
.hours-row .day { color: var(--text-secondary); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.hours-row .time { color: var(--text-primary); font-family: var(--font-mono); }
.hours-row.closed .time { color: var(--text-muted); }

.anfahrt { margin: 0 0 24px; }
.anfahrt .shot {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r-xl); border: 1px solid var(--border-2);
  box-shadow: var(--shadow-md);
}
.anfahrt img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.anfahrt .shot::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(5,5,5,.5));
}
.anfahrt figcaption {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-muted); margin-top: 12px;
}
.anfahrt figcaption .accent { color: var(--red-bright); }

/* Die Karte stand bisher als letztes Element der RECHTEN Spalte. Auf 1440 endet
   die linke Spalte (Formular) rund 450px frueher — unter dem Formular klaffte
   eine leere Flaeche in genau dieser Hoehe. Vollbreit unter beiden Spalten
   schliesst sie das Loch; mobil bleibt die Reihenfolge (Karte nach den
   Kontaktdaten) unveraendert, weil das Raster dort einspaltig ist.
   Der frueher hier stehende .map-consent-Override (aspect-ratio/min-height)
   ist entfallen — shared.css traegt ihn jetzt selbst. */
.karte-band { margin-top: 40px; }
@media (min-width: 1024px) { .karte-band { margin-top: 56px; } }

/* Anrufen-Wort in der Lede: als Link erkennbar, ohne den Fliesstext zu zerreissen */
.lede a.tel-inline { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s; }
.lede a.tel-inline:hover { color: var(--red-bright); }

/* Nach dem Prefill wird das Formular angesprungen — die fixe Nav darf die
   Ueberschrift nicht verdecken. */
/* 120 statt 96: das Formular traegt data-reveal, waehrend der weichen Scroll-
   Fahrt sitzt es noch am Reveal-Versatz — gemessen kam es sonst 24px zu hoch an
   und die Kartenkante lag knapp unter der 77px hohen Nav. */
#contact-form { scroll-margin-top: 120px; }

/* Einwilligungs-Checkbox: gleiche Fehlersprache wie die uebrigen Felder */
.checkbox-row.is-invalid input { outline: 2px solid var(--red); outline-offset: 3px; }
.checkbox-row.is-invalid span { color: var(--text-primary); }

/* Footer-Einstieg: kontakt war mit 144 px (64 pB + 80 Footer-pT) die knappste
   Seite der Site, alle uebrigen liegen bei 208 (Review 20/5 §7). */
.section-sm.tel-schluss { padding-bottom: 96px; }

/* Die Rueckmeldung des Formulars. WICHTIG: .formstatus allein ist unsichtbar —
   sichtbar wird sie erst mit einem der drei Zustaende. Ein Zustand ohne Regel
   hier bedeutet eine Meldung, die der Besucher NIE sieht; genau so verschwaende
   eine Fehlermeldung lautlos. Deshalb stehen alle drei beieinander.
   .laeuft  = wird gerade gesendet   .ok = angekommen   .err = nicht gesendet */
.formstatus { padding: 16px; border-radius: var(--r-md); font-size: 14px; margin-top: 16px; display: none; }
.formstatus.ok { display: block; background: rgba(0,217,107,.1); border: 1px solid rgba(0,217,107,.3); color: #80f0b6; }
.formstatus.laeuft { display: block; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); color: var(--text-secondary); }
.formstatus.err { display: block; background: rgba(255,59,48,.1); border: 1px solid rgba(255,59,48,.32); color: #ff9d96; }
.formstatus.err a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
/* Waehrend des Sendens ist der Knopf gesperrt — das muss man ihm ansehen,
   sonst wirkt der zweite Klick nur wie ein Fehler der Seite. */
.form button[type="submit"][disabled] { opacity: .6; cursor: progress; }
