/* =========================================================================
   Malerbetrieb Herzog — stil.css
   Pigment-System aus der Lehmwelt. Signatur: "Wandschnitt" (Pigment-Strata).
   ========================================================================= */

:root {
  /* Pigmente */
  --putz:    #E7E0D2;   /* warmes Kalkweiß, Seitengrund */
  --sand:    #F1ECE1;   /* helle Fläche für Karten */
  --umbra:   #2A2320;   /* Umbra, Text & dunkle Flächen */
  --ocker:   #B9741F;   /* Ocker — nur Fläche / auf Dunkel */
  --terra:   #9C4B2E;   /* gebrannte Siena */
  --terra-tx:#8A3D26;
  --ocker-tx:#8A5410;   /* Ocker, dunkler — fuer Ziffern auf HELLEM Grund.
                           Der helle Ocker #B9741F kam dort nur auf 2,9:1 und
                           lag damit schon vor der Scroll-Faerbung unter der
                           3:1-Grenze fuer grosse Schrift. Auf dunklem Grund
                           bleibt der helle Ton. */   /* Terra, dunkler — für Textlinks (>=4.5:1) */
  --gruen:   #55604A;   /* Grünerde — Öko-Faden, textfähig */

  --umbra-08: rgba(42,35,32,.08);
  --umbra-14: rgba(42,35,32,.14);
  --putz-70:  rgba(231,224,210,.70);

  /* Grundtoene der HELLEN Flaechen. Bewusst getrennt von --putz/--sand:
     die beiden sind auf den dunklen Abschnitten die SCHRIFTFARBE
     (background:var(--umbra); color:var(--putz)). Wer sie animiert,
     faerbt die Fusszeilen-Schrift mit. Diese hier beruehrt nur Flaechen. */
  --grund:   #FFFFFF;
  --grund-2: rgba(255,255,255,.66);   /* Karten/Felder: milchig, damit die
                                         Wand dahinter durchscheint */

  /* Schrift */
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body:    "Newsreader", Georgia, serif;

  --wrap: 1180px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--umbra);
  font-family: var(--body);
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.16rem);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}

/* feiner Putz-Grain, inline (keine externe Quelle) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, header, footer { position: relative; z-index: 1; }

/* ---------- Die gestrichene Wand (Signatur beim Scrollen) ---------- */
[data-wand] {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
}
[data-wand] .wand-farbe {
  position: absolute; left: 0; right: 0; top: 0; height: 0;
  opacity: .55;                       /* gemessen, siehe Bericht */
  background-color: #C9902F;
  /* feine Walzenstruktur, quer */
  background-image: repeating-linear-gradient(90deg,
      rgba(255,255,255,.06) 0px, rgba(255,255,255,.06) 2px,
      rgba(0,0,0,.05) 4px,  rgba(0,0,0,.07) 8px);
  /* nasse Farbkante unten */
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 34px), transparent);
          mask-image: linear-gradient(to bottom, #000 calc(100% - 34px), transparent);
  transition: height .1s linear, background-color .5s linear;
}

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

a { color: var(--terra-tx); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  overflow-wrap: anywhere;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--ocker);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--umbra); color: var(--putz);
  padding: .7rem 1rem; z-index: 50;
  font-family: var(--display); border-radius: 0 0 4px 0;
}
.skip:focus { left: 0; }

/* ---------- Eyebrow / Labels ---------- */
.eyebrow {
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gruen);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem; height: 2px;
  background: var(--ocker);
  flex: 0 0 auto;
}

/* ---------- Kopf / Navigation ---------- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  /* Bezugspunkt fuer das aufklappende Menue */
  isolation: isolate;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--umbra-14);
}
.head-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: .6rem; padding-block: .85rem;
}
.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  color: var(--umbra);
  text-decoration: none;
  display: inline-flex; align-items: baseline; gap: .5rem;
  line-height: 1;
}
.brand b { font-weight: 800; }
.brand span { color: var(--terra); font-weight: 500; letter-spacing: .04em; }
.brand .dot {
  width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--ocker); align-self: center;
}
.nav {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .35rem 1.1rem; margin: 0; padding: 0; list-style: none;
}
.nav a {
  font-family: var(--display);
  font-size: .82rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--umbra); text-decoration: none;
  padding: .25rem 0; position: relative;
}
.nav a[aria-current="page"] { color: var(--terra); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--ocker);
}
.nav a:hover { color: var(--terra); }

/* ---------- Hamburger-Menue (nur Handy/Tablet) ---------- */
.burger { display: none; }

@media (max-width: 719px) {
  .head-inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .burger {
    display: flex; flex-direction: column; justify-content: center;
    gap: 5px; width: 44px; height: 44px;      /* volle Antippflaeche */
    padding: 0 11px; border: 1px solid var(--umbra-14); border-radius: 10px;
    background: rgba(255,255,255,.72); cursor: pointer;
  }
  .burger span {
    display: block; height: 2px; width: 100%; background: var(--umbra);
    transition: transform .25s ease, opacity .2s ease;
  }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  #hauptmenue {
    position: absolute; left: 0; right: 0; top: 100%;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--umbra-14);
    box-shadow: 0 18px 40px -28px rgba(42,35,32,.6);
    overflow: hidden; max-height: 0;
    transition: max-height .28s ease;
  }
  #hauptmenue[data-offen] { max-height: 22rem; }
  #hauptmenue .nav {
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .3rem 1.1rem .9rem;
  }
  #hauptmenue .nav li { border-top: 1px solid var(--umbra-08); }
  #hauptmenue .nav li:first-child { border-top: 0; }
  #hauptmenue .nav a {
    display: block; padding: .95rem .2rem;    /* >= 44px hoch */
    font-size: .95rem; letter-spacing: .04em;
  }
  #hauptmenue .nav a[aria-current="page"]::after { display: none; }
  #hauptmenue .nav a[aria-current="page"] { color: var(--terra); font-weight: 600; }
}

@media (min-width: 720px) {
  .head-inner { flex-direction: row; justify-content: space-between; }
}
/* Auf schmalen Geräten brach das Menü 4 + 1 um — „Kontakt" stand allein in
   einer zweiten Zeile. Ein größerer Spaltenabstand erzwingt den Umbruch schon
   nach dem dritten Punkt, dadurch stehen 3 + 2 ausgewogen untereinander. Das
   Polster hebt die Antippfläche zugleich von 13px auf 40px (WCAG 2.5.8: 24px). */
@media (max-width: 719px) {
  .nav { gap: .4rem 1.6rem; }
  .nav a { padding: .55rem 0; }
}

/* ---------- Wandschnitt (Signatur) ---------- */
.schnitt-rule {
  height: 10px; width: 100%;
  background: linear-gradient(90deg,
    var(--sand)  0 14%,
    var(--ocker) 14% 34%,
    var(--terra) 34% 52%,
    var(--gruen) 52% 74%,
    var(--umbra) 74% 100%);
}

.wandschnitt {
  display: flex; flex-direction: column;
  min-height: 320px; height: 100%;
  border: 1px solid var(--umbra-14);
  overflow: hidden;
  box-shadow: 0 24px 60px -34px rgba(42,35,32,.55);
}
.wandschnitt .schicht {
  display: block; width: 100%;
  transform-origin: bottom center;
}
/* Die Schichtdicken stehen als WACHSTUMSFAKTOR, nicht als flex-basis in
   Prozent. Grund: Eine prozentuale flex-basis in einer Spalten-Flexbox setzt
   eine definite Hoehe des Containers voraus. Die hat nur der Hero (das Raster
   streckt ihn); ueberall sonst - Leistungen, Ueber uns - war sie unbestimmt,
   die sechs Farbschichten fielen auf 0 px zusammen, und die unterste
   Umbra-Schicht fuellte als einzige die Flaeche: ein schwarzes Rechteck statt
   des Pigment-Querschnitts. Wachstumsfaktoren brauchen keine definite Hoehe;
   die Summe ist bewusst 100, damit die Dicken lesbar bleiben. */
.wandschnitt .schicht:nth-child(1) { flex: 14 1 0; background: var(--sand); }
.wandschnitt .schicht:nth-child(2) { flex:  9 1 0; background: #E4D3B4; }
.wandschnitt .schicht:nth-child(3) { flex: 20 1 0; background: var(--ocker); }
.wandschnitt .schicht:nth-child(4) { flex: 16 1 0; background: var(--terra); }
.wandschnitt .schicht:nth-child(5) { flex: 11 1 0; background: #6E6A4E; }
.wandschnitt .schicht:nth-child(6) { flex: 18 1 0; background: var(--gruen); }
.wandschnitt .schicht:nth-child(7) { flex: 12 1 0; background: var(--umbra); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) var(--section-y); }
.hero-grid {
  display: grid; gap: clamp(1.75rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: stretch;
}
.hero-text { min-width: 0; align-self: center; }
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: .35em;
}
.hero h1 .akz { color: var(--gruen); }
.hero .lede {
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  max-width: 34ch; color: var(--umbra); margin-bottom: 1.6rem;
}
.hero-figure { min-width: 0; }
.hero .wandschnitt { min-height: 260px; }

.split-line { display: block; overflow: hidden; }

@media (min-width: 860px) {
  /* Auf der Startseite gibt es keine Bildspalte mehr — die Farbwand ist dort
     die Gestaltung. Das Raster bleibt einspaltig, der Text bekommt eine
     Lesebreite statt die halbe Seite zu fuellen. */
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Knöpfe ---------- */
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn {
  font-family: var(--display); font-weight: 600; font-size: .95rem;
  letter-spacing: .01em;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .82rem 1.5rem; border-radius: 2px;
  text-decoration: none; cursor: pointer; border: 1.5px solid var(--umbra);
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn-fill { background: var(--umbra); color: var(--putz); }
.btn-fill:hover { transform: translateY(-2px); background: #3a312c; }
.btn-line { background: transparent; color: var(--umbra); }
.btn-line:hover { transform: translateY(-2px); background: var(--umbra); color: var(--putz); }
.btn:focus-visible { outline-offset: 4px; }

/* ---------- Sektionen ---------- */
.section { padding-block: var(--section-y); }
/* Helle Abschnitte sind DURCHSICHTIG — ihr Hintergrund ist die Wand.
   Nur so entsteht ein durchgehender Verlauf statt gestapelter Baender. */
.section, .section.tint { background: transparent; }
.section.dark { background: var(--umbra); color: var(--putz); }
.section.dark h1, .section.dark h2, .section.dark h3 { color: var(--putz); }
.section.dark .eyebrow { color: #cbd0b6; }
.section.dark a { color: #e6b877; }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); }
.section-head p { color: var(--umbra); font-size: 1.12rem; }
.section.dark .section-head p { color: #e2dccf; }

.lead-quote {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.4rem, 1rem + 1.8vw, 2.5rem);
  line-height: 1.22; letter-spacing: -0.02em;
  max-width: 20ch;
}

/* ---------- Leistungs-Liste ---------- */
.leist-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.leist-item {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem 1.4rem;
  align-items: start;
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  border-top: 1px solid var(--umbra-14);
}
.leist-item:last-child { border-bottom: 1px solid var(--umbra-14); }
.chip {
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  margin-top: .2rem; flex: 0 0 auto;
  border: 1px solid var(--umbra-14);
  box-shadow: inset 0 0 0 4px var(--putz);
}
.chip.ocker { background: var(--ocker); }
.chip.terra { background: var(--terra); }
.chip.umbra { background: var(--umbra); }
.chip.gruen { background: var(--gruen); }
.chip.sand  { background: #E4D3B4; }
.leist-item .body { min-width: 0; }
.leist-item h3 { font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); margin-bottom: .35em; }
.leist-item p { color: var(--umbra); max-width: 60ch; }
.section.tint .leist-item .chip { box-shadow: inset 0 0 0 4px var(--sand); }

.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.tag {
  font-family: var(--display); font-size: .78rem; font-weight: 500;
  letter-spacing: .04em;
  padding: .3rem .7rem; border: 1px solid var(--umbra-14);
  border-radius: 999px; color: var(--gruen); background: var(--grund-2);
}


/* ---------- Feature-Split (Lehm) ---------- */
.feature {
  display: grid; gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: 1fr; align-items: center;
}
/* Die Kennzahlen stehen in EINER gemeinsamen Spalte. Vorher war jedes <li>
   ein eigenes Raster mit auto-Spalte — die Spaltenbreite richtete sich also
   nach der Zahl der jeweiligen Zeile, und die Texte rechts begannen bei
   630 / 70 / 99 % an drei verschiedenen Stellen. display:contents hebt die
   Zeilen in das Raster der Liste, dadurch teilen sich alle dieselbe Spur.
   Die Listen-Semantik holen role="list"/"listitem" im HTML zurück. */
.feature .facts { display: grid; grid-template-columns: max-content minmax(0, 1fr);
  gap: 1rem .9rem; align-items: baseline; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.feature .facts li { display: contents; }
.feature .facts .num {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.6rem, 1rem + 1.6vw, 2.4rem);
  color: var(--ocker); line-height: 1; min-width: 0;
  font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right;
}
.feature .facts .lbl { min-width: 0; color: #d9d3c5; }
/* Auf hellem Grund traegt der helle Ocker nicht — dort der dunklere Ton. */
.section:not(.dark) .feature .facts .num { color: var(--ocker-tx); }
.section.dark .feature .facts .lbl { color: #d9d3c5; }

/* Akzente auf dunklem Grund wandern mit der Wand mit (siehe bewegung.js).
   Der Rueckfallwert gilt, solange kein Skript laeuft. */
:root { --akzent-dunkel: #E6B877; }
.section.dark .feature .facts .num,
.section.dark .eyebrow,
.site-foot .foot-brand span { color: var(--akzent-dunkel); }
@media (min-width: 820px) {
  .feature { grid-template-columns: 1.1fr .9fr; }
  /* Bloecke ohne Bildspalte (Startseite) bleiben einspaltig — sonst stuende
     der Text in der linken Haelfte und rechts klaffte eine Luecke. */
  .feature.einspaltig { grid-template-columns: 1fr; }
}

/* Strata als Zierband in Feature */
.strata-band {
  display: grid; gap: 0; border: 1px solid rgba(231,224,210,.2);
  min-height: 300px; height: 100%;
}
.strata-band span { display: block; }
.strata-band span:nth-child(1){ background:var(--sand);}
.strata-band span:nth-child(2){ background:#E4D3B4;}
.strata-band span:nth-child(3){ background:var(--ocker);}
.strata-band span:nth-child(4){ background:var(--terra);}
.strata-band span:nth-child(5){ background:var(--gruen);}

/* Symbolbilder in den Flaechen, die vorher den Wandschnitt bzw. das
   Schichtband trugen. Die vorhandenen Groessenregeln (.hero .wandschnitt,
   min-height je Abschnitt) gelten weiter - deshalb bleibt die Klasse stehen
   und bekommt nur den Zusatz .hat-bild. */
.wandschnitt.hat-bild,
.strata-band.hat-bild { position: relative; display: block; overflow: hidden; }
.wandschnitt.hat-bild img,
.strata-band.hat-bild img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.wandschnitt.hat-bild .ph-label,
.strata-band.hat-bild .ph-label {
  position: absolute; right: .55rem; bottom: .55rem;
  font-family: var(--display); font-size: .7rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--umbra);
  background: var(--putz-70); backdrop-filter: blur(2px);
  padding: .3rem .6rem; border: 1px solid var(--umbra-14);
}

/* ---------- Referenzen ---------- */
.ref-grid {
  display: grid; gap: clamp(1.2rem, 2.5vw, 1.8rem);
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .ref-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .ref-grid { grid-template-columns: 1fr 1fr 1fr; } }
.ref-card {
  min-width: 0; background: var(--grund-2);
  border: 1px solid var(--umbra-14);
  display: flex; flex-direction: column;
}

.ref-ph {
  aspect-ratio: 4 / 3;
  background: var(--grund-2);
  display: grid; place-items: center; text-align: center;
  color: var(--gruen); position: relative; overflow: hidden;
}

.ref-ph .ph-strata {
  position: absolute; inset: 0; display: grid;
  grid-template-rows: repeat(5, 1fr); opacity: .28;
}
.ref-ph .ph-strata span:nth-child(1){background:var(--sand);}
.ref-ph .ph-strata span:nth-child(2){background:var(--ocker);}
.ref-ph .ph-strata span:nth-child(3){background:var(--terra);}
.ref-ph .ph-strata span:nth-child(4){background:var(--gruen);}
.ref-ph .ph-strata span:nth-child(5){background:var(--umbra);}
.ref-ph .ph-label {
  position: relative; font-family: var(--display);
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--umbra); background: var(--putz-70);
  padding: .35rem .7rem; border: 1px solid var(--umbra-14);
}
/* Symbolbilder in den Referenzkacheln. Das Bild fuellt den 4:3-Rahmen; die
   CSS-Groesse gewinnt gegen die width/height-Attribute, die nur gegen
   Layout-Sprung beim Laden gesetzt sind. */
.ref-ph.hat-bild img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.ref-ph.hat-bild .ph-label {
  position: absolute; right: .55rem; bottom: .55rem; top: auto; left: auto;
  font-size: .7rem; letter-spacing: .08em;
  background: var(--putz-70); backdrop-filter: blur(2px);
}

.ref-body { padding: 1.2rem 1.3rem 1.4rem; min-width: 0; }
.ref-body .ort {
  font-family: var(--display); font-size: .76rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--terra);
  margin: 0 0 .4rem;
}
.ref-body h3 { font-size: 1.2rem; margin-bottom: .4em; }
.ref-body p { font-size: .98rem; color: var(--umbra); margin: 0; }

/* ---------- Werte / Über ---------- */
.werte { display: grid; gap: 1.4rem; grid-template-columns: 1fr; margin-top: 1rem; }
@media (min-width: 720px) { .werte { grid-template-columns: 1fr 1fr; } }
.wert {
  min-width: 0; padding: 1.4rem 1.5rem;
  border-left: 3px solid var(--ocker); background: var(--grund-2);
}

.wert h3 { font-size: 1.15rem; margin-bottom: .3em; }
.wert p { font-size: .98rem; margin: 0; }

/* ---------- Kontakt ---------- */
.kontakt-grid {
  display: grid; gap: clamp(1.75rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .kontakt-grid { grid-template-columns: 1fr 1fr; } }

.form-field { display: grid; gap: .35rem; margin-bottom: 1.1rem; }
.form-field label {
  font-family: var(--display); font-weight: 600; font-size: .88rem;
  letter-spacing: .02em;
}
.form-field input, .form-field textarea {
  font-family: var(--body); font-size: 1rem;
  padding: .75rem .85rem; border: 1.5px solid var(--umbra-14);
  background: var(--grund-2); color: var(--umbra); border-radius: 2px;
  width: 100%; min-width: 0;
}

.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--umbra);
}
.form-field textarea { resize: vertical; min-height: 130px; }

.kontakt-facts { display: grid; gap: 1.2rem; margin: 0; padding: 0; list-style: none; }
.kontakt-facts div { min-width: 0; }
.kontakt-facts dt {
  font-family: var(--display); font-weight: 600; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gruen);
  margin-bottom: .2rem;
}
.kontakt-facts dd { margin: 0; overflow-wrap: anywhere; }
.kontakt-facts a { color: var(--terra-tx); }
.hinweis {
  margin-top: 1.4rem; padding: 1rem 1.1rem; background: var(--grund-2);
  border: 1px dashed var(--umbra-14); font-size: .95rem; color: var(--gruen);
}


/* ---------- CTA-Band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); margin-bottom: .5em; }
.cta-band .actions { justify-content: center; }
/* Die helle Textfarbe gilt NUR im dunklen Band. Ungefiltert traf sie auch den
   CTA im hellen Abschnitt — dort stand die Rubrik „Reden wir über Ihr Projekt"
   mit 1,16:1 praktisch unsichtbar auf Sand. (Der Fließtext daneben war bereits
   mit einem Inline-style übersteuert — ein Hinweis auf genau diesen Fehler.) */
.cta-band p { max-width: 46ch; margin-inline: auto; }
.section.dark .cta-band p { color: #e2dccf; }

/* ---------- Fuß ---------- */
.site-foot { background: var(--umbra); color: var(--putz); }
.foot-inner {
  display: grid; gap: 2rem; grid-template-columns: 1fr;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 760px) { .foot-inner { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (min-width: 980px) { .foot-inner { grid-template-columns: 1.6fr 1fr 1fr .8fr; } }
.foot-inner h4 {
  font-family: var(--display); font-size: .82rem; letter-spacing: .14em;
  text-transform: uppercase; color: #cbd0b6; margin: 0 0 .9rem;
}
.foot-inner p, .foot-inner li { color: #ded8cb; font-size: .96rem; }
.foot-inner ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.foot-inner a { color: #ded8cb; text-decoration: none; }
.foot-inner a:hover { color: #e6b877; text-decoration: underline; }
.foot-brand {
  font-family: var(--display); font-weight: 800; font-size: 1.3rem;
  color: var(--putz); margin-bottom: .6rem;
}
.foot-brand span { color: #e6b877; font-weight: 500; }
.foot-legal {
  border-top: 1px solid rgba(231,224,210,.16);
  padding-block: 1.2rem; font-size: .82rem; color: #b6b0a3;
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; justify-content: space-between;
}
.foot-legal span { overflow-wrap: anywhere; }

/* ---------- Utility ---------- */
.mt-s { margin-top: 1rem; }
.measure { max-width: 60ch; }

/* ---------- Reduced Motion: alles im Endzustand ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .btn:hover, .btn-line:hover, .btn-fill:hover { transform: none; }
}
