/* Webdesign Bocholt – Gestaltungssystem
   Marke: Farben, Roboto, Piktogramme und Fan-Siegel der Stadtmarke Bocholt (markenportal.bocholt.de).
   Bocholt-Grün (#65B32E) ist der Stadtverwaltung vorbehalten und wird bewusst NICHT genutzt.
   System: weiße Fläche, darauf große abgerundete Flächen mit einheitlichem Randabstand (--inset).
   Die Blattform (zwei große, zwei kleine Ecken) ist Signatur und bleibt Hero, SEO-Block, Logo und Icons vorbehalten. */

@font-face { font-family: "Roboto"; font-weight: 300; font-display: swap; src: url("../fonts/roboto-300.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 400; font-display: swap; src: url("../fonts/roboto-400.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 500; font-display: swap; src: url("../fonts/roboto-500.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 700; font-display: swap; src: url("../fonts/roboto-700.woff2") format("woff2"); }

:root {
  --tanne: #006046;
  --tanne-tief: #00352a;
  --see: #00a984;
  --kuerbis: #ec6608;
  --mint: #a6e8d5;
  --ink: #0f1512;
  --ink-2: #5b635f;
  --ink-3: #8b928e;
  --ink-soft: var(--ink-2);
  --surface: #f5f5f1;
  --sand: var(--surface);
  --line: rgba(15, 21, 18, .1);

  --inset: clamp(8px, 1vw, 14px);        /* Abstand der großen Flächen zum Seitenrand */
  --r-s: 14px;
  --r-m: clamp(18px, 1.8vw, 26px);
  --r-l: clamp(24px, 2.6vw, 40px);
  --leaf: clamp(56px, 9vw, 160px);       /* große Ecke der Blattform */
  --max: 1320px;
  --pad: clamp(20px, 4.5vw, 64px);
  --sec: clamp(88px, 11vw, 176px);
  --shadow-s: 0 0 0 1px rgba(15, 21, 18, .05), 0 2px 6px rgba(15, 21, 18, .04), 0 12px 32px rgba(15, 21, 18, .06);
  --shadow-l: 0 0 0 1px rgba(15, 21, 18, .05), 0 4px 12px rgba(15, 21, 18, .05), 0 32px 72px rgba(15, 21, 18, .14);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font: "Roboto", Arial, sans-serif;   /* Arial = sekundäre Hausschrift */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 1.15rem + 3.5vw, 4.25rem); line-height: 1.03; letter-spacing: -.04em; }
h3 { font-size: clamp(1.2rem, 1.1rem + .35vw, 1.4rem); line-height: 1.2; letter-spacing: -.02em; }
:focus-visible { outline: 2px solid var(--kuerbis); outline-offset: 3px; }
::selection { background: var(--tanne); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 99px; z-index: 100; }
.skip:focus { left: 8px; }

.container { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.sec { padding-block: var(--sec); }
.sec--sand, .sec--dark { margin: var(--inset) var(--inset) 0; border-radius: var(--r-l); }
.sec--sand { background: var(--surface); }
.sec--dark { color: #fff; background: radial-gradient(80% 55% at 85% 0%, #0b5b46 0%, rgba(11, 91, 70, 0) 70%), var(--tanne-tief); }
.label { display: block; font-size: .95rem; font-weight: 500; letter-spacing: -.005em; color: var(--tanne); margin-bottom: clamp(16px, 2vw, 26px); }
.sec--dark .label { color: var(--mint); }
.lead { font-size: clamp(1.15rem, 1.02rem + .55vw, 1.45rem); line-height: 1.42; letter-spacing: -.012em; color: var(--ink-2); }
.sec--dark .lead { color: rgba(255, 255, 255, .72); }
h2 + .lead { margin-top: 26px; }
.head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px clamp(32px, 6vw, 104px); align-items: end; margin-bottom: clamp(44px, 6vw, 88px); }
.head .lead { margin: 0 0 .35em; }
.mask { display: block; background: currentColor; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: 1.05em 1.65em; border-radius: 999px; font: 500 1.02rem/1 var(--font); letter-spacing: -.005em; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: background .3s, color .3s, box-shadow .3s, transform .3s var(--ease); }
.btn:active { transform: scale(.97); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--mint); }
.btn--glass { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn--glass:hover { background: rgba(255, 255, 255, .26); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--tanne); }
.btn--tanne { background: var(--tanne); color: #fff; }
.btn--tanne:hover { background: var(--tanne-tief); }
.arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Header – schwebende Glasleiste */
.hdr { position: fixed; top: calc(var(--inset) + 12px); left: 0; right: 0; z-index: 50; padding-inline: calc(var(--inset) + 12px); pointer-events: none; }
.hdr__inner { position: relative; pointer-events: auto; max-width: 1160px; margin-inline: auto; height: 60px; padding: 0 9px 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: 999px; background: rgba(255, 255, 255, .8); backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px); box-shadow: 0 0 0 1px rgba(15, 21, 18, .06), 0 10px 36px rgba(15, 21, 18, .1); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__mark { width: 26px; height: 26px; flex: none; color: var(--tanne); }
.brand__name { font-weight: 500; font-size: 1.05rem; line-height: 1.15; letter-spacing: -.02em; white-space: nowrap; }
.brand__name small { display: block; font-size: .76rem; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.hdr .brand__name { display: flex; align-items: baseline; gap: 10px; }
.hdr .brand__name small { font-size: .8rem; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) { text-decoration: none; font-size: .93rem; color: var(--ink-2); padding: 9px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:not(.btn):hover { color: var(--ink); background: rgba(15, 21, 18, .055); }
.nav .btn { font-size: .93rem; padding: .85em 1.25em; margin-left: 10px; }
.nav-toggle { display: none; position: relative; width: 42px; height: 42px; border-radius: 50%; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); transition: background .3s; }
.nav-toggle[aria-expanded="true"] { background: rgba(15, 21, 18, .06); }
.nav-toggle span { position: absolute; left: 11px; top: 20px; width: 20px; height: 1.75px; border-radius: 2px; background: currentColor; transform: translateY(-4px); transition: transform .5s var(--ease-out); }
.nav-toggle span + span { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span + span { transform: rotate(-45deg); }
@media (max-width: 1120px) { .hdr .brand__name small { display: none; } }
@media (max-width: 920px) {
  .hdr__inner { height: 56px; padding: 0 7px 0 16px; }
  .nav-toggle { display: block; }
  /* zu: unsichtbar und nicht fokussierbar (visibility), auf: Karte wächst von oben, Einträge folgen kurz versetzt */
  .nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 10px 14px 14px; border-radius: 28px; box-shadow: var(--shadow-l); transform-origin: 50% 0; opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.97); transition: opacity .25s ease, transform .35s var(--ease), visibility 0s .35s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .55s var(--ease-out), visibility 0s; }
  .nav > a { opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
  .nav.is-open > a { opacity: 1; transform: none; transition: opacity .45s ease calc(60ms + var(--n, 0) * 35ms), transform .6s var(--ease-out) calc(60ms + var(--n, 0) * 35ms), color .2s, background .2s; }
  .nav > a:nth-child(2) { --n: 1; }
  .nav > a:nth-child(3) { --n: 2; }
  .nav > a:nth-child(4) { --n: 3; }
  .nav > a:nth-child(5) { --n: 4; }
  .nav > a:nth-child(6) { --n: 5; }
  .nav a:not(.btn) { padding: 15px 12px; border-radius: 14px; font-size: 1.08rem; color: var(--ink); }
  .nav .btn { margin: 10px 0 0; padding: 1.1em; font-size: 1rem; }
}

/* Hero – großes Foto in Blattform, Text unten */
.hero { padding: var(--inset) var(--inset) 0; }
.hero__media { --hero-r: var(--leaf); position: relative; min-height: max(600px, min(calc(100svh - 2 * var(--inset)), 1040px)); border-radius: var(--hero-r) var(--r-l); overflow: hidden; display: flex; align-items: flex-end; color: #fff; background: var(--tanne-tief); }
.hero__media > img { position: absolute; inset: -12% 0 0; width: 100%; height: 112%; object-fit: cover; object-position: 50% 45%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 32, 24, .28) 0%, rgba(0, 32, 24, 0) 24%, rgba(0, 44, 33, 0) 38%, rgba(0, 44, 33, .62) 66%, rgba(0, 38, 29, .95) 100%); }
.hero__content { position: relative; z-index: 1; width: 100%; padding: clamp(24px, 5vw, 76px); padding-top: 140px; display: grid; gap: clamp(24px, 3vw, 44px); }
.hero__kicker { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; font-size: .9rem; font-weight: 500; color: #fff; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hero__kicker::before { content: ""; width: 10px; height: 10px; border-radius: 45% 8% 45% 8%; background: var(--mint); }
.hero h1 { font-size: clamp(2.7rem, 7.1vw, 6.7rem); line-height: .98; letter-spacing: -.048em; margin-top: calc(-1 * clamp(4px, 1vw, 16px)); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.hero h1 .line > span { display: block; }
.hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.hero__row p { margin: 0; color: rgba(255, 255, 255, .86); font-size: clamp(1.08rem, .98rem + .5vw, 1.32rem); line-height: 1.42; letter-spacing: -.01em; max-width: 43ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__credit { margin: 0; padding: 10px var(--r-l) 0; text-align: right; font-size: .72rem; color: var(--ink-3); }
@media (max-width: 860px) {
  .hero__media { --hero-r: clamp(44px, 14vw, 72px); }
  .hero__media::after { background: linear-gradient(180deg, rgba(0, 32, 24, .25) 0%, rgba(0, 44, 33, .1) 22%, rgba(0, 44, 33, .72) 52%, rgba(0, 38, 29, .96) 100%); }
  .hero__content { padding-bottom: 28px; }
  .hero__ctas .btn { flex: 1 1 auto; }
}


/* Intro – großes Statement, füllt sich beim Scrollen */
.statement { font-size: clamp(1.85rem, 1rem + 3.3vw, 3.75rem); line-height: 1.08; letter-spacing: -.04em; max-width: 30ch; text-wrap: pretty; }
.statement .w { opacity: clamp(.16, calc((var(--p, 1) * (var(--n) + 6) - var(--i)) / 6), 1); }
.facts { list-style: none; padding: 0; margin: clamp(56px, 7vw, 104px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px clamp(24px, 4vw, 64px); }
.facts li { border-top: 1px solid var(--line); padding-top: 22px; color: var(--ink-2); line-height: 1.45; }
.facts strong { display: block; color: var(--ink); font-weight: 500; font-size: clamp(1.2rem, 1.1rem + .35vw, 1.4rem); letter-spacing: -.02em; margin-bottom: 6px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; gap: 24px; } }

/* Leistungen – Liste mit wechselnder Ansicht */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 104px); align-items: start; }
.services__media { position: sticky; top: 104px; aspect-ratio: 4 / 5; max-height: calc(100svh - 128px); border-radius: var(--r-l); overflow: hidden; background: radial-gradient(110% 80% at 15% 0%, #0b7a5b 0%, var(--tanne) 42%, var(--tanne-tief) 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); container-type: inline-size; }

/* Mini-Ansichten je Leistung (dekorativ, skaliert mit der Panelbreite) */
.vis { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 34em); place-content: center; gap: 1.2em; padding: 9%; font-size: clamp(9px, 2.55cqi, 16px); line-height: 1.35; opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .9s var(--ease); pointer-events: none; }
.vis.is-active { opacity: 1; transform: none; }
.vis b, .vis strong { font-weight: 500; }
.win { width: 34em; max-width: 100%; background: #fff; color: var(--ink); border-radius: .9em; box-shadow: 0 0 0 1px rgba(0, 25, 18, .06), 0 .4em 1em rgba(0, 25, 18, .12), 0 2em 4.4em rgba(0, 25, 18, .38); overflow: hidden; }
.win__bar { display: flex; align-items: center; gap: .4em; padding: .7em .9em; background: #f2f1ec; }
.win__bar i { width: .65em; height: .65em; border-radius: 50%; background: #d9d6cd; }
.win__bar span { margin-left: .8em; flex: 1; background: #fff; border-radius: 99px; padding: .2em .9em; font-size: .85em; color: var(--ink-soft); }
.site__nav { display: flex; align-items: center; gap: 1.1em; padding: .9em 1.2em; font-size: .9em; color: var(--ink-soft); }
.site__nav b { color: var(--ink); margin-right: auto; font-size: 1.05em; }
.site__nav em, .phone em, .product em, .focus-demo em { font-style: normal; background: var(--kuerbis); color: #fff; border-radius: 99px; padding: .45em 1em; font-weight: 500; }
.site__hero { aspect-ratio: 16 / 7.5; background: center / cover; display: flex; align-items: flex-end; padding: 1.2em; position: relative; }
.site__hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(0, 40, 30, .75)); }
.site__hero strong { position: relative; color: #fff; font-size: 1.55em; line-height: 1.1; letter-spacing: -.02em; max-width: 12em; }
.site__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; padding: 1.2em; }
.site__cols span, .phone span, .old span, .results li:not(.is-top) b, .results li:not(.is-top) span { display: block; height: .55em; border-radius: 99px; background: #ebe8e0; }
.site__cols span { height: 3.2em; border-radius: .4em; }
.phone { position: absolute; right: 7%; bottom: 9%; width: 10.5em; padding: .55em .55em 1em; background: #fff; border-radius: 1.4em; border: .35em solid #1d2420; box-shadow: 0 1.4em 3em rgba(0, 25, 18, .45); display: grid; gap: .55em; font-size: .9em; }
.phone__hero { aspect-ratio: 1; border-radius: .8em; background: center / cover; }
.phone b { padding-inline: .3em; }
.phone span { margin-inline: .3em; }
.phone span + span { width: 60%; }
.phone em { justify-self: start; margin-left: .3em; font-size: .85em; }

.search { display: flex; align-items: center; gap: .7em; margin: 1em; padding: .75em 1.1em; border: 1px solid var(--line); border-radius: 99px; box-shadow: 0 .2em .8em rgba(0, 0, 0, .06); }
.search svg { width: 1.2em; height: 1.2em; fill: none; stroke: var(--ink-soft); stroke-width: 2; stroke-linecap: round; }
.map { position: relative; height: 11em; background-color: #e9efe9; background-image: linear-gradient(105deg, transparent 46%, #fff 46%, #fff 49%, transparent 49%), linear-gradient(8deg, transparent 58%, #fff 58%, #fff 61%, transparent 61%), linear-gradient(160deg, transparent 30%, #cfe6f0 30%, #cfe6f0 36%, transparent 36%), repeating-linear-gradient(90deg, transparent 0 3.4em, rgba(255, 255, 255, .7) 3.4em 3.55em), repeating-linear-gradient(0deg, transparent 0 3em, rgba(255, 255, 255, .7) 3em 3.15em); }
.pin { position: absolute; width: 1.3em; height: 1.3em; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #8b938f; left: 22%; top: 58%; }
.pin:nth-child(3) { left: 72%; top: 30%; }
.pin--top { background: var(--kuerbis); width: 2em; height: 2em; left: 47%; top: 26%; box-shadow: 0 0 0 .5em rgba(236, 102, 8, .2); }
.results { list-style: none; margin: 0; padding: .4em 0 .8em; }
.results li { display: grid; gap: .35em; padding: .8em 1.2em; }
.results li + li { border-top: 1px solid var(--line); }
.results li:not(.is-top) b { width: 45%; height: .7em; }
.results li:not(.is-top) span { width: 70%; }
.results .is-top { background: #fdf3ec; }
.results .is-top b { font-size: 1.1em; display: flex; align-items: center; gap: .6em; }
.results small { font-size: .7em; background: var(--kuerbis); color: #fff; padding: .2em .7em; border-radius: 99px; }
.results .is-top span { font-size: .9em; color: var(--ink-soft); }
.results em { font-style: normal; color: var(--kuerbis); letter-spacing: .05em; }
.results .is-top .open { color: var(--tanne); }

.vis--relaunch .win { width: 28em; }
.win--old { justify-self: start; filter: grayscale(1) brightness(.94); transform: rotate(-2deg); }
.old { padding: 1em 1.2em 1.3em; font: .9em/1.5 "Times New Roman", serif; color: #333; display: grid; gap: .5em; }
.old b { font-weight: 700; font-size: 1.15em; }
.old p { margin: 0; }
.old u { color: #1a3fbf; }
.win--new { justify-self: end; margin-top: -4em; position: relative; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1em; color: #fff; }
.stats li { font-size: .9em; color: rgba(255, 255, 255, .8); border-top: 1px solid rgba(255, 255, 255, .25); padding-top: .7em; }
.stats b { display: block; font-size: 2em; color: #fff; letter-spacing: -.02em; line-height: 1.1; }

.product { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4em; padding: 1.4em; align-items: center; }
.product__img { aspect-ratio: 3 / 4; background: #f2f1ec; display: grid; place-items: center; padding: 14%; border-radius: .4em; }
.product__img span { width: 100%; height: 100%; background: center / cover; box-shadow: 0 .6em 1.2em rgba(0, 0, 0, .25); border: .4em solid #fff; }
.product__info { display: grid; gap: .6em; justify-items: start; }
.product__info small { color: var(--ink-soft); }
.product__info b { font-size: 1.35em; line-height: 1.15; letter-spacing: -.01em; }
.product__info strong { font-size: 1.2em; }
.chips { display: flex; flex-wrap: wrap; gap: .4em; font-size: .8em; }
.chips span { border: 1px solid var(--line); border-radius: 99px; padding: .3em .8em; }
.chips .is-on { border-color: var(--tanne); color: var(--tanne); }
.toast { justify-self: end; margin-top: -2.2em; position: relative; background: var(--ink); color: #fff; padding: .7em 1.2em; border-radius: .6em; box-shadow: 0 1em 2em rgba(0, 0, 0, .3); }

.vis--a11y .win { padding: 1.4em; display: grid; gap: 1.2em; }
.a11y__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; }
.a11y__head b { font-size: 1.15em; }
.a11y__head span { font-size: .85em; color: var(--ink-soft); }
.contrast { display: flex; align-items: center; gap: 1.1em; background: var(--sand); border-radius: .6em; padding: .9em; }
.contrast .aa { flex: none; width: 2.6em; height: 2.6em; display: grid; place-items: center; background: var(--tanne); color: #fff; font-size: 1.6em; font-weight: 500; border-radius: .3em; }
.contrast div { font-size: .9em; color: var(--ink-soft); }
.contrast b { display: block; font-size: 1.5em; color: var(--ink); }
.contrast small { margin-left: .6em; background: var(--tanne); color: #fff; padding: .1em .6em; border-radius: 99px; font-weight: 500; }
.checks-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: .6em; }
.checks-mini li { display: flex; gap: .7em; align-items: center; }
.checks-mini li::before { content: "✓"; flex: none; width: 1.5em; height: 1.5em; display: grid; place-items: center; border-radius: 50%; background: #e3f4ee; color: var(--tanne); font-size: .85em; font-weight: 700; }
.focus-demo { display: flex; align-items: center; gap: 1em; }
.focus-demo kbd { font: 500 .85em var(--font); border: 1px solid var(--line); border-bottom-width: 3px; border-radius: .4em; padding: .3em .7em; color: var(--ink-soft); }
.focus-demo em { outline: .18em solid var(--kuerbis); outline-offset: .25em; }

.vis--host .win { padding: 1.4em; display: grid; gap: 1.3em; }
.status { display: flex; align-items: center; gap: .7em; font-size: 1.2em; }
.status i { width: .8em; height: .8em; border-radius: 50%; background: var(--see); box-shadow: 0 0 0 .3em rgba(0, 169, 132, .2); }
.uptime span { display: block; height: 2.4em; background: repeating-linear-gradient(90deg, var(--see) 0 .45em, transparent .45em .65em); border-radius: .2em; }
.uptime small { display: flex; justify-content: space-between; margin-top: .5em; font-size: .85em; color: var(--ink-soft); }
.uptime small b { color: var(--ink); }
.rows { margin: 0; display: grid; }
.rows div { display: flex; justify-content: space-between; gap: 1em; padding: .65em 0; border-top: 1px solid var(--line); }
.rows dt { color: var(--ink-soft); }
.rows dd { margin: 0; text-align: right; }
.services__head { margin-bottom: clamp(28px, 4vw, 52px); }
.svc { list-style: none; margin: 0; padding: 0; }
.svc li { position: relative; border-top: 1px solid var(--line); }
.svc li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--tanne); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.svc li.is-active::before { transform: scaleX(1); }
.svc button { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: 48px 1fr; gap: 6px 8px; padding: clamp(20px, 2.2vw, 30px) 0; opacity: .42; transition: opacity .45s var(--ease); }
.svc li.is-active button, .svc button:focus-visible { opacity: 1; }
.svc button:hover { opacity: .85; }
.svc li.is-active button:hover { opacity: 1; }
.svc button:focus-visible { outline: 2px solid var(--kuerbis); outline-offset: 4px; border-radius: 6px; }
.svc__nr { font-size: .85rem; color: var(--ink-2); padding-top: .55em; font-variant-numeric: tabular-nums; }
.svc__title { display: block; font-weight: 500; letter-spacing: -.03em; line-height: 1.12; font-size: clamp(1.4rem, 1.1rem + 1vw, 2.05rem); }
.svc__desc { display: block; grid-column: 2; color: var(--ink-2); font-size: 1.04rem; line-height: 1.5; max-width: 46ch; }
@media (max-width: 860px) {
  .services { grid-template-columns: 1fr; }
  .services > .reveal:last-child { display: contents; }
  .services__head { order: 1; margin-bottom: 0; }
  .services__media { order: 2; position: relative; top: 0; aspect-ratio: 1; max-height: none; }
  /* Leistungen als Karten zum Wischen: die Ansicht darüber wechselt mit der Karte in der Mitte */
  .svc { order: 3; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scroll-padding-inline: var(--pad); }
  .svc::-webkit-scrollbar { display: none; }
  .svc li { flex: 0 0 min(84%, 420px); scroll-snap-align: center; border-top: 0; border-radius: var(--r-m); background: #fff; padding-inline: 20px; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; }
  .svc button { grid-template-columns: 34px 1fr; }
  .svc li .svc__more { margin: auto 0 0 42px; }
}

/* Referenzen – dunkle Fläche mit Website-Ansichten */
.refs { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 5vw, 76px) clamp(24px, 4vw, 64px); align-items: start; }
.ref--lg { grid-row: span 4; position: sticky; top: 104px; }
.ref h3 { font-size: clamp(1.4rem, 1.15rem + .9vw, 2rem); letter-spacing: -.03em; margin: 6px 0 10px; }
.ref p { margin: 0; color: rgba(255, 255, 255, .7); max-width: 46ch; }
.ref .ref__meta { font-size: .88rem; color: var(--mint); margin-top: 26px; }
.ref__shot { display: block; border-radius: var(--r-m); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 70px rgba(0, 0, 0, .38); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.ref__shot:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 44px 90px rgba(0, 0, 0, .5); }
.ref__shot img { display: block; width: 100%; height: auto; }
.ref__bar { display: flex; align-items: center; gap: 6px; padding: 11px 16px; background: #f3f3ef; }
.ref__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d8d8d1; }
.ref__bar span { margin-left: 10px; flex: 1; background: #fff; border-radius: 99px; padding: 3px 14px; font-size: .76rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ref__link { display: inline-flex; gap: .4em; margin-top: 16px; color: #fff; font-weight: 500; text-decoration: none; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; transition: color .25s; }
.ref__link:hover { color: var(--mint); }
.ref--band { margin-top: clamp(52px, 7vw, 100px); display: grid; grid-template-columns: 1.25fr 1fr; gap: 6px clamp(32px, 6vw, 104px); align-items: baseline; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: clamp(26px, 3vw, 40px); }
.ref--band .ref__meta { grid-column: 1 / -1; margin-top: 0; }
.ref--band h3 { margin: 0; }
@media (max-width: 860px) {
  .refs { grid-template-columns: 1fr; }
  .ref--lg { grid-row: auto; position: static; }
  .ref--band { grid-template-columns: 1fr; }
}

/* Bocholt – Fotomosaik */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(110px, 12.5vw, 190px); gap: clamp(8px, 1vw, 14px); }
.mosaic figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-m); background: var(--surface); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.mosaic figure:hover img { transform: scale(1.045); }
.mosaic figcaption { position: absolute; left: 14px; bottom: 14px; font-size: .8rem; font-weight: 500; color: #fff; padding: 6px 13px; border-radius: 999px; background: rgba(8, 20, 15, .42); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.mosaic .m-1 { grid-column: 1 / 8; grid-row: span 3; }
.mosaic .m-2 { grid-column: 8 / 13; grid-row: span 2; }
.mosaic .m-3 { grid-column: 8 / 13; grid-row: span 3; }
.mosaic .m-4 { grid-column: 1 / 5; grid-row: span 2; }
.m-tile { grid-column: 5 / 8; grid-row: span 2; background: var(--tanne); color: #fff; border-radius: var(--r-m); padding: clamp(18px, 2vw, 30px); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.m-tile__icons { display: flex; gap: 10px; }
.m-tile .mask { width: clamp(56px, 5.4vw, 80px); height: clamp(56px, 5.4vw, 80px); margin-left: -6px; color: var(--mint); }
.m-tile p { margin: 0; font-size: clamp(.95rem, .9rem + .25vw, 1.1rem); line-height: 1.4; letter-spacing: -.01em; }
@media (max-width: 860px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .mosaic .m-1 { grid-column: 1 / -1; grid-row: span 2; }
  .mosaic .m-2, .mosaic .m-3, .mosaic .m-4 { grid-column: span 1; grid-row: span 1; }
  .mosaic .m-4 { grid-column: 1 / -1; }
  .m-tile { grid-column: 1 / -1; }
}

/* Branchen */
.branchen { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1vw, 14px); }
.branche { background: #fff; border-radius: var(--r-m); padding: clamp(24px, 2.6vw, 38px); display: grid; align-content: space-between; gap: clamp(36px, 5vw, 72px); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.branche:hover { transform: translateY(-4px); box-shadow: var(--shadow-s); }
/* Die Piktogramme der Stadtmarke sind fein gezeichnet: unter ~80 px verschwimmen die Linien, deshalb groß und ohne Kachel */
.branche__icon { display: block; width: clamp(88px, 7.4vw, 112px); aspect-ratio: 1; margin: -6px 0 0 -8px; color: var(--tanne); transition: transform .6s var(--ease-out); }
.branche:hover .branche__icon { transform: scale(1.06); }
.branche__icon .mask { width: 100%; height: 100%; }
.branche h3 { margin-bottom: 6px; }
.branche p { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.45; }
@media (max-width: 960px) { .branchen { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .branchen { grid-template-columns: 1fr; } .branche { grid-template-columns: 84px 1fr; align-items: center; gap: 16px; } .branche__icon { width: 84px; margin: 0 0 0 -8px; } }

/* Lokale SEO – ½ Text, ½ Bild in Blattform */
.split { margin: 0 var(--inset); display: grid; grid-template-columns: 1fr 1fr; background: var(--tanne); color: #fff; border-radius: var(--r-l) var(--leaf); overflow: hidden; }
.split__text { padding: clamp(36px, 6.5vw, 116px); padding-right: clamp(28px, 4vw, 72px); align-self: center; }
.split__text .label { color: var(--mint); }
.split__text .lead { color: rgba(255, 255, 255, .8); }
.split__media { position: relative; min-height: 460px; margin: 0; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: clamp(28px, 3vw, 44px) 0 0; display: grid; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .78); }
.checks li::before { content: ""; width: 11px; height: 11px; margin-top: .5em; border-radius: 45% 8% 45% 8%; background: var(--mint); }
.checks strong { color: #fff; font-weight: 500; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; border-radius: var(--r-l) clamp(44px, 14vw, 72px); } .split__media { min-height: 300px; order: -1; } }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px clamp(20px, 3vw, 44px); counter-reset: s; }
.step { counter-increment: s; border-top: 1px solid var(--line); padding-top: 22px; }
.step::before { content: "0" counter(s); display: block; font-size: clamp(3.2rem, 2rem + 3.4vw, 5.4rem); font-weight: 300; line-height: 1; letter-spacing: -.05em; color: var(--tanne); margin-bottom: clamp(22px, 3vw, 44px); font-variant-numeric: tabular-nums; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 104px); align-items: start; }
.faq { background: #fff; border-radius: var(--r-m); padding: 6px clamp(20px, 2.6vw, 36px); }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(20px, 2vw, 26px) 0; font-size: clamp(1.08rem, 1rem + .3vw, 1.25rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); color: var(--ink); font-weight: 300; font-size: 1.4rem; line-height: 1; transition: transform .45s var(--ease-out), background .3s, color .3s; }
.faq summary:hover::after { background: var(--mint); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--tanne); color: #fff; }
.faq details p { margin: 0; padding: 0 54px 26px 0; color: var(--ink-2); max-width: 62ch; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: clip; transition: block-size .5s var(--ease-out), content-visibility .5s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq details p { padding-right: 0; } }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 104px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: clamp(32px, 4vw, 52px) 0 0; display: grid; }
.contact__list li { border-top: 1px solid var(--line); }
.contact__list a { display: flex; gap: 16px; align-items: baseline; justify-content: space-between; text-decoration: none; font-size: clamp(1.2rem, 1.05rem + .7vw, 1.65rem); font-weight: 500; letter-spacing: -.025em; padding: 18px 0; transition: color .25s; }
.contact__list a:hover { color: var(--tanne); }
.contact__list span { color: var(--ink-3); font-size: .9rem; font-weight: 400; letter-spacing: 0; }
.contact__fan { display: flex; align-items: center; gap: 16px; padding-top: 26px; border-top: 1px solid var(--line); font-size: .9rem; line-height: 1.4; color: var(--ink-2); }
.contact__fan img { width: 64px; height: auto; flex: none; }
.form { background: #fff; padding: clamp(22px, 3.6vw, 52px); border-radius: var(--r-l); box-shadow: var(--shadow-l); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: .88rem; font-weight: 500; color: var(--ink-2); }
.form input, .form select, .form textarea { font: inherit; font-size: 1.02rem; font-weight: 400; padding: 15px 16px; border: 1px solid transparent; border-radius: var(--r-s); background: var(--surface); color: var(--ink); width: 100%; transition: border-color .25s, box-shadow .25s, background .25s; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--line); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; background: #fff; border-color: var(--tanne); box-shadow: 0 0 0 4px rgba(0, 96, 70, .12); }
.form textarea { min-height: 140px; resize: vertical; }
.form ::placeholder { color: var(--ink-3); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 6px; }
.form__note { flex: 1 1 220px; margin: 0; font-size: .84rem; line-height: 1.45; color: var(--ink-3); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .form__row { grid-template-columns: 1fr; } .form__foot .btn { width: 100%; } }

/* Footer */
.ftr { margin: var(--inset); border-radius: var(--r-l); overflow: hidden; background: var(--tanne-tief); color: rgba(255, 255, 255, .68); font-size: .95rem; }
.ftr__skyline { height: clamp(56px, 7vw, 104px); color: rgba(255, 255, 255, .16); background: currentColor; -webkit-mask: url("../brand/skyline.svg") left bottom / auto 100% repeat-x; mask: url("../brand/skyline.svg") left bottom / auto 100% repeat-x; }
.ftr__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: clamp(48px, 6vw, 88px) clamp(36px, 4vw, 56px); }
.ftr p { max-width: 38ch; }
.ftr h3 { color: rgba(255, 255, 255, .5); font-size: .85rem; font-weight: 400; letter-spacing: 0; margin-bottom: 16px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr li a { color: #fff; }
.ftr a { text-decoration: none; transition: color .2s; }
.ftr a:hover { color: var(--mint); }
.ftr .brand { color: #fff; margin-bottom: 18px; }
.ftr .brand__mark { color: var(--mint); }
.ftr .brand__name small { color: rgba(255, 255, 255, .55); }
.ftr__bottom { border-top: 1px solid rgba(255, 255, 255, .16); padding-block: 22px 26px; font-size: .78rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: rgba(255, 255, 255, .45); }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ftr__grid { grid-template-columns: 1fr; } }
.siegel-tanne { filter: url(#f-tanne); }

/* Bewegung – Hero-Auftakt (einmalig, ~1,6 s), sanftes Mitwandern des Fotos, Einblenden beim Scrollen */
@media (prefers-reduced-motion: no-preference) {
  .js .hdr { animation: drop-in 1s .15s var(--ease-out) both; }
  .js .hero__media { animation: hero-open 1.5s var(--ease-out) both; }
  .js .hero__media > img { animation: hero-settle 2.6s var(--ease-out) both; }
  .js .hero__kicker { animation: rise-in .9s .3s var(--ease-out) both; }
  .js .hero h1 .line > span { animation: line-up 1.15s .42s var(--ease-out) both; }
  .js .hero h1 .line + .line > span { animation-delay: .54s; }
  .js .hero__row > p { animation: rise-in .9s .8s var(--ease-out) both; }
  .js .hero__ctas { animation: rise-in .9s .92s var(--ease-out) both; }
  @supports (animation-timeline: scroll()) {
    .js .hero__media > img { animation: hero-settle 2.6s var(--ease-out) both, hero-drift linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0px 100vh; }
  }
}
@keyframes hero-open { from { clip-path: inset(5% 4% 5% 4% round var(--hero-r) var(--r-l)); } to { clip-path: inset(0 round var(--hero-r) var(--r-l)); } }
@keyframes hero-settle { from { scale: 1.12; } }
@keyframes hero-drift { to { translate: 0 10.5%; } }
@keyframes line-up { from { transform: translateY(112%); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(20px); } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-14px); } }

.js .reveal, .js .stagger > * { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.js .reveal.is-in, .js .stagger.is-in > * { opacity: 1; transform: none; }
.js .stagger.is-in > :nth-child(2) { transition-delay: .08s; }
.js .stagger.is-in > :nth-child(3) { transition-delay: .16s; }
.js .stagger.is-in > :nth-child(4) { transition-delay: .24s; }
.js .stagger.is-in > :nth-child(5) { transition-delay: .32s; }
.js .stagger.is-in > :nth-child(6) { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal, .js .stagger > * { opacity: 1; transform: none; }
  .statement .w { opacity: 1; }
}

/* Leistungsseiten – Text links, Mini-Ansicht der Leistung rechts in Blattform */
.page h1, .page h2 { overflow-wrap: break-word; }
.page h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.2rem); line-height: 1.06; }
.page-hero { padding-block: clamp(116px, 13vw, 184px) clamp(56px, 7vw, 104px); }
.page-hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.page-hero h1 { font-size: clamp(2.4rem, 1.3rem + 3.9vw, 4.4rem); line-height: 1; letter-spacing: -.045em; }
.page-hero .lead { margin: 26px 0 0; max-width: 46ch; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 3.4vw, 44px); }
.page-hero .services__media { position: relative; top: 0; aspect-ratio: 1; max-height: none; border-radius: clamp(44px, 6vw, 88px) var(--r-l); }
.btn--soft { background: var(--surface); color: var(--ink); }
.btn--soft:hover { background: var(--mint); }
.crumbs { list-style: none; margin: 0 0 clamp(20px, 3vw, 36px); padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .88rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a { text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: var(--ink); }
.facts--flush { margin-top: 0; }
.prose h3 { margin: 1.9em 0 .5em; }
.prose h3:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); max-width: 62ch; }
.prose a, .faq a { color: var(--tanne); font-weight: 500; text-underline-offset: 3px; }
.cta .head { margin-bottom: 0; align-items: center; }
.more { margin-top: clamp(48px, 6vw, 88px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px clamp(20px, 3vw, 44px); }
.more span { font-size: .88rem; color: var(--ink-3); }
.more a { font-size: clamp(1rem, .95rem + .3vw, 1.18rem); font-weight: 500; letter-spacing: -.02em; text-decoration: none; transition: color .25s; }
.more a:hover { color: var(--tanne); }
@media (max-width: 860px) { .page-hero .container { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) {
  .js .page-hero__text, .js .page-hero .services__media { animation: rise-in 1s var(--ease-out) both; }
  .js .page-hero .services__media { animation-delay: .15s; }
}

/* Startseite – Wege zu den Leistungsseiten */
.svc__more { display: inline-flex; gap: .4em; margin: -6px 0 0 56px; padding-bottom: clamp(20px, 2.2vw, 30px); color: var(--tanne); font-weight: 500; font-size: .98rem; text-decoration: none; opacity: .42; transition: opacity .45s var(--ease); }
.svc li.is-active .svc__more, .svc__more:hover, .svc__more:focus-visible { opacity: 1; }
.split .btn { margin-top: clamp(28px, 3vw, 44px); }

/* Rechtstexte */
.legal { max-width: 820px; padding-top: 56px; }
.legal h1 { font-size: clamp(2.6rem, 1.4rem + 4vw, 4.5rem); line-height: 1; letter-spacing: -.045em; margin-bottom: 40px; }
.legal h2 { font-size: 1.45rem; letter-spacing: -.025em; line-height: 1.2; margin: 2.2em 0 .6em; }
.placeholder { background: #fff4ec; border-left: 3px solid var(--kuerbis); padding: 12px 16px; border-radius: 0 var(--r-s) var(--r-s) 0; }
