@import url("fonts.css");

/* ============================================================
   Reich + Bächtold Architekten SWB
   Palette  Papier / Kalk / Beton / Graphit / Anthrazit + ein Akzent (Lärche)
   Form     eine Radius-Stufe: 4px. Randlose Bänder: 0.
   Fläche   zwei echte Ebenen: Papier (L* 96) und Anthrazit (L* 11)
   ============================================================ */

:root {
  --papier:      #F6F3EE;
  --kalk:        #EAE5DC;
  --linie:       rgba(23, 25, 26, .14);
  --linie-fein:  rgba(23, 25, 26, .09);

  --anthrazit:   #1C1E1E;
  --tiefe:       #141616;
  --linie-dk:    rgba(237, 233, 226, .16);

  --ink:         #17191A;
  --graphit:     #4C4A46;
  --beton:       #66635E;
  --papier-tx:   #EDE9E2;
  --beton-dk:    #A8A49C;

  --laerche:     #8F5A2E;
  --laerche-hl:  #C99155;

  --r:           4px;
  --hh:          72px;             /* Kopfhöhe, per JS nicht nötig */
  --sp:          clamp(58px, 7.4vw, 104px);
  --wrap:        1360px;
  --pad:         clamp(20px, 4vw, 48px);

  --sh-1: 0 1px 2px rgba(23,25,26,.05), 0 10px 30px rgba(23,25,26,.07);
  --sh-2: 0 1px 2px rgba(23,25,26,.07), 0 18px 46px rgba(23,25,26,.11);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--graphit);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.62;
  font-weight: 400;
  overflow-x: clip;
}

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

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.018em;
  text-wrap: balance;
  margin: 0;
}
p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--laerche); color: var(--papier); }

:focus-visible {
  outline: 2px solid var(--laerche);
  outline-offset: 3px;
  border-radius: 2px;
}
.dark :focus-visible { outline-color: var(--laerche-hl); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--anthrazit); color: var(--papier-tx);
  padding: 12px 18px; z-index: 200; border-radius: 0 0 var(--r) 0;
}
.skip:focus { left: 0; }

/* ---------- Raster ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.spalte { max-width: 62ch; }
.spalte--breit { max-width: 74ch; }

.sec { padding-block: var(--sp); }
.sec--kurz { padding-block: clamp(40px, 5vw, 68px); }
.sec--nachband { padding-top: clamp(44px, 5.2vw, 76px); }

.dark { background: var(--anthrazit); color: var(--beton-dk); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--papier-tx); }
.dark a { color: var(--papier-tx); }
.dark + .dark { border-top: 1px solid rgba(237, 233, 226, .12); }

/* ---------- Typo-Rollen ---------- */
.t-hero {
  font-size: clamp(2.3rem, 6vw, 4.5rem);
  line-height: 1.0;
  letter-spacing: -.03em;
  font-weight: 500;
}
.t-h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.85rem);
  letter-spacing: -.024em;
}
.t-h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); letter-spacing: -.014em; }
.t-lead {
  font-size: clamp(1.06rem, 1.45vw, 1.28rem);
  line-height: 1.5;
  max-width: 46ch;
  color: var(--graphit);
}
.dark .t-lead { color: var(--beton-dk); }
.t-body { max-width: 64ch; }
.t-body + .t-body { margin-top: 1.05em; }

.mono {
  font-family: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: .78rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--beton);
  font-variant-numeric: tabular-nums;
}
.dark .mono { color: var(--beton-dk); }
.mono--plain { text-transform: none; letter-spacing: .02em; font-size: .93rem; }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 90;
  background: var(--papier);
  border-bottom: 1px solid transparent;
  transition-property: padding, box-shadow, border-color;
  transition-duration: .25s;
  transition-timing-function: ease-out;
  padding-block: 15px;
}
.kopf.scrolled {
  padding-block: 9px;
  border-bottom-color: var(--linie-fein);
  box-shadow: 0 1px 2px rgba(23,25,26,.04), 0 10px 26px rgba(23,25,26,.06);
}
.kopf__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}

/* Wortmarke */
.marke { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; text-decoration: none; }
.marke__signet {
  width: 26px; height: 34px; flex: none;
  transition: transform .25s var(--ease);
}
.kopf.scrolled .marke__signet { transform: scale(.92); }
.marke__wort { display: block; line-height: 1; }
.marke__zeile1 {
  display: block;
  font-size: .95rem; font-weight: 600; letter-spacing: .005em;
  text-transform: uppercase; color: var(--ink); white-space: nowrap;
}
.marke__zeile2 {
  display: block; margin-top: 4px;
  font-size: .565rem; font-weight: 500; letter-spacing: .235em;
  text-transform: uppercase; color: var(--beton); white-space: nowrap;
}
.dark .marke__zeile1, .fuss .marke__zeile1 { color: var(--papier-tx); }
.dark .marke__zeile2, .fuss .marke__zeile2 { color: var(--beton-dk); }

.signet .s2 { fill: #B0ABA3; }
.signet .s3 { fill: #837F79; }
.signet .s4 { fill: #4E4B47; }
.signet .s5 { fill: #1C1E1E; }
.dark .signet .s2, .fuss .signet .s2 { fill: #55524D; }
.dark .signet .s3, .fuss .signet .s3 { fill: #7E7A74; }
.dark .signet .s4, .fuss .signet .s4 { fill: #B4AFA6; }
.dark .signet .s5, .fuss .signet .s5 { fill: #EDE9E2; }

/* Navigation */
.nav { display: flex; align-items: center; gap: clamp(14px, 2.1vw, 34px); }
.nav__a {
  position: relative;
  display: inline-flex; align-items: center;
  min-height: 44px; padding-inline: 2px;
  font-size: .95rem; font-weight: 500; text-decoration: none;
  color: var(--graphit);
  transition: color .18s ease-out;
}
.nav__a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px;
  background: var(--laerche);
  transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav__a:hover { color: var(--ink); }
.nav__a:hover::after { transform: scaleX(1); }
.nav__a[aria-current="page"] { color: var(--ink); }
.nav__a[aria-current="page"]::after { transform: scaleX(1); }
.nav__a:active { transform: translateY(1px); }

.burger {
  display: none;
  width: 46px; height: 46px; margin-right: -8px;
  align-items: center; justify-content: center;
  background: none; border: 0; padding: 0; cursor: pointer;
  border-radius: var(--r);
  transition: background-color .18s ease-out;
}
.burger:hover { background: rgba(23,25,26,.05); }
.burger:active { transform: scale(.96); }
.burger__i, .burger__i::before, .burger__i::after {
  display: block; width: 22px; height: 1.5px; background: var(--ink);
  transition: transform .25s var(--ease), opacity .18s ease-out;
}
.burger__i::before, .burger__i::after { content: ""; position: absolute; }
.burger__i { position: relative; }
.burger__i::before { transform: translateY(-6.5px); }
.burger__i::after  { transform: translateY(6.5px); }
.burger[aria-expanded="true"] .burger__i { background: transparent; }
.burger[aria-expanded="true"] .burger__i::before { transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__i::after  { transform: rotate(-45deg); }

.mnav {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
  background: var(--papier);
  border-bottom: 1px solid var(--linie-fein);
  box-shadow: 0 18px 40px rgba(23,25,26,.13);
  padding: 6px var(--pad) 22px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-10px);
  transition: transform .26s var(--ease), opacity .22s ease-out, visibility .26s;
}
.mnav.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.mnav__a {
  display: block; padding: 15px 0;
  font-size: 1.35rem; font-weight: 500; letter-spacing: -.015em;
  color: var(--ink); text-decoration: none;
  border-top: 1px solid var(--linie-fein);
  transition: color .18s ease-out, padding-left .22s var(--ease);
}
.mnav__a:hover, .mnav__a:focus-visible { color: var(--laerche); padding-left: 6px; }
.mnav__a:active { transform: translateY(1px); }
.mnav__a[aria-current="page"] { color: var(--laerche); }
.mnav__kontakt {
  display: block; margin-top: 18px;
  font-family: "IBM Plex Mono", monospace; font-size: .86rem;
  color: var(--beton); text-decoration: none;
}

/* Tap-Ziele: alles, was allein oder in einer Liste steht, mindestens 44px hoch.
   Links mitten im Fliesstext bleiben inline (WCAG 2.2, Ausnahme "Inline"). */
.fuss__l a, .fuss__adr a, .fuss__u a, .stapel a, .ort__z a, .recht address a, .mnav__kontakt {
  display: inline-flex; align-items: center; min-height: 44px;
}

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px 0 24px;
  border: 1px solid transparent; border-radius: var(--r);
  font: inherit; font-size: .95rem; font-weight: 500; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition-property: background-color, color, border-color, box-shadow, transform;
  transition-duration: .2s; transition-timing-function: ease-out;
}
.btn:active { transform: scale(.96); }
.btn--voll {
  background: var(--ink); color: var(--papier);
  box-shadow: 0 1px 2px rgba(23,25,26,.14), 0 8px 22px rgba(23,25,26,.16);
}
.btn--voll:hover { background: #000; box-shadow: 0 1px 2px rgba(23,25,26,.18), 0 12px 30px rgba(23,25,26,.22); }
.btn--rand { border-color: var(--linie); color: var(--ink); background: transparent; }
.btn--rand:hover { border-color: var(--ink); background: rgba(23,25,26,.035); }
.dark .btn--voll { background: var(--papier-tx); color: var(--anthrazit); box-shadow: none; }
.dark .btn--voll:hover { background: #fff; }
.dark .btn--rand { border-color: var(--linie-dk); color: var(--papier-tx); }
.dark .btn--rand:hover { border-color: var(--papier-tx); background: rgba(237,233,226,.06); }

.pfeil { width: 15px; height: 15px; flex: none; transition: transform .22s var(--ease); }
.btn:hover .pfeil { transform: translateX(3px); }

/* Textlink mit Unterstrich */
.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  font-weight: 500; text-decoration: none; color: var(--ink);
  box-shadow: inset 0 -1px 0 var(--linie);
  transition: box-shadow .2s ease-out, color .18s ease-out;
}
.tlink:hover { color: var(--laerche); box-shadow: inset 0 -1px 0 var(--laerche); }
.tlink:hover .pfeil { transform: translateX(3px); }
.tlink:active { transform: translateY(1px); }
.dark .tlink { color: var(--papier-tx); box-shadow: inset 0 -1px 0 var(--linie-dk); }
.dark .tlink:hover { color: var(--laerche-hl); box-shadow: inset 0 -1px 0 var(--laerche-hl); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--anthrazit); }
.hero__media {
  position: relative;
  height: min(70svh, 560px);
  overflow: hidden;
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform-origin: 54% 48%;
  will-change: transform;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(14,16,16,.60) 0%, rgba(14,16,16,.34) 44%, rgba(14,16,16,0) 82%),
    linear-gradient(to top, rgba(14,16,16,.90) 0%, rgba(14,16,16,.74) 30%, rgba(14,16,16,.50) 60%, rgba(14,16,16,.26) 88%, rgba(14,16,16,.18) 100%);
}
.hero__text {
  position: absolute; left: 0; right: 0; bottom: clamp(30px, 5vw, 62px);
}
.hero__text .t-hero { color: var(--papier-tx); max-width: 24ch; text-shadow: 0 1px 26px rgba(12,14,14,.42); }
.hero__lead {
  margin-top: clamp(16px, 1.8vw, 22px);
  max-width: 50ch; color: #DCD8D0;
  font-size: clamp(1.02rem, 1.35vw, 1.22rem); line-height: 1.5;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 2.6vw, 32px); }
.hero__cta .btn--voll {
  background: var(--papier-tx); color: var(--anthrazit);
  box-shadow: 0 1px 2px rgba(10,12,12,.28), 0 12px 34px rgba(10,12,12,.34);
}
.hero__cta .btn--voll:hover { background: #fff; }
.hero__cta .btn--rand {
  border-color: rgba(237,233,226,.46); color: var(--papier-tx);
  background: rgba(18,20,20,.24); backdrop-filter: blur(2px);
}
.hero__cta .btn--rand:hover { border-color: var(--papier-tx); background: rgba(237,233,226,.12); }

/* ---------- Randloses Materialband ---------- */
.band { position: relative; overflow: hidden; background: var(--anthrazit); }
.band img {
  width: 100%; height: clamp(300px, 42vh, 460px);
  object-fit: cover;
}
.band--hoch img { height: clamp(320px, 52vh, 560px); }

/* ---------- Signature: das grosse „+" ---------- */
.haltung { position: relative; overflow: clip; }
.haltung__sign {
  position: absolute;
  left: 68%; top: 50%;
  translate: 0 -60%;
  font-size: clamp(21rem, 60vw, 55rem);
  line-height: .78;
  font-weight: 400;
  color: rgba(237, 233, 226, .085);
  pointer-events: none;
  user-select: none;
  letter-spacing: -.04em;
}
.haltung .wrap { position: relative; z-index: 1; }
.haltung__mono { margin-top: 26px; }

/* ---------- Unterkopf ---------- */
.ukopf { padding-block: clamp(40px, 5vw, 74px); }
.ukopf__k {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(24px, 4vw, 64px); align-items: end;
}
.stapel { margin: 12px 0 0; padding: 0; list-style: none; }
.stapel li { border-top: 1px solid var(--linie-dk); padding-block: 11px; font-size: .98rem; }
.stapel li:last-child { border-bottom: 1px solid var(--linie-dk); }
.stapel a {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: none; box-shadow: inset 0 -1px 0 transparent;
  transition: color .18s ease-out, box-shadow .2s ease-out;
}
.stapel a:hover { color: var(--laerche-hl); box-shadow: inset 0 -1px 0 var(--laerche-hl); }
.stapel__ort { color: #8E8A84; }

/* ---------- Zweispalter Kontakt ---------- */
.kk { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 72px); }

/* ---------- Index-Liste (Beraten / Planen / Bauen) ---------- */
.idx { margin-top: clamp(34px, 4vw, 54px); }
.idx__row {
  display: grid;
  grid-template-columns: minmax(190px, 3fr) minmax(0, 7fr) auto;
  gap: clamp(14px, 3vw, 48px);
  align-items: start;
  padding-block: clamp(26px, 3vw, 40px);
  border-top: 1px solid var(--linie);
  text-decoration: none;
  transition: background-color .22s ease-out, padding-left .26s var(--ease);
}
.idx__row:last-child { border-bottom: 1px solid var(--linie); }
.idx__row:hover { background: rgba(23,25,26,.028); padding-left: 10px; }
.idx__row:active { transform: translateY(1px); }
.idx__t { font-size: clamp(1.5rem, 2.6vw, 2.15rem); letter-spacing: -.022em; color: var(--ink); }
.idx__d { color: var(--graphit); max-width: 58ch; }
.idx__p { align-self: center; color: var(--beton); }
.idx__row:hover .idx__p { color: var(--laerche); }
.idx__row:hover .pfeil { transform: translateX(4px); }

/* ---------- Zweispaltiger Fliesstext ---------- */
.zwei {
  margin-top: clamp(26px, 3vw, 38px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3.4vw, 58px);
}
.zwei .t-body { max-width: 58ch; }
.zwei .t-body + .t-body { margin-top: 0; }

/* ---------- Kachelraster ---------- */
.kacheln {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
  margin-top: clamp(30px, 3.6vw, 46px);
}
.kachel {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(178px, 17.5vw, 252px);
  padding: clamp(20px, 2.2vw, 30px);
  border-radius: var(--r); overflow: hidden;
  text-decoration: none;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease);
}
.kachel:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.kachel:active { transform: translateY(0); }
.kachel--a { grid-column: span 7; }
.kachel--b { grid-column: span 5; }
.kachel--foto { color: var(--papier-tx); }
.kachel--foto .kachel__t { color: var(--papier-tx); }
.kachel--foto .kachel__d { color: #E2DED6; }
.kachel__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  transition: transform .6s var(--ease);
}
.kachel:hover .kachel__bg { transform: scale(1.035); }
.kachel__vor {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,15,15,.95) 0%, rgba(13,15,15,.90) 30%, rgba(13,15,15,.62) 62%, rgba(13,15,15,.24) 100%);
}
.kachel--ton { background: var(--kalk); box-shadow: var(--sh-1); }
/* Hintergrundbilder der Kacheln: mobil die kleinere Datei (spart rund 350 KB) */
.kachel--holz .kachel__bg { background-image: url(img/bauholz-1500.jpg); }
.kachel--glas .kachel__bg { background-image: url(img/glaskante-1500.jpg); }
@media (max-width: 900px) {
  .kachel--holz .kachel__bg { background-image: url(img/bauholz-900.jpg); }
  .kachel--glas .kachel__bg { background-image: url(img/glaskante-900.jpg); }
}
.kachel--ton .kachel__t { color: var(--ink); }
.kachel--ton .kachel__d { color: var(--graphit); }
.kachel__in { position: relative; z-index: 1; display: block; }
.kachel__t { display: block; font-size: clamp(1.22rem, 1.8vw, 1.55rem); letter-spacing: -.018em; line-height: 1.14; }
.kachel__d { display: block; margin-top: 9px; font-size: .96rem; line-height: 1.5; max-width: 36ch; }

/* ---------- Standorte ---------- */
.orte {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 64px);
  margin-top: clamp(30px, 3.6vw, 46px);
}
.ort__n { font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -.02em; }
.ort__z { margin-top: 12px; font-style: normal; line-height: 1.75; }
.ort__z a { text-decoration: none; box-shadow: inset 0 -1px 0 var(--linie-dk); transition: box-shadow .2s ease-out; }
.ort__z a:hover { box-shadow: inset 0 -1px 0 var(--laerche-hl); color: var(--laerche-hl); }
.ort--hell .ort__z a { box-shadow: inset 0 -1px 0 var(--linie); }
.ort--hell .ort__z a:hover { box-shadow: inset 0 -1px 0 var(--laerche); color: var(--laerche); }

/* ---------- Werk-Beschrieb (Leistungen) ---------- */
.werk { border-top: 1px solid var(--linie); padding-block: clamp(34px, 4.4vw, 62px); }
.werk:first-of-type { border-top: 0; padding-top: 0; }
.werk__k {
  display: grid; grid-template-columns: minmax(210px, 4fr) minmax(0, 8fr);
  gap: clamp(16px, 3vw, 52px);
}
.werk__t { font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.024em; }
.werk__l { margin-top: 16px; }
.liste { margin: 22px 0 0; padding: 0; list-style: none; }
.liste li {
  position: relative; padding-left: 22px; padding-block: 7px;
  border-top: 1px solid var(--linie-fein);
}
.liste li:first-child { border-top: 0; }
.liste li::before {
  content: ""; position: absolute; left: 0; top: 1.02em;
  width: 9px; height: 1px; background: var(--laerche);
}
.dark .liste li { border-top-color: var(--linie-dk); }
.dark .liste li::before { background: var(--laerche-hl); }

/* ---------- Karten / Personen ---------- */
.karten {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  margin-top: clamp(28px, 3.4vw, 42px);
}
.karte {
  background: var(--kalk); border-radius: var(--r);
  padding: clamp(22px, 2.4vw, 32px);
  box-shadow: var(--sh-1);
  transition: box-shadow .26s var(--ease), transform .26s var(--ease);
}
a.karte:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.dark .karte { background: #232626; box-shadow: none; border: 1px solid var(--linie-dk); }

/* ---------- Hinweis-Block (Stand der Arbeit, klar gekennzeichnet) ---------- */
.hinweis {
  margin-top: clamp(30px, 3.6vw, 48px);
  padding: clamp(22px, 2.6vw, 34px) clamp(22px, 2.6vw, 36px);
  background: var(--kalk);
  border-left: 2px solid var(--laerche);
  border-radius: 0 var(--r) var(--r) 0;
}
.hinweis__t { font-size: 1.06rem; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.hinweis p { margin-top: 10px; max-width: 62ch; font-size: .98rem; }
.dark .hinweis { background: #232626; border-left-color: var(--laerche-hl); }
.dark .hinweis__t { color: var(--papier-tx); }

/* ---------- Feldliste (Werkverzeichnis-Struktur) ---------- */
.felder { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 0; margin-top: clamp(26px, 3vw, 40px); }
.feld { padding: 18px 0 18px 18px; border-left: 1px solid var(--linie); }
.feld__w { margin-top: 7px; color: var(--graphit); font-size: .95rem; }
.dark .feld { border-left-color: var(--linie-dk); }
.dark .feld__w { color: var(--beton-dk); }

/* ---------- Formular ---------- */
.form { margin-top: clamp(26px, 3vw, 40px); max-width: 640px; }
.feldgruppe { margin-bottom: 20px; }
.feldgruppe label {
  display: block; margin-bottom: 7px;
  font-size: .86rem; font-weight: 500; color: var(--ink); letter-spacing: .005em;
}
.feldgruppe input, .feldgruppe textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: .98rem; color: var(--ink);
  background: #FFFDFA; border: 1px solid var(--linie); border-radius: var(--r);
  transition: border-color .2s ease-out, box-shadow .2s ease-out;
}
.feldgruppe textarea { min-height: 132px; resize: vertical; line-height: 1.55; }
.feldgruppe input:hover, .feldgruppe textarea:hover { border-color: rgba(23,25,26,.28); }
.feldgruppe input:focus, .feldgruppe textarea:focus {
  outline: none; border-color: var(--laerche);
  box-shadow: 0 0 0 3px rgba(143, 90, 46, .16);
}
.form__fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 6px; }
.form__ds { font-size: .86rem; color: var(--beton); max-width: 40ch; }
.form__ds a { color: var(--graphit); }

/* ---------- Rechtstext ---------- */
.recht { max-width: 74ch; }
.recht h2 { font-size: clamp(1.16rem, 1.7vw, 1.4rem); margin-top: clamp(34px, 3.6vw, 48px); }
.recht h2:first-of-type { margin-top: clamp(26px, 3vw, 36px); }
.recht p, .recht ul { margin-top: 13px; }
.recht ul { padding-left: 20px; }
.recht li { margin-top: 6px; }
.recht address { font-style: normal; line-height: 1.8; margin-top: 13px; }
.recht a, .form__ds a, .hinweis a {
  color: var(--ink); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-thickness: 1px; text-decoration-color: rgba(23,25,26,.32);
  transition: color .18s ease-out, text-decoration-color .2s ease-out;
}
.recht a:hover, .form__ds a:hover, .hinweis a:hover { color: var(--laerche); text-decoration-color: var(--laerche); }

/* ---------- Fuss ---------- */
.fuss { background: var(--tiefe); color: var(--beton-dk); padding-block: clamp(46px, 5vw, 74px) 30px; }
.fuss h2, .fuss h3 { color: var(--papier-tx); }
.fuss__o {
  display: grid; grid-template-columns: minmax(230px, 1.2fr) repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3.4vw, 56px);
}
.fuss__t { font-size: .78rem; text-transform: uppercase; letter-spacing: .13em; color: #8E8A84; font-weight: 500; }
.fuss__l { margin: 14px 0 0; padding: 0; list-style: none; }
.fuss__l li { margin-top: 0; }
.fuss__l a, .fuss__adr a {
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px;
  color: var(--beton-dk); text-decoration: none;
  transition: color .18s ease-out;
}
.fuss__l a:hover, .fuss__adr a:hover { color: var(--papier-tx); }
.fuss__adr { font-style: normal; margin-top: 14px; line-height: 1.7; font-size: .96rem; }
.fuss__u {
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; align-items: center;
  margin-top: clamp(38px, 4vw, 58px); padding-top: 22px;
  border-top: 1px solid rgba(237,233,226,.11);
  font-size: .86rem; color: #8E8A84;
}
.fuss__u nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.fuss__u a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: #8E8A84; text-decoration: none; transition: color .18s ease-out;
}
.fuss__u a:hover { color: var(--papier-tx); }

/* ---------- Bewegung ---------- */
[data-reveal], [data-reveal-group] > * { will-change: opacity, transform; }

html.js [data-reveal] { opacity: 0; transform: translateY(20px); }
html.js [data-reveal-group] > * { opacity: 0; transform: translateY(16px); }
html.js [data-reveal].sichtbar,
html.js [data-reveal-group] > .sichtbar {
  opacity: 1; transform: translateY(0);
  transition: opacity .55s ease-out, transform .55s var(--ease);
}

@keyframes heroAuf   { from { opacity: .38; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes heroAufH1 { from { opacity: .62; transform: translateY(9px);  } to { opacity: 1; transform: none; } }

@keyframes kenburns {
  from { transform: scale(1.0)  translate(0, 0); }
  to   { transform: scale(1.07) translate(-1.4%, -1%); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: kenburns 16s linear infinite alternate; }

  /* Hero-Entrance: gestaffelt Headline, Lead, CTA. */
  .hero__text .t-hero { animation: heroAufH1 .62s var(--ease) .04s both; }
  .hero__lead         { animation: heroAuf   .62s var(--ease) .16s both; }
  .hero__cta          { animation: heroAuf   .62s var(--ease) .27s both; }

  @supports (animation-timeline: view()) {
    .haltung__sign {
      animation: signDrift linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    @keyframes signDrift {
      from { transform: translateY(7%); }
      to   { transform: translateY(-7%); }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js [data-reveal], html.js [data-reveal-group] > * { opacity: 1 !important; transform: none !important; }
}

/* ---------- Umbrüche ---------- */
@media (max-width: 1000px) {
  .werk__k { grid-template-columns: 1fr; gap: 14px; }
  .kk { grid-template-columns: 1fr; }
  .fuss__o { grid-template-columns: 1fr 1fr; }
  .fuss__o > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --hh: 62px; }
  .nav { display: none; }
  .burger { display: inline-flex; }
  .kopf { position: sticky; }
  .kacheln { grid-template-columns: 1fr; }
  .zwei { grid-template-columns: 1fr; gap: 1.05em; }
  .kachel--a, .kachel--b { grid-column: 1 / -1; }
  .idx__row { grid-template-columns: 1fr auto; row-gap: 10px; }
  .idx__d { grid-column: 1 / -1; }
  .orte { grid-template-columns: 1fr; }
  .haltung__sign { font-size: 24rem; left: auto; right: -18%; top: 57%; }
  .ukopf__k { grid-template-columns: 1fr; gap: 26px; align-items: start; }
  .hero__media { height: min(68svh, 520px); }
  .hero__text .t-hero { max-width: 15ch; }
}

@media (max-width: 560px) {
  body { font-size: 1.0125rem; }
  .fuss__o { grid-template-columns: 1fr; gap: 30px; }
  .felder { grid-template-columns: 1fr; }
  .feld { padding-left: 16px; }

  .kachel--ton { min-height: 0; }
  .hero__cta .btn { flex: 1 1 auto; }
}
