/* ==========================================================================
   SH-Objektservice — Stylesheet
   Konzept: „Leitungsplan" — technische Zeichnung, Kupfer auf Graphit.
   ========================================================================== */

:root {
  /* Farben */
  --paper: #EEEAE1;        /* Kalkweiß */
  --paper-2: #E4DFD3;      /* Kalkweiß, abgetönt */
  --sheet: #F5F2EB;        /* Zeichenblatt */
  --ink: #1B1F1D;          /* Graphit */
  --ink-2: #4A504C;        /* Graphit 70 */
  --line: rgba(27, 31, 29, .16);
  --line-strong: rgba(27, 31, 29, .55);
  --copper: #A84B22;       /* Kupfer */
  --copper-light: #D9875C; /* Kupfer hell (auf dunkel) */
  --night: #22201D;        /* Graphit dunkel (Fläche) */
  --night-deep: #171614;

  /* Typo */
  --f-sans: "Archivo", ui-sans-serif, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Raster */
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --nav-h: 72px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: clamp(1rem, .95rem + .2vw, 1.125rem);
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  overflow-x: hidden;
}
p { text-wrap: pretty; }
.nav__call, .btn__num, .footer__phone-v, .contact__facts dd, .mobile-menu__call { font-variant-numeric: tabular-nums; }
/* Papierstruktur */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 90;
  opacity: .32;
  mix-blend-mode: multiply;
  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='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .1 0 0 0 0 .1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--copper); color: var(--paper); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 14px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- Bausteine ---------- */
.pos {
  display: flex; align-items: baseline; gap: 14px;
  margin: 0 0 clamp(16px, 2vw, 28px); padding-top: 12px;
  border-top: 1.5px solid var(--ink);
  font-size: .95rem; font-weight: 600; letter-spacing: 0;
  color: var(--ink-2);
}
.pos__no { font-family: var(--f-mono); font-size: .82rem; font-weight: 500; color: var(--copper); }
.pos--light { color: rgba(238, 234, 225, .72); border-color: rgba(238, 234, 225, .9); }
.pos--light .pos__no { color: var(--copper-light); }

.h2 {
  margin: 0;
  font-size: clamp(2.1rem, 1.1rem + 3.8vw, 4.8rem);
  font-weight: 780; font-stretch: 112%;
  line-height: .96; letter-spacing: -.025em;
  text-wrap: balance;
  overflow-wrap: break-word; hyphens: manual;
}
.h2 .l { display: block; overflow: hidden; padding: .06em 0 .12em; margin: -.06em 0 -.12em; }
.h2 .l > span { display: inline-block; }
.h2 .l--thin > span { font-weight: 300; letter-spacing: -.03em; }
.js .h2 .l > span { transform: translateY(112%); }
.js .h2.is-in .l > span { transform: none; transition: transform 1.15s var(--ease-out); }
.js .h2.is-in .l + .l > span { transition-delay: .09s; }

.btn {
  --bg: transparent; --fg: var(--ink); --bd: var(--ink); --wipe: var(--ink); --fg-on: var(--paper);
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 56px; padding: 0 26px;
  border: 1.5px solid var(--bd); border-radius: 2px;
  background: linear-gradient(var(--wipe), var(--wipe)) left bottom / 100% 0 no-repeat var(--bg);
  color: var(--fg);
  font-weight: 650; font-stretch: 108%; font-size: 1rem; letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: background-size .45s var(--ease-out), color .3s, border-color .3s, transform .15s;
}
.btn:hover { background-size: 100% 100%; color: var(--fg-on); border-color: var(--wipe); }
.btn:active { transform: translateY(1px); }
.btn--solid { --bg: var(--ink); --fg: var(--paper); --wipe: var(--copper); }
.btn__num { font-family: var(--f-mono); font-weight: 500; font-size: .92rem; letter-spacing: 0; }

.section { padding: clamp(56px, 6.5vw, 104px) var(--gutter); max-width: var(--max); margin: 0 auto; }
.section__head { margin-bottom: clamp(28px, 3.5vw, 52px); }
.process { padding-bottom: 0; }
.protocol { padding-bottom: 0; }

/* Scroll-Einblendung */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   INTRO
   ========================================================================== */
.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center; align-content: center; gap: clamp(28px, 5vh, 48px);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.intro__sheet { position: absolute; inset: clamp(12px, 2.4vw, 28px); border: 1px solid var(--line); pointer-events: none; opacity: 0; animation: fadeIn .5s .05s forwards; }
.intro__corner { position: absolute; width: 18px; height: 18px; }
.intro__corner::before, .intro__corner::after { content: ""; position: absolute; background: var(--ink); }
.intro__corner::before { width: 18px; height: 1.5px; top: 8px; }
.intro__corner::after { width: 1.5px; height: 18px; left: 8px; }
.intro__corner--tl { top: -9px; left: -9px; } .intro__corner--tr { top: -9px; right: -9px; }
.intro__corner--bl { bottom: -9px; left: -9px; } .intro__corner--br { bottom: -9px; right: -9px; }
.intro__meta { position: absolute; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; color: var(--ink-2); }
.intro__meta--tl { top: 14px; left: 18px; } .intro__meta--tr { top: 14px; right: 18px; }
.intro__meta--bl { bottom: 14px; left: 18px; } .intro__meta--br { bottom: 14px; right: 18px; }

.intro__mark { width: min(64vw, 330px); height: auto; overflow: visible; }
/* Hausumriss wird gezeichnet, dann steigen S und H wie ein Wasserstand */
.intro__mark .mk-house { fill: none; stroke: currentColor; stroke-width: 1.38; stroke-linejoin: miter; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s .2s var(--ease-io) forwards; }
.intro__mark .mk-s, .intro__mark .mk-h { opacity: 0; clip-path: inset(100% 0 0 0); animation: rise .6s var(--ease-out) forwards; }
.intro__mark .mk-s { animation-delay: .95s; }
.intro__mark .mk-h { animation-delay: 1.12s; }
@keyframes rise { to { opacity: 1; clip-path: inset(0 0 0 0); } }
/* Schriftzug öffnet sich von der Mitte in der Lücke der Bodenlinie */
.intro__mark .mk-word { opacity: 0; clip-path: inset(0 50% 0 50%); animation: rise .7s 1.3s var(--ease-out) forwards; }

.intro__readout { display: flex; align-items: center; gap: 16px; opacity: 0; animation: fadeIn .4s 1.05s forwards; }
.gauge { width: 52px; height: 52px; color: var(--ink); }
.gauge__needle { transform-box: fill-box; transform-origin: 50% 100%; transform: rotate(-135deg); animation: needle 1.25s 1.15s cubic-bezier(.3, 1.45, .5, 1) forwards; }
.gauge__needle path { transform: translateY(0); }
.intro__text { display: grid; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; min-width: 15ch; }
.intro__label { color: var(--ink-2); }
.intro__value { font-size: 1.35rem; letter-spacing: 0; color: var(--ink); font-weight: 500; text-transform: none; }
.intro__ok { color: var(--copper); opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.intro.is-ok .intro__ok { opacity: 1; transform: none; }
.intro__skip { position: absolute; bottom: clamp(36px, 6vh, 64px); font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); opacity: 0; animation: fadeIn .4s .8s forwards; }
.intro.is-leaving { pointer-events: none; }
.intro.is-leaving > :not(.intro__mark) { transition: opacity .3s; opacity: 0 !important; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes flange { to { opacity: 1; transform: none; } }
@keyframes flow { 0% { opacity: 1; stroke-dashoffset: .18; } 90% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: -1; } }
@keyframes needle { to { transform: rotate(40deg); } }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, transform .5s var(--ease-out);
}
.nav.is-scrolled { border-color: var(--line); }
.nav.is-hidden { transform: translateY(-102%); }
.nav:focus-within { transform: none; }
.nav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--copper); transform: scaleX(var(--progress, 0)); transform-origin: left;
}
.nav__inner {
  display: flex; align-items: center; gap: 32px;
  height: var(--nav-h); max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
/* Feste Maße: Wände und Boden liegen auf ganzen Pixeln (main.js richtet das Zeichen zusätzlich aufs Raster aus) */
.brand__mark { width: 46px; height: 42px; flex: none; overflow: visible; }
.brand__mark .mk-house, .footer__mark .mk-house { fill: none; stroke: currentColor; stroke-width: 1.5px; vector-effect: non-scaling-stroke; stroke-linejoin: miter; }
/* Schriftzug wie im Logo: auf Höhe der Buchstaben SH */
.brand__word { height: 13px; width: auto; flex: none; position: relative; top: 6px; }
.js .brand__mark { visibility: hidden; }
.js .is-ready .brand__mark, .is-ready .brand__mark { visibility: visible; }
.nav__links { display: flex; gap: 28px; }
.nav__links a, .nav__call { font-size: .95rem; font-weight: 550; text-decoration: none; position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--copper); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__call {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border: 1.5px solid var(--ink); border-radius: 2px;
  font-family: var(--f-mono); font-size: .85rem; font-weight: 500;
  background: linear-gradient(var(--ink), var(--ink)) left bottom / 100% 0 no-repeat;
  transition: background-size .4s var(--ease-out), color .3s;
}
.nav__call svg { width: 16px; height: 16px; }
.nav__call:hover { background-size: 100% 100%; color: var(--paper); }
.nav__toggle { display: none; }

/* Bewertungs-Badge */
.rating { display: inline-flex; align-items: center; gap: 10px; flex: none; font-size: .95rem; font-weight: 600; text-decoration: none; }
.rating__star { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 2px; background: var(--copper); transition: background-color .3s, transform .5s var(--ease-out); }
.rating__star svg { width: 15px; height: 15px; fill: var(--paper); }
.rating > span:last-child { background: linear-gradient(var(--copper), var(--copper)) left bottom / 0 2px no-repeat; padding-bottom: 2px; transition: background-size .35s var(--ease-out); }
.rating:hover .rating__star { background: var(--ink); transform: rotate(72deg); }
.rating:hover > span:last-child { background-size: 100% 2px; }
.rating--hero { display: none; margin-top: 20px; }
.nav__call, .nav__toggle { flex: none; }
.mobile-menu { display: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) var(--gutter) 0;
  min-height: calc(100svh - var(--nav-h));
  display: flex; flex-direction: column;
}
.hero__frame {
  position: absolute; inset: 0 var(--gutter) auto; height: 1px; background: var(--line);
  display: flex; justify-content: space-around;
  font-family: var(--f-mono); font-size: .62rem; color: var(--ink-2);
}
.hero__frame span { transform: translateY(-50%); background: var(--paper); padding: 0 8px; line-height: 1; height: 1em; }
.hero__grid {
  flex: 1;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
  padding-block: clamp(16px, 2.4vw, 32px);
}
.hero__title {
  margin: 0;
  font-size: clamp(3rem, 1.2rem + 6.6vw, 8.2rem);
  font-weight: 800; font-stretch: 114%;
  line-height: .9; letter-spacing: -.035em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-style: normal; position: relative; display: inline-block; }
.flow-word__pipe {
  position: absolute; left: .02em; bottom: -.02em;
  width: calc(100% - .04em); height: .12em; overflow: visible;
}
.flow-word__pipe path { stroke: var(--copper); stroke-width: 24; fill: none; vector-effect: non-scaling-stroke; }
.flow-word__pipe path { stroke-width: max(6px, .1em); }
.hero__lead { max-width: 30em; margin: clamp(20px, 2.4vw, 32px) 0 0; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: var(--ink-2); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 2.6vw, 34px); }

/* Einblendung nach dem Intro */
.js .hero__title .line > span { transform: translateY(105%); }
.js .hero__lead, .js .hero__actions, .js .legend, .js .hero__foot { opacity: 0; transform: translateY(16px); }
.js .flow-word__pipe path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-ready .hero__title .line > span { transform: none; transition: transform 1.1s var(--ease-out); }
.is-ready .hero__title .line:nth-child(2) > span { transition-delay: .09s; }
.is-ready .hero__lead, .is-ready .hero__actions, .is-ready .legend, .is-ready .hero__foot { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.is-ready .hero__lead { transition-delay: .25s; }
.is-ready .hero__actions { transition-delay: .35s; }
.is-ready .legend { transition-delay: 1.1s; }
.is-ready .hero__foot { transition-delay: .55s; }
.is-ready .flow-word__pipe path { stroke-dashoffset: 0; transition: stroke-dashoffset 1s .7s var(--ease-io); }

/* Schnittzeichnung */
.hero__drawing { margin: 0; display: grid; gap: 20px; justify-items: center; }
.section-drawing { width: 100%; max-height: min(64vh, 620px); height: auto; overflow: visible; stroke-width: 1.25; }
.section-drawing .d-line { fill: none; stroke: var(--ink); stroke-linejoin: miter; }
.section-drawing rect.d-line[fill], .section-drawing [fill="#EEEAE1"] { fill: var(--paper); }
.section-drawing .d-cut { fill: url(#hatch); stroke-width: 2.1; }
.section-drawing .d-zone { fill: var(--copper); stroke: none; opacity: 0; cursor: pointer; transition: opacity .4s; }
.section-drawing .d-zone.is-hot { opacity: .14; }
.section-drawing .d-cu { fill: none; stroke: var(--copper); stroke-width: 4; stroke-linejoin: round; }
.section-drawing .d-flow { fill: none; stroke: #F3C3A3; stroke-width: 2; stroke-dasharray: 5 15; stroke-linecap: round; animation: dash 1.1s linear infinite; }
.section-drawing .d-route { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-dasharray: .1 8; animation: dash-route 2.4s linear infinite; }
.section-drawing .d-route-end { fill: var(--ink); }
.section-drawing .d-dim path { fill: none; stroke: var(--ink); stroke-width: 1; opacity: .5; }
.section-drawing .d-dim text, .section-drawing .d-label { font-family: var(--f-mono); font-size: 11px; fill: var(--ink-2); letter-spacing: .04em; }
.section-drawing .d-callout path { stroke: var(--copper); stroke-width: 1.3; fill: none; }
.section-drawing .d-callout circle { fill: var(--copper); transform-box: fill-box; transform-origin: center; transition: transform .35s var(--ease-out), fill .25s; }
.section-drawing .d-callout text { fill: var(--paper); font-family: var(--f-mono); font-weight: 500; font-size: 13px; text-anchor: middle; pointer-events: none; }
.section-drawing .d-callout.is-hot circle { transform: scale(1.25); fill: var(--ink); }
.section-drawing .d-callout.is-hot path { stroke-width: 2.4; }
.section-drawing .d-callout { cursor: pointer; }
@keyframes dash { to { stroke-dashoffset: -20; } }
@keyframes dash-route { to { stroke-dashoffset: -16.2; } }

/* Zeichnung baut sich auf */
.js .section-drawing .d-line, .js .section-drawing .d-cu { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .section-drawing .d-cut, .js .section-drawing .d-fill { fill-opacity: 0; }
.js .section-drawing .d-fill { opacity: 0; }
.js .section-drawing .d-flow, .js .section-drawing .d-route, .js .section-drawing .d-route-end,
.js .section-drawing .d-dim, .js .section-drawing .d-label, .js .section-drawing .d-callout { opacity: 0; }
.is-drawn .section-drawing .d-line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s var(--d, 0s) var(--ease-io); }
.is-drawn .section-drawing .d-cu { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s 1.1s var(--ease-io); }
.is-drawn .section-drawing .d-cut { fill-opacity: 1; transition: fill-opacity .8s calc(var(--d, 0s) + .7s); }
.is-drawn .section-drawing .d-fill { opacity: 1; fill-opacity: 1; transition: opacity 1s .9s; }
.is-drawn .section-drawing .d-flow { opacity: 1; transition: opacity .5s 2.4s; }
.is-drawn .section-drawing .d-route, .is-drawn .section-drawing .d-route-end { opacity: 1; transition: opacity .6s 2.1s; }
.is-drawn .section-drawing .d-dim, .is-drawn .section-drawing .d-label { opacity: 1; transition: opacity .8s 1.6s; }
.is-drawn .section-drawing .d-callout { opacity: 1; transition: opacity .5s 2s; }
.is-drawn .section-drawing .d-callout[data-callout="2"] { transition-delay: 2.15s; }
.is-drawn .section-drawing .d-callout[data-callout="3"] { transition-delay: 2.3s; }
/* nach dem Aufbau: Strichmuster freigeben (Türbogen etc.) */
.is-settled .section-drawing .d-line { stroke-dasharray: none; transition: none; }

.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.legend a { display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center; text-decoration: none; }
.legend b {
  grid-row: span 2; display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--copper); color: var(--paper);
  font-family: var(--f-mono); font-weight: 500; font-size: .8rem;
  transition: background-color .25s, transform .35s var(--ease-out);
}
.legend span { font-weight: 650; font-size: .92rem; line-height: 1.2; }
.legend i { font-style: normal; font-size: .82rem; color: var(--ink-2); }
.legend a:hover b, .legend a.is-hot b { background: var(--ink); transform: scale(1.12); }

.hero__foot {
  display: flex; align-items: baseline; gap: 24px;
  border-top: 1.5px solid var(--ink);
  padding: 18px 0 22px;
}
.hero__foot-label { font-size: .95rem; font-weight: 600; color: var(--ink-2); }
.hero__foot ul { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0; padding: 0; list-style: none; }
.hero__foot li { font-weight: 650; font-stretch: 110%; font-size: clamp(.98rem, .9rem + .4vw, 1.2rem); }
.hero__foot li + li::before { content: "/"; margin: 0 .7em; color: var(--copper); font-weight: 400; }

/* ==========================================================================
   LEISTUNGEN — Leistungsverzeichnis
   ========================================================================== */
.ledger { list-style: none; margin: 0; padding: 0; border-bottom: 1.5px solid var(--ink); }
.ledger__item { border-top: 1.5px solid var(--ink); position: relative; }
.ledger__item::before {
  content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 3px;
  background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out);
}
.ledger__item:hover::before, .ledger__item.is-open::before { transform: scaleX(1); }
.ledger__short { color: var(--ink-2); font-size: 1rem; text-align: right; }
.ledger__head {
  display: grid; grid-template-columns: 88px minmax(0, 1fr) minmax(0, 280px) 44px;
  align-items: center; gap: 24px;
  width: 100%; padding: clamp(18px, 2vw, 28px) 0;
  background: none; border: 0; text-align: left; cursor: pointer;
}
.ledger__no { font-family: var(--f-mono); font-size: .9rem; color: var(--ink-2); transition: color .25s; }
.ledger__title {
  font-size: clamp(1.6rem, 1rem + 2.2vw, 3rem);
  font-weight: 780; font-stretch: 112%; line-height: 1; letter-spacing: -.025em;
  transition: transform .5s var(--ease-out);
  min-width: 0; overflow-wrap: break-word; hyphens: manual;
}
.ledger__title .amp { font-weight: 300; }
.ledger__toggle { position: relative; width: 44px; height: 44px; justify-self: end; transition: transform .5s var(--ease-out), color .25s; }
.ledger__toggle::before, .ledger__toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 1.5px; background: currentColor;
  transform: translate(-50%, -50%); transition: transform .5s var(--ease-out);
}
.ledger__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.ledger__head:hover .ledger__title { transform: translateX(10px); }
.ledger__head:hover .ledger__no, .ledger__item.is-open .ledger__no { color: var(--copper); }
.ledger__head:hover .ledger__toggle { color: var(--copper); transform: rotate(90deg); }
.ledger__item.is-open .ledger__toggle { color: var(--copper); transform: none; }
.ledger__item.is-open .ledger__toggle::after { transform: translate(-50%, -50%) rotate(0deg); }

.js .ledger__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.js .ledger__item.is-open .ledger__body { grid-template-rows: 1fr; }
.ledger__body > .ledger__inner { overflow: hidden; }
.ledger__inner {
  display: grid; grid-template-columns: 88px minmax(0, 1fr) 140px;
  gap: 24px clamp(24px, 5vw, 72px);
}
.ledger__inner::before { content: ""; }
.ledger__list { list-style: none; margin: 0 0 clamp(20px, 2.4vw, 32px); padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.ledger__list li { display: flex; gap: 16px; padding: 11px 32px 11px 0; border-top: 1px solid var(--line); font-weight: 520; font-size: 1.05rem; }
.ledger__list span { flex: none; width: 2.6em; font-family: var(--f-mono); font-size: .8rem; color: var(--copper); padding-top: .2em; }
.ledger__icon { width: 140px; height: 140px; color: var(--ink); align-self: start; }
.drip { animation: drip 2.4s ease-in infinite; transform-box: fill-box; transform-origin: top; }
@keyframes drip {
  0%, 30% { transform: translateY(-6px) scale(.2); opacity: 0; }
  45% { transform: translateY(0) scale(1); opacity: 1; }
  85% { transform: translateY(18px) scale(1); opacity: 1; }
  100% { transform: translateY(24px) scale(1); opacity: 0; }
}

/* ==========================================================================
   EIN ANRUF — dunkle Fläche
   ========================================================================== */
.onecall {
  max-width: none;
  background: var(--night);
  color: var(--paper);
  position: relative;
}
.onecall__grid {
  position: relative;
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 88px); align-items: start;
}
.onecall__lead { max-width: 30em; margin: clamp(18px, 2.2vw, 28px) 0 0; color: rgba(238, 234, 225, .78); font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); }
.plan { border-top: 1.5px solid rgba(238, 234, 225, .9); padding-top: 22px; }
.plan__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; margin-bottom: 20px; }
.plan__title { margin: 0; font-weight: 700; font-stretch: 110%; font-size: 1.15rem; }
.plan__sub { margin: 0; color: rgba(238, 234, 225, .6); font-size: .95rem; }
.plan__grid { display: grid; }
.plan__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(238, 234, 225, .14); }
.plan__row--days { padding: 0 0 10px; border-bottom-color: rgba(238, 234, 225, .4); }
.plan__days { display: grid; grid-template-columns: repeat(3, 1fr); font-family: var(--f-mono); font-size: .78rem; color: rgba(238, 234, 225, .6); }
.plan__days span { padding-left: 8px; }
.plan__task { display: grid; gap: 2px; }
.plan__task b { font-weight: 680; font-size: 1.05rem; }
.plan__task i { font-style: normal; font-size: .88rem; color: rgba(238, 234, 225, .62); line-height: 1.35; }
.plan__track {
  position: relative; height: 34px;
  background-image: linear-gradient(90deg, rgba(238, 234, 225, .14) 1px, transparent 1px);
  background-size: calc(100% / 3) 100%;
}
.plan__bar {
  position: absolute; top: 9px; height: 16px;
  left: calc(var(--from) / 3 * 100% + 2px); width: calc((var(--to) - var(--from)) / 3 * 100% - 4px);
  background: var(--copper-light);
  transform-origin: left; transition: transform .9s var(--ease-out);
}
.js .plan .plan__bar { transform: scaleX(0); }
.plan.is-in .plan__bar { transform: none; }
.plan.is-in .plan__row:nth-child(2) .plan__bar { transition-delay: .35s; }
.plan.is-in .plan__row:nth-child(3) .plan__bar { transition-delay: .8s; }
.plan.is-in .plan__row:nth-child(4) .plan__bar { transition-delay: 1.25s; }
.plan__note { margin: 20px 0 0; font-size: .88rem; color: rgba(238, 234, 225, .6); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ==========================================================================
   ABLAUF — Ventile
   ========================================================================== */
.valves {
  --pipe-y: 43px;
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
  position: relative;
}
.valves::before, .valves::after { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--pipe-y) - 5px); height: 10px; }
.valves::before { border-block: 1.5px solid var(--ink); }
.valves::after { top: calc(var(--pipe-y) - 3px); height: 6px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform 2.6s var(--ease-io); }
.valves.is-on::after { transform: scaleX(1); }
.valve { position: relative; padding-top: 84px; }
.valve__icon { position: absolute; top: 0; left: 0; width: 72px; height: 62.4px; overflow: visible; z-index: 1; }
.valve__body { fill: var(--paper); stroke: var(--ink); stroke-width: 2; stroke-linejoin: miter; transition: fill .4s; }
.valve__stem { stroke: var(--ink); stroke-width: 2; }
.valve__handle { transform-box: fill-box; transform-origin: center; transition: transform .7s cubic-bezier(.3, 1.4, .5, 1); }
.valve__handle path { stroke: var(--ink); stroke-width: 4; stroke-linecap: square; }
.valve__handle { transform: rotate(90deg); }
.valves.is-on .valve__handle { transform: rotate(0deg); }
.valves.is-on .valve__body { fill: var(--copper); }
.valves.is-on .valve:nth-child(1) * { transition-delay: .1s; }
.valves.is-on .valve:nth-child(2) * { transition-delay: .85s; }
.valves.is-on .valve:nth-child(3) * { transition-delay: 1.6s; }
.valves.is-on .valve:nth-child(4) * { transition-delay: 2.35s; }
.valve__no { font-family: var(--f-mono); font-size: .8rem; color: var(--copper); }
.valve h3 { margin: 6px 0 10px; font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem); font-weight: 760; font-stretch: 112%; letter-spacing: -.02em; line-height: 1; }
.valve p { margin: 0; color: var(--ink-2); max-width: 24em; }

/* ==========================================================================
   PRÜFPROTOKOLL
   ========================================================================== */
.protocol__sheet {
  position: relative;
  overflow: hidden;
  background: var(--sheet);
  border: 1.5px solid var(--ink);
  padding: clamp(24px, 3.6vw, 52px);
  box-shadow: 7px 7px 0 -1px var(--paper), 7px 7px 0 0 var(--line-strong);
}
.protocol__head { margin-bottom: clamp(24px, 3vw, 40px); max-width: 62rem; }
.protocol .pos { border-top: 0; padding-top: 0; }
.check__box { width: 30px; height: 30px; }
.check__box rect { fill: none; stroke: var(--ink); stroke-width: 2; }
.check__tick { fill: none; stroke: var(--copper); stroke-width: 3.5; stroke-linecap: square; stroke-dasharray: 1; stroke-dashoffset: 1; }
.check.is-checked .check__tick { stroke-dashoffset: 0; transition: stroke-dashoffset .45s var(--ease-out); }
html:not(.js) .check__tick { stroke-dashoffset: 0; }
.pt-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 22px; border: 1px solid var(--line-strong); }
.pt-meta div { padding: 10px 14px; border-right: 1px solid var(--line-strong); }
.pt-meta div:last-child { border-right: 0; }
.pt-meta dt { font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.pt-meta dd { margin: 0; font-weight: 650; }
.ptable { width: 100%; border-collapse: collapse; }
.ptable thead th { text-align: left; font-size: .82rem; font-weight: 650; color: var(--ink-2); padding: 0 16px 10px 0; border-bottom: 1.5px solid var(--ink); }
.ptable thead th:last-child { text-align: center; padding-right: 0; }
.ptable td, .ptable tbody th { padding: 15px 16px 15px 0; border-bottom: 1px solid var(--line-strong); vertical-align: top; text-align: left; }
.pt__no { width: 56px; font-family: var(--f-mono); font-size: .85rem; color: var(--copper); padding-top: 21px !important; }
.pt__item { width: 24%; font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem); font-weight: 760; font-stretch: 112%; letter-spacing: -.01em; line-height: 1.2; }
.pt__req { color: var(--ink-2); max-width: 34em; }
.pt__ok { width: 64px; padding-right: 0 !important; }
.pt__ok .check__box { margin: 2px auto 0; }
.pt-sign { display: flex; justify-content: flex-start; margin-top: clamp(18px, 2.2vw, 28px); }
.pt-sign__field { width: min(340px, 100%); display: grid; gap: 6px; }
.pt-sign__field span { padding-top: 8px; border-top: 1.5px solid var(--ink); font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.sig { width: 220px; height: 70px; overflow: visible; }
.sig path { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.js .sig path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-signed .sig path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s cubic-bezier(.5, 0, .3, 1); }
.stamp {
  position: absolute; right: clamp(16px, 5vw, 80px); bottom: clamp(20px, 3vw, 44px);
  width: clamp(150px, 16vw, 220px); height: auto;
  transform: rotate(-9deg) scale(1.6); opacity: 0;
  mix-blend-mode: multiply;
}
html:not(.js) .stamp { opacity: .9; transform: rotate(-9deg); }
.stamp.is-down { opacity: .92; transform: rotate(-9deg) scale(1); transition: transform .28s cubic-bezier(.5, 0, .7, 1.4), opacity .12s; }

/* ==========================================================================
   KONTAKT
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 88px); align-items: start; }
.contact__lead { margin: 16px 0 24px; color: var(--ink-2); max-width: 28em; }
.contact__facts { margin: 0; border-top: 1.5px solid var(--ink); }
.contact__facts div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.contact__facts dt { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.contact__facts dd { margin: 0; font-weight: 600; }
.contact__facts a { text-decoration: none; background: linear-gradient(var(--copper), var(--copper)) left bottom / 0 2px no-repeat; transition: background-size .35s var(--ease-out); }
.contact__facts a:hover { background-size: 100% 2px; }

.form { display: grid; gap: 18px; background: var(--sheet); border: 1.5px solid var(--ink); padding: clamp(20px, 2.6vw, 36px); }
.form__chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__chips legend, .field > span { font-size: .88rem; font-weight: 650; color: var(--ink); margin-bottom: 8px; padding: 0; }
.form__chips label { position: relative; cursor: pointer; }
.form__chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.form__chips label span {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 2px;
  font-weight: 600; font-size: .95rem; transition: background-color .2s, color .2s;
}
.form__chips label span::before { content: ""; width: 9px; height: 9px; border: 1.5px solid currentColor; transition: background-color .2s; }
.form__chips input:checked + span { background: var(--ink); color: var(--paper); }
.form__chips input:checked + span::before { background: var(--copper-light); border-color: var(--copper-light); }
.form__chips input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 3px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; }
.field i { font-style: normal; font-weight: 400; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0;
  background: transparent; padding: 10px 0; font: inherit; color: var(--ink);
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 1.5px 0 var(--copper); }
.field input::placeholder, .field textarea::placeholder { color: #666C68; opacity: 1; }
.field.is-invalid input { border-color: var(--copper); box-shadow: 0 1.5px 0 var(--copper); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__hint a { text-underline-offset: 3px; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.form__status.is-ok { font-family: var(--f-sans); font-size: 1.05rem; font-weight: 650; color: var(--ink); }
.form.is-sent > :not(.form__status) { display: none; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
.form__hint { margin: 0; font-size: .85rem; color: var(--ink-2); max-width: 22em; }
.form__status { margin: 0; font-family: var(--f-mono); font-size: .8rem; color: var(--copper); min-height: 1.2em; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--night); color: var(--paper); position: relative; overflow: hidden; }
.footer__inner { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(56px, 6vw, 96px) var(--gutter) 24px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 120px); align-items: end; }
.footer__claim {
  margin: 0 0 clamp(28px, 3.5vw, 48px);
  font-size: clamp(2.4rem, 1rem + 4.6vw, 6rem);
  font-weight: 800; font-stretch: 114%; line-height: .9; letter-spacing: -.035em;
}
.footer__phone { display: inline-grid; gap: 6px; text-decoration: none; }
.footer__phone-k { font-size: .95rem; font-weight: 600; color: rgba(238, 234, 225, .6); }
.footer__phone-v {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: clamp(1.7rem, 1.1rem + 2vw, 2.8rem); font-weight: 700; font-stretch: 110%; letter-spacing: -.01em;
  padding-bottom: 6px;
  background: linear-gradient(var(--copper-light), var(--copper-light)) left bottom / 100% 3px no-repeat;
  transition: color .25s, background-size .5s var(--ease-out);
}
.footer__phone:hover .footer__phone-v { color: var(--copper-light); }
.footer__mail { display: table; margin-top: 18px; font-weight: 550; color: rgba(238, 234, 225, .78); text-decoration: none; transition: color .25s; }
.footer__mail:hover { color: var(--paper); }

.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer__cols h3 {
  margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(238, 234, 225, .18);
  font-size: .95rem; font-weight: 650; color: rgba(238, 234, 225, .55);
}
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__cols li { color: rgba(238, 234, 225, .7); font-size: .95rem; line-height: 1.4; }
.footer__cols a { color: var(--paper); text-decoration: none; font-weight: 550; position: relative; }
.footer__cols a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px; background: var(--copper-light); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.footer__cols a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Leitung, die im Monogramm endet */
.footer__line { display: flex; align-items: center; margin: clamp(36px, 4.5vw, 64px) 0 clamp(20px, 2.4vw, 28px); }
.footer__pipe {
  flex: 1; position: relative; height: 16px;
  border-block: 1.5px solid rgba(238, 234, 225, .55);
}
.footer__pipe::before { content: ""; position: absolute; left: 0; top: -9px; width: 7px; height: 31px; background: rgba(238, 234, 225, .55); }
.footer__flow { position: absolute; left: 7px; right: 0; top: 4px; height: 5px; background: var(--copper-light); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease-io); }
.footer__line.is-on .footer__flow { transform: scaleX(1); }
.footer__mark { flex: none; width: 160px; height: 132px; color: var(--paper); margin-left: -5px; overflow: visible; }
/* Das ganze Logo wie in der Datei: Linie in Logo-Stärke */
.footer__mark--full .mk-house { fill: none; stroke: currentColor; stroke-width: 1.38; vector-effect: none; stroke-linejoin: miter; }
html:not(.js) .footer__flow { transform: none; }

.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px;
  padding-top: 20px; border-top: 1px solid rgba(238, 234, 225, .18);
  font-size: .85rem; color: rgba(238, 234, 225, .55);
}
.footer__legal { display: flex; gap: 22px; }
.footer__legal a { color: rgba(238, 234, 225, .85); text-decoration: none; }
.footer__legal a:hover { color: var(--copper-light); }

/* ==========================================================================
   WHATSAPP — schwebender Knopf unten rechts
   ========================================================================== */
.wa {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: inline-flex; align-items: center; height: 56px; padding: 0 16px;
  background: var(--ink); color: var(--paper); border-radius: 2px;
  box-shadow: 0 0 0 1.5px var(--paper);
  font-weight: 650; font-stretch: 108%; font-size: .95rem; text-decoration: none;
  transition: background-color .3s, opacity .6s, transform .6s var(--ease-out);
}
.wa svg { flex: none; width: 24px; height: 24px; fill: currentColor; }
.wa__label { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .45s var(--ease-out), opacity .3s, margin-left .45s var(--ease-out); }
.wa:hover, .wa:focus-visible { background: var(--copper); }
.wa:hover .wa__label, .wa:focus-visible .wa__label { max-width: 7em; opacity: 1; margin-left: 12px; }
.js .wa { opacity: 0; transform: translateY(14px); }
.js .is-ready .wa { opacity: 1; transform: none; transition-delay: 0s, 1.2s, 1.2s; }
.js .is-settled .wa { transition-delay: 0s; }
.footer__base { padding-right: 64px; }

.callbar { display: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .rating--nav { display: none; }
  .rating--hero { display: inline-flex; }
  .nav__toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
    background: var(--ink); color: var(--paper); border: 0; border-radius: 2px; font-weight: 650; cursor: pointer;
  }
  .mobile-menu:not([hidden]) {
    display: grid; padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line); background: var(--paper);
  }
  .mobile-menu a { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 750; font-stretch: 112%; font-size: 1.5rem; }
  .mobile-menu__call { font-family: var(--f-mono); font-size: 1rem !important; color: var(--copper); border-bottom: 0 !important; }

  .hero__grid { grid-template-columns: 1fr; }
  .ledger__short { display: none; }
  .section-drawing { max-height: 70vh; }
  .ledger__head { grid-template-columns: 56px minmax(0, 1fr) 44px; }
  .ledger__inner { grid-template-columns: 56px minmax(0, 1fr); }
  .ledger__icon { display: none; }
  .onecall__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .brand__word { height: 11.5px; top: 5px; }
  /* Handy: statt des schwebenden Knopfs eine Leiste mit Anrufen + WhatsApp */
  .wa { display: none; }
  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr;
    background: var(--paper); border-top: 1.5px solid var(--ink);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    transform: translateY(105%); transition: transform .5s var(--ease-out);
  }
  .show-callbar .callbar, html:not(.js) .callbar { transform: none; }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; font-weight: 650; font-stretch: 108%; text-decoration: none; }
  .callbar svg { width: 20px; height: 20px; }
  .callbar__call { background: var(--ink); color: var(--paper); }
  .callbar__call svg { fill: none; stroke: currentColor; stroke-width: 1.6; }
  .callbar__wa svg { fill: currentColor; }
  .footer__inner { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  .footer__base { padding-right: 0; }
  .brand__word { font-size: 1rem; }
  .nav__call span { display: none; }
  .nav__call { padding: 0; width: 44px; height: 44px; justify-content: center; }
  .nav__inner { gap: 10px; }
  .hero__frame { display: none; }
  .hero__title { font-size: clamp(2.6rem, 12.5vw, 4.4rem); }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero__foot { flex-direction: column; gap: 8px; }
  .hero__foot ul { flex-direction: column; }
  .hero__foot li::before, .hero__foot li + li::before { content: "—"; margin: 0 .6em 0 0; color: var(--copper); font-weight: 400; }
  .legend { justify-content: flex-start; flex-direction: column; align-items: flex-start; width: 100%; gap: 12px; }
  .ledger__head { grid-template-columns: 34px minmax(0, 1fr) 32px; gap: 12px; }
  .ledger__toggle { width: 32px; height: 44px; }
  .ledger__toggle::before, .ledger__toggle::after { width: 22px; }
  .ledger__title { font-size: 1.45rem; }
  .ledger__inner { grid-template-columns: 1fr; gap: 0; }
  .ledger__list { grid-template-columns: 1fr; }
  .ledger__list li { padding-right: 0; }
  .ledger__inner::before { display: none; }
  .valves { grid-template-columns: 1fr; gap: 36px; }
  .valves::before, .valves::after { left: 31px; right: auto; top: 30px; bottom: 30px; width: 10px; height: auto; border-block: 0; }
  .valves::before { border-inline: 1.5px solid var(--ink); }
  .valves::after { left: 33px; width: 6px; transform: scaleY(0); transform-origin: top; }
  .valves.is-on::after { transform: scaleY(1); }
  .valve { padding: 6px 0 0 96px; min-height: 70px; }
  .valve__icon { transform: rotate(90deg); transform-origin: 36px 43.2px; top: -7px; }
  .ptable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ptable tr { display: grid; grid-template-columns: 34px minmax(0, 1fr) 36px; column-gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line-strong); }
  .ptable td, .ptable tbody th { padding: 0 !important; border: 0; width: auto; }
  .pt__no { padding-top: 6px !important; }
  .pt__req { grid-column: 2 / 4; grid-row: 2; margin-top: 6px; }
  .pt__ok { grid-column: 3; grid-row: 1; }
  .pt-meta { grid-template-columns: 1fr; }
  .pt-meta div { border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .pt-meta div:last-child { border-bottom: 0; }
  .plan__row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .plan__row--days > span:first-child { display: none; }
  .stamp { position: relative; right: auto; bottom: auto; margin: 24px 0 0 auto; display: block; }
  .form__row { grid-template-columns: 1fr; }
  .contact__facts div { grid-template-columns: 1fr; gap: 2px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__cols > div:last-child { grid-column: 1 / -1; }
  .footer__base { flex-direction: column; }
}

@media (max-width: 359px) {
  .brand__word { display: none; }
  .h2 { font-size: 1.95rem; hyphens: auto; }
  .hero__title { font-size: 2.4rem; }
  .ledger__title { font-size: 1.45rem; hyphens: auto; }
}

/* ==========================================================================
   BEWEGUNG REDUZIEREN
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html:not(.force-motion) *, html:not(.force-motion) *::before, html:not(.force-motion) *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  html:not(.force-motion) .section-drawing .d-flow, html:not(.force-motion) .section-drawing .d-route { animation: none !important; }
}
