/* Entwurf 2 «Vor dem ersten Gespräch». Siehe DESIGN-2.md.
   Eine Grotesk (Familjen Grotesk), große Antwortsätze, eine breite Spalte. Petrol auf neutralem Grund;
   Ziegel nur für das, was nicht Angabe der Kanzlei ist: «Gesetzliche Regel» und «Beispiel». */

@font-face {
  font-family: "Familjen Grotesk";
  src: url("/fonts/familjen-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
/* Ersatzschrift mit angeglichenen Maßen, damit die großen Sätze beim Nachladen nicht umbrechen. */
@font-face {
  font-family: "Gespraech Ersatz";
  src: local("Arial");
  size-adjust: 96%;
  ascent-override: 98%;
  descent-override: 26%;
  line-gap-override: 0%;
}

:root {
  --grund: #f2f1ee;
  --stein: #dedbd3;
  --petrol: #0c3642;
  --papier: #fcfcfb;
  --schiefer: #42565c;
  --ziegel: #8f3220;
  --rand: 1.25rem;
  --spalte: 52rem;
}

body {
  font-family: "Familjen Grotesk", "Gespraech Ersatz", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-synthesis: none;
  overflow-wrap: break-word;
  color: var(--petrol);
  background: var(--grund);
}
h1, h2, p, dl, dd, ul, figure { margin: 0; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.16em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--ziegel); outline-offset: 2px; }

/* Lesezeichen auf dunklem Kopf: helles Band, helle Schrift am Blatt-Schalter. */
.lz { --lz-band: #fcfcfb; --lz-schrift: #0c3642; }
.lz-blatt summary { color: #fcfcfb; }

/* Kopf: nur der Name der Kanzlei, eine Zeile – die Überschrift der Seite ist die erste Antwort. */
.wer { padding: 1.05rem 9.5rem 0.9rem var(--rand); background: var(--petrol); color: var(--papier); }
.wer-name { font-weight: 600; line-height: 1.3; }
.wer-beispiel { margin-top: 0.3rem; font-size: 0.875rem; }

.antwort { padding: 2.4rem var(--rand) 0; }
.antwort > * { max-width: var(--spalte); }
.frage { color: var(--schiefer); margin-bottom: 0.45rem; }
.satz {
  font-size: 2rem;
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
  hyphens: auto;
  margin-bottom: 1.1rem;
}
.antwort p + p, .antwort dl + p, .antwort p + dl { margin-top: 0.75rem; }
.klein { font-size: 0.9375rem; color: var(--schiefer); }

/* Erste Antwort: dunkles Feld über die ganze Breite, der Satz so groß wie möglich. */
.antwort-erste { padding-top: 1.6rem; padding-bottom: 2.2rem; background: var(--petrol); color: var(--papier); }
.antwort-erste .frage, .antwort-erste .klein { color: #c9d6d9; }
/* Der erste Satz nennt die Telefonzeiten ganz – ohne «heute» oder «jetzt» (siehe DESIGN-2.md, Abschnitt 8). */
.antwort-erste .satz { font-size: 1.9rem; line-height: 1.12; }
.wege { display: grid; justify-items: start; gap: 0.15rem; font-variant-numeric: tabular-nums lining-nums; }
.wege a { display: block; padding-block: 0.55rem; }
.weg-telefon { font-size: 1.6rem; line-height: 1.2; font-weight: 700; }
.weg-mail { font-size: 1.0625rem; font-weight: 600; }
.wege + .klein { margin-top: 0.8rem; }

.gebiete { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.8rem; }
.gebiete dt { font-weight: 700; font-size: 1.125rem; }
.gebiete dd { color: var(--schiefer); }

/* Gesetzliche Regel: eigenes Feld und eigene Farbe der Marke – nicht mit Worten der Kanzlei zu verwechseln. */
.regel { margin-top: 1.1rem; padding: 1rem 1.1rem; background: var(--stein); }
.regel .klein { margin-top: 0.5rem; }
.regel a { margin-right: 0.9rem; display: inline-block; padding-block: 0.3rem; }
.marke { color: var(--ziegel); font-weight: 700; }
.marke-zeile { margin-bottom: 0.3rem; }

.liste { padding-left: 1.15rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.3rem; }

.anfrage { max-width: 30rem; gap: 0.95rem; }
.anfrage label { font-weight: 600; }
.anfrage input, .anfrage select {
  font: inherit;
  min-height: 2.9rem;
  width: 100%;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--schiefer);
  border-radius: 0;
  background: var(--papier);
  color: var(--petrol);
}
.anfrage button { border: 2px solid var(--petrol); border-radius: 0; background: var(--petrol); color: var(--papier); font-weight: 700; }
.anfrage button.leise { background: transparent; color: var(--petrol); }
.anfrage-klein { color: var(--schiefer); }

.bild { margin-top: 2.6rem; padding-inline: var(--rand); }
.bild picture, .bild figcaption { display: block; max-width: var(--spalte); }
.bild img { width: 100%; }
.bild figcaption { margin-top: 0.35rem; font-size: 0.875rem; color: var(--schiefer); }

.fuss { margin: 3.2rem var(--rand) 0; padding: 1.2rem 0 3rem; border-top: 2px solid var(--petrol); max-width: var(--spalte); font-size: 0.9375rem; display: grid; gap: 0.6rem; }
.fuss a { margin-right: 0.9rem; display: inline-block; padding-block: 0.25rem; }
.fuss-muster, .fuss-autor { color: var(--schiefer); }

/* Sehr schmal (Telefon mit 200 % Zoom). */
@media (max-width: 22rem) {
  body { hyphens: auto; }
  .liste li, .antwort p, .gebiete dd { overflow-wrap: anywhere; }
  .wer { padding-right: var(--rand); padding-top: 4.2rem; }
  .satz { font-size: 1.6rem; overflow-wrap: anywhere; }
  .anfrage-senden button { width: 100%; }
  .antwort-erste .satz { font-size: 1.5rem; }
  .weg-telefon { font-size: 1.3rem; }
  .weg-mail, .wege a { overflow-wrap: anywhere; }
}

/* Breiter Bildschirm: eine breite Spalte großer Sätze, vom linken Rand aus. Keine Felder nebeneinander. */
@media (min-width: 62rem) {
  :root { --rand: clamp(3rem, 8vw, 8rem); }
  body { font-size: 1.1875rem; }
  .wer { padding-block: 1.3rem 1.1rem; }
  .antwort { padding-top: 4rem; }
  .satz { font-size: 3.25rem; margin-bottom: 1.4rem; }
  .antwort > p, .antwort > dl, .antwort > ul, .antwort > aside, .antwort > form { max-width: 38rem; }
  .antwort-erste { padding-top: 3.2rem; padding-bottom: 3.6rem; }
  .antwort-erste .satz { font-size: 3.5rem; }
  .weg-telefon { font-size: 2.2rem; }
  .weg-mail { font-size: 1.25rem; }
  .gebiete dt { font-size: 1.3rem; }
  .bild { margin-top: 4.2rem; }
}
