/* ==========================================================================
   diePlanerei – Entwurf Startseite
   Leitmotiv: das Haus auf Maßlinien aus dem Logo. Maßketten, Planköpfe und
   Musterplatten statt austauschbarer Web-Bausteine.
   ========================================================================== */

:root {
  /* Papier & Flächen */
  --paper: #F8F6F0;
  --paper-2: #F0EDE3;
  --paper-3: #E3DFD2;
  --white: #FFFFFF;

  /* Tinte (leicht grünstichig statt Schwarz) */
  --ink: #16221A;
  --ink-2: #2F3B31;
  --ink-3: #4F5A4F;
  --line: rgba(22, 34, 26, .16);     /* feine Trennlinie */
  --line-2: rgba(22, 34, 26, .32);   /* Trennlinie */
  --line-3: rgba(22, 34, 26, .56);   /* Kante von Bedienelementen und Feldern, mind. 3 : 1 */

  /* Markenfarben aus dem Logo */
  --lime: #94C11A;
  --lime-hover: #A3CD2C;
  --lime-600: #86AD1C;
  --lime-700: #80A51B;
  --lime-ink: #3F600B;      /* Grün für Text und feine Linien (6,7 : 1 auf Papier) – Limette nur als Fläche */
  --lime-100: #E6F0C6;
  --lime-50: #F3F7E4;

  /* Ökologie */
  --hemp: #F1EBDD;
  --hemp-2: #E7DFCB;
  --moss: #33502A;
  --moss-2: #4A6B3A;
  --warm-light: #F7D98A;

  --f-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --f-text: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* knappe Radien und kurze, scharfe Schatten: Kanten wie auf dem Zeichentisch */
  --r-s: 4px;
  --r: 6px;
  --r-l: 10px;

  --shadow-s: 0 1px 2px rgba(22, 34, 26, .12), 0 4px 10px -6px rgba(22, 34, 26, .28);
  --shadow: 0 1px 2px rgba(22, 34, 26, .12), 0 16px 28px -18px rgba(22, 34, 26, .45);
  --shadow-l: 0 2px 3px rgba(22, 34, 26, .12), 0 28px 48px -26px rgba(22, 34, 26, .55);

  --wrap: 1520px;
  --gutter: clamp(16px, 4vw, 64px);
  --header-h: 86px;
  --ease: cubic-bezier(.2, .75, .2, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-text);
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.2rem, 1.45rem + 2.9vw, 3.75rem); font-variation-settings: "wdth" 94; letter-spacing: -0.03em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.12rem; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }

.mono {
  font-family: var(--f-mono);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}

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

.sr-only {
  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 {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

:focus-visible {
  outline: 2.5px solid var(--lime-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--lime-100); color: var(--ink); }

/* Helle Schrift auf dunklem Grund ohne die Verdickung von macOS */
.skip, .btn--moss, .btn--ghost:hover, .chip[aria-pressed="true"], .view-toggle button[aria-pressed="true"],
.seg input:checked + span, .tool__tag, .ref-card__nr, .eco-feature__media figcaption, .about__photo figcaption, .einblick figcaption {
  -webkit-font-smoothing: antialiased;
}

/* ---------- Bausteine ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75em;
  margin-bottom: 18px;
  font-family: var(--f-mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
/* Mini-Maßlinie |—| vor jeder Überzeile */
.eyebrow::before {
  content: "";
  width: 26px;
  height: 10px;
  border-inline: 2px solid var(--lime-ink);
  background: linear-gradient(var(--lime-ink), var(--lime-ink)) center / 100% 2px no-repeat;
  flex: none;
}
.eyebrow--moss::before { border-color: var(--moss-2); background-image: linear-gradient(var(--moss-2), var(--moss-2)); }

.lead { font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); line-height: 1.6; color: var(--ink-2); max-width: 36em; }

.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 52px;
  padding: .9em 1.35em;
  border: 1.5px solid transparent;
  border-radius: var(--r);
  background: var(--btn-bg);
  font: 600 1rem/1.1 var(--f-text);
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--lime { --btn-bg: var(--lime); border-color: var(--ink); color: var(--ink); }
.btn--lime:hover { --btn-bg: var(--lime-hover); }
.btn--ghost { --btn-bg: var(--white); border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { --btn-bg: var(--ink); color: #fff; }
.btn--moss { --btn-bg: var(--moss); border-color: var(--moss); color: #fff; }
.btn--moss:hover { --btn-bg: #243A1D; border-color: #243A1D; }
.btn--text { padding-inline: .4em; min-height: 44px; color: var(--ink-2); }
.btn--text:hover { color: var(--ink); }
.btn--text:hover svg { transform: translateX(-3px); }
.btn--sm { min-height: 44px; padding: .7em 1.1em; font-size: .95rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-weight: 600;
  color: var(--lime-ink);
  text-decoration: none;
}
.link-arrow svg { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink-2); line-height: 1.45; }
.ticks li::before {
  content: "";
  position: absolute; left: 2px; top: .38em;
  width: 11px; height: 6px;
  border-left: 2px solid var(--lime-ink);
  border-bottom: 2px solid var(--lime-ink);
  transform: rotate(-45deg);
}

.tag {
  display: inline-block;
  vertical-align: middle;
  margin-left: .4em;
  padding: 5px 8px 4px;
  border: 1px solid var(--line-3);
  border-radius: 3px;
  font: 500 .7rem/1 var(--f-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.round-btn {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-3);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.round-btn svg { width: 20px; height: 20px; }
.round-btn:hover { border-color: var(--ink); }

/* Scroll-Einblendung */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Kopfzeile
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  box-shadow: 0 1px 0 var(--line-2);
  transition: box-shadow .3s;
}
/* Fläche und Unschärfe liegen auf einer eigenen Ebene: Ein backdrop-filter direkt an der Kopfzeile
   macht sie zum Bezugsrahmen für das fest positionierte Mobilmenü – das Menü wäre dann nur so hoch wie die Kopfzeile. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: background-color .3s;
  pointer-events: none;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line-3); }
.site-header.is-scrolled::before {
  background: rgba(248, 246, 240, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex: none;
  margin-left: -4px;
}
.brand__mark { width: 80px; height: 57px; }
.brand__word {
  font: 500 1.78rem/1 var(--f-text);
  letter-spacing: -.015em;
  color: #454D44;
  transform: translateY(1px);
}
.brand__word span { font-weight: 300; color: #737A71; }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a {
  position: relative;
  display: block;
  padding: 10px 13px;
  border-radius: var(--r-s);
  color: var(--ink);
  font-size: .98rem;
  font-weight: 550;
  text-decoration: none;
  transition: color .2s;
}
/* Hover: kleine Maßlinie unter dem Link */
.nav a::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 3px;
  height: 9px;
  border-inline: 2px solid var(--lime-ink);
  background: linear-gradient(var(--lime-ink), var(--lime-ink)) center / 100% 2px no-repeat;
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__tel {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.header__tel svg { width: 18px; height: 18px; color: var(--lime-ink); }
.header__tel:hover { color: var(--ink); }

.menu-btn {
  display: none;
  width: 46px; height: 46px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
  background: #fff;
  cursor: pointer;
  place-items: center;
}
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), background-color .2s;
}
.menu-btn__bars { position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -6px; }
.menu-btn__bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--paper);
  overflow: auto;
  padding: 12px 0 40px;
  border-top: 1px solid var(--line-2);
}
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
  font: 600 1.7rem/1.1 var(--f-display);
  letter-spacing: -.02em;
  text-decoration: none;
}
.mobile-nav li .mono { color: var(--lime-ink); }
.mobile-nav__tel {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 28px;
  font-weight: 600; font-size: 1.1rem;
  text-decoration: none;
}
.mobile-nav__tel svg { width: 22px; height: 22px; color: var(--lime-ink); }

/* ==========================================================================
   Hero: vom ersten Strich zum fertigen Haus
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(24px, 3.6vw, 52px) 0 0;
  isolation: isolate;
}
/* Millimeterpapier, zu den Rändern ausgeblendet */
.hero__paper {
  position: absolute;
  inset: calc(var(--header-h) * -1) 0 0 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(22, 34, 26, .09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22, 34, 26, .09) 1px, transparent 1px),
    linear-gradient(to right, rgba(22, 34, 26, .04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22, 34, 26, .04) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 85% 48% at 60% 16%, #000 30%, transparent 82%);
  mask-image: radial-gradient(ellipse 85% 48% at 60% 16%, #000 30%, transparent 82%);
  pointer-events: none;
}

.hero__kopf {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 22px clamp(32px, 5vw, 96px);
  align-items: end;
}
.hero__title {
  font-size: clamp(2.65rem, 1.3rem + 4.4vw, 5.35rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.036em;
  font-variation-settings: "wdth" 90;
}

/* „ersten Strich“: Maßlinie, die sich beim Laden zeichnet */
.measure { position: relative; white-space: nowrap; }
.measure::after {
  content: "";
  position: absolute;
  left: .02em; right: .04em; bottom: -.01em;
  height: .17em;
  border-inline: .045em solid var(--lime);
  background: linear-gradient(var(--lime), var(--lime)) center / 100% .045em no-repeat;
  transform-origin: left center;
  animation: draw-x 1.2s .35s var(--ease) both;
}
@keyframes draw-x { from { transform: scaleX(0); } }

.hero__intro { padding-bottom: 8px; }
.hero__lead { font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); max-width: 32em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Zeichentisch: Das Blatt liegt über der Tischkante */
.hero__tisch { position: relative; margin-top: clamp(36px, 4.5vw, 64px); padding-bottom: clamp(44px, 5vw, 76px); }
.hero__tisch::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0; right: 0; bottom: 0;
  top: clamp(110px, 13vw, 210px);
  border-top: 1px solid var(--ink);
  background:
    linear-gradient(to right, rgba(22, 34, 26, .07) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(to bottom, rgba(22, 34, 26, .07) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--hemp);
}
.hero__buehne { position: relative; padding: 0 46px 58px 0; }

/* Planblatt, darunter zwei weitere Blätter */
.blatt {
  position: relative;
  margin: 0;
  padding: 12px 12px 0;
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--shadow-l);
}
.blatt::before, .blatt::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border: 1px solid var(--line-3);
  border-radius: var(--r-s);
  background: #fff;
  box-shadow: var(--shadow-s);
}
.blatt::before { transform: rotate(-1.3deg) translate(-8px, 12px); background: #F7F5EE; }
.blatt::after { transform: rotate(.8deg) translate(10px, 7px); }
.blatt__kopf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 2px 4px 11px;
  color: var(--ink-2);
}
.blatt__kopf b { color: var(--ink); font-weight: 500; }
.blatt__hinweis { display: inline-flex; align-items: center; gap: 6px; color: var(--lime-ink); white-space: nowrap; }
.blatt__hinweis svg { width: 14px; height: 14px; }

/* Vergleich: links die Skizze, rechts das fertige Haus, dazwischen die Linie zum Ziehen */
@property --pos { syntax: "<number>"; inherits: true; initial-value: 50; }
.vergleich {
  --pos: 50;
  position: relative;
  aspect-ratio: 2.3 / 1;
  overflow: hidden;
  border-radius: 2px;
  background: #fff;
  cursor: ew-resize;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.vergleich__haus {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.vergleich__skizze {
  position: absolute;
  inset: 0;
  background: #fff;
  clip-path: inset(0 calc(100% - var(--pos) * 1%) 0 0);
  pointer-events: none;
}
.vergleich__svg { display: block; width: 100%; height: 100%; }
.vergleich__linie {
  position: absolute;
  z-index: 2;
  top: 0; bottom: 0;
  left: calc(var(--pos) * 1%);
  width: 2px;
  margin-left: -1px;
  background: var(--ink);
  pointer-events: none;
}
/* Enden wie bei einer Maßlinie */
.vergleich__linie::before, .vergleich__linie::after {
  content: "";
  position: absolute;
  left: -8px;
  width: 18px;
  height: 2px;
  background: var(--ink);
}
.vergleich__linie::before { top: 12px; }
.vergleich__linie::after { bottom: 12px; }
.vergleich__griff {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: calc(var(--pos) * 1%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  margin: -30px 0 0 -30px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 8px 18px -8px rgba(22, 34, 26, .55);
  cursor: grab;
  touch-action: none;
  transition: transform .2s var(--ease), background-color .2s;
}
.vergleich__griff svg { width: 18px; height: 18px; margin: 0 -2px; }
.vergleich__griff:hover, .vergleich.is-ziehen .vergleich__griff { background: var(--lime-hover); transform: scale(1.06); }
.vergleich.is-ziehen, .vergleich.is-ziehen .vergleich__griff { cursor: grabbing; }
.vergleich__label {
  position: absolute;
  z-index: 2;
  top: 14px;
  padding: 6px 9px 5px;
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  font-size: .7rem;
  pointer-events: none;
  -webkit-font-smoothing: antialiased;
}
.vergleich__label--skizze { left: 14px; opacity: clamp(0, (var(--pos) - 18) / 8, 1); }
.vergleich__label--haus { right: 14px; opacity: clamp(0, (82 - var(--pos)) / 8, 1); }

/* Auftakt: Die Skizze zeichnet sich Strich für Strich, dann schiebt die Linie das fertige Haus herein.
   Läuft ohne Skript; das Skript hält es nur an, bis das Blatt im Bild ist. */
.js .vergleich { animation: aufdecken 1.3s cubic-bezier(.65, 0, .35, 1) 2.3s both; }
.js .vergleich__svg path {
  stroke-dasharray: 1 2;
  stroke-dashoffset: 1;
  animation: zeichnen .9s cubic-bezier(.4, 0, .2, 1) calc(var(--i) * 6ms + .4s) forwards;
}
.js .vergleich__linie { animation: einblenden .4s ease 2.2s both; }
.js .vergleich__griff { animation: einblenden .4s ease 2.2s both, stupsen 1s var(--ease) 3.9s; }
.vergleich.is-wartet, .vergleich.is-wartet * { animation-play-state: paused !important; }
.vergleich.is-frei, .vergleich.is-frei .vergleich__linie, .vergleich.is-frei .vergleich__griff { animation: none; }
.vergleich.is-frei .vergleich__svg path { animation: none; stroke-dashoffset: 0; }
@keyframes aufdecken { from { --pos: 100; } to { --pos: 50; } }
@keyframes zeichnen { to { stroke-dashoffset: 0; } }
@keyframes einblenden { from { opacity: 0; } }
@keyframes stupsen { 0%, 100% { translate: 0; } 25% { translate: -12px 0; } 55% { translate: 9px 0; } 80% { translate: -3px 0; } }

/* Schriftfeld unter dem Bild */
.blatt__fuss {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.3fr) auto;
  margin-top: 12px;
  border-top: 1.5px solid var(--ink);
}
.blatt__zelle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  padding: 10px 16px 12px;
  border-right: 1px solid var(--line-2);
}
.blatt__zelle:first-child { padding-left: 4px; }
.blatt__zelle:last-child { border-right: 0; padding-right: 0; }
.blatt__zelle .mono { font-size: .68rem; color: var(--ink-3); }
.blatt__zelle strong { font: 600 1.2rem/1.15 var(--f-display); letter-spacing: -.01em; white-space: nowrap; }
.blatt__zelle .link-arrow { font-size: 1rem; }
.blatt__zelle--aktion { padding-block: 8px; }

/* Bleistift auf dem Tisch */
.hero__stift {
  position: absolute;
  z-index: 4;
  left: clamp(8px, 4%, 64px);
  bottom: 4px;
  width: clamp(120px, 13vw, 210px);
  height: auto;
  overflow: visible;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linejoin: round;
  stroke-linecap: round;
  transform: rotate(-9deg);
  filter: drop-shadow(0 6px 4px rgba(22, 34, 26, .22));
  pointer-events: none;
}

/* Maßlinien um das Blatt */
.dim {
  position: absolute;
  color: var(--ink-3);
  font: 500 .7rem/1 var(--f-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  pointer-events: none;
}
.dim--x { left: 0; right: 46px; bottom: 18px; height: 1px; background: currentColor; }
.dim--y { top: 0; bottom: 58px; right: 18px; width: 1px; background: currentColor; }
.dim i { position: absolute; background: currentColor; }
.dim--x i { top: -26px; width: 1px; height: 34px; }
.dim--x i:first-child { left: 0; }
.dim--x i:last-child { right: 0; }
.dim--y i { left: -26px; height: 1px; width: 34px; }
.dim--y i:first-child { top: 0; }
.dim--y i:last-child { bottom: 0; }
.dim i::after {
  content: "";
  position: absolute;
  width: 1px; height: 12px;
  background: currentColor;
  transform: rotate(45deg);
}
.dim--x i::after { left: 0; top: 20px; }
.dim--y i::after { left: 20px; top: -6px; }
.dim span {
  position: absolute;
  background: var(--hemp);
  padding: 0 10px;
  white-space: nowrap;
}
.dim--x span { left: 50%; top: 0; transform: translate(-50%, -50%); }
.dim--y span { top: 50%; left: 0; transform: translate(-50%, -50%) rotate(90deg); }

@media (prefers-reduced-motion: reduce) {
  .js .vergleich, .js .vergleich__linie, .js .vergleich__griff { animation: none !important; }
  .js .vergleich__svg path { animation: none !important; stroke-dashoffset: 0; }
}

/* Fakten unter dem Hero */
.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(28px, 3.2vw, 48px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1px solid var(--line-2);
}
.hero__facts li { border-right: 1px solid var(--line-2); }
.hero__facts li:last-child { border-right: 0; }
.hero__facts li, .hero__facts a {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  row-gap: 2px;
  align-content: start;
}
.hero__facts li { padding: 18px 24px 30px; }
.hero__facts li:first-child { padding-left: 0; }
.hero__facts a { text-decoration: none; grid-column: 1 / -1; }
.hero__facts .mono { grid-row: span 2; color: var(--lime-ink); padding-top: 4px; }
.hero__facts strong { font: 600 1.15rem/1.3 var(--f-display); letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 8px; }
.hero__facts strong svg { width: 18px; height: 18px; color: var(--lime-ink); transition: transform .25s var(--ease); }
.hero__facts a:hover strong svg { transform: translateX(4px); }
.hero__facts span:not(.mono) { color: var(--ink-2); font-size: .96rem; line-height: 1.5; }

/* ==========================================================================
   Sektionen allgemein
   ========================================================================== */
.section { position: relative; padding: clamp(72px, 9vw, 128px) 0; }
.section--white { background: var(--white); }
/* Jeder Abschnitt beginnt mit einer klaren Kante */
main > * + .section, .site-footer { border-top: 1px solid var(--line-2); }

/* Abschnittskopf wie ein Planblatt: kräftige Linie, darunter Überzeile und Titel */
.section-head { margin-bottom: clamp(40px, 5vw, 68px); padding-top: 22px; border-top: 1.5px solid var(--ink); }
.section-head:not(.section-head--split) > * { max-width: 760px; }
.section-head .lead { margin-top: 20px; }
/* dieselbe Kante über Textspalten neben Bildern */
.eco-feature__body, .about-teaser__text, .about__text, .next-step__grid, .materials__head { padding-top: 22px; border-top: 1.5px solid var(--ink); }
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 20px clamp(32px, 6vw, 96px);
  align-items: end;
}
.section-head--split .lead { margin-top: 0; padding-bottom: 6px; }

/* ==========================================================================
   Leistungen
   ========================================================================== */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.service {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: var(--r-l);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .9s var(--ease) var(--d, 0s);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service__art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 11;
  padding: 18px 20px;
  background:
    linear-gradient(to right, rgba(22, 34, 26, .07) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(to bottom, rgba(22, 34, 26, .07) 1px, transparent 1px) 0 0 / 20px 20px,
    var(--lime-50);
  border-bottom: 1px solid var(--ink);
}
.service__art svg { width: 100%; height: 100%; overflow: visible; }
.service__body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 26px 26px 28px; }
.service__nr { color: var(--lime-ink); }
.service h3 { font-size: 1.7rem; }
.service__body > p:not(.mono) { color: var(--ink-2); }
.service .ticks { margin: 4px 0 8px; }
.service .link-arrow { margin-top: auto; }

/* Illustrationen (isometrisch, generiert) */
.i-o { stroke: var(--ink); stroke-width: 1.3px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.i-l1 { fill: #96C11F; }
.i-l2 { fill: #86AD1C; }
.i-l3 { fill: #7A9E18; }
.i-n1 { fill: #FFFFFF; }
.i-n2 { fill: #EFECE3; }
.i-n3 { fill: #DEDACD; }
.i-plot { fill: rgba(148, 193, 26, .14); stroke: var(--lime-ink); stroke-width: 1px; stroke-dasharray: 6 4; vector-effect: non-scaling-stroke; }
.i-plot--soft { fill: rgba(255, 255, 255, .7); stroke: var(--line-2); stroke-dasharray: none; }
.i-envelope { fill: none; stroke: var(--ink-3); stroke-width: 1px; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; }
.i-dim { fill: none; stroke: var(--ink-3); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.i-txt { font: 500 15px var(--f-mono); fill: var(--ink-2); letter-spacing: .02em; }
.i-txt--s { font-size: 11.5px; fill: var(--ink-3); letter-spacing: .12em; }
.i-txt--tag { font-size: 12.5px; letter-spacing: .14em; fill: var(--ink-3); }
.i-txt--lime { fill: var(--lime-ink); }
.i-leader { fill: none; stroke: var(--ink-3); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.i-leader--lime { stroke: var(--lime-ink); }
.i-shadow { fill: rgba(28, 42, 31, .1); }
.i-trunk { stroke: #7B6A52; stroke-width: 2.2px; vector-effect: non-scaling-stroke; }
.i-tree { fill: #A9C957; stroke: var(--ink); stroke-width: 1.3px; vector-effect: non-scaling-stroke; }
.i-floor { fill: #fff; stroke: var(--line-2); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.i-poche { fill: var(--ink); }
.i-laser { stroke: #6B9312; stroke-width: 1.6px; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.i-laser-dot { fill: var(--lime); stroke: var(--ink); stroke-width: 1px; vector-effect: non-scaling-stroke; }

/* Zusatzleistungen */
.extras {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 2fr);
  gap: 24px clamp(32px, 5vw, 80px);
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: 36px;
  border-top: 1.5px solid var(--ink);
}
.extras__intro h3 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); margin-bottom: 12px; }
.extras__intro p { color: var(--ink-2); }
.extras__list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}
.extras__list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--line-2);
}
.extras__list .mono { color: var(--lime-ink); padding-top: 3px; }
.extras__ask .link-arrow { margin-top: 8px; font-size: .95rem; }
.extras__list h4 { margin-bottom: 4px; }
.extras__list p { color: var(--ink-2); font-size: .98rem; line-height: 1.55; }

/* ==========================================================================
   Referenzen
   ========================================================================== */
.ref-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 18px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 15px;
  border: 1px solid var(--line-3);
  border-radius: var(--r);
  background: #fff;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip__n { font: 500 .72rem/1 var(--f-mono); color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] .chip__n { color: var(--lime); }

.view-toggle {
  display: inline-flex;
  flex: none;
  padding: 4px;
  border: 1px solid var(--line-3);
  border-radius: 8px;
  background: var(--paper);
}
.view-toggle button {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 34px;
  padding: 6px 12px;
  border: 0;
  border-radius: var(--r-s);
  background: transparent;
  color: var(--ink-2);
  font-size: .9rem; font-weight: 600;
  cursor: pointer;
}
.view-toggle svg { width: 16px; height: 16px; }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.ref-cat { display: grid; gap: 18px; margin-bottom: 28px; }
.ref-cat:empty { margin-bottom: 20px; }
.subchips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  border: 1px dashed var(--line-3);
  border-radius: var(--r-l);
  background: var(--paper);
}
.subchips .chip { min-height: 36px; padding: 6px 13px; font-size: .9rem; }
.ref-cat__text {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 22px;
  align-items: baseline;
  padding-left: 14px;
  border-left: 3px solid var(--lime);
}
.ref-cat__text h3 { font-size: 1.3rem; }
.ref-cat__text p { color: var(--ink-2); max-width: 62ch; }

.ref-grid {
  --cols: 4;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 30px 20px;
}
.ref-grid[data-count="3"] { --cols: 3; }
.ref-grid[data-count="2"] { --cols: 2; }

.ref-card { position: relative; min-width: 0; animation: card-in .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(14px); } }
.ref-card__btn {
  display: flex;
  flex-direction: column;
  width: 100%; height: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  border-radius: var(--r);
}
.ref-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--paper-2);
}
/* feine Kontur, damit helle Himmel nicht im Papier verschwimmen */
.ref-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(22, 34, 26, .3);
  pointer-events: none;
}
.ref-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.ref-card__btn:hover img { transform: scale(1.045); }
.ref-card__nr {
  position: absolute; left: 10px; top: 10px;
  padding: 5px 7px 4px;
  border-radius: 3px;
  background: var(--ink);
  font: 500 .68rem/1 var(--f-mono);
  letter-spacing: .06em;
  color: #fff;
}
.ref-card__open {
  position: absolute; right: 10px; bottom: 10px;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  opacity: 0;
  transform: scale(.7) rotate(-45deg);
  transition: opacity .3s, transform .35s var(--ease);
}
.ref-card__open svg { width: 20px; height: 20px; }
.ref-card__btn:hover .ref-card__open, .ref-card__btn:focus-visible .ref-card__open { opacity: 1; transform: none; }

/* Maßlinie, die beim Hover unter dem Bild aufgezogen wird */
.ref-card__dim {
  display: block;
  height: 9px;
  margin: 12px 0 0;
  border-inline: 2px solid var(--lime-ink);
  background: linear-gradient(var(--lime-ink), var(--lime-ink)) center / 100% 2px no-repeat;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.ref-card__btn:hover .ref-card__dim, .ref-card__btn:focus-visible .ref-card__dim { transform: scaleX(1); }

.ref-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 2px 0;
}
.ref-card__title { display: block; font: 600 1.14rem/1.2 var(--f-display); letter-spacing: -.01em; }
.ref-card__kat { display: block; margin-top: 3px; font: 500 .68rem/1.2 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.ref-card__size {
  flex: none;
  font: 600 1.14rem/1.2 var(--f-display);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}

/* Hervorgehobenes Projekt (2×2) & Breitformat (2×1) */
.ref-card.is-feature { grid-column: span 2; grid-row: span 2; }
.ref-card.is-feature .ref-card__media { aspect-ratio: auto; flex: 1; min-height: 280px; }
.ref-card.is-feature .ref-card__title,
.ref-card.is-feature .ref-card__size { font-size: 1.5rem; }
.ref-card.is-wide { grid-column: span 2; }
.ref-card.is-wide .ref-card__media { aspect-ratio: auto; flex: 1; }

.ref-more { display: flex; justify-content: center; margin-top: 44px; }
.ref-more:has(> [hidden]) { display: none; }

/* Planliste */
.ref-list { overflow-x: auto; }
.plan-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.plan-table th {
  padding: 10px 12px;
  border-bottom: 1.5px solid var(--ink);
  font: 500 .72rem/1 var(--f-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-align: left;
  white-space: nowrap;
}
.plan-table td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.plan-table tbody tr { transition: background-color .2s; }
.plan-table tbody tr:hover { background: var(--lime-50); }
.plan-table .num { text-align: right; }
.plan-table td:first-child { font: 500 .78rem var(--f-mono); color: var(--ink-3); width: 1%; white-space: nowrap; }
.pt-open {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 0; border: 0; background: none;
  font: 600 1.05rem/1.2 var(--f-display);
  text-align: left;
  cursor: pointer;
}
.pt-open img { width: 84px; height: 52px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px var(--line-2); flex: none; }
.pt-open:hover span { text-decoration: underline; text-underline-offset: 3px; }
.plan-table td.num { font: 600 1.05rem var(--f-display); white-space: nowrap; }
.plan-table .pt-pdf {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: .92rem;
  color: var(--lime-ink);
  text-decoration: none;
  white-space: nowrap;
}
.plan-table .pt-pdf svg { width: 18px; height: 18px; }
.plan-table .pt-pdf:hover { text-decoration: underline; }
.sort-btn {
  display: inline-flex; align-items: center; gap: 6px;
  margin: -6px -8px; padding: 6px 8px;
  border: 0; border-radius: 6px;
  background: none;
  font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit;
  cursor: pointer;
}
.sort-btn svg { width: 14px; height: 14px; }
.sort-btn:hover { color: var(--ink); background: var(--paper-2); }

/* ==========================================================================
   Projektblatt (Dialog)
   ========================================================================== */
.projekt {
  width: min(1180px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--r-l);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 50px 120px -30px rgba(10, 20, 12, .6);
  overflow: hidden;
}
.projekt::backdrop { background: rgba(22, 32, 24, .56); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.projekt[open] { animation: dialog-in .45s var(--ease); }
.projekt[open]::backdrop { animation: fade-in .35s ease; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(.985); } }
@keyframes fade-in { from { opacity: 0; } }

.projekt__sheet {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(340px, 1fr);
  max-height: calc(100dvh - 32px);
}
.projekt__media {
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  min-width: 0;
}
.projekt__imgwrap {
  position: relative;
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: clamp(22px, 3vw, 44px) clamp(22px, 3vw, 44px) clamp(22px, 3vw, 36px);
  background:
    linear-gradient(to right, rgba(22, 34, 26, .07) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(to bottom, rgba(22, 34, 26, .07) 1px, transparent 1px) 0 0 / 24px 24px;
}
.projekt__figure { position: relative; width: 100%; margin: 0; padding: 30px 30px 0 0; }
.projekt__figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line-2), var(--shadow);
  transition: opacity .3s ease;
}
.projekt__figure img.is-loading { opacity: .25; }
.projekt__dim { position: absolute; color: var(--ink-3); }
.projekt__dim--x {
  left: 0; right: 30px; top: 7px;
  height: 11px;
  border-inline: 1px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
}
.projekt__dim--x .mono {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  padding: 0 10px;
  background: var(--paper-2);
  font-size: .62rem;
  white-space: nowrap;
}
.projekt__dim--y {
  top: 30px; bottom: 0; right: 7px;
  width: 11px;
  border-block: 1px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
}
.projekt__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px;
  border-top: 1px solid var(--line-2);
}
.projekt__bar .mono { min-width: 64px; text-align: center; color: var(--ink-3); }

.projekt__info {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 32px 30px;
  overflow: auto;
  border-left: 1px solid var(--line-2);
}
.projekt__close { position: absolute; right: 20px; top: 20px; }
.projekt__kicker { color: var(--lime-ink); }
.projekt__title { font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.6rem); padding-right: 56px; }
.projekt__size {
  font: 600 1.35rem/1 var(--f-display);
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}
.projekt__size:empty { display: none; }
.projekt__text { color: var(--ink-2); }
.projekt__block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 4px 0 0;
  border-top: 1.5px solid var(--ink);
}
.projekt__block > div { padding: 10px 12px 12px 0; border-bottom: 1px solid var(--line-2); }
.projekt__block > div:nth-child(odd) { border-right: 1px solid var(--line-2); }
.projekt__block > div:nth-child(even) { padding-left: 12px; }
.projekt__block dt { font-size: .64rem; color: var(--ink-3); margin-bottom: 3px; }
.projekt__block dd { margin: 0; font-weight: 600; }
.projekt__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.projekt__actions .btn { flex: 1 1 auto; }
.projekt__more { margin-top: auto; padding-top: 10px; }
.projekt__more .mono { color: var(--ink-3); margin-bottom: 10px; }
.projekt__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.projekt__thumbs button {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--paper-2);
  cursor: pointer;
}
.projekt__thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.projekt__thumbs button:hover img { transform: scale(1.06); }
.projekt__thumbs button[aria-current="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.projekt__thumbs span {
  position: absolute; left: 4px; bottom: 4px;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .92);
  font: 500 .62rem/1.2 var(--f-mono);
}

/* ==========================================================================
   Ökologisch bauen
   ========================================================================== */
.eco {
  background-color: var(--hemp);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .25 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
.eco .lead { color: #333A2D; }

.eco-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.eco-feature__media { position: relative; margin: 0 0 40px; }
.eco-feature__photo {
  width: 100%;
  aspect-ratio: 1160 / 799;
  object-fit: cover;
  border-radius: var(--r-l);
  box-shadow: 0 0 0 1px rgba(22, 34, 26, .22), var(--shadow);
}
.eco-feature__inset {
  position: absolute;
  right: -5%;
  bottom: -40px;
  width: 36%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 7px solid var(--hemp);
  border-radius: var(--r);
  box-shadow: 0 0 0 1px var(--line-3), var(--shadow);
}
.eco-feature__media figcaption {
  position: absolute; left: 16px; top: 16px;
  padding: 6px 9px 5px;
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  font-size: .7rem;
}
.eco-feature__body { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.eco-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--moss-2); }
.leaf {
  width: 14px; height: 14px;
  background: var(--moss-2);
  border-radius: 0 70% 0 70%;
}
.eco-feature__body h3 { font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.6rem); font-variation-settings: "wdth" 94; letter-spacing: -.028em; }
.eco-feature__body > p { color: #333A2D; }
.eco-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  width: 100%;
  margin: 6px 0 8px;
  padding: 18px 0;
  border-top: 1.5px solid var(--moss);
  border-bottom: 1px solid rgba(51, 80, 42, .45);
}
.eco-stat__num {
  font: 700 clamp(3rem, 2.2rem + 3vw, 4.6rem)/.9 var(--f-display);
  font-variation-settings: "wdth" 88;
  letter-spacing: -.05em;
  color: var(--moss);
}
.eco-stat__txt { color: #333A2D; font-size: .98rem; line-height: 1.5; max-width: 22em; }

/* Musterplatten */
.materials { margin-top: clamp(72px, 9vw, 120px); }
.materials__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 32px; flex-wrap: wrap; margin-bottom: 28px; }
.materials__head h3 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); }
.materials__head p { color: #41473A; }
.materials__list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.material h4, .material h3 { margin: 16px 0 6px; font-size: 1.08rem; letter-spacing: -0.01em; }
.material p { color: #41473A; font-size: .93rem; line-height: 1.5; }
.material__swatch {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r);
  background-size: cover;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .35),
    inset 0 -2px 0 rgba(0, 0, 0, .08),
    0 0 0 1px rgba(40, 30, 15, .32),
    0 12px 20px -14px rgba(70, 50, 20, .6);
  transition: transform .5s var(--ease);
}
.material:hover .material__swatch { transform: translateY(-4px) rotate(-1.5deg); }
/* Bohrlöcher wie bei echten Mustern */
.material__swatch::after {
  content: "";
  position: absolute; left: 10px; top: 10px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(40, 30, 15, .35);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .4), 0 1px 0 rgba(255, 255, 255, .35);
}

.material__swatch--hanf {
  background-color: #E4DAC0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='a' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55 .9' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .41 0 0 0 0 .25 5 0 0 0 -3.05'/%3E%3C/filter%3E%3Cfilter id='b' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9 .6' numOctaves='2' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 .98 0 0 0 0 .96 0 0 0 0 .9 5 0 0 0 -3'/%3E%3C/filter%3E%3Cfilter id='c' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.02' numOctaves='3' seed='2'/%3E%3CfeColorMatrix values='0 0 0 0 .6 0 0 0 0 .52 0 0 0 0 .38 1.4 0 0 0 -.62'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23c)'/%3E%3Crect width='240' height='240' filter='url(%23a)'/%3E%3Crect width='240' height='240' filter='url(%23b)'/%3E%3C/svg%3E");
}
.material__swatch--lehm {
  background-color: #BE8459;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='a' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.014' numOctaves='4' seed='6'/%3E%3CfeColorMatrix values='0 0 0 0 .88 0 0 0 0 .66 0 0 0 0 .48 1.3 0 0 0 -.52'/%3E%3C/filter%3E%3Cfilter id='b' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='1' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .24 0 0 0 0 .13 2 0 0 0 -.88'/%3E%3C/filter%3E%3Cfilter id='c' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='1' seed='9'/%3E%3CfeColorMatrix values='0 0 0 0 .95 0 0 0 0 .82 0 0 0 0 .66 2.4 0 0 0 -1.35'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23a)'/%3E%3Crect width='240' height='240' filter='url(%23b)'/%3E%3Crect width='240' height='240' filter='url(%23c)'/%3E%3C/svg%3E");
}
.material__swatch--holz {
  background-color: #CC9C66;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='a' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.18 .008' numOctaves='3' seed='8'/%3E%3CfeColorMatrix values='0 0 0 0 .47 0 0 0 0 .29 0 0 0 0 .13 3.4 0 0 0 -1.5'/%3E%3C/filter%3E%3Cfilter id='b' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9 .05' numOctaves='1' seed='5'/%3E%3CfeColorMatrix values='0 0 0 0 .95 0 0 0 0 .82 0 0 0 0 .62 2 0 0 0 -1.05'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23a)'/%3E%3Crect width='240' height='240' filter='url(%23b)'/%3E%3Cpath d='M80 0V240M160 0V240' stroke='%23704826' stroke-opacity='.45' stroke-width='1.5'/%3E%3C/svg%3E");
}
.material__swatch--wolle {
  background-color: #DCC596;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='a' x='-50%25' y='-50%25' width='200%25' height='200%25'%3E%3CfeTurbulence type='turbulence' baseFrequency='.014 .2' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 .56 0 0 0 0 .41 0 0 0 0 .2 -4.5 0 0 0 1.25'/%3E%3C/filter%3E%3Cfilter id='b' x='-50%25' y='-50%25' width='200%25' height='200%25'%3E%3CfeTurbulence type='turbulence' baseFrequency='.014 .2' numOctaves='2' seed='9'/%3E%3CfeColorMatrix values='0 0 0 0 .98 0 0 0 0 .92 0 0 0 0 .76 -4.5 0 0 0 1.2'/%3E%3C/filter%3E%3Cg transform='rotate(32 120 120)'%3E%3Crect x='-80' y='-80' width='400' height='400' filter='url(%23a)'/%3E%3C/g%3E%3Cg transform='rotate(-24 120 120)'%3E%3Crect x='-80' y='-80' width='400' height='400' filter='url(%23b)' opacity='.8'/%3E%3C/g%3E%3C/svg%3E");
}
.material__swatch--gruen {
  background-color: #647F31;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='c' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.045' numOctaves='3' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 .16 0 0 0 0 .25 0 0 0 0 .09 3.5 0 0 0 -1.7'/%3E%3C/filter%3E%3Cfilter id='a' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.12' numOctaves='3' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 .64 0 0 0 0 .79 0 0 0 0 .34 5 0 0 0 -2.65'/%3E%3C/filter%3E%3Cfilter id='b' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.16' numOctaves='2' seed='21'/%3E%3CfeColorMatrix values='0 0 0 0 .66 0 0 0 0 .3 0 0 0 0 .2 7 0 0 0 -4.4'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23c)'/%3E%3Crect width='240' height='240' filter='url(%23a)'/%3E%3Crect width='240' height='240' filter='url(%23b)'/%3E%3C/svg%3E");
}
.material__swatch--glas {
  background-color: #3B4043;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='a' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.075' numOctaves='2' seed='5'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .58 0 0 0 0 .6 8 0 0 0 -3.9'/%3E%3C/filter%3E%3Cfilter id='b' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.075' numOctaves='2' seed='5'/%3E%3CfeColorMatrix values='0 0 0 0 .72 0 0 0 0 .74 0 0 0 0 .76 8 0 0 0 -4.9'/%3E%3C/filter%3E%3Cfilter id='p' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='1' seed='2'/%3E%3CfeColorMatrix values='0 0 0 0 .15 0 0 0 0 .16 0 0 0 0 .17 6 0 0 0 -3.6'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23a)'/%3E%3Crect width='240' height='240' filter='url(%23b)' transform='translate(-2 -2)'/%3E%3Crect width='240' height='240' filter='url(%23p)'/%3E%3C/svg%3E");
}

/* Öko-Siedlung */
.eco-quarter {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: center;
  margin-top: clamp(72px, 9vw, 120px);
  border: 1px solid var(--ink);
  border-radius: var(--r-l);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-s);
}
.eco-quarter > img { width: 100%; aspect-ratio: 1160 / 589; object-fit: cover; }
.eco-quarter__card {
  padding: clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px) 8px;
}
.eco-quarter__card .mono { color: var(--moss-2); margin-bottom: 10px; }
.eco-quarter__card h3 { font-size: 1.55rem; margin-bottom: 10px; }
.eco-quarter__card > p:not(.mono) { color: var(--ink-2); font-size: .98rem; margin-bottom: 16px; }
.ticks--cols { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.ticks--cols li { font-size: .92rem; }
.eco .ticks li::before { border-color: var(--moss-2); }

/* ==========================================================================
   Für wen
   ========================================================================== */
.aud-rows { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.aud-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1.05fr);
  gap: 12px 32px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-2);
  transition: background-color .35s ease, padding .35s var(--ease);
}
.aud-row:hover { background: linear-gradient(90deg, var(--lime-50), rgba(243, 247, 228, 0) 85%); }
.aud-row__nr { color: var(--lime-ink); padding-left: 4px; }
.aud-row h3 { font-size: clamp(1.45rem, 1.1rem + 1.1vw, 2.05rem); font-variation-settings: "wdth" 94; letter-spacing: -.025em; }
.aud-row > p { color: var(--ink-2); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.tags li {
  padding: 6px 8px 5px;
  border: 1px solid var(--line-3);
  border-radius: 3px;
  font: 500 .7rem/1 var(--f-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
  background: #fff;
}

.conversions { margin-top: clamp(48px, 6vw, 80px); }
.conversions__title { color: var(--ink-2); margin-bottom: 16px; }
.conversions ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.conversions li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--paper-2);
  font-size: .98rem;
}
.conversions li span { color: var(--ink-3); text-decoration: line-through; text-decoration-color: rgba(28, 42, 31, .35); }
.conversions li svg { width: 18px; height: 18px; color: var(--lime-ink); }
.conversions li strong { font-weight: 600; }

/* ==========================================================================
   Über uns
   ========================================================================== */
.about__photo { position: relative; margin: 0; }
.about__photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: var(--r-l);
  box-shadow: 0 0 0 1px rgba(22, 34, 26, .22);
}
.about__photo figcaption, .einblick figcaption {
  position: absolute; left: 18px; bottom: 18px;
  padding: 6px 9px 5px;
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  font-size: .7rem;
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  gap: clamp(40px, 6vw, 104px);
  margin-top: clamp(48px, 6vw, 80px);
  align-items: start;
}
.about__text h2 { margin-bottom: 26px; }
.about__text p { color: var(--ink-2); max-width: 34em; }
.about__text p + p { margin-top: 14px; }
.quote { margin: 34px 0 0; padding: 22px 0 0 0; border-top: 1.5px solid var(--ink); }
.quote p {
  font: 500 clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem)/1.2 var(--f-display) !important;
  letter-spacing: -.02em;
  color: var(--ink) !important;
  max-width: 20em;
}

.region { margin: 0; }
.region__map { width: 100%; height: auto; border: 1px solid var(--ink); border-radius: var(--r-l); background: #fff; }
.region figcaption { margin-top: 12px; color: var(--ink-3); }
.region__sea path { fill: none; stroke: rgba(60, 115, 150, .55); stroke-width: 1.2; }
.region__ring { fill: rgba(148, 193, 26, .07); stroke: var(--lime-ink); stroke-width: 1; stroke-dasharray: 4 5; }
.region__ring--far { fill: none; stroke: rgba(22, 34, 26, .42); }
.region__label { font: 500 10px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; fill: var(--ink-3); }
.region__label--ring { fill: var(--lime-ink); font-size: 9.5px; paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.region__label--area { font-size: 11px; letter-spacing: .2em; fill: rgba(22, 34, 26, .62); }
.region__label--far { fill: var(--ink-3); }
.region__cities circle { fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
.region__cities text { font: 500 11.5px var(--f-text); fill: var(--ink-2); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.region__home text { font: 700 14px var(--f-display); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.region__pulse { fill: rgba(148, 193, 26, .25); transform-box: fill-box; transform-origin: center; animation: pulse 2.8s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }

/* ==========================================================================
   Über uns: das Team
   ========================================================================== */
.team__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: clamp(32px, 4vw, 56px) clamp(32px, 4vw, 72px);
  align-items: start;
}
.team__intro { padding-top: 22px; border-top: 1.5px solid var(--ink); }
.team__intro h2 { margin-bottom: 18px; font-size: clamp(2rem, 1.4rem + 1.9vw, 3.2rem); }
.team__intro > p:not(.eyebrow):not(.todo-note) { color: var(--ink-2); }
.team__karten {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 28px);
}
.team-karte {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: var(--r);
  background: var(--white);
}
.team-karte__bild { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-bottom: 1px solid var(--ink); background: var(--paper-2); }
.team-karte__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.team-karte:hover .team-karte__bild img { transform: scale(1.03); }
.team-karte__text { padding: 14px 16px 18px; }
.team-karte__nr { font-size: .7rem; color: var(--lime-ink); }
.team-karte h3 { margin-top: 8px; font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); }
.team-karte__text > p:not(.mono) { margin-top: 4px; font-size: .96rem; color: var(--ink-2); }

/* Einblicke ins Büro: ein Querformat, zwei Hochformate */
.einblicke {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(14px, 1.8vw, 28px);
}
.einblick { position: relative; margin: 0; }
.einblick img {
  width: 100%;
  height: clamp(260px, 30vw, 500px);
  object-fit: cover;
  border-radius: var(--r);
  box-shadow: 0 0 0 1px rgba(22, 34, 26, .22);
}
.einblick--quer img { object-position: 50% 35%; }
.einblick figcaption {
  position: absolute; left: 14px; bottom: 14px;
  padding: 6px 9px 5px;
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  font-size: .7rem;
}
@media (max-width: 1020px) {
  .team__grid { grid-template-columns: 1fr; }
  .team__intro > p:not(.eyebrow):not(.todo-note) { max-width: 40em; }
}
@media (max-width: 640px) {
  .team__karten { grid-template-columns: 1fr 1fr; }
  .team-karte--hund { grid-column: 1 / -1; }
  .team-karte--hund .team-karte__bild { aspect-ratio: 16 / 10; }
  .team-karte--hund .team-karte__bild img { object-position: 50% 40%; }
  .team-karte__text { padding: 12px 12px 14px; }
  .einblicke { grid-template-columns: 1fr 1fr; }
  .einblick--quer { grid-column: 1 / -1; }
  .einblick img { height: auto; aspect-ratio: 4 / 5; }
  .einblick--quer img { aspect-ratio: 3 / 2; }
}

/* ==========================================================================
   Anfrage
   ========================================================================== */
.inquiry {
  background-color: var(--lime-50);
  background-image:
    linear-gradient(to right, rgba(63, 96, 11, .1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(63, 96, 11, .1) 1px, transparent 1px);
  background-size: 28px 28px;
}
.inquiry__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr);
  gap: clamp(36px, 5vw, 88px);
  align-items: start;
}
.inquiry__intro { position: sticky; top: calc(var(--header-h) + 32px); }
/* Die Spalte mit Foto und Kontaktkarte ist gut 900 px hoch: mitlaufen lassen nur, wenn sie ganz ins Bild passt */
@media (max-height: 1080px) { .inquiry__intro { position: static; } }
.inquiry__intro .lead { margin-top: 20px; }

.contact-card {
  margin-top: 36px;
  padding: 24px 24px 22px;
  border-radius: var(--r-l);
  background: #fff;
  border: 1px solid var(--ink);
  box-shadow: var(--shadow-s);
}
.contact-card__foto { margin: -24px -24px 20px; overflow: hidden; border-bottom: 1px solid var(--ink); border-radius: calc(var(--r-l) - 1px) calc(var(--r-l) - 1px) 0 0; background: var(--paper-2); }
.contact-card__foto img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 24%; }
.contact-card__kicker { color: var(--ink-2); }
.contact-card__tel {
  display: inline-block;
  margin: 6px 0 16px;
  font: 650 clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem)/1.1 var(--f-display);
  font-variation-settings: "wdth" 92;
  letter-spacing: -.02em;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.contact-card__tel:hover { color: var(--lime-ink); }
.contact-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-card__list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--ink-2); line-height: 1.5; }
.contact-card__list svg { width: 20px; height: 20px; margin-top: 2px; color: var(--lime-ink); }
.contact-card__list a { color: var(--ink); text-underline-offset: 3px; }
.contact-card__list small { color: var(--ink-3); font-size: .88rem; }

/* Formular */
.wizard {
  position: relative;
  padding: clamp(22px, 3.2vw, 40px);
  border-radius: var(--r-l);
  background: #fff;
  border: 1px solid var(--ink);
  box-shadow: var(--shadow-l);
}
.wizard__progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
.wizard__progress li {
  position: relative;
  padding-top: 18px;
  font: 500 .72rem/1 var(--f-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.wizard__progress li::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 4px;
  height: 1.5px;
  background: var(--line-3);
}
.wizard__progress li::after {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 1.5px; height: 10px;
  background: var(--line-3);
}
.wizard__progress li:last-child { text-align: right; }
.wizard__progress li:last-child::after { left: auto; right: 0; }
.wizard__progress li:nth-child(2) { text-align: center; }
.wizard__progress li:nth-child(2)::after { left: 50%; }
.wizard__progress span { color: inherit; margin-right: 4px; }
.wizard__progress li.is-current, .wizard__progress li.is-done { color: var(--ink); }
.wizard__progress li.is-current::before, .wizard__progress li.is-done::before { background: var(--lime); height: 3px; top: 3px; }
.wizard__progress li.is-current::after, .wizard__progress li.is-done::after { background: var(--lime-ink); }
.wizard__progress li.is-current span { color: var(--lime-ink); }

.wizard__context {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -8px 0 22px;
  padding: 10px 10px 10px 14px;
  border-radius: var(--r);
  background: var(--lime-50);
  border: 1px dashed var(--lime-ink);
}
.wizard__context .mono { color: var(--lime-ink); }
.wizard__context strong { flex: 1; font-weight: 600; font-size: .98rem; }
.wizard__context button { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.wizard__context button:hover { background: #fff; }
.wizard__context svg { width: 16px; height: 16px; }

.wizard__step { margin: 0; padding: 0; border: 0; min-width: 0; }
.wizard__step[hidden] { display: none; }
.wizard__step legend {
  display: block;
  padding: 0;
  margin-bottom: 20px;
  font: 600 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.1 var(--f-display);
  letter-spacing: -.02em;
  outline: none;
}
.wizard__step:not([hidden]) { animation: step-in .45s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { position: relative; display: block; cursor: pointer; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 16px 16px 15px;
  border: 1.5px solid var(--line-3);
  border-radius: 8px;
  background: #fff;
  transition: border-color .2s, background-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.tile svg { width: 38px; height: 38px; margin-bottom: 8px; color: var(--ink); }
.tile strong { font: 600 1.05rem/1.2 var(--f-display); letter-spacing: -.01em; }
.tile small { color: var(--ink-3); font-size: .86rem; line-height: 1.35; }
.tile:hover > span { border-color: var(--ink); transform: translateY(-2px); }
.tile input:checked + span {
  border-color: var(--lime-ink);
  background: var(--lime-50);
  box-shadow: inset 0 0 0 1px var(--lime-ink);
}
.tile input:checked + span::after {
  content: "";
  position: absolute; right: 14px; top: 14px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%231C2A1F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.tile input:focus-visible + span { outline: 2.5px solid var(--lime-ink); outline-offset: 3px; }

.field-label { margin: 26px 0 10px; font-weight: 600; }
.field-label small, .field label small { font-weight: 400; color: var(--ink-3); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { position: relative; display: inline-flex; cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 12px;
  border: 1.5px solid var(--line-3);
  border-radius: var(--r);
  font-size: .93rem;
  font-weight: 500;
  transition: border-color .2s, background-color .2s;
}
.check > span::before {
  content: "";
  width: 16px; height: 16px;
  border: 1.5px solid var(--ink-2);
  border-radius: 3px;
  flex: none;
  transition: background-color .15s, border-color .15s;
}
.check:hover > span { border-color: var(--ink); }
.check input:checked + span { border-color: var(--lime-ink); background: var(--lime-50); }
.check input:checked + span::before {
  border-color: var(--lime-ink);
  background: var(--lime-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check input:focus-visible + span { outline: 2.5px solid var(--lime-ink); outline-offset: 2px; }
.check--inline { margin-top: 12px; }
.check--inline > span { border: 0; padding: 4px 0; font-size: .92rem; color: var(--ink-2); }
.check--inline input:checked + span { background: none; }
.check--consent > span {
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--r);
  font-size: .92rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-2);
}
.check--consent > span::before { margin-top: 2px; }
.check--consent a { color: var(--ink); text-underline-offset: 3px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field__label { font-weight: 600; font-size: .98rem; }
.req { color: var(--lime-ink); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--line-3);
  border-radius: var(--r);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9.5l6 6 6-6' fill='none' stroke='%231C2A1F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}
.field input::placeholder, .field textarea::placeholder { color: #6B7368; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--lime-ink);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(148, 193, 26, .22);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B3412E; background: #FFF8F6; }
.field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(179, 65, 46, .14); }
.check input[aria-invalid="true"] + span { border-color: #B3412E; background: #FFF8F6; }
.field-error { color: #A33A28; font-size: .9rem; font-weight: 500; margin-top: 2px; }
.tiles + .field-error { margin-top: 12px; }

.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1.5px solid var(--line-3);
  border-radius: var(--r);
  font-size: .95rem;
  font-weight: 500;
  transition: border-color .2s, background-color .2s, color .2s;
}
.seg label:hover span { border-color: var(--ink); }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2.5px solid var(--lime-ink); outline-offset: 2px; }

.range-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.range-head output { font-size: .9rem; color: var(--lime-ink); padding: 4px 8px; border-radius: 6px; background: var(--lime-50); }
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  margin: 4px 0 0;
  background: transparent;
  cursor: pointer;
  --fill: 31%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--lime-600) var(--fill), #C9C5B7 var(--fill));
}
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: #C9C5B7; }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--lime-600); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px;
  margin-top: -10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ink);
}
input[type="range"]:disabled { opacity: .35; cursor: not-allowed; }
.range-scale { position: relative; height: 1.3em; margin: 0 12px; color: var(--ink-3); font-size: .66rem; }
.range-scale span { position: absolute; left: calc(var(--at) * 100%); transform: translateX(-50%); white-space: nowrap; }
.range-scale span:first-child { transform: translateX(-30%); }
.range-scale span:last-child { transform: translateX(-80%); }

.summary:empty { display: none; }
.summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 16px;
  border-radius: var(--r);
  background: var(--paper);
  border: 1px solid var(--line-2);
}
.summary .mono { width: 100%; color: var(--ink-3); margin-bottom: 4px; font-size: .68rem; }
.summary b {
  padding: 5px 10px;
  border-radius: 3px;
  background: #fff;
  border: 1px solid var(--line-3);
  font-weight: 500;
  font-size: .88rem;
}

.wizard__nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
}
.wizard__hint { margin-right: auto; color: var(--ink-3); }
/* Honigtopf gegen Spam: für Menschen unsichtbar und nicht erreichbar */
.wizard__falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wizard__fehler { margin-top: 20px; padding: 12px 14px; border: 1.5px solid #B3412E; border-radius: var(--r); background: #FFF8F6; color: #8A2C1D; font-weight: 500; }
.wizard__fehler + .wizard__nav { margin-top: 16px; }
.wizard__nav [data-wizard="back"]:not([hidden]) + .wizard__hint { margin-left: 8px; }
.wizard.is-done .wizard__nav, .wizard.is-done .wizard__step, .wizard.is-done .wizard__progress, .wizard.is-done .wizard__context { display: none; }

.wizard__done { text-align: center; padding: 30px 8px 12px; outline: none; }
.wizard__done:not([hidden]) { animation: step-in .5s var(--ease); }
.wizard__done-mark { width: 92px; height: 82px; margin: 0 auto 20px; }
.wizard__done h3, .wizard__done h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-bottom: 12px; font-variation-settings: normal; letter-spacing: -0.022em; }
.wizard__done p { color: var(--ink-2); max-width: 30em; margin: 0 auto; }
.wizard__done a { color: var(--ink); font-weight: 600; }
.wizard__demo { margin: 22px auto 22px !important; color: var(--ink-3) !important; font-size: .66rem; }

/* ==========================================================================
   Fußzeile als Plankopf
   ========================================================================== */
.site-footer { padding: clamp(64px, 8vw, 110px) 0 36px; background: var(--paper); }
.footer__cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.footer__claim {
  font: 700 clamp(2.2rem, 1.3rem + 3.6vw, 4.6rem)/.98 var(--f-display);
  font-variation-settings: "wdth" 90;
  letter-spacing: -.036em;
}
.footer__claim span { color: var(--lime-ink); }

/* Plankopf: ein Rahmen, vier Felder – darunter eine schmale Leiste mit Rechtlichem */
.plankopf {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-s);
  background: var(--white);
}
.plankopf__feld { min-width: 0; padding: 26px 28px 28px; }
.plankopf__feld + .plankopf__feld { border-left: 1px solid var(--line-2); }
.plankopf__titel {
  margin: 0 0 14px;
  font: 500 .7rem/1.2 var(--f-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-variation-settings: normal;
  color: var(--ink-3);
}
.plankopf__feld p { font-size: .98rem; line-height: 1.55; }
.plankopf__feld p + p { margin-top: 10px; }
.plankopf__feld a { text-decoration: none; }
.plankopf__feld a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.plankopf__feld .plankopf__klein { font-size: .9rem; color: var(--ink-3); }
.plankopf__logo { display: inline-flex; align-items: center; gap: 10px; }
.plankopf__feld .plankopf__logo:hover { text-decoration: none; }
.plankopf__zeichen { width: 92px; height: 66px; flex: none; }
.plankopf__wort { font: 500 1.8rem/1 var(--f-text); letter-spacing: -.015em; color: #454D44; }
.plankopf__wort span { font-weight: 300; color: #737A71; }
.plankopf__feld--marke p { margin-top: 16px; max-width: 28ch; color: var(--ink-2); }
.plankopf__seiten { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.plankopf__seiten li { break-inside: avoid; }
.plankopf__seiten a { display: inline-block; padding: 3px 0; font-size: .98rem; }
.plankopf__seiten a[aria-current="page"] { font-weight: 650; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 5px; }

.fussleiste {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 18px;
}
.fussleiste__firma { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; font-size: .88rem; color: var(--ink-3); }
.fussleiste__blatt { font-size: .68rem; color: var(--ink-3); }
.fussleiste__links { list-style: none; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; }
.fussleiste__links a { font-weight: 600; font-size: .95rem; text-decoration: none; }
.fussleiste__links a:hover, .fussleiste__links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.fussleiste__social { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-3); border-radius: 50%; }
.fussleiste__links .fussleiste__social:hover { border-color: var(--ink); text-decoration: none; }
.fussleiste__social svg { width: 18px; height: 18px; }

/* ==========================================================================
   Rechtliches: Impressum und Datenschutz
   ========================================================================== */
.recht__grid.recht__grid--einspaltig { grid-template-columns: minmax(0, 1fr); }
/* kleine Bildunterschrift, z. B. unter den Blättern auf der Ablauf-Seite */
.bild-hinweis { margin-top: 22px; font-size: .7rem; color: var(--ink-3); }
/* Fehlerseite */
.fehler__wege { display: flex; flex-wrap: wrap; gap: 12px; }
.recht__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 2fr);
  gap: 36px clamp(32px, 6vw, 110px);
  align-items: start;
}
.recht__seite { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 20px; }
.recht__inhalt { padding: 18px 20px 20px; border: 1px solid var(--ink); border-radius: var(--r); background: var(--white); }
.recht__inhalt-titel, .recht__hinweis-titel { margin-bottom: 10px; font-size: .7rem; color: var(--ink-3); }
.recht__inhalt ol { display: grid; gap: 4px; margin: 0; padding-left: 1.6em; }
.recht__inhalt li::marker { font: 500 .75rem var(--f-mono); color: var(--lime-ink); }
.recht__inhalt a { font-size: .95rem; text-decoration: none; }
.recht__inhalt a:hover { text-decoration: underline; text-underline-offset: 3px; }
.recht__hinweis { padding: 16px 18px 18px; border: 1px dashed var(--line-3); border-radius: var(--r); background: var(--paper-2); font-size: .92rem; color: var(--ink-2); }
.recht__hinweis ul { display: grid; gap: 6px; margin: 10px 0 0; padding-left: 1.1em; }
.recht__text { max-width: 72ch; }
.recht__text h2 {
  margin: 40px 0 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
  font-size: clamp(1.3rem, 1.1rem + .7vw, 1.65rem);
  letter-spacing: -.015em;
  font-variation-settings: normal;
}
.recht__text > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.recht__text h3 { margin: 22px 0 6px; font-size: 1.1rem; letter-spacing: -.01em; }
.recht__text p, .recht__text li { color: var(--ink-2); }
.recht__text p + p, .recht__text p + ul, .recht__text ul + p, .recht__text .recht__kasten + p { margin-top: 12px; }
.recht__text ul { display: grid; gap: 6px; margin: 0; padding-left: 1.2em; }
.recht__text a { color: var(--ink); text-underline-offset: 3px; }
.recht__kasten { margin: 18px 0; padding: 18px 20px 20px; border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--white); }
.recht__kasten h3 { margin-top: 0; }
.recht__text .recht__stand { margin-top: 32px; font-size: .7rem; color: var(--ink-3); }
mark.offen {
  padding: 0 .15em;
  border-radius: 2px;
  background: #FCEFB4;
  color: inherit;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@media (max-width: 1020px) {
  .recht__grid { grid-template-columns: 1fr; }
  .recht__seite { position: static; }
}
@media (max-width: 560px) {
  .plankopf { grid-template-columns: 1fr; }
  .plankopf__feld:nth-child(3) { border-left: 0; }
}

/* Mobile Schnellaktionen */
.mobile-cta { display: none; }

/* ==========================================================================
   Unterseiten: Seitenkopf mit Brotkrumen
   ========================================================================== */
.page-head {
  position: relative;
  padding: clamp(28px, 4vw, 56px) 0 clamp(44px, 5.5vw, 84px);
  isolation: isolate;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: calc(var(--header-h) * -1) 0 0 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(22, 34, 26, .09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22, 34, 26, .09) 1px, transparent 1px),
    linear-gradient(to right, rgba(22, 34, 26, .04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22, 34, 26, .04) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 20%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 90% at 80% 20%, #000 10%, transparent 72%);
  pointer-events: none;
}
.page-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 20px clamp(32px, 6vw, 110px);
  align-items: end;
}
.page-head h1 {
  font-size: clamp(2.6rem, 1.4rem + 4vw, 5.1rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.036em;
  font-variation-settings: "wdth" 90;
}
.page-head .lead { padding-bottom: 8px; }
/* Brotkrumen über einer kräftigen Linie – wie der Kopf eines Planblatts */
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 24px; padding: 0 0 14px; border-bottom: 1.5px solid var(--ink); color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--line-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); }
.page-head + .section { padding-top: clamp(24px, 3vw, 48px); }
.eco.page-body { padding-top: clamp(56px, 7vw, 104px); }

.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.mobile-nav a[aria-current="page"] { color: var(--lime-ink); }

.section-link { margin-top: clamp(28px, 3.5vw, 44px); }
.section-link--center { display: flex; justify-content: center; }

/* Hinweis auf Material, das der Kunde noch liefert */
.todo-note {
  display: inline-block;
  margin-top: 22px;
  padding: 6px 10px;
  border: 1px dashed var(--line-3);
  border-radius: var(--r-s);
  color: var(--ink-2);
  font-size: .86rem;
}

/* ==========================================================================
   Ablauf: Schicht für Schicht – vier Planblätter, ein Haus
   ========================================================================== */
.sheets__swipe { display: flex; align-items: center; gap: 8px; margin: -10px 0 14px; color: var(--ink-2); }
.sheets__swipe svg { width: 16px; height: 16px; }
.sheets__list {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0 calc(var(--gutter) * -1);
  padding: 22px var(--gutter) 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  background: var(--hemp);
  scrollbar-width: thin;
}
.sheets__step {
  flex: 0 0 min(86%, 460px);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--shadow-s);
  overflow: hidden;
}

/* Planblatt */
.plan {
  position: relative;
  margin: 0;
  padding: 12px 12px 0;
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: var(--r);
  transform: rotate(var(--dreh, 0deg));
}
.sheets__step .plan { border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; }
.plan__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 11px;
  color: var(--ink-2);
}
.plan__head b { color: var(--ink); font-weight: 500; }
.plan__body { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2px; background: #fff; }
.plan__body > img, .plan__body > svg { width: 100%; height: 100%; object-fit: contain; }
.plan__body > img.plan__photo { object-fit: cover; }
.plan__foot { display: flex; height: 14px; margin: 10px -12px 0; border-top: 1.5px solid var(--ink); }
.plan--grundriss .plan__body { display: grid; place-items: center; padding: 3% 8%; }
.plan--grundriss .plan__body > svg { width: auto; height: 100%; max-width: 100%; }

/* Grundriss in Bleistift (aus grundriss.py) */
.plan-bleistift .gr-flaeche { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-opacity: .82; }
.plan-bleistift .gr-aussen { fill: none; stroke: var(--ink); stroke-width: 8; }
.plan-bleistift .gr-anbau { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-dasharray: 10 8; stroke-opacity: .6; }
.plan-bleistift .gr-anbau-name { font: 500 20px var(--f-mono); fill: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.plan-bleistift .gr-name { font: 500 15px var(--f-mono); fill: var(--ink); text-transform: uppercase; letter-spacing: 0; }
.plan-bleistift .gr-qm { font: 400 14px var(--f-mono); fill: var(--ink-3); }
.plan-bleistift .gr-raum[data-raum="Vorrat"] .gr-name, .plan-bleistift .gr-raum[data-raum="Vorrat"] .gr-qm, .plan-bleistift .gr-raum[data-raum="WC/Dusche"] .gr-name { font-size: 11px; letter-spacing: 0; }
.plan-bleistift .gr-nr { display: none; }
.plan-bleistift .gr-treppe { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.plan-bleistift .gr-stufe { stroke: var(--ink); stroke-width: 1; stroke-opacity: .7; }
.plan-bleistift .gr-lauf, .plan-bleistift .gr-lauf-pfeil { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.plan-bleistift .gr-eingang rect { fill: #fff; }
.plan-bleistift .gr-eingang path { fill: none; stroke: var(--lime-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.plan-bleistift .gr-eingang text { font: 500 16px var(--f-mono); fill: var(--lime-ink); text-transform: uppercase; letter-spacing: .06em; }

/* Plankopf auf Blatt 3 und Stempel */
.plan-schriftfeld {
  position: absolute; right: 3%; bottom: 3%;
  display: grid; grid-template-columns: auto auto;
  background: #fff;
  border: 1px solid var(--ink);
  font: 500 .56rem/1.25 var(--f-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.plan-schriftfeld span, .plan-schriftfeld b { padding: 2px 5px; border-bottom: 1px solid var(--line-2); }
.plan-schriftfeld span { color: var(--ink-3); border-right: 1px solid var(--line-2); }
.plan-schriftfeld b { font-weight: 500; }
.plan-schriftfeld :nth-last-child(-n+2) { border-bottom: 0; }
.stamp {
  position: absolute; right: 7%; top: 12%; z-index: 3;
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 7px 12px 8px;
  border: 2.5px solid var(--lime-ink);
  border-radius: 6px;
  color: var(--lime-ink);
  background: rgba(148, 193, 26, .12);
  font-family: var(--f-mono);
  text-align: center;
  line-height: 1.1;
  transform: rotate(-7deg);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.stamp small { font-size: .58rem; font-weight: 500; letter-spacing: .1em; }
.stamp strong { font-size: .82rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }

/* Text neben dem Blatt */
.sheets__text { padding: 18px 20px 24px; }
.sheets__kicker { color: var(--lime-ink); }
.sheets__text h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 10px; font-size: clamp(1.6rem, 1.25rem + 1.1vw, 2.2rem); }
.sheets__text > p:not(.mono) { margin-top: 12px; color: var(--ink-2); }
.sheets__dl { display: grid; gap: 12px; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: .96rem; }
.sheets__dl dt { font-size: .66rem; color: var(--ink-3); margin-bottom: 3px; }
.sheets__dl dd { margin: 0; color: var(--ink); }

@media (min-width: 1021px) {
  .sheets__swipe { display: none; }
  /* Ohne Bühne (ohne JavaScript oder bei reduzierter Bewegung): Blätter und Text nebeneinander */
  .sheets__list { display: grid; gap: 0; margin: 0; padding: 0; overflow: visible; background: none; }
  .sheets__step {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(32px, 4vw, 80px);
    align-items: center;
    padding: 30px 0;
    background: none;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
  }
  .sheets__step + .sheets__step { border-top: 1px solid var(--line-2); }
  .sheets__step .plan { border: 1px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); }
  .sheets__step:nth-child(odd) .plan { --dreh: -.8deg; }
  .sheets__step:nth-child(even) .plan { --dreh: .6deg; }
  .sheets__text { padding: 0; }
  .sheets__dl { grid-template-columns: 1fr 1fr; }

  /* Bühne: Die Blätter bleiben auf dem Tisch liegen, das nächste gleitet darüber */
  .sheets.is-stage { --top: calc(var(--header-h) + 24px); }
  .sheets.is-stage .sheets__list {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-auto-rows: minmax(max(76vh, calc(var(--panel-h, 560px) + 40px)), auto);
    column-gap: clamp(40px, 5vw, 110px);
  }
  .sheets.is-stage .sheets__step { display: contents; }
  .sheets.is-stage .sheets__list::before {
    content: "";
    grid-column: 1; grid-row: 1 / 5;
    align-self: start;
    position: sticky; top: var(--top);
    height: var(--panel-h, 560px);
    border-radius: var(--r-l);
    background:
      linear-gradient(to right, rgba(22, 34, 26, .07) 1px, transparent 1px) 0 0 / 24px 24px,
      linear-gradient(to bottom, rgba(22, 34, 26, .07) 1px, transparent 1px) 0 0 / 24px 24px,
      var(--hemp);
    box-shadow: inset 0 0 0 1px var(--ink);
  }
  .sheets.is-stage .sheets__list::after {
    content: attr(data-stand);
    grid-column: 1; grid-row: 1 / 5;
    align-self: start;
    position: sticky; z-index: 6;
    top: calc(var(--top) + var(--panel-h, 560px) - 40px);
    margin: 0 30px 26px;
    padding-top: 10px;
    font: 500 .7rem/1 var(--f-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-2);
    background:
      linear-gradient(var(--lime), var(--lime)) 0 0 / calc(var(--p, 0) * 100%) 3px no-repeat,
      linear-gradient(var(--line-2), var(--line-2)) 0 1px / 100% 1px no-repeat;
    opacity: 0;
    transition: opacity .3s ease;
  }
  .sheets.is-stage.is-engaged .sheets__list::after { opacity: 1; }
  .sheets.is-stage .plan {
    grid-column: 1;
    align-self: start;
    justify-self: center;
    position: sticky;
    top: calc(var(--top) + max(26px, (var(--panel-h, 560px) - var(--sheet-h, 0px) - 44px) / 2));
    width: min(calc(100% - 80px), calc((100vh - var(--header-h) - 200px) * 1.55));
    box-shadow: var(--shadow-l);
  }
  .sheets.is-stage .sheets__step:nth-child(1) .plan { grid-row: 1 / 5; z-index: 1; --dreh: -1.1deg; }
  .sheets.is-stage .sheets__step:nth-child(2) .plan { grid-row: 2 / 5; z-index: 2; --dreh: .9deg; }
  .sheets.is-stage .sheets__step:nth-child(3) .plan { grid-row: 3 / 5; z-index: 3; --dreh: -.5deg; }
  .sheets.is-stage .sheets__step:nth-child(4) .plan { grid-row: 4 / 5; z-index: 4; --dreh: .2deg; }
  .sheets.is-stage .sheets__text {
    grid-column: 2;
    align-self: center;
    padding: 6px 0 6px 30px;
    border-left: 2px solid var(--line-2);
    transition: border-color .4s ease;
  }
  .sheets.is-stage .sheets__step:nth-child(1) .sheets__text { grid-row: 1; }
  .sheets.is-stage .sheets__step:nth-child(2) .sheets__text { grid-row: 2; }
  .sheets.is-stage .sheets__step:nth-child(3) .sheets__text { grid-row: 3; }
  .sheets.is-stage .sheets__step:nth-child(4) .sheets__text { grid-row: 4; }
  .sheets.is-stage .sheets__step.is-active .sheets__text { border-left-color: var(--lime-ink); }
  .sheets.is-stage .sheets__dl { grid-template-columns: 1fr; }
}
@media (min-width: 1021px) and (max-width: 1180px) {
  .plan-schriftfeld { display: none; }
}
@media (max-width: 760px) {
  .stamp { padding: 4px 8px 5px; border-width: 2px; }
  .stamp small { font-size: .5rem; }
  .stamp strong { font-size: .68rem; }
  .plan-schriftfeld { display: none; }
}
@media (max-width: 400px) {
  .sheets__step .plan__head span + span { display: none; }
}

/* Startseite: der Ablauf als Vorschau mit vier kleinen Blättern */
.mini-sheets {
  list-style: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 32px);
  padding: clamp(20px, 2.8vw, 40px);
  border: 1px solid var(--ink);
  border-radius: var(--r-l);
  background:
    linear-gradient(to right, rgba(22, 34, 26, .07) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(to bottom, rgba(22, 34, 26, .07) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--hemp);
}
.mini-sheet .plan { padding-bottom: 12px; box-shadow: var(--shadow-s); --dreh: -1deg; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.mini-sheet:nth-child(even) .plan { --dreh: .8deg; }
.mini-sheet:hover .plan { transform: translateY(-4px) rotate(0deg); box-shadow: var(--shadow); }
.mini-sheet .plan__head { padding-bottom: 8px; }
.mini-sheet__kicker { margin-top: 16px; color: var(--lime-ink); font-size: .68rem; }
.mini-sheet h3 { margin-top: 6px; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); }
.stamp--mini { right: 10%; top: 26%; padding: 3px 7px 4px; border-width: 2px; }
.stamp--mini strong { font-size: .62rem; }
@media (max-width: 1020px) { .mini-sheets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mini-sheet .plan__zusatz { display: none; } }
@media (max-width: 480px) { .mini-sheets { gap: 14px 10px; padding: 14px; } .mini-sheet .plan { padding: 8px 8px 8px; } }

/* Ablauf-Seite: der erste Schritt */
.next-step__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px clamp(32px, 6vw, 96px); align-items: end; }
.next-step h2 { margin-bottom: 18px; }
.next-step__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 1020px) { .next-step__grid { grid-template-columns: 1fr; align-items: start; } }

/* ==========================================================================
   Werkzeugwand – für jede Aufgabe das passende Werkzeug
   ========================================================================== */
.tools { --wand: #E6E2D4; }
.pegboard {
  list-style: none;
  margin: 0;
  display: grid;
  gap: 8px;
  padding: clamp(18px, 3vw, 44px);
  border: 1px solid var(--ink);
  border-radius: var(--r-l);
  background-color: var(--wand);
  background-image: radial-gradient(circle, rgba(22, 34, 26, .3) 2.1px, transparent 2.7px);
  background-size: 28px 28px;
  background-position: 14px 14px;
}
.tool {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  align-content: start;
  padding: 10px 8px;
  border-radius: var(--r);
}
.tool__img img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 3px 2px rgba(28, 42, 31, .14));
  transition: transform .28s var(--ease), filter .28s ease;
  transform-origin: 50% 12%;
}
.tool:hover .tool__img img, .tool:focus-within .tool__img img {
  transform: translateY(-7px) rotate(-1.6deg);
  filter: drop-shadow(0 13px 9px rgba(28, 42, 31, .16));
}
.tool__body { align-self: start; margin: -4px -10px 0; padding: 6px 10px 10px; border-radius: var(--r-s); background: var(--wand); }
.tool__tag {
  display: inline-block;
  padding: 5px 8px 4px;
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  font-size: .64rem;
}
.tool__title { margin-top: 10px; font-size: clamp(1.2rem, 1.05rem + .45vw, 1.42rem); line-height: 1.15; letter-spacing: -.012em; }
.tool__title a {
  text-decoration: none;
  background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 100% / 0% 2px;
  padding-bottom: 2px;
  transition: background-size .35s var(--ease);
}
.tool:hover .tool__title a, .tool:focus-within .tool__title a { background-size: 100% 2px; }
.tool__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.tool__title a:focus-visible { outline: none; }
.tool:has(a:focus-visible) { outline: 2.5px solid var(--lime-ink); outline-offset: 3px; }
.tool__text { margin-top: 6px; font-size: .95rem; line-height: 1.5; color: var(--ink-2); }
@media (min-width: 640px) {
  .pegboard { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
  .tool { grid-template-columns: 1fr; padding: 8px 8px 18px; }
  .tool__img { width: min(100%, 184px); }
}
@media (min-width: 1021px) { .pegboard { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 32px; } }

/* ==========================================================================
   Startseite: kompakte Teaser für Referenzen, Ökologie und Team
   ========================================================================== */
.eco--teaser { padding-block: clamp(72px, 9vw, 132px); }
.eco-feature__body h2 { font-size: clamp(1.9rem, 1.3rem + 1.9vw, 3rem); font-variation-settings: "wdth" 94; letter-spacing: -.03em; }
.eco-feature__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.materials__head h2, .eco-quarter__card h2 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); }
.eco-quarter__card h2 { font-size: 1.55rem; margin-bottom: 10px; }

.about-teaser__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 110px);
  align-items: center;
}
.about-teaser__text p:not(.eyebrow) { margin-top: 18px; color: var(--ink-2); max-width: 36em; }
.about-teaser__text h2 { margin-bottom: 6px; }
.about-teaser__text .btn { margin-top: 26px; }
.about-teaser .about__photo img { aspect-ratio: 16 / 10; object-position: 50% 30%; }

.about__head { max-width: 900px; }
.ref-cat__text h2 { font-size: 1.3rem; letter-spacing: -.01em; font-variation-settings: normal; }
.about__text .about__h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); margin-bottom: 18px; }
.inquiry__intro h1 { font-size: clamp(2.3rem, 1.4rem + 3.2vw, 4.1rem); font-variation-settings: "wdth" 92; letter-spacing: -.035em; line-height: 1.02; }
.inquiry__intro .crumbs { margin-bottom: 22px; }

@media (max-width: 1020px) {
  .page-head__grid { grid-template-columns: 1fr; align-items: start; }
  .about-teaser__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Responsiv
   ========================================================================== */
@media (max-width: 1440px) {
  .header__tel span { display: none; }
  .header__tel { width: 44px; height: 44px; justify-content: center; border: 1.5px solid var(--ink); border-radius: var(--r); }
  .nav a { padding-inline: 10px; }
  .nav a::after { left: 10px; right: 10px; }
}

/* Sechs Menüpunkte, Logo und Aktionen passen erst ab 1281 px in eine Zeile */
@media (max-width: 1280px) {
  .nav { display: none; }
  .header__actions { margin-left: auto; }
  .menu-btn { display: grid; }
}

@media (max-width: 1180px) {
  .materials__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 18px; }
  .ref-grid { --cols: 3; }
  .ref-grid[data-count="2"] { --cols: 2; }
}

@media (max-width: 1020px) {
  :root { --header-h: 72px; }
  .header__actions .btn { display: none; }
  .brand__mark { width: 66px; height: 47px; }
  .brand__word { font-size: 1.5rem; }

  .hero__kopf { grid-template-columns: 1fr; align-items: start; }
  .hero__intro { padding-bottom: 0; }
  .services { grid-template-columns: 1fr; max-width: 640px; }
  .service { display: grid; grid-template-columns: 1fr; }
  .extras { grid-template-columns: 1fr; }
  .eco-feature { grid-template-columns: 1fr; }
  .eco-feature__media { max-width: 720px; }
  .eco-feature__inset { right: -2%; }
  .eco-quarter { grid-template-columns: 1fr; }
  .eco-quarter__card { padding: 8px 32px 32px; }
  .aud-row { grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.4fr); }
  .aud-row .tags { grid-column: 2 / -1; justify-content: flex-start; }
  .about__grid { grid-template-columns: 1fr; }
  .region { max-width: 480px; }
  .inquiry__grid { grid-template-columns: 1fr; }
  .inquiry__intro { position: static; }
  .projekt__sheet { grid-template-columns: 1fr; overflow: auto; }
  .projekt__info { border-left: 0; border-top: 1px solid var(--line); overflow: visible; }
  .projekt__imgwrap { padding: 20px 20px 18px; }
  .plankopf { grid-template-columns: 1fr 1fr; }
  .plankopf__feld--marke, .plankopf__feld--seiten { grid-column: 1 / -1; }
  .plankopf__feld + .plankopf__feld { border-left: 0; border-top: 1px solid var(--line-2); }
  .plankopf__feld:nth-child(3) { border-left: 1px solid var(--line-2); }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .hero__buehne { padding: 0 30px 48px 0; }
  .vergleich { aspect-ratio: 16 / 11; }
  .vergleich__griff { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
  .vergleich__label { top: 10px; padding: 5px 7px 4px; font-size: .6rem; }
  .vergleich__label--skizze { left: 10px; }
  .vergleich__label--haus { right: 10px; }
  .blatt__kopf .mono { font-size: .64rem; letter-spacing: .04em; }
  .blatt__blaetter { display: none; }
  .blatt__fuss { grid-template-columns: 1fr 1fr; }
  .blatt__zelle:nth-child(2) { border-right: 0; }
  .blatt__zelle:nth-child(3) { padding-left: 4px; }
  .blatt__zelle--weg, .blatt__zelle--aktion { border-top: 1px solid var(--line-2); }
  .blatt__zelle strong { font-size: 1.05rem; }
  .hero__stift { width: 104px; left: 4px; bottom: 2px; }
  .dim--x { left: 0; right: 30px; bottom: 14px; }
  .dim--y { top: 0; bottom: 48px; right: 10px; }
  .dim--x i { top: -20px; height: 26px; }
  .dim--y i { left: -20px; width: 26px; }
  .dim--x i::after { top: 14px; }
  .dim--y i::after { left: 14px; }
  .dim { font-size: .6rem; }
  .hero__facts { grid-template-columns: 1fr; }
  .hero__facts li { padding: 16px 0 18px !important; border-right: 0; border-bottom: 1px solid var(--line-2); }
  .hero__facts li:last-child { border-bottom: 0; }

  .extras__list { grid-template-columns: 1fr; }

  .ref-toolbar { flex-direction: column; align-items: stretch; }
  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: calc(var(--gutter) * -1);
    padding: 2px var(--gutter) 8px;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
    mask-image: linear-gradient(to right, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
  }
  .chips::-webkit-scrollbar, .subchips::-webkit-scrollbar { display: none; }
  .chip { scroll-snap-align: start; }
  .subchips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .ref-cat__text { grid-template-columns: 1fr; }
  .view-toggle { align-self: flex-start; }
  .ref-grid, .ref-grid[data-count] { --cols: 2; gap: 24px 12px; }
  .ref-card.is-feature { grid-row: auto; }
  .ref-card.is-feature .ref-card__media { aspect-ratio: 16 / 10; min-height: 0; flex: none; }
  .ref-card.is-wide .ref-card__media { aspect-ratio: 16 / 8; flex: none; }
  .ref-card__title, .ref-card__size { font-size: 1rem; }
  .ref-card.is-feature .ref-card__title, .ref-card.is-feature .ref-card__size { font-size: 1.25rem; }
  .ref-card__meta { flex-direction: column; gap: 2px; }
  .ref-card.is-feature .ref-card__meta, .ref-card.is-wide .ref-card__meta { flex-direction: row; }
  .ref-card__nr { font-size: .6rem; }
  .hide-sm { display: none; }
  .pt-open img { width: 64px; height: 42px; }
  .plan-table td, .plan-table th { padding-inline: 8px; }

  .eco-feature__inset { width: 42%; right: -2%; bottom: -34px; border-width: 5px; }
  .materials__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eco-quarter__card { padding: 4px 22px 26px; }
  .eco-quarter > img { aspect-ratio: 16 / 10; }
  .ticks--cols { grid-template-columns: 1fr; }

  .aud-row { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .aud-row__nr { padding-left: 0; }
  .aud-row .tags { grid-column: auto; }
  .conversions li { width: 100%; }

  .about__photo img { aspect-ratio: 4 / 3; object-position: 55% 30%; }

  .tiles { grid-template-columns: 1fr 1fr; }
  .fields { grid-template-columns: 1fr; }
  .wizard__nav { flex-wrap: wrap; }
  .wizard__hint { order: -1; width: 100%; margin: 0 0 4px; }
  .wizard__nav .btn--lime { margin-left: auto; }
  .projekt { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .projekt__sheet { max-height: 100dvh; height: 100%; }
  .projekt__info { padding: 24px 20px 32px; }
  .projekt__close { position: fixed; right: 14px; top: 14px; z-index: 2; box-shadow: var(--shadow-s); }
  .projekt__thumbs { grid-template-columns: repeat(3, 1fr); }

  .plankopf__feld { padding: 20px 20px 22px; }
  .plankopf__zeichen { width: 76px; height: 55px; }
  .plankopf__wort { font-size: 1.55rem; }
  .fussleiste { flex-direction: column; align-items: flex-start; }

  .mobile-cta {
    position: fixed;
    left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 50;
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: var(--r-l);
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 32px -14px rgba(22, 34, 26, .5), 0 0 0 1px var(--ink);
    transform: translateY(160%);
    transition: transform .45s var(--ease);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { flex: 1; min-height: 48px; }
  .mobile-cta__call {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 0 18px;
    border-radius: var(--r);
    border: 1.5px solid var(--ink);
    font-weight: 600;
    text-decoration: none;
  }
  .mobile-cta__call svg { width: 18px; height: 18px; color: var(--lime-ink); }
  .site-footer { padding-bottom: 110px; }
}

@media (max-width: 480px) {
  .hero__cta .btn { flex: 1 1 100%; }
  .ref-grid, .ref-grid[data-count] { gap: 22px 10px; }
  .ref-card__nr { left: 6px; top: 6px; padding: 4px 6px; }
  .ref-card__title, .ref-card__size { font-size: .95rem; }
  .tiles { grid-template-columns: 1fr; }
  .tile > span { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; }
  .tile svg { margin: 0; width: 34px; height: 34px; }
  .tile small { width: 100%; padding-left: 48px; margin-top: -4px; }
  .materials__list { gap: 26px 14px; }
  .hero__title { hyphens: auto; }
  h2 { hyphens: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

.nw { white-space: nowrap; }
