/* ==========================================================================
   Schwarzberg & Sohn Gerüstbau — Stylesheet
   Handgeschrieben, kein Build-Schritt, keine Abhängigkeiten.

   Aufbau der Datei:
     1  Schriften (lokal, kein Google-Abruf)
     2  Design-Tokens
     3  Grundlagen / Reset
     4  Hilfsklassen & Layout
     5  Kopfbereich & Navigation
     6  Schaltflächen
     7  Startseite: Hero, Vertrauensleiste, Über uns, Leistungen,
        Vorteile, Einblicke, Kontaktband
     8  Kontaktseite & Formular
     9  Fließtextseiten (Datenschutz, Impressum, 404)
    10  Fußzeile
    11  Bewegung reduzieren

   Farbkontraste (WCAG 2.1, gerechnet):
     ink  #16191D auf weiß ............ 17,6:1
     soft #4A5157 auf weiß ............  8,1:1
     ink  #16191D auf Orange #E5A00D ..  7,9:1
     Orange-Text #8A5A00 auf weiß .....  5,9:1
     Orange      #E5A00D auf ink ......  7,9:1
     weiß auf ink ..................... 17,6:1
   Weiß auf Orange wäre nur 2,2:1 und wird deshalb NIRGENDS verwendet.
   Orange-Text #8A5A00 auf ink wäre nur 2,98:1 und wird deshalb auf dunklem
   Grund NIRGENDS verwendet (siehe Regel für .eyebrow).
   ========================================================================== */

/* 1 ── Schriften ─────────────────────────────────────────────────────────── */
/* Poppins, lokal ausgeliefert. Kein Abruf bei Google (LG München I, 20.01.2022,
   Az. 3 O 17493/20). latin-ext wird für türkische Zeichen (ğ) gebraucht.      */

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2 ── Design-Tokens ─────────────────────────────────────────────────────── */
:root {
  /* Farben */
  --ink:          #16191D;   /* Anthrazit, Fließtext und Überschriften */
  --ink-soft:     #4A5157;   /* Nebentext */
  --ink-line:     #DCE1E6;   /* Trennlinien */
  --surface:      #FFFFFF;
  --surface-2:    #F4F6F8;   /* Sektionswechsel */
  --dark:         #16191D;   /* dunkle Bänder */
  --dark-2:       #22272D;   /* Karten auf dunklem Grund */
  --on-dark:      #FFFFFF;
  --on-dark-soft: #D9DEE3;
  --accent:       #E5A00D;   /* Markenorange, NUR als Fläche mit ink-Text */
  --accent-dark:  #C98A05;   /* Hover-Zustand der Fläche */
  --accent-text:  #8A5A00;   /* Orange als Textfarbe auf hellem Grund */

  /* Abstände: 4/8-Raster */
  --s-1:  4px;  --s-2:  8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px;  --s-6: 32px;  --s-7: 48px; --s-8: 64px; --s-9: 96px;

  --radius:    6px;
  --radius-lg: 10px;
  --wrap:     1160px;
  --wrap-text: 68ch;
  --fast: 160ms;
}

/* 3 ── Grundlagen ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Ab 860 px klebt der Kopfbereich oben. Ohne diesen Abstand würde ein
     Sprungziel (#leistungen) genau darunter verschwinden. */
  scroll-padding-top: var(--s-5);
}
@media (min-width: 860px) { html { scroll-padding-top: 116px; } }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0 0 var(--s-4);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
/* Ein einzelnes sehr langes Wort (Fachbegriff, Ortsname, lange URL) in einer
   Ueberschrift schiebt sonst die ganze Seite seitlich hinaus. */
h1, h2, h3, .prose { overflow-wrap: break-word; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); }
h2 { font-size: clamp(1.65rem, 4.4vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.6vw, 1.35rem); }
h4 { font-size: 1.05rem; }

p  { margin: 0 0 var(--s-4); max-width: var(--wrap-text); }
ul, ol { max-width: var(--wrap-text); }

a { color: var(--accent-text); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

img { max-width: 100%; height: auto; display: block; }

strong { font-weight: 600; }

/* Sichtbarer Fokus: dunkler Ring auf hellem Grund, oranger auf dunklem.
   Der Ring wird nie entfernt. */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}
.band-dark :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible { outline-color: var(--accent); }

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--on-dark);
  padding: var(--s-3) var(--s-5);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: top var(--fast) ease-out;
}
.skip-link:focus { top: var(--s-4); color: var(--on-dark); }

/* 4 ── Layout & Hilfsklassen ────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--s-5);
}
.wrap--narrow { max-width: 760px; }
@media (min-width: 900px) { .wrap { padding-inline: var(--s-6); } }

.section { padding-block: var(--s-8); }
@media (min-width: 900px) { .section { padding-block: var(--s-9); } }

.section--tint { background: var(--surface-2); }

.band-dark { background: var(--dark); color: var(--on-dark); }
.band-dark h2, .band-dark h3 { color: var(--on-dark); }
.band-dark p  { color: var(--on-dark-soft); }
.band-dark a  { color: var(--accent); }
.band-dark a:hover { color: var(--on-dark); }

.eyebrow {
  display: block;
  margin-bottom: var(--s-3);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
}
/* Auf dunklem Grund darf das Text-Orange #8A5A00 NICHT verwendet werden:
   auf #16191D erreicht es nur 2,98:1 und verfehlt damit WCAG 1.4.3 (4,5:1).
   Stattdessen das helle --accent #E5A00D → 7,87:1 auf #16191D.
   Im Kontaktband liegt ein Foto mit 0,15 Deckkraft darüber; selbst bei einer
   reinweissen Bildstelle (Mischfarbe #393C3F) bleiben 4,95:1. */
.band-dark .eyebrow,
.hero .eyebrow,
.ctaband .eyebrow,
.page-head .eyebrow { color: var(--accent); }

.lead {
  font-size: 1.125rem;
  color: var(--ink-soft);
}
.band-dark .lead { color: var(--on-dark-soft); }

.section-head { margin-bottom: var(--s-7); }
.section-head p { margin-bottom: 0; }

.center { text-align: center; }
.center p, .center .lead { margin-inline: auto; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Symbole: alle Symbole sind Inline-SVG, keine Emoji, keine Icon-Schrift. */
.icon { width: 24px; height: 24px; flex: 0 0 auto; stroke-width: 1.75; }

/* 5 ── Kopfbereich ──────────────────────────────────────────────────────── */
/* Auf dem Telefon bewusst NICHT klebend: der Kopfbereich braucht dort zwei
   Zeilen und würde rund 13 % der Bildschirmhöhe dauerhaft belegen. Die
   Rufnummer steht direkt im Hero und in der Fußzeile. */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--ink-line);
  position: static;
  z-index: 20;
}
.site-header__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  padding-block: var(--s-3);
}
.brand { display: inline-flex; text-decoration: none; }
.brand img { width: 176px; height: 50px; }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-1);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: block;
  padding: var(--s-3) var(--s-4);
  min-height: 44px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  border-bottom: 3px solid transparent;
  transition: background var(--fast) ease-out, border-color var(--fast) ease-out;
}
.site-nav a:hover { background: var(--surface-2); }
.site-nav a[aria-current="page"] {
  font-weight: 600;
  border-bottom-color: var(--accent);
}
.site-header .btn { display: none; }

@media (min-width: 860px) {
  .site-header { position: sticky; top: 0; }
  .site-header__inner {
    flex-direction: row;
    justify-content: space-between;
    gap: var(--s-5);
    padding-block: var(--s-4);
  }
  .brand img { width: 240px; height: 68px; }
  .site-header nav { margin-left: auto; }
  .site-header .btn { display: inline-flex; }
}

/* 6 ── Schaltflächen ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 52px;
  padding: var(--s-3) var(--s-6);
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background var(--fast) ease-out, border-color var(--fast) ease-out,
              color var(--fast) ease-out;
}
/* Primär: Orangefläche mit anthrazitfarbener Schrift (7,9:1). */
.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--ink); }

/* Sekundär auf hellem Grund */
.btn--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--on-dark); }

/* Sekundär auf dunklem Grund */
.btn--ghost-light {
  background: transparent;
  border-color: var(--on-dark);
  color: var(--on-dark);
}
.btn--ghost-light:hover { background: var(--on-dark); color: var(--ink); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
}
.btn-row .btn { flex: 1 1 240px; }
@media (min-width: 640px) { .btn-row .btn { flex: 0 0 auto; } }
.btn-row--center { justify-content: center; }

/* 7 ── Startseite ───────────────────────────────────────────────────────── */

/* 7.1 Hero: geteilt statt vollflächig. Begründung: die Quellfotos sind nur
   738 px breit; als vollflächiges Hintergrundbild bei 1440 px wären sie
   sichtbar unscharf. Im Bildfeld werden sie nahezu in Originalgröße gezeigt. */
.hero {
  background: var(--dark);
  color: var(--on-dark);
  border-bottom: 5px solid var(--accent);
}
.hero__grid {
  display: grid;
  gap: var(--s-7);
  padding-block: var(--s-8);
  align-items: center;
}
.hero h1 { color: var(--on-dark); margin-bottom: var(--s-5); }
.hero__sub {
  font-size: 1.1875rem;
  color: var(--on-dark-soft);
  margin-bottom: 0;
}
.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark-2);
}
.hero__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 45%;
}
@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--s-8);
    padding-block: var(--s-9);
  }
}

/* 7.2 Vertrauensleiste: nur belegte Angaben. */
.factbar { background: var(--accent); color: var(--ink); }
.factbar ul {
  display: grid;
  gap: var(--s-4);
  margin: 0;
  padding-block: var(--s-5);
  list-style: none;
  padding-inline: 0;
  max-width: none;
}
.factbar li {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-weight: 500;
}
.factbar .icon { stroke: var(--ink); }
@media (min-width: 780px) {
  .factbar ul { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
}

/* 7.3 Zweispaltiger Text-/Bild-Block */
.split {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
  .split--flip .split__media { order: -1; }
}
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* 7.4 Leistungen — im Original klaffte hier eine leere Fläche. */
.cards {
  display: grid;
  gap: var(--s-4);
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: none;
}
@media (min-width: 620px)  { .cards { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); } }
@media (min-width: 1000px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }
/* Immer einspaltig: gedacht für die schmale Spalte im zweispaltigen Block,
   dort ergäbe ein 2+1-Raster eine unruhige Lücke. */
.cards--stack { grid-template-columns: 1fr !important; }

.card {
  display: flex;
  flex-direction: column;
  padding: var(--s-6);
  background: var(--surface);
  border: 1px solid var(--ink-line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--s-4);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.card__icon .icon { width: 26px; height: 26px; stroke: var(--accent-text); }
.card h3 { margin-bottom: var(--s-2); }
.card p  { margin-bottom: 0; color: var(--ink-soft); font-size: 0.9688rem; }

/* Kartenvariante auf dunklem Grund */
.card--dark { background: var(--dark-2); border-color: #333A42; }
.card--dark h3 { color: var(--on-dark); }
.card--dark p  { color: var(--on-dark-soft); }

/* 7.5 Vorteile */
.checklist {
  display: grid;
  gap: var(--s-3);
  margin: 0 0 var(--s-6);
  padding: 0;
  list-style: none;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-weight: 500;
}
.checklist .icon { margin-top: 3px; stroke: var(--accent); }

.notice {
  padding: var(--s-5);
  background: var(--dark-2);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}
.notice p { margin-bottom: 0; }

/* 7.6 Einblicke */
.gallery {
  display: grid;
  gap: var(--s-4);
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: none;
}
@media (min-width: 620px)  { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

/* 7.7 Kontaktband mit Foto */
.ctaband {
  position: relative;
  background: var(--dark);
  color: var(--on-dark);
  isolation: isolate;
}
.ctaband__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
/* Deckkraft gerechnet, nicht geschätzt: Selbst wenn eine Bildstelle reinweiß
   ist, ergibt 0,15 über #16191D den Hintergrund #393C3F. Darauf erreichen
   Weiß 11,1:1, der Nebentext #D9DEE3 8,2:1 und das Orange #E5A00D 4,95:1.
   Bei 0,28 wäre das Orange nur bei 3,1:1 gelandet und hätte 4,5:1 verfehlt. */
.ctaband__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.15;
}
.ctaband h2 { color: var(--on-dark); }
/* Ohne diese Zeile erbt .lead hier den Nebentext für HELLEN Grund (#4A5157)
   und landet auf dem dunklen Band bei 1,44:1. .band-dark regelt das für seine
   eigenen Bänder, .ctaband ist aber kein .band-dark und braucht es selbst.
   #D9DEE3 auf dem gemessenen Grund #36393C ergibt 8,6:1. */
.ctaband p, .ctaband .lead { color: var(--on-dark-soft); }
.contact-lines {
  display: grid;
  gap: var(--s-3);
  margin: var(--s-6) 0 0;
  padding: 0;
  list-style: none;
}
.contact-lines li { display: flex; align-items: center; gap: var(--s-3); }
.contact-lines .icon { stroke: var(--accent); }
/* padding-block bringt die Tippfläche auf mindestens 44 px Höhe. */
.contact-lines a {
  display: inline-block;
  padding-block: var(--s-2);
  color: var(--on-dark);
  font-weight: 600;
  text-decoration-color: var(--accent);
}
.contact-lines a:hover { color: var(--accent); }

/* 8 ── Kontaktseite & Formular ──────────────────────────────────────────── */
.page-head {
  background: var(--dark);
  color: var(--on-dark);
  border-bottom: 5px solid var(--accent);
  padding-block: var(--s-8);
}
.page-head h1 { color: var(--on-dark); margin-bottom: var(--s-3); }
.page-head p { color: var(--on-dark-soft); margin-bottom: 0; }
@media (min-width: 900px) { .page-head { padding-block: var(--s-9); } }

.contact-grid { display: grid; gap: var(--s-6); }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--s-7); } }

.info-card {
  padding: var(--s-6);
  border: 1px solid var(--ink-line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
}
.info-card--accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.info-card h2 { font-size: 1.25rem; }
.info-card dl { margin: 0; }
.info-card dt { font-weight: 600; margin-top: var(--s-4); }
.info-card dt:first-child { margin-top: 0; }
.info-card dd { margin: 0; color: var(--ink-soft); }
.info-card--accent dd { color: #3A2B00; }
.info-card a { font-weight: 600; }
.info-card--accent a { color: var(--ink); }

.form {
  padding: var(--s-6);
  background: var(--surface-2);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
}
.field { margin-bottom: var(--s-5); }
.field > label {
  display: block;
  margin-bottom: var(--s-2);
  font-weight: 600;
}
.req { color: var(--accent-text); }
.hint {
  display: block;
  margin-top: var(--s-1);
  font-size: 0.875rem;
  color: var(--ink-soft);
  max-width: none;
}
.hint--inline { display: inline; margin-top: 0; font-weight: 400; }
.field input.input--kurz { max-width: 180px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: var(--s-3) var(--s-4);
  font: inherit;
  font-size: 16px; /* verhindert das Zoomen von iOS beim Fokus */
  color: var(--ink);
  background: var(--surface);
  border: 2px solid #9AA3AB;
  border-radius: var(--radius);
  transition: border-color var(--fast) ease-out;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
.field input:hover, .field textarea:hover { border-color: var(--ink-soft); }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.field--error input, .field--error textarea { border-color: #B3261E; border-width: 2px; }

.field-error {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  margin-top: var(--s-2);
  font-size: 0.9375rem;
  font-weight: 500;
  color: #8C1D18;          /* 6,4:1 auf --surface-2 */
}
.field-error .icon { width: 18px; height: 18px; margin-top: 3px; stroke: #8C1D18; }

.form__note {
  margin-top: var(--s-5);
  font-size: 0.875rem;
  color: var(--ink-soft);
}

/* Honigtopf: für Menschen unsichtbar, für Bots im Quelltext sichtbar.
   Bewusst nicht display:none, damit einfache Bots nicht darauf prüfen.       */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

/* Meldungen */
.msg {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-5);
  margin-bottom: var(--s-6);
  border-radius: var(--radius);
  border-left: 5px solid;
}
.msg h1, .msg h2 { font-size: 1.35rem; margin-bottom: var(--s-2); }
.msg p:last-child, .msg ul:last-child { margin-bottom: 0; }
.msg--error   { background: #FCEEEC; border-color: #B3261E; color: #601410; }
.msg--error a { color: #601410; }
.msg--error .icon { stroke: #B3261E; margin-top: 2px; }
.msg--ok      { background: #E9F5EC; border-color: #1B5E20; color: #12331A; }
.msg--ok .icon { stroke: #1B5E20; margin-top: 2px; }
.msg ul { margin: 0; padding-left: var(--s-5); }

/* 9 ── Fließtextseiten ──────────────────────────────────────────────────── */
.prose { max-width: var(--wrap-text); }
.prose h2 {
  margin-top: var(--s-7);
  font-size: 1.35rem;
  padding-top: var(--s-5);
  border-top: 1px solid var(--ink-line);
}
.prose h2:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
.prose ul { padding-left: var(--s-5); }
.prose li { margin-bottom: var(--s-2); }

/* Der frühere Stil .todo für gelb markierte Platzhalter wurde am 25.08.2026
   entfernt. Grund: Die Seite ist seit dem Livegang öffentlich und indexierbar,
   sichtbare Hinweise auf fehlende Pflichtangaben sind dort eine Selbstanzeige.
   Die offenen Punkte stehen jetzt als HTML-Kommentare direkt an der jeweiligen
   Stelle in impressum/index.html und datenschutz/index.html. */

.error-page { padding-block: var(--s-9); text-align: center; }
.error-page .code {
  display: block;
  font-size: clamp(4rem, 18vw, 8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.04em;
}
.error-page p { margin-inline: auto; }
.error-page .btn-row { justify-content: center; }

/* 10 ── Fußzeile ────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: var(--on-dark-soft);
  padding-block: var(--s-7);
  font-size: 0.9375rem;
}
.site-footer__grid { display: grid; gap: var(--s-6); }
@media (min-width: 780px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-7); }
}
.site-footer h2 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-4);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: var(--s-1); }
.site-footer a {
  display: inline-block;
  padding: var(--s-3) 0;   /* ergibt 44 px Tipphöhe */
  color: var(--on-dark);
  text-decoration-color: rgba(255, 255, 255, 0.4);
}
.site-footer a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.site-footer p { color: var(--on-dark-soft); }
.site-footer img { width: 200px; height: 57px; margin-bottom: var(--s-4); }
.site-footer__legal {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.875rem;
}
.site-footer__legal p { margin-bottom: var(--s-1); max-width: none; }
/* Fußzeile ohne Spalten (404, Danke-Seite) */
.site-footer__legal--solo { margin-top: 0; padding-top: 0; border-top: 0; }

/* 11 ── Bewegung reduzieren ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Druckausgabe: Navigation und Bilder weg, Text bleibt lesbar. */
@media print {
  .site-header, .site-footer, .skip-link, .btn-row, .gallery, .hero__media { display: none; }
  body { font-size: 12pt; color: #000; }
  .hero, .page-head, .band-dark, .ctaband { background: #fff !important; color: #000 !important; }
  .hero h1, .page-head h1, .band-dark h2, .ctaband h2 { color: #000 !important; }
}
