/* ==========================================================================
   Schmieder-Bau GbR – Stylesheet
   „Solides Handwerk, klar gezeigt.“ Tokens aus dem Schmieder-Bau Design System.
   ========================================================================== */

/* ---------- Schriften (lokal) ---------- */
@font-face { font-family: "Archivo"; src: url("../assets/fonts/archivo-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../assets/fonts/archivo-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../assets/fonts/source-sans-3-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../assets/fonts/source-sans-3-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --c-red-500: #be2325;
  --c-red-700: #9a1b1e;
  --c-red-50: #fbeaea;
  --c-fir-700: #2e4a3e;
  --c-fir-900: #1d3028;
  --c-fir-100: #e3eae5;
  --c-ink: #303a3f;
  --c-muted: #5e686d;
  --c-line: #d5d2cb;
  --c-sand: #ece7de;
  --c-bg: #f7f5f1;
  --c-white: #ffffff;

  --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 32px; --space-5: 40px;
  --space-6: 48px; --space-8: 64px; --space-10: 80px; --space-12: 96px; --space-14: 112px;
  --radius: 4px;
  --container: 1200px;
  --gutter: 20px;
  --measure: 70ch;
  --tap: 48px;
  --header-h: 76px;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;

  /* Mauerverband aus feinen Fugen, wie im Logo: Hintergrund aller Tanne-Flächen */
  --wall-700: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='48' viewBox='0 0 96 48'%3E%3Cg fill='none' stroke='%23365446' stroke-width='1'%3E%3Cpath d='M0 .5h96M0 24.5h96'/%3E%3Cpath d='M48.5 0v24M.5 24v24M96.5 24v24'/%3E%3C/g%3E%3C/svg%3E");
  --wall-900: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='48' viewBox='0 0 96 48'%3E%3Cg fill='none' stroke='%23263a31' stroke-width='1'%3E%3Cpath d='M0 .5h96M0 24.5h96'/%3E%3Cpath d='M48.5 0v24M.5 24v24M96.5 24v24'/%3E%3C/g%3E%3C/svg%3E");

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);      /* expo-out */
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1000px) { :root { --header-h: 92px; } }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: clamp(17px, 0.2vw + 16.4px, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
p { margin: 0 0 var(--space-2); }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
a { color: var(--c-red-500); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-red-700); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--c-ink); margin: 0; text-wrap: balance; }
::selection { background: var(--c-fir-700); color: var(--c-white); }
:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 2px; }
main:focus { outline: none; }
html { scrollbar-color: var(--c-muted) var(--c-sand); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--space-2); top: -100px; z-index: 100; padding: var(--space-1) var(--space-2); background: var(--c-ink); color: var(--c-white); border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: var(--space-2); color: var(--c-white); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.icon { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- Typografie ---------- */
.h2 { font-weight: 600; font-size: clamp(28px, 1.25vw + 22px, 36px); line-height: 1.2; letter-spacing: -0.01em; }
.h3 { font-weight: 600; font-size: clamp(20px, 0.6vw + 17px, 24px); line-height: 1.3; }
.lead { font-size: clamp(18px, 0.35vw + 16.6px, 20px); line-height: 1.55; max-width: 62ch; }
.tag {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-red-500);
  overflow-wrap: break-word; hyphens: manual;
}
/* Textlinks: inline, damit der Pfeil am letzten Wort bleibt; Polsterung vergrößert nur die Trefferfläche */
.link { display: inline; padding-block: 10px; color: var(--c-red-500); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link:hover { color: var(--c-red-700); text-decoration-thickness: 2px; }
.link .icon { display: inline-block; vertical-align: -0.2em; margin-left: 6px; transition: transform .25s var(--ease-out); }
.link .icon:first-child { margin-left: 0; margin-right: 6px; }
.link:hover .icon { transform: translateX(3px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--tap); padding: 0 var(--space-3);
  border: 2px solid transparent; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 17px; font-weight: 600; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  max-width: 100%;
}
/* Sehr schmale Handys: lange Button-Texte dürfen umbrechen statt überzulaufen */
@media (max-width: 479px) { .btn { white-space: normal; text-align: center; padding-block: 10px; } }
.btn .icon { width: 20px; height: 20px; transition: transform .3s var(--ease-out); }
.btn:hover .icon--arrow-right { transform: translateX(3px); }
.btn--primary { background: var(--c-red-500); border-color: var(--c-red-500); color: var(--c-white); }
.btn--primary:hover { background: var(--c-red-700); border-color: var(--c-red-700); color: var(--c-white); }
.btn--secondary { background: transparent; border-color: var(--c-ink); color: var(--c-ink); }
.btn--secondary:hover { background: var(--c-ink); color: var(--c-white); }
.btn--compact { min-height: var(--tap); padding: 0 var(--space-2); }
.btn--wide { padding: 0 var(--space-4); }
.btn[disabled], .btn.is-busy { cursor: progress; opacity: .7; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* ---------- Sektionen ---------- */
.section { padding: var(--space-8) 0; }
@media (min-width: 768px) { .section { padding: var(--space-10) 0; } }
@media (min-width: 1100px) { .section { padding: var(--space-12) 0; } }
.section--sand { background: var(--c-sand); }
.section-head { display: grid; gap: var(--space-2); margin-bottom: var(--space-5); max-width: 760px; }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
.section-head--split > div { display: grid; gap: var(--space-2); max-width: 720px; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1fr auto; gap: var(--space-6); }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-line);
}
.site-header__inner { display: flex; align-items: center; gap: var(--space-3); min-height: var(--header-h); }
.site-header__logo { flex: none; display: block; padding: 6px 0; border-radius: var(--radius); }
.site-header__logo img { width: 136px; height: auto; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: var(--space-4); }
.site-nav__list { list-style: none; display: flex; gap: var(--space-3); }
.site-nav__list a {
  position: relative; display: inline-flex; align-items: center; min-height: var(--tap);
  color: var(--c-ink); font-weight: 600; font-size: 17px; text-decoration: none;
}
.site-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px;
  background: var(--c-line); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out), background-color .2s ease;
}
.site-nav__list a:hover::after { transform: scaleX(1); }
.site-nav__list a[aria-current="page"]::after { background: var(--c-red-500); transform: scaleX(1); }
.site-nav__actions { display: flex; align-items: center; gap: var(--space-3); }
.site-header__phone { display: inline-flex; align-items: center; gap: var(--space-1); min-height: var(--tap); color: var(--c-red-500); font-weight: 600; font-size: 17px; text-decoration: none; white-space: nowrap; }
.site-header__phone:hover { color: var(--c-red-700); text-decoration: underline; }
.site-header__burger {
  display: none; margin-left: auto; width: var(--tap); height: var(--tap);
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--c-muted); border-radius: var(--radius);
  color: var(--c-ink); cursor: pointer;
}
.site-header__burger .icon { width: 24px; height: 24px; }
.site-header__burger .burger-close { display: none; }
.site-header.is-open .burger-open { display: none; }
.site-header.is-open .burger-close { display: block; }
/* Anfrage-Knopf im mobilen Header (Desktop hat ihn in der Navigation) */
.site-header__cta { display: none; }
@media (min-width: 1000px) {
  .site-header__logo img { width: 164px; }
}

@media (max-width: 999px) {
  .site-header__inner { gap: var(--space-1); }
  .site-header__cta { display: inline-flex; margin-left: auto; white-space: nowrap; }
  .site-header.is-open .site-header__cta { visibility: hidden; } /* Menü hat eigenen Anfrage-Knopf */
  .site-header__burger { display: inline-flex; margin-left: 0; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: block; margin: 0;
    background: var(--c-white); border-bottom: 1px solid var(--c-line);
    padding: 0 var(--gutter) var(--space-3);
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s ease, transform .35s var(--ease-out), visibility 0s linear .35s;
  }
  .site-header.is-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .35s var(--ease-out), visibility 0s; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { width: 100%; min-height: 56px; font-size: 19px; border-bottom: 1px solid var(--c-line); }
  .site-nav__list a::after { display: none; }
  .site-nav__list a[aria-current="page"] { color: var(--c-red-500); }
  .site-nav__actions { flex-direction: column; align-items: stretch; gap: var(--space-2); margin-top: var(--space-3); }
  .site-nav__actions .btn { min-height: var(--tap); }
  .site-header__phone { justify-content: center; border: 2px solid var(--c-ink); border-radius: var(--radius); color: var(--c-ink); }

  body.nav-open { overflow: hidden; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
/* Ein großes Landschaftsfoto füllt den ganzen Hero; der Text steht auf einer
   hellen Tafel davor, nie direkt auf dem Foto. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--c-fir-700); }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg picture, .hero__bg img { display: block; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: 50% 45%; }
.hero__inner {
  display: flex; align-items: flex-end;
  padding-top: clamp(220px, 38svh, 340px); padding-bottom: var(--space-3);
}
.hero__panel {
  width: 100%; max-width: 640px;
  padding: var(--space-4) var(--space-3) var(--space-4);
  background: var(--c-bg); border-radius: var(--radius);
}
.hero__title { display: grid; gap: var(--space-2); margin-bottom: var(--space-3); }
.hero__claim {
  font-weight: 700;
  font-size: clamp(40px, 2.5vw + 28px, 56px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.hero__sub {
  font-weight: 600;
  font-size: clamp(20px, 0.6vw + 17px, 24px);
  line-height: 1.3;
  color: var(--c-ink);
  max-width: 24ch;
}
.hero__lead { max-width: 46ch; margin-bottom: var(--space-4); }

@media (min-width: 640px) {
  .hero__inner { padding-top: clamp(260px, 34svh, 380px); padding-bottom: var(--space-6); }
  .hero__panel { padding: var(--space-6) var(--space-5); }
}
@media (min-width: 1000px) {
  .hero__inner {
    min-height: clamp(620px, calc(100svh - var(--header-h)), 860px);
    padding-top: var(--space-10); padding-bottom: var(--space-8);
  }
  .hero__panel { max-width: 620px; padding: var(--space-8) var(--space-8) var(--space-8) var(--space-6); }
}

/* Hero: Foto setzt sich, die Tafel legt sich wie eine Steinlage von unten ein. */
@media (prefers-reduced-motion: no-preference) {
  .hero__bg img { animation: settle-bg 1.8s var(--ease-out) both; }
  .hero__panel { animation: lay 1s var(--ease-out) .1s both; }
  .hero__title > span, .hero__lead, .hero__actions { animation: rise .9s var(--ease-out) both; }
  .hero__claim { animation-delay: .3s !important; }
  .hero__sub { animation-delay: .4s !important; }
  .hero__lead { animation-delay: .5s !important; }
  .hero__actions { animation-delay: .6s !important; }
}
@keyframes lay { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle-bg { from { transform: scale(1.08); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Maueroptik: feiner Mauerverband auf allen Tanne-Flächen
   ========================================================================== */
.trust, .chronicle--dark, .site-footer, .site-footer__bottom { position: relative; isolation: isolate; }
.trust::before, .chronicle--dark::before, .site-footer::before, .site-footer__bottom::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--wall-700);
}
.site-footer__bottom::before { background-image: var(--wall-900); }

/* ==========================================================================
   Vertrauensband
   ========================================================================== */
.trust {
  position: relative;
  background-color: var(--c-fir-700);
  color: var(--c-white);
  padding: var(--space-4) 0;
}
.trust__list { list-style: none; display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
.trust__item { display: flex; align-items: center; gap: var(--space-2); font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.3; }
.trust__item .icon { width: 32px; height: 32px; color: var(--c-white); }
@media (min-width: 760px) { .trust__list { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   Leistungen im Mauerverband
   ========================================================================== */
.bond { list-style: none; display: grid; gap: var(--space-2); grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .bond { grid-template-columns: repeat(2, 1fr); }
  .bond__item--seven { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .bond { grid-template-columns: repeat(12, 1fr); gap: var(--space-3); }
  .bond__item--half { grid-column: span 6; }
  .bond__item--third { grid-column: span 4; }
  .bond__item--five { grid-column: span 5; }
  .bond__item--seven { grid-column: span 7; }
}
.card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s ease; }
.card__media { overflow: hidden; background: var(--c-sand); }
.card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.bond__item--half .card__media img { aspect-ratio: 16 / 10; }
.card__body { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-3); flex: 1; }
.card__title { font-size: clamp(20px, 0.6vw + 17px, 24px); }
.card__link { color: var(--c-ink); text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__link:focus-visible { outline: none; }
.card:has(.card__link:focus-visible) { outline: 2px solid var(--c-ink); outline-offset: 2px; }
.card__text { margin: 0; font-size: 17px; }
.card__more { margin-top: auto; padding-top: var(--space-1); display: block; color: var(--c-red-500); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.nowrap { white-space: nowrap; }
/* Pfeil läuft hinter dem letzten Wort mit, auch wenn der Text umbricht */
.card__more .icon { display: inline-block; vertical-align: -0.2em; margin-left: 6px; transition: transform .3s var(--ease-out); }
.card:hover { border-color: var(--c-muted); }
.card:hover .card__media img { transform: scale(1.04); }
.card:hover .card__more { color: var(--c-red-700); text-decoration-thickness: 2px; }
.card:hover .card__more .icon { transform: translateX(3px); }
@media (min-width: 640px) {
  .card--row { flex-direction: row; }
  .card--row .card__media { flex: 0 0 55%; }
  .card--row .card__media img { height: 100%; aspect-ratio: auto; min-height: 260px; }
  .card--row .card__body { justify-content: center; padding: var(--space-4); }
}
/* Desktop: Die 7er-Karte steht neben der 5er-Karte; quer wäre ihr Foto ein
   schmales Hochformat, deshalb dort wieder gestapelt mit breitem Foto. */
@media (min-width: 1000px) {
  .card--row { flex-direction: column; }
  .card--row .card__media { flex: none; }
  .card--row .card__media img { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .card--row .card__body { justify-content: flex-start; padding: var(--space-3); }
}

/* ==========================================================================
   Bautagebuch (Signatur)
   ========================================================================== */
.chronicle { padding: var(--space-8) 0; }
@media (min-width: 1100px) { .chronicle { padding: var(--space-12) 0; } }
.chronicle--dark { background-color: var(--c-fir-700); color: var(--c-white); }
.chronicle--dark .h2, .chronicle--dark .h3 { color: var(--c-white); }
.chronicle--dark :focus-visible { outline-color: var(--c-white); }
.chronicle--light { background: var(--c-bg); }
.chronicle__head { display: grid; gap: var(--space-3); margin-bottom: var(--space-6); max-width: 820px; }
.chronicle__kind { font-weight: 600; }
.chronicle--dark .chronicle__kind { color: var(--c-fir-100); }
.chronicle--light .chronicle__kind { color: var(--c-muted); }
.chronicle--dark .chronicle__intro { color: var(--c-fir-100); }

/* Bauschild-Daten */
.plate { display: grid; margin: 0; }
.plate--inline { display: flex; flex-wrap: wrap; gap: 1px; border: 1px solid; border-radius: var(--radius); overflow: hidden; }
.plate--inline > div { flex: 1 1 calc(50% - 1px); padding: 10px 14px; }
.plate dt { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--font-display); font-weight: 600; }
.plate dd { margin: 2px 0 0; font-weight: 600; font-size: 16px; line-height: 1.35; }
@media (min-width: 760px) { .plate--inline > div { flex-basis: 0; } }
.chronicle--dark .plate--inline { border-color: #4a6559; background: #4a6559; }
.chronicle--dark .plate--inline > div { background: var(--c-fir-700); }
.chronicle--dark .plate dt { color: var(--c-fir-100); }
.chronicle--light .plate--inline { border-color: var(--c-line); background: var(--c-line); }
.chronicle--light .plate--inline > div { background: var(--c-white); }
.chronicle--light .plate dt { color: var(--c-muted); }

.chronicle__body { position: relative; }
.chronicle__stage { display: none; }
.chronicle__steps { list-style: none; display: grid; gap: var(--space-6); counter-reset: step; }
.chronicle__inline { margin-bottom: var(--space-2); border-radius: var(--radius); overflow: hidden; }
.chronicle__inline img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.chronicle__inline img { display: block; }
.chronicle__phase { padding: 8px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.chronicle--dark .chronicle__phase { color: var(--c-fir-100); }
.chronicle--light .chronicle__phase { color: var(--c-muted); }
.chronicle__inline { overflow: visible; border-radius: 0; }
.chronicle__media { overflow: hidden; border-radius: var(--radius); background: rgba(255, 255, 255, .06); }
.chronicle__mark { width: 14px; height: 9px; border: 2px solid currentColor; border-radius: 1px; flex: none; transition: background-color .4s var(--ease-out); }
.chronicle__step.is-active .chronicle__mark, .chronicle__step.is-done .chronicle__mark { background: currentColor; }
.chronicle__step-title { display: flex; align-items: baseline; gap: 12px; margin-bottom: var(--space-1); }
.chronicle__step-title .chronicle__mark { position: relative; top: -2px; }
.chronicle__text { max-width: 44ch; }
.chronicle--dark .chronicle__text { color: var(--c-fir-100); }
.chronicle__more { margin-top: var(--space-6); }

/* Mobil: schmale Fortschrittsleiste, die mitläuft */
.chronicle__meter--mobile {
  position: sticky; top: var(--header-h); z-index: 2;
  display: flex; align-items: center; gap: var(--space-2);
  margin: 0 calc(var(--gutter) * -1) var(--space-4); padding: 10px var(--gutter);
  font-family: var(--font-display); font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums;
}
.chronicle--dark .chronicle__meter--mobile { background: var(--c-fir-700); color: var(--c-fir-100); border-bottom: 1px solid #4a6559; }
.chronicle--light .chronicle__meter--mobile { background: var(--c-bg); color: var(--c-muted); border-bottom: 1px solid var(--c-line); }
.chronicle__meter--mobile .chronicle__bar { position: relative; flex: 1; height: 2px; overflow: hidden; }
.chronicle--dark .chronicle__meter--mobile .chronicle__bar { background: #4a6559; }
.chronicle--light .chronicle__meter--mobile .chronicle__bar { background: var(--c-line); }
.chronicle__meter--mobile .chronicle__fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); transition: transform .2s linear; }
.chronicle--dark .chronicle__meter--mobile .chronicle__fill { background: var(--c-white); }
.chronicle--light .chronicle__meter--mobile .chronicle__fill { background: var(--c-ink); }
@media (max-width: 999px) and (prefers-reduced-motion: no-preference) {
  /* Signatur auf dem Handy: jedes Foto legt sich von unten ein wie eine neue Steinlage */
  .js .chronicle__inline .chronicle__media { clip-path: inset(100% 0 0 0); transition: clip-path .9s var(--ease-out); }
  .js .chronicle__inline .chronicle__media img { transform: scale(1.08); transition: transform 1.4s var(--ease-out); }
  .js .chronicle__inline.is-laid .chronicle__media { clip-path: inset(0 0 0 0); }
  .js .chronicle__inline.is-laid .chronicle__media img { transform: none; }
}

@media (min-width: 1000px) {
  .chronicle__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-8); }
  .chronicle__meter.chronicle__meter--mobile { display: none; }
  .chronicle__stage { display: block; position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
  .chronicle__frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--c-fir-900); }
  .chronicle--light .chronicle__frame { background: var(--c-sand); }
  .chronicle__shot { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path .9s var(--ease-out); }
  .chronicle__shot.is-active, .chronicle__shot.is-done { clip-path: inset(0 0 0 0); }
  .chronicle__shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease-out); }
  .chronicle__shot.is-active img, .chronicle__shot.is-done img { transform: none; }
  .chronicle__shot:first-child { clip-path: inset(0 0 0 0); }
  .chronicle__meter { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-2); font-family: var(--font-display); font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
  .chronicle--dark .chronicle__meter { color: var(--c-fir-100); }
  .chronicle--light .chronicle__meter { color: var(--c-muted); }
  .chronicle__bar { position: relative; flex: 1; height: 2px; overflow: hidden; }
  .chronicle--dark .chronicle__bar { background: #4a6559; }
  .chronicle--light .chronicle__bar { background: var(--c-line); }
  .chronicle__fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); transition: transform .2s linear; }
  .chronicle--dark .chronicle__fill { background: var(--c-white); }
  .chronicle--light .chronicle__fill { background: var(--c-ink); }

  .chronicle__inline { display: none; }
  .chronicle__steps { gap: 0; padding: 12vh 0 18vh; }
  .chronicle__step { min-height: 58vh; display: flex; flex-direction: column; justify-content: center; padding-left: var(--space-4); border-left: 2px solid; transition: border-color .5s var(--ease-out); }
  .chronicle__step-title, .chronicle__text { transition: color .5s var(--ease-out); }
  /* Inaktive Schritte gedimmt, aber lesbar (#a9bcb2 auf Tanne 700 = 4,9:1) */
  .chronicle--dark .chronicle__step:not(.is-active) .chronicle__step-title,
  .chronicle--dark .chronicle__step:not(.is-active) .chronicle__text { color: #a9bcb2; }
  .chronicle--light .chronicle__step:not(.is-active) .chronicle__step-title,
  .chronicle--light .chronicle__step:not(.is-active) .chronicle__text { color: var(--c-muted); }
  .chronicle--dark .chronicle__step { border-color: #4a6559; }
  .chronicle--light .chronicle__step { border-color: var(--c-line); }
  .chronicle--dark .chronicle__step.is-active { border-color: var(--c-white); }
  .chronicle--light .chronicle__step.is-active { border-color: var(--c-ink); }
}
/* Ohne JavaScript: alle Schritte voll sichtbar */
html:not(.js) .chronicle__step { opacity: 1; }

/* ==========================================================================
   Mosaik (Referenz-Auswahl)
   ========================================================================== */
.mosaic { list-style: none; display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
.mosaic figure { height: 100%; display: flex; flex-direction: column; }
.mosaic__img { flex: 1; overflow: hidden; border-radius: var(--radius); background: var(--c-sand); }
.mosaic__img img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.mosaic__item:hover .mosaic__img img { transform: scale(1.03); }
.mosaic figcaption { margin-top: var(--space-1); font-size: 16px; line-height: 1.45; }
@media (min-width: 640px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .mosaic { grid-template-columns: repeat(12, 1fr); gap: var(--space-5) var(--space-3); }
  .mosaic__img { flex: none; }
  .mosaic__img img { aspect-ratio: auto; }
  .mosaic__item--a { grid-column: span 5; }
  .mosaic__item--b { grid-column: span 3; }
  .mosaic__item--c { grid-column: span 4; }
  .mosaic__item--d { grid-column: span 4; }
  .mosaic__item--e { grid-column: span 5; }
  .mosaic__item--f { grid-column: span 3; }
  .mosaic__item--a .mosaic__img, .mosaic__item--b .mosaic__img, .mosaic__item--c .mosaic__img { height: 360px; }
  .mosaic__item--d .mosaic__img, .mosaic__item--e .mosaic__img, .mosaic__item--f .mosaic__img { height: 300px; }
}

/* ==========================================================================
   Inhaber
   ========================================================================== */
.owners__grid { display: grid; gap: var(--space-6); align-items: center; }
.owners__copy { display: grid; gap: var(--space-2); }
.owners__copy p { margin: 0; max-width: 60ch; }
.owners__people { display: grid; grid-template-columns: repeat(2, minmax(0, 180px)); gap: var(--space-3); }
.owner img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--c-bg); }
.owner figcaption { margin-top: var(--space-1); display: grid; line-height: 1.35; }
.owner strong { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.owner span { font-size: 15px; color: var(--c-muted); }
@media (min-width: 1000px) {
  .owners__grid { grid-template-columns: 7fr 5fr; gap: var(--space-8); }
  .owners__people { justify-content: end; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section__grid { display: grid; gap: var(--space-5); }
.faq-section__head { display: grid; gap: var(--space-2); align-content: start; }
@media (min-width: 1000px) {
  .faq-section__grid { grid-template-columns: 4fr 8fr; gap: var(--space-8); }
  .faq-section__head { position: sticky; top: calc(var(--header-h) + 32px); }
}
.faq { border-top: 1px solid var(--c-line); }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  min-height: 64px; padding: var(--space-2) 0;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 0.4vw + 16px, 20px); line-height: 1.35;
  cursor: pointer; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--c-red-700); }
.faq__icon { width: 24px; height: 24px; flex: none; transition: transform .4s var(--ease-out); color: var(--c-muted); }
.faq__item[open] .faq__icon { transform: rotate(180deg); }
.faq__a { padding: 0 0 var(--space-3); max-width: 64ch; }
@media (prefers-reduced-motion: no-preference) {
  .faq__item[open] .faq__a { animation: rise .5s var(--ease-out) both; }
}

/* ==========================================================================
   Kontakt-Abschluss / Bauschild
   ========================================================================== */
.cta__grid { display: grid; gap: var(--space-6); align-items: center; }
.cta__copy { display: grid; gap: var(--space-3); }
@media (min-width: 1000px) { .cta__grid { grid-template-columns: 6fr 5fr; gap: var(--space-10); } }
.board { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.board__head {
  margin: 0; padding: 14px var(--space-3);
  background: var(--c-fir-900); color: var(--c-white);
  font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.3;
}
.board__rows { margin: 0; }
.board__rows > div { display: grid; grid-template-columns: 110px 1fr; gap: var(--space-2); padding: 12px var(--space-3); border-bottom: 1px solid var(--c-line); }
.board__rows > div:last-child { border-bottom: 0; }
.board dt { padding-top: 3px; font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted); }
.board dd { margin: 0; font-size: 17px; line-height: 1.45; }
.board__sub { font-size: 15px; color: var(--c-muted); }
.board__phone { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--c-red-500); text-decoration: none; }
.board__phone:hover { color: var(--c-red-700); text-decoration: underline; }
.board a.js-email-link, .board .js-email a { color: var(--c-red-500); }
.email-at { padding: 0 1px; }

/* ==========================================================================
   Seitenkopf Unterseiten
   ========================================================================== */
.page-head { padding: var(--space-4) 0 var(--space-6); border-bottom: 1px solid var(--c-line); background: var(--c-bg); }
@media (min-width: 1000px) { .page-head { padding: var(--space-5) 0 var(--space-8); } }
.page-head__grid { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
.page-head__title { font-weight: 700; font-size: clamp(36px, 2.6vw + 24px, 56px); line-height: 1.06; letter-spacing: -0.022em; max-width: 20ch; }
.page-head__lead { max-width: 60ch; }
@media (min-width: 1000px) {
  .page-head__grid { grid-template-columns: 7fr 5fr; gap: var(--space-8); align-items: end; }
}
@media (prefers-reduced-motion: no-preference) {
  .page-head__title, .page-head__lead { animation: rise .7s var(--ease-out) both; }
  .page-head__lead { animation-delay: .1s; }
}
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; font-size: 15px; color: var(--c-muted); }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--c-line); }
.crumbs a { color: var(--c-muted); }
.crumbs a:hover { color: var(--c-red-700); }
.error-links { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }

/* ---------- Sprungnavigation Leistungen ---------- */
.jump { position: sticky; top: var(--header-h); z-index: 30; background: var(--c-white); border-bottom: 1px solid var(--c-line); transition: top .35s var(--ease-out); }
.jump__list { list-style: none; display: flex; gap: var(--space-3); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.jump__list::-webkit-scrollbar { display: none; }
.jump__list a { position: relative; display: inline-flex; align-items: center; min-height: 52px; white-space: nowrap; color: var(--c-ink); font-weight: 600; font-size: 16px; text-decoration: none; }
.jump__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c-red-500); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.jump__list a:hover { color: var(--c-red-700); }
.jump__list a.is-current::after { transform: scaleX(1); }
.jump__list a.is-current { color: var(--c-ink); }

/* ---------- Leistungs-Sektionen ---------- */
.service__grid { display: grid; gap: var(--space-5); align-items: start; }
.service__copy { display: grid; gap: var(--space-2); }
.service__copy p { margin: 0; max-width: 60ch; }
.service__list-title { margin-top: var(--space-2); font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; color: var(--c-muted); }
.checks { list-style: none; display: grid; gap: 6px; }
.checks li { display: flex; gap: var(--space-1); align-items: flex-start; }
.checks .icon { width: 20px; height: 20px; margin-top: 4px; color: var(--c-fir-700); }
.service__cta { margin-top: var(--space-2) !important; }
.service__media { display: grid; gap: var(--space-2); }
.service__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.service__main figcaption, .service__thumbs figcaption, .pair figcaption, .about-intro__media figcaption, .region__map figcaption {
  margin-top: var(--space-1); font-size: 15px; line-height: 1.45; color: var(--c-muted);
}
.service__thumbs { list-style: none; display: grid; gap: var(--space-2); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service__thumbs--1 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.service__thumbs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service__thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.service__thumbs figcaption { font-size: 14px; }
@media (max-width: 559px) { .service__thumbs figcaption { display: none; } }
@media (min-width: 1000px) {
  .service__grid { grid-template-columns: 5fr 7fr; gap: var(--space-8); }
  .service--alt .service__copy { order: 2; }
  .service--alt .service__grid { grid-template-columns: 7fr 5fr; }
  .service__copy { position: sticky; top: calc(var(--header-h) + 52px + 32px); }
}

/* Bauablauf-Leiste (Brückenbau) */
.flow { margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid var(--c-line); }
.flow__title { margin-bottom: var(--space-3); }
.flow__list {
  list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: var(--space-3);
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-3); margin-bottom: var(--space-2);
  scrollbar-width: thin;
}
.flow__list:focus-visible { outline-offset: 6px; }
.flow__step { scroll-snap-align: start; }
.flow__step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.flow__label { margin: var(--space-1) 0 2px; font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-red-500); }
.flow__text { font-size: 16px; line-height: 1.5; }

/* ---------- Referenzen ---------- */
.pair { display: grid; gap: var(--space-3); }
@media (min-width: 760px) { .pair { grid-template-columns: repeat(2, 1fr); } }
.pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.pair .tag { display: inline; margin-right: 6px; }

.filters { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-bottom: var(--space-4); }
.filter {
  display: inline-flex; align-items: center; gap: var(--space-1); min-height: var(--tap); padding: 0 var(--space-2);
  background: var(--c-white); border: 1px solid var(--c-muted); border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600; font-size: 16px; color: var(--c-ink); cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.filter:hover { border-color: var(--c-ink); }
.filter[aria-pressed="true"] { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }
.filter__count { font-variant-numeric: tabular-nums; font-weight: 400; opacity: .75; }
.gallery { list-style: none; display: grid; gap: var(--space-3) var(--space-2); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4) var(--space-3); } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery__item[hidden] { display: none; }
.gallery__link { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--c-sand); }
.gallery__link img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease-out); }
.gallery__link:hover img { transform: scale(1.05); }
.gallery__zoom { position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 36px; height: 36px; background: var(--c-white); border-radius: var(--radius); color: var(--c-ink); opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .35s var(--ease-out); }
.gallery__zoom .icon { width: 18px; height: 18px; }
.gallery__link:hover .gallery__zoom, .gallery__link:focus-visible .gallery__zoom { opacity: 1; transform: none; }
.gallery figcaption { margin-top: var(--space-1); font-size: 15px; line-height: 1.4; }
.gallery .tag { font-size: 12px; }
.gallery__item.is-entering { animation: rise .6s var(--ease-out) both; }

.lightbox { width: min(1100px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--radius); background: var(--c-white); color: var(--c-ink); }
.lightbox::backdrop { background: rgba(29, 48, 40, 0.92); }
.lightbox__inner { display: grid; }
.lightbox__img { width: 100%; max-height: calc(100vh - 140px); object-fit: contain; background: var(--c-fir-900); }
.lightbox__caption { padding: 12px var(--space-3) 0; font-weight: 600; }
.lightbox__controls { display: flex; align-items: center; gap: var(--space-1); padding: 10px var(--space-2) 12px var(--space-3); }
.lightbox__count { margin-right: auto; order: -1; font-variant-numeric: tabular-nums; color: var(--c-muted); font-size: 15px; }
.lightbox__btn { display: grid; place-items: center; width: var(--tap); height: var(--tap); background: var(--c-white); border: 1px solid var(--c-muted); border-radius: var(--radius); color: var(--c-ink); cursor: pointer; }
.lightbox__btn:hover { border-color: var(--c-ink); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox[open] { animation: rise .45s var(--ease-out) both; }

/* ---------- Über uns ---------- */
.about-intro__grid { display: grid; gap: var(--space-5); align-items: center; }
.about-intro__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.about-intro__copy { display: grid; gap: var(--space-2); }
.about-intro__copy p { margin: 0; }
@media (min-width: 1000px) { .about-intro__grid { grid-template-columns: 7fr 5fr; gap: var(--space-8); } }

/* Mauerwerk-Reihe: Bauabschnitte als Steine im Verband */
.course { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: stone; }
.course__stone { flex: 1 1 calc(50% - 6px); }
@media (min-width: 640px) { .course__stone { flex-basis: calc(25% - 6px); } }
.course__stone a {
  display: flex; align-items: flex-end; min-height: 96px; height: 100%; padding: var(--space-2);
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.25; color: var(--c-ink); text-decoration: none;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.course__stone a:hover { background: var(--c-fir-700); border-color: var(--c-fir-700); color: var(--c-white); }
@media (min-width: 1000px) {
  /* Zwei Reihen im Läuferverband: Stoßfugen versetzt */
  .course { display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; }
  .course__stone:nth-child(1) { grid-column: 1 / 3; }
  .course__stone:nth-child(2) { grid-column: 3 / 5; }
  .course__stone:nth-child(3) { grid-column: 5 / 7; }
  .course__stone:nth-child(4) { grid-column: 7 / 10; }
  .course__stone:nth-child(5) { grid-column: 1 / 4; }
  .course__stone:nth-child(6) { grid-column: 4 / 6; }
  .course__stone:nth-child(7) { grid-column: 6 / 8; }
  .course__stone:nth-child(8) { grid-column: 8 / 10; }
  .course__stone a { min-height: 120px; font-size: 20px; }
}

/* Elztal-Karte */
.region__grid { display: grid; gap: var(--space-5); align-items: center; }
.region__copy { display: grid; gap: var(--space-2); }
.region__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px var(--space-3); margin-top: var(--space-1); }
.region__list li { display: flex; gap: 6px; align-items: center; font-weight: 600; }
.region__list .icon { width: 18px; height: 18px; color: var(--c-fir-700); }
@media (min-width: 1000px) { .region__grid { grid-template-columns: 5fr 7fr; gap: var(--space-8); } }
.region__map { min-width: 0; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); padding: var(--space-3); }
.elz { width: 100%; height: auto; overflow: visible; }
.region__hint { display: none; }
/* Handy: Karte in lesbarer Größe, seitlich verschiebbar (startet rechts bei Oberprechtal) */
@media (max-width: 639px) {
  .region__map { padding: var(--space-2); }
  .region__scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--c-line) transparent; }
  .region__scroll .elz { width: 546px; max-width: none; margin: 0 8px 8px; }
  .region__scroll:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 2px; }
  .region__hint { display: inline; }
}
.elz__river { fill: none; stroke: var(--c-fir-700); stroke-width: 5; stroke-linecap: round; }
.elz__branches path { fill: none; stroke: #9db1a6; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 7; }
.elz__stations circle { fill: var(--c-white); stroke: var(--c-fir-700); stroke-width: 3; }
.elz__stations .elz__home { fill: var(--c-red-500); stroke: var(--c-red-500); }
.elz__label { font-family: var(--font-display); font-weight: 600; font-size: 17px; fill: var(--c-ink); }
.elz__label--sm { font-size: 14px; }
.elz__label--home { font-size: 19px; font-weight: 700; }
.elz__note { font-family: var(--font-body); font-size: 14px; fill: var(--c-muted); }
.elz__river-label { font-family: var(--font-body); font-style: italic; font-size: 15px; fill: var(--c-fir-700); }
@media (prefers-reduced-motion: no-preference) {
  .js .elz.is-drawn .elz__river { animation: draw 2.2s var(--ease-inout) both; }
  .js .elz .elz__river { stroke-dasharray: 720; stroke-dashoffset: 720; }
  .js .elz.is-drawn .elz__stations circle, .js .elz.is-drawn .elz__labels { animation: rise .6s var(--ease-out) both; animation-delay: 1.1s; }
  .js .elz:not(.is-drawn) .elz__stations circle, .js .elz:not(.is-drawn) .elz__labels { opacity: 0; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact__grid { display: grid; gap: var(--space-6); align-items: start; }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: 7fr 4fr; gap: var(--space-8); } }
.contact__form > .h2 { margin-bottom: var(--space-1); }
.contact__intro { margin-bottom: var(--space-4); color: var(--c-muted); }
.contact__aside { display: grid; gap: var(--space-3); }
@media (min-width: 1000px) { .contact__aside { position: sticky; top: calc(var(--header-h) + 32px); } }
.board__call { padding: var(--space-3); border-bottom: 1px solid var(--c-line); }
.board__call-label { margin: 0 0 4px; font-size: 15px; color: var(--c-muted); }
.board__call-number { padding-block: 8px; margin-block: -8px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 1.2vw + 20px, 32px); line-height: 1.1; color: var(--c-red-500); text-decoration: none; }
.board__call-number .icon { width: 28px; height: 28px; }
.board__call-number:hover { color: var(--c-red-700); }
.board__route { margin: 0; padding: 14px var(--space-3); border-top: 1px solid var(--c-line); }
.board__route .icon { width: 20px; height: 20px; }

/* Formular */
.form { display: grid; gap: var(--space-3); }
.form__row { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: flex; flex-direction: column; gap: var(--space-1); }
.field__label { font-weight: 600; font-size: 17px; line-height: 1.3; }
.field__opt { font-weight: 400; color: var(--c-muted); font-size: 15px; }
.field__req { color: var(--c-red-700); }
.field__input {
  width: 100%; min-height: var(--tap); padding: 11px 14px;
  background: var(--c-white); border: 1px solid var(--c-muted); border-radius: var(--radius);
  color: var(--c-ink); font-family: var(--font-body); font-size: 17px; line-height: 1.4;
  transition: border-color .2s ease;
  caret-color: var(--c-red-500);
}
.field__input::placeholder { color: #6f787c; }
.field__input:hover { border-color: var(--c-ink); }
.field__input:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 2px; border-color: var(--c-ink); }
textarea.field__input { min-height: 168px; resize: vertical; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select__icon { position: absolute; right: 12px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); pointer-events: none; color: var(--c-ink); }
.field__hint { margin: 0; font-size: 15px; line-height: 1.45; color: var(--c-muted); }
.field__error { display: flex; align-items: flex-start; gap: 6px; margin: 0; font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--c-red-700); }
.field__error[hidden] { display: none; }
.field__error .icon { width: 18px; height: 18px; margin-top: 1px; }
.field.is-invalid .field__input { border: 2px solid var(--c-red-700); padding: 10px 13px; }
.check { display: grid; grid-template-columns: 26px 1fr; gap: var(--space-1); align-items: start; font-size: 16px; line-height: 1.5; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--c-red-500); cursor: pointer; }
.field.is-invalid .check input { outline: 2px solid var(--c-red-700); outline-offset: 1px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__summary { display: flex; gap: var(--space-1); align-items: flex-start; padding: var(--space-2); background: var(--c-red-50); border-radius: var(--radius); font-size: 16px; font-weight: 600; }
.form__summary[hidden] { display: none; }
.form__summary .icon { width: 22px; height: 22px; color: var(--c-red-700); margin-top: 1px; }
.form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.form__note { margin: 0; font-size: 15px; color: var(--c-muted); }

.success {
  display: flex; gap: var(--space-2); align-items: flex-start;
  padding: var(--space-4) var(--space-3); background: var(--c-fir-100); border-radius: var(--radius);
  max-width: 720px;
}
.success:focus { outline: 2px solid var(--c-fir-700); outline-offset: 2px; }
.success__icon { width: 32px; height: 32px; flex: none; color: var(--c-fir-700); }
.success__title { margin: 0 0 6px; font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 0.6vw + 17px, 24px); line-height: 1.3; }
.success p { margin: 0 0 var(--space-1); }
.success a { color: var(--c-red-500); }
.success__more { margin-top: var(--space-2) !important; }
@media (min-width: 640px) { .success { padding: var(--space-5) var(--space-4); gap: var(--space-3); } }
@media (prefers-reduced-motion: no-preference) {
  .success { animation: lay .9s var(--ease-out) both; }
  .success__icon { animation: pop .7s var(--ease-out) .35s both; }
}
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background-color: var(--c-fir-700); color: var(--c-white); font-size: 16px; line-height: 1.6; }
.site-footer :focus-visible { outline-color: var(--c-white); }
.site-footer__main { display: grid; gap: var(--space-5); padding-top: var(--space-8); padding-bottom: var(--space-8); grid-template-columns: 1fr; }
@media (min-width: 640px) { .site-footer__main { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .site-footer__main { grid-template-columns: 1.3fr 1fr 1fr; gap: var(--space-6); } }
.site-footer__logo { display: inline-block; padding: var(--space-2); background: var(--c-white); border-radius: var(--radius); }
.site-footer__logo img { width: 160px; height: auto; }
.site-footer__claim { margin-top: var(--space-2); color: var(--c-fir-100); max-width: 34ch; }
.site-footer__title { margin: 0 0 var(--space-2); font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--c-white); }
.site-footer__address { font-style: normal; margin-bottom: var(--space-2); }
.site-footer__list, .site-footer__services, .site-footer__nav { list-style: none; }
.site-footer__list li { display: flex; gap: var(--space-1); align-items: flex-start; }
.site-footer__list .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--c-fir-100); }
.site-footer a { color: var(--c-white); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--c-fir-100); }
.site-footer a:hover { color: var(--c-white); text-decoration-thickness: 2px; }
.site-footer__services li + li, .site-footer__nav li + li { margin-top: 4px; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 4px var(--space-2); margin-top: var(--space-3); }
.site-footer__nav li + li { margin-top: 0; }
.site-footer__bottom { background-color: var(--c-fir-900); color: var(--c-fir-100); font-size: 15px; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-1) var(--space-3); padding-top: var(--space-2); padding-bottom: var(--space-2); }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; gap: var(--space-3); }

/* ==========================================================================
   Scroll-Reveals: „Steinlage“ – einmaliges Aufsteigen, sichtbarer Standard.
   Versteckt wird nur, wenn JS läuft (html.js) und Bewegung erwünscht ist.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); clip-path: inset(0 0 12% 0); transition: opacity .8s var(--ease-out), transform 1s var(--ease-out), clip-path 1s var(--ease-out); transition-delay: var(--d, 0s); }
  .js .reveal.is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
  .js .course__stone { opacity: 0; transform: translateY(12px); clip-path: inset(100% 0 0 0); transition: opacity .4s ease, transform .8s var(--ease-out), clip-path .8s var(--ease-out); transition-delay: var(--d, 0s); }
  .js .course.is-in .course__stone { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Druck */
@media print {
  .site-header, .jump, .filters, .lightbox { display: none !important; }
  body { background: #fff; }
  .chronicle--dark, .trust, .site-footer, .site-footer__bottom { background: #fff !important; color: #000 !important; }
  .hero__bg, .trust::before, .chronicle--dark::before, .site-footer::before, .site-footer__bottom::before { display: none; }
}
