/* =====================================================================
   HUMMERT UMZÜGE · Unterseiten „Mit Gesicht“
   Impressum, Datenschutz, 404. Ergänzt gesicht.css (Farben, Kopf, Fuß,
   Knöpfe) um ruhige Lesetypografie. Gelb-Regel aus gesicht.css gilt.
   ===================================================================== */

/* Ohne gesicht.js: Kopf immer mit Haarlinie */
.seite .kopf { border-bottom-color: var(--fuge); }

/* ---------- Blattkopf ---------- */
.blatt { padding-block: clamp(36px, 2rem + 4vw, 104px) var(--section); }
.blatt__kopf { padding-bottom: clamp(28px, 3vw, 48px); border-bottom: 1.5px solid var(--asphalt); }
.blatt__titel {
  font: 400 clamp(2.75rem, 1.5rem + 5.2vw, 6rem)/.98 var(--serif);
  letter-spacing: -.015em; margin-top: .3em; text-wrap: balance; overflow-wrap: break-word;
}
.blatt__titel em { font-style: italic; }
.blatt__lead { margin-top: 20px; max-width: 30em; font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); line-height: 1.5; }
.blatt__stand { margin-top: 12px; font-size: .9375rem; color: var(--kies); }

.blatt__raster { display: grid; gap: 40px; margin-top: clamp(32px, 4vw, 64px); }
@media (min-width: 1024px) {
  .blatt__raster--mit-verzeichnis { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .blatt__raster--mit-verzeichnis .verzeichnis {
    grid-column: 1 / 4; position: sticky; top: calc(var(--kopf) + 32px); align-self: start;
    max-height: calc(100vh - var(--kopf) - 64px); overflow-y: auto;
  }
  .blatt__raster--mit-verzeichnis .text { grid-column: 5 / 13; }
}

/* ---------- Inhaltsverzeichnis ---------- */
.verzeichnis { font-size: .9375rem; }
.verzeichnis ul { margin-top: 10px; border-top: var(--hair); }
.verzeichnis li { border-bottom: var(--hair); }
.verzeichnis a { display: block; padding: 9px 0; color: var(--asphalt); text-decoration: none; line-height: 1.35; }
.verzeichnis a:hover { color: var(--asphalt); text-decoration: underline; }

/* ---------- Lesetext ---------- */
/* ≈ 70 Zeichen je Zeile. (70ch wären bei Instrument Sans ~100 Zeichen – die Ziffer 0 ist breit.) */
.text { max-width: 33em; min-width: 0; }
.text > * + * { margin-top: 1em; }
.text p, .text li, .text dd, .text td { text-wrap: pretty; hyphens: auto; -webkit-hyphens: auto; }
.text a { overflow-wrap: anywhere; }
.text strong { font-weight: 600; }
.text address { font-style: normal; }

.text h2 {
  font: 400 clamp(1.625rem, 1.25rem + 1.3vw, 2.25rem)/1.12 var(--serif); letter-spacing: -.005em;
  margin-top: clamp(48px, 5vw, 72px); padding-top: 22px; border-top: var(--hair);
  text-wrap: balance; scroll-margin-top: calc(var(--kopf) + 24px);
}
.text h2 em { font-style: italic; }
.text > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.text h3 { font: 600 clamp(1.0625rem, 1rem + .2vw, 1.1875rem)/1.35 var(--sans); margin-top: 32px; scroll-margin-top: calc(var(--kopf) + 24px); }
.text h2 + *, .text h3 + * { margin-top: 12px; }

.text ul, .text ol { padding-left: 1.3em; }
.text ul { list-style: square; }
.text ol { list-style: decimal; }
.text li::marker { color: var(--kies); }
.text li + li { margin-top: .45em; }

.text .klein { font-size: .9375rem; color: var(--kies); }

/* Angaben als Zeilen (Impressum, Verantwortlicher) */
.angaben { border-top: var(--hair); }
.angaben > div { display: grid; gap: 2px 24px; padding-block: 12px; border-bottom: var(--hair); }
.angaben dt { font: 600 .8125rem/1.5 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--kies); padding-top: .2em; }
.angaben dd { margin: 0; }
.angaben a[href^="tel:"] { font-variant-numeric: tabular-nums; }
@media (min-width: 600px) { .angaben > div { grid-template-columns: 10.5em minmax(0, 1fr); } }

/* Tabelle – scrollt im Notfall in sich, nie die Seite */
.tabelle { overflow-x: auto; }
.tabelle table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; }
.tabelle th, .tabelle td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: var(--hair); }
.tabelle th:last-child, .tabelle td:last-child { padding-right: 0; }
.tabelle thead th {
  font: 600 .8125rem/1.35 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--kies);
  border-bottom: 1.5px solid var(--asphalt); padding-top: 0;
}
.tabelle tbody th { font-weight: 600; width: 44%; }

/* Kasten „Das Wichtigste in Kürze“ und Hervorhebungen */
.kasten { background: var(--reinweiss); border: var(--hair); border-radius: 2px; padding: clamp(20px, 3vw, 32px); }
.text .kasten > h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.text .kasten + h2 { margin-top: clamp(48px, 5vw, 72px); }
.kasten--rand { background: transparent; border: 1.5px solid var(--asphalt); }

/* Platzhalter – müssen vor dem Livegang ersetzt werden */
mark.platzhalter {
  background: #FDECEA; color: var(--ruecklicht); font-weight: 600;
  outline: 1.5px dashed var(--ruecklicht); outline-offset: 1px; border-radius: 2px; padding: 0 .2em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* =====================================================================
   404 · Der leere Karton
   ===================================================================== */
.leer { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
.leer__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.leer__bild { justify-self: center; width: clamp(148px, 42vw, 300px); padding-top: 18%; }
.leer__bild .kiste__korpus { background: var(--gelb); }
@media (min-width: 1024px) {
  .leer { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .leer__text { grid-column: 1 / 9; }
  .leer__bild { grid-column: 9 / 13; }
}

.leer__unten {
  display: grid; gap: 48px; margin-top: clamp(56px, 7vw, 104px);
  padding-top: clamp(32px, 4vw, 48px); border-top: var(--hair);
}
.leer__h2 { font: 400 clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem)/1.1 var(--serif); text-wrap: balance; }
.leer__h2 em { font-style: italic; }
.leer__unten p { margin-top: 14px; max-width: 28em; }
.leer__anrufen { display: grid; gap: 10px; margin-top: 20px; justify-items: stretch; }
.leer__links { margin-top: 16px; border-top: var(--hair); }
.leer__links li { border-bottom: var(--hair); }
.leer__links a {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 16px;
  padding: 14px 0; color: var(--asphalt); text-decoration: none; font-weight: 600;
}
.leer__links a span:not(.leer__ziel) { font-weight: 400; font-size: .9375rem; color: var(--kies); }
.leer__links a:hover .leer__ziel { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
@media (min-width: 560px) { .leer__anrufen { grid-template-columns: repeat(2, max-content); } }
@media (min-width: 1024px) {
  .leer__unten { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .leer__unten > :first-child { grid-column: 1 / 7; }
  .leer__unten > :last-child { grid-column: 8 / 13; }
}

/* ---------- Druck ---------- */
@media print {
  .verzeichnis, .fuss, .skip { display: none !important; }
  .blatt { padding-block: 0; }
  .text { max-width: none; }
  mark.platzhalter { outline: 1px dashed #000; }
}
