/* trier-kammerjaeger.de
   Neu aufgesetzt am 17.09.2026.

   Der Aufbau ist der fünfte eigene in der Serie:
   - Pfälzerwald stellt gegenüber, Mainz reiht Rollen, Ludwigshafen
     wechselt eingefärbte Bänder, Koblenz führt ein Monatsband und eine
     schmale Lesespalte.
   - Trier bekommt eine SEITENSPALTE: links klebt eine schmale Leiste mit
     Bauteil-Einstieg, Anruf und Karte, rechts läuft der Text. Überschrift
     zuerst, Bild danach — kein Bild hinter der Schrift.
   - Serifen im Fließtext. Die Stadt ist zweitausend Jahre alt, das darf
     man ihr ansehen.
*/

:root {
  --wein: #804D5D;          /* Trierer Rotsandstein */
  --wein-tief: #5E3543;
  --wein-hell: #F5EDEF;
  --kalk: #F7F5F1;
  --tinte: #211A1C;
  --leise: #6B5B60;
  --linie: #DFD6D3;
  --gruen: #2F6B4F;         /* Signal: hebt sich vom Sandstein ab */
  --weiss: #fff;
  --rand: clamp(1.15rem, 4vw, 2.25rem);
  --bahn: 78rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--weiss); color: var(--tinte);
  font: 400 1.0625rem/1.75 Georgia, "Iowan Old Style", "Times New Roman", serif;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--wein-tief); }
:focus-visible { outline: 3px solid var(--gruen); outline-offset: 3px; }
h1, h2, h3, .grotesk {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: -0.015em;
}

/* ── Kopf ───────────────────────────────────────────────────────────── */
.kopf { background: var(--wein); color: var(--weiss); }
.kopf > div { max-width: var(--bahn); margin-inline: auto;
  padding: 0.8rem var(--rand); display: flex; align-items: center; gap: 1rem; }
.marke { display: block; text-decoration: none; }
.marke svg { height: 2.5rem; width: auto; }
.ruf { margin-left: auto; display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--gruen); color: var(--weiss); text-decoration: none;
  font-family: system-ui, sans-serif; font-weight: 700; font-size: 0.9375rem;
  padding: 0.55rem 1.05rem; white-space: nowrap; }
.ruf:hover { background: #24543E; }
.ruf svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }

/* ── Giebel: Überschrift zuerst, Bild danach ────────────────────────── */
.giebel { background: var(--wein-hell); border-bottom: 1px solid var(--linie); }
.giebel > div { max-width: var(--bahn); margin-inline: auto;
  padding: clamp(1.8rem, 5vw, 3rem) var(--rand) 0; }
.giebel h1 { margin: 0 0 0.6rem; font-size: clamp(1.75rem, 4.6vw, 2.7rem);
  line-height: 1.12; max-width: 20ch; }
.giebel .anriss { margin: 0 0 1.3rem; font-size: clamp(1.0625rem, 2.4vw, 1.25rem);
  color: var(--leise); max-width: 50ch; }
.giebelbild { max-width: var(--bahn); margin: 1.6rem auto 0;
  padding-inline: var(--rand); }
.giebelbild img { width: 100%; }

/* ── Zweispalter: klebende Leiste links, Text rechts ────────────────── */
.werk { max-width: var(--bahn); margin-inline: auto; padding: 0 var(--rand);
  display: grid; gap: 2rem; }
@media (min-width: 64rem) {
  .werk { grid-template-columns: 16rem 1fr; gap: 3rem; align-items: start; }
  .leiste { position: sticky; top: 1.5rem; }
}
.leiste { padding-block: 1.6rem; }
.leiste h2 { font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--leise); margin: 0 0 0.7rem; }
.leiste + .leiste, .leiste .block + .block { margin-top: 1.8rem; }
.bauteile { list-style: none; margin: 0 0 1.8rem; padding: 0;
  border-top: 1px solid var(--linie); }
.bauteile li { border-bottom: 1px solid var(--linie); }
.bauteile a { display: block; padding: 0.6rem 0; text-decoration: none;
  font-family: system-ui, sans-serif; font-size: 0.9375rem; color: var(--tinte); }
.bauteile a:hover { color: var(--wein-tief); }
.bauteile span { display: block; font-size: 0.8125rem; color: var(--leise); }
.leiste .ruf { margin: 0 0 1.4rem; width: 100%; justify-content: center; }
/* Der Rahmen um die Karte. Die Klasse stand seit dem ersten Bau im
   Markup, eine Regel dazu gab es nie. */
.karte-block { margin: 0 0 1.4rem; }
.karte-block figcaption { font-size: 0.8125rem; color: var(--leise);
  margin-top: 0.4rem; }
.leiste .karte { border: 1px solid var(--linie); }
.leiste .karte svg { width: 100%; height: auto; display: block; }
.leiste figcaption { font-size: 0.8125rem; color: var(--leise); margin-top: 0.4rem; }

.text { padding-block: 1.8rem; max-width: 40rem; }
.text > * { margin-block: 0 1.1rem; }
.text h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); margin-block: 2.4rem 0.8rem; }
.text h3 { font-size: 1.0625rem; margin-block: 1.6rem 0.4rem;
  font-family: system-ui, sans-serif; }
.text figure { margin: 2rem 0; }
.text figcaption { margin-top: 0.5rem; font-size: 0.875rem; color: var(--leise);
  font-family: system-ui, sans-serif; }

/* ── Bauteiltabelle ─────────────────────────────────────────────────── */
.bauteiltafel { width: 100%; border-collapse: collapse;
  font-family: system-ui, sans-serif; font-size: 0.9375rem; }
.bauteiltafel caption { caption-side: top; text-align: left; font-weight: 700;
  padding-bottom: 0.7rem; }
.bauteiltafel th, .bauteiltafel td { text-align: left; vertical-align: top;
  padding: 0.7rem 0.8rem 0.7rem 0; border-top: 1px solid var(--linie); }
.bauteiltafel th { font-weight: 700; white-space: nowrap; }
.bauteiltafel td:last-child { color: var(--leise); }
.bauteiltafel tbody tr:hover { background: var(--kalk); }

/* ── Stichpunkte ────────────────────────────────────────────────────── */
.punkte { list-style: none; margin: 1.2rem 0; padding: 0; display: grid;
  gap: 0.6rem; font-family: system-ui, sans-serif; font-size: 0.9375rem; }
.punkte li { display: grid; grid-template-columns: 1.3rem 1fr; gap: 0.6rem; }
.punkte li::before { content: ""; width: 0.95rem; height: 0.95rem; margin-top: 0.3rem;
  background: var(--gruen);
  -webkit-mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
  mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E"); }

/* ── Ruf-Zeile ──────────────────────────────────────────────────────── */
.rufband { background: var(--wein); color: var(--weiss); margin: 2.4rem 0; }
.rufband > div { padding: 1.3rem var(--rand); display: flex; flex-wrap: wrap;
  align-items: center; gap: 0.8rem 1.5rem; }
.rufband p { margin: 0; flex: 1 1 18rem; }

/* ── FAQ ────────────────────────────────────────────────────────────── */
.faq dt { font-family: system-ui, sans-serif; font-weight: 700; margin-top: 1.5rem; }
.faq dd { margin: 0.3rem 0 0; color: var(--leise); }

/* ── Formular ───────────────────────────────────────────────────────── */
.anfrage { background: var(--kalk); border-top: 1px solid var(--linie);
  margin-top: 2.5rem; padding-block: clamp(1.8rem, 5vw, 2.6rem); }
.anfrage > div { max-width: 44rem; margin-inline: auto; padding-inline: var(--rand); }
.anfrage h2 { margin-top: 0; }
.oder { font-size: 0.875rem; color: var(--leise); margin-top: 0.8rem; }
.anfrage form { font-family: system-ui, sans-serif; font-size: 0.9375rem; }
.paar { display: grid; gap: 0 1rem; }
@media (min-width: 34rem) { .paar { grid-template-columns: 1fr 1fr; } }
.anfrage label.zeile { display: block; margin-bottom: 0.25rem; }
.anfrage input[type=text], .anfrage input[type=tel], .anfrage textarea {
  width: 100%; font: inherit; padding: 0.6rem 0.75rem;
  border: 1px solid var(--linie); background: var(--weiss); }
.anfrage p { margin: 0 0 1rem; }
.anfrage button { font: inherit; font-weight: 700; background: var(--gruen);
  color: var(--weiss); border: 0; padding: 0.8rem 1.6rem; cursor: pointer; }
.anfrage button:hover { background: #24543E; }
.einwilligung { display: flex; gap: 0.6rem; align-items: start; color: var(--leise); }
.falle { position: absolute; left: -9999px; }

/* ── Fuß ────────────────────────────────────────────────────────────── */
.fuss { background: var(--tinte); color: #CFC3C6; }
.fuss > div { max-width: var(--bahn); margin-inline: auto; padding: 2.2rem var(--rand);
  display: grid; gap: 1.6rem; font-family: system-ui, sans-serif; font-size: 0.9375rem; }
@media (min-width: 46rem) { .fuss > div { grid-template-columns: 1.6fr 1fr; } }
.fuss h2 { font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #A49095; margin: 0 0 0.6rem; }
.fuss a { color: var(--weiss); }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.fuss svg { height: 2.3rem; width: auto; margin-bottom: 0.8rem; }
.fussrand { border-top: 1px solid #3A2E31; font-size: 0.8125rem; color: #A49095; }
.fussrand > div { max-width: var(--bahn); margin-inline: auto; padding: 0.9rem var(--rand);
  font-family: system-ui, sans-serif; }

/* ── klebender Anruf auf dem Handy ──────────────────────────────────── */
.klebt { display: none; }
@media (max-width: 46rem) {
  .klebt { display: block; position: fixed; inset-inline: 0; bottom: 0;
    background: var(--gruen); color: var(--weiss); text-align: center;
    padding: 0.85rem; font-family: system-ui, sans-serif; font-weight: 700;
    text-decoration: none; z-index: 9; }
  body { padding-bottom: 3.6rem; }
}


/* Hauptmenü in der Leiste — diese Seite hat keine Menüzeile im Kopf. */
.hauptnav { margin-bottom: 1.8rem; }
.hauptnav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.hauptnav a { display: block; padding: 0.4rem 0.6rem; text-decoration: none;
  font-family: system-ui, sans-serif; font-size: 0.9375rem; color: var(--tinte);
  border-left: 3px solid var(--linie); }
.hauptnav a:hover { border-left-color: var(--wein); background: var(--wein-hell); }

.bauzeile { color: #A49095; font-size: 0.8125rem; margin-top: 0.8rem; }

/* Suchformen-Zeilen am Fuß des Inhalts (werkzeuge/suchformen.py,
   18.09.2026): drei Sätze, die jede Schreibweise des Suchworts mit dem
   Stadtnamen paaren. Bewusst leise gesetzt. */
.kurzformen { list-style: none; max-width: 46rem; margin: 2.4rem auto 0;
  padding: 1rem 0 0.4rem; border-top: 1px solid rgba(0, 0, 0, .12);
  display: grid; gap: 0.35rem; font-size: 0.9375rem; opacity: .82; }
.kurzformen li { padding-left: 1.1rem; position: relative; }
.kurzformen li::before { content: "·"; position: absolute; left: 0.3rem;
  font-weight: 700; }

/* Mobil-Überlauf-Fix 2026-11-05 */
/* Bauteiltabelle: Zeilenköpfe (nowrap) drückten die Seite auf 422 px */
@media (max-width: 46rem) {
  .bauteiltafel th { white-space: normal; }
  .bauteiltafel th, .bauteiltafel td { overflow-wrap: anywhere;
    -webkit-hyphens: auto; hyphens: auto; }
}
