/* =====================================================================
   WF Design – Werbe- & Folientechnik, Aßlar
   Dark · plakativ · keine Linien · Display: Unbounded 900 · Body: Instrument Sans
   ===================================================================== */

:root {
  /* CI WF Design: Blau #3c4a81, Hellblau #808bb4, Wellen-Verlauf Hellblau -> Pink, Schrift Ubuntu.
     Dunkle Flächen sind aus dem CI-Blau abgeleitet (wie in der Broschüre). --tape ist der Akzent (früher Gelb). */
  --bg-0: #0b1029;
  --bg-1: #0f1535;
  --bg-2: #141c44;
  --bg-3: #1c2655;
  --bg-4: #273369;
  --ci-blue: #3c4a81;
  --ci-light: #808bb4;
  --text: #f4f6fb;
  --muted: #a7b0cf;
  --tape: #8fc3f0;                 /* Akzent: helles Blau aus den CI-Wellen */
  --tape-deep: #808bb4;
  --tape-rgb: 143, 195, 240;
  --pink: #e6198c;
  --grad: linear-gradient(90deg, #7fcff7 0%, #7b80c9 55%, #e6198c 100%);   /* CI-Verlauf, sparsam einsetzen */
  --ink: #0b1029;

  --font-display: "Ubuntu", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Ubuntu", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 64px);
  --container: 1480px;
  --radius: 4px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --header-h: 84px;
  --slant: clamp(36px, 5vw, 92px);          /* Höhe des schrägen Sektionsabschlusses */
  --wave-h: var(--slant);                   /* früherer Name, wird in älteren Regeln noch verwendet */
  --pad: clamp(96px, 12vw, 200px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg-0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.55;
  color: var(--text);
  background: var(--bg-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
::selection { background: var(--tape); color: var(--ink); }
:focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; }
.sr-only { position: absolute; 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: 200; padding: 10px 16px; background: var(--tape); color: var(--ink); font-weight: 700; }
.skip:focus { top: 16px; }

/* ---------- Typography ---------- */
.display, h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.015em; }
h1 { font-size: clamp(40px, 6.6vw, 118px); }
h2 { font-size: clamp(32px, 4.6vw, 80px); }
@media (max-width: 520px) { h2 { font-size: clamp(24px, 7.2vw, 32px); } h2.h-long { font-size: 5.8vw; } }   /* lange Wörter passen sonst nicht in die Handybreite */
h3 { font-size: clamp(20px, 1.9vw, 30px); font-weight: 700; }
.h-md { font-size: clamp(26px, 2.8vw, 46px); }
.lead { font-size: clamp(18px, 1.45vw, 23px); line-height: 1.45; max-width: 60ch; color: #d3d8e1; }
.copy { max-width: 62ch; }
.copy p + p { margin-top: 1em; }
.muted { color: var(--muted); }
.mono, .label { font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.accent { color: var(--tape); }
h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }   /* CI-Verlauf nur im Akzentwort der Hauptüberschrift */
strong { font-weight: 700; }
em { font-style: italic; }

/* ---------- Eyebrow / Kicker: überall derselbe Brush ---------- */
.kicker {
  position: relative; display: inline-flex; align-items: center; gap: 12px; max-width: 100%;
  font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2;
  color: var(--tape);
}
.kicker::before { content: ""; flex: none; width: 34px; height: 4px; border-radius: 2px; background: var(--grad); }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding: var(--pad) 0 calc(var(--pad) + var(--slant)); position: relative; background: var(--bg-1); }
.section--tight { --pad: clamp(64px, 8vw, 130px); }
.bg-0 { background: var(--bg-0); } .bg-1 { background: var(--bg-1); } .bg-2 { background: var(--bg-2); } .bg-3 { background: var(--bg-3); }
.dark { color: var(--text); }
.grid { display: grid; gap: var(--gutter); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.section-head { display: grid; grid-template-columns: minmax(min-content, 1.1fr) minmax(0, .9fr);   /* links mindestens so breit wie das längste Wort der Überschrift */
  gap: var(--gutter); align-items: end; margin-bottom: clamp(40px, 5vw, 80px); }
.section-head .lead { justify-self: end; }
.section-head h2 { margin-top: 18px; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } .section-head .lead { justify-self: start; } }

/* ---------- Schräger Sektionsabschluss ----------
   Die folgende Sektion schiebt sich um --slant nach oben und ist oben schräg beschnitten.
   Klassen heißen aus historischen Gründen .wave-a / .wave-b, .slant ist der neue Name. */
.slant, .wave-a, .wave-b {
  margin-top: calc(-1 * var(--slant)); padding-top: calc(var(--pad) + var(--slant)); position: relative; z-index: 1;
  clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
}
/* Die Kunden-Bahn ist selbst der Übergang: danach folgt keine Schräge */
.band + .slant, .band + .wave-a, .band + .wave-b { margin-top: 0; padding-top: var(--pad); clip-path: none; }

/* ---------- Grain ---------- */
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
}

/* ---------- Tape label ---------- */
.tape {
  display: inline-block; padding: 8px 14px; color: var(--ink); border-radius: 4px;
  font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2;
  background: var(--tape);
}
.tape--flat { transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 18px 26px; min-height: 56px;
  background: var(--bg-3); color: var(--text); font-weight: 700; font-size: 15px; letter-spacing: .02em; text-transform: uppercase;
  border-radius: var(--radius); position: relative; overflow: hidden; isolation: isolate;
  transition: color .3s var(--ease-out), transform .3s var(--ease-out), background .3s;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--tape); transform: translateY(101%); transition: transform .45s var(--ease-out); z-index: -1; }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--ink); }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn--tape { background: var(--tape); color: var(--ink); }
.btn--tape::before { background: var(--text); }
.btn--ghost { background: rgba(255,255,255,.08); color: var(--text); backdrop-filter: blur(8px); }
.btn--lg { padding: 22px 32px; font-size: 17px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; color: var(--tape); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header (verschmolzen) ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: linear-gradient(180deg, rgba(11,16,41,.62) 0%, rgba(11,16,41,.28) 55%, rgba(11,16,41,0) 100%);
  transition: transform .4s var(--ease-out);
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s var(--ease-out);
  background: rgba(11,16,41,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.header.is-solid::before { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.logo { display: block; width: 52px; height: 52px; color: var(--text); flex: none; }
.logo svg { width: 52px; height: 52px; }
/* Marke in der Kopfzeile: WF-Kreis mit „WF Design“ und Unterzeile; nach dem Scrollen steht der Kreis allein */
.brand { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; color: var(--text); }
.brand__text { display: grid; line-height: 1.15; transition: opacity .3s, transform .3s var(--ease-out); }
.brand__text b { font-weight: 700; font-size: 19px; letter-spacing: .01em; }
.brand__text span { font-size: 11.5px; color: var(--muted); letter-spacing: .02em; white-space: nowrap; }
.header.is-scrolled .brand__text { opacity: 0; transform: translateX(-8px); pointer-events: none; }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { font-weight: 700; font-size: 14px; letter-spacing: .04em; }
.header .btn { padding: 13px 18px; min-height: 46px; font-size: 13px; }
.burger { position: relative; height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 14px 0 16px; background: var(--bg-3); border-radius: var(--radius); flex: none; color: var(--text); }
.burger__label { font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.burger i { position: relative; display: block; width: 24px; height: 52px; }
.burger span { position: absolute; left: 0; width: 24px; height: 3px; background: var(--text); border-radius: 2px; transition: transform .4s var(--ease-out), top .4s var(--ease-out), width .3s; }
.burger span:nth-child(1) { top: 20px; }
.burger span:nth-child(2) { top: 29px; }
.burger:hover span:nth-child(2) { width: 16px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 24.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 24.5px; transform: rotate(-45deg); width: 24px; }
@media (max-width: 1000px) { .brand__text span { display: none; } }
@media (max-width: 640px) { .brand__text { display: none; } }
@media (max-width: 720px) { .header-phone, .header .btn { display: none; } }

/* ---------- Off-Canvas Navigation ---------- */
.offcanvas { position: fixed; inset: 0; z-index: 60; visibility: hidden; pointer-events: none; overflow: hidden; }
.offcanvas.is-open { visibility: visible; pointer-events: auto; }
.offcanvas__backdrop { position: absolute; inset: 0; background: rgba(11,16,41,.6); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.offcanvas.is-open .offcanvas__backdrop { opacity: 1; }
.offcanvas__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(680px, 100%); background: var(--bg-2); display: grid; grid-template-rows: auto 1fr auto; padding: 24px clamp(20px, 4vw, 56px) 32px; transform: translateX(104%); transition: transform .6s var(--ease-in-out); overflow-x: hidden; overflow-y: auto; }
.offcanvas.is-open .offcanvas__panel { transform: none; }
.offcanvas__head { display: flex; align-items: center; justify-content: space-between; height: calc(var(--header-h) - 24px); }
.offcanvas__head .logo { color: var(--text); }
.offcanvas__close { width: 52px; height: 52px; display: grid; place-items: center; background: var(--bg-3); border-radius: var(--radius); position: relative; }
.offcanvas__close span { position: absolute; width: 24px; height: 3px; background: var(--text); border-radius: 2px; }
.offcanvas__close span:nth-child(1) { transform: rotate(45deg); }
.offcanvas__close span:nth-child(2) { transform: rotate(-45deg); }
.offcanvas__nav { align-self: center; padding: 24px 0; min-width: 0; }
.offcanvas__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.offcanvas__row > a { flex: 1; min-width: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 4.2vw, 40px); line-height: 1.05; padding: 10px 0; overflow-wrap: anywhere; transition: color .25s, transform .3s var(--ease-out); }
.offcanvas__row > a:hover, .offcanvas__row > a[aria-current="page"] { color: var(--tape); }
.offcanvas__row > a:hover { transform: translateX(8px); }
.offcanvas__more { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-3); color: var(--tape); transition: background .25s, color .25s; }
.offcanvas__more svg { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.offcanvas__more:hover { background: var(--tape); color: var(--ink); }
.offcanvas__sub { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s var(--ease-out), opacity .3s; }
.offcanvas__sub > ul { min-height: 0; overflow: hidden; display: grid; gap: 2px; }
.offcanvas__sub a { display: block; padding: 7px 0; font-weight: 700; font-size: clamp(15px, 1.5vw, 18px); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); transition: color .2s, transform .3s var(--ease-out); }
.offcanvas__sub a:hover, .offcanvas__sub a[aria-current="page"] { color: var(--tape); transform: translateX(6px); }
.offcanvas__sub > ul > li:last-child { padding-bottom: 12px; }
/* Unterpunkte sind standardmäßig zu: auf per Hover, per Klick auf den Indikator oder wenn ein Unterpunkt den Tastaturfokus hat */
.has-sub.is-open > .offcanvas__sub, .offcanvas__sub:focus-within { grid-template-rows: 1fr; opacity: 1; }
.has-sub.is-open .offcanvas__more svg { transform: rotate(180deg); }
@media (hover: hover) {
  .has-sub:hover > .offcanvas__sub { grid-template-rows: 1fr; opacity: 1; }
  .has-sub:hover .offcanvas__more svg { transform: rotate(180deg); }
}
.offcanvas__foot { display: grid; gap: 12px; font-weight: 600; }
.offcanvas__foot a:hover { color: var(--tape); }
.offcanvas__foot .btn { justify-self: start; margin-top: 8px; }
body.menu-open { overflow: hidden; }

/* ---------- Scroll-Hinweis (Chevron) ---------- */
@keyframes chev { 0%, 100% { transform: translateY(-4px); opacity: .4; } 50% { transform: translateY(6px); opacity: 1; } }

/* ---------- Große Kunden-Bahn (Marquee, inszeniert) ---------- */
.band { position: relative; padding: clamp(40px, 6vw, 90px) 0; overflow: hidden; }
.band__strip { background: var(--tape); color: var(--ink); transform: rotate(-2.5deg) scale(1.06); padding: clamp(14px, 1.6vw, 26px) 0; overflow: hidden; white-space: nowrap; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); }
.band__strip--rev { background: var(--bg-3); color: var(--text); transform: rotate(1.5deg) scale(1.06); margin-top: -8px; }
.band__track { display: inline-flex; animation: marquee 120s linear infinite; will-change: transform; }
.band__strip--rev .band__track { animation-direction: reverse; animation-duration: 150s; }
.band__track span { display: inline-flex; align-items: center; gap: 30px; padding-right: 30px; font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 64px); line-height: 1; }
.band__track span::after { content: ""; width: .35em; height: .35em; background: currentColor; border-radius: 50%; opacity: .6; }
/* Logo-Bahn: Kundenlogos statt Namen. Oberes Band gelb mit dunklen Logos, unteres dunkel mit weißen Logos. */
.band--logos { --logo-h: clamp(30px, 3.9vw, 62px); }
.band--logos .band__strip:not(.band__strip--rev) { background: var(--grad); }   /* CI-Wellenverlauf als Band */
.band--logos .band__track { align-items: center; animation-duration: 110s; }
.band--logos .band__strip--rev .band__track { animation-duration: 140s; }
.band__logo { flex: none; display: flex; align-items: center; height: var(--logo-h); padding-right: clamp(40px, 5vw, 96px); }
.band__logo img { height: calc(var(--logo-h) * var(--s, 1)); width: auto; max-width: none; display: block; }
.band--logos .band__strip:not(.band__strip--rev) .band__logo img { filter: brightness(0); }   /* weiße Logos auf Gelb dunkel einfärben */
.band--logos .band__strip--rev .band__logo img { opacity: .92; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .band__track { animation: none; } }

/* ---------- Service cards ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.service { background: var(--bg-2); position: relative; display: flex; flex-direction: column; min-height: 560px; overflow: hidden; border-radius: 6px; transition: transform .5s var(--ease-out); }
.service:hover { transform: translateY(-6px); }
.service__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.service:hover .service__media img { transform: scale(1.06); }
.service__idx { position: absolute; top: 16px; left: 16px; z-index: 2; font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; background: var(--tape); color: var(--ink); padding: 7px 11px; }
.service__body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.service h3 { font-size: clamp(24px, 2.2vw, 34px); }
.service ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.service ul li { font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; background: var(--bg-3); border-radius: 3px; color: var(--muted); }
.service .link-arrow { margin-top: 12px; align-self: flex-start; }
@media (max-width: 1000px) { .services { grid-template-columns: 1fr; } .service { min-height: 0; } }

/* ---------- Process ---------- */
.process ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.process li { position: relative; background: var(--bg-3); border-radius: 6px; padding: 32px 26px 30px; }
.process li .n { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 4vw, 64px); line-height: 1; color: var(--tape); }
.process li h3 { font-size: clamp(20px, 1.6vw, 26px); margin: 14px 0 12px; }
.process li p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .process ol { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process ol { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { background: var(--bg-3); border-radius: 6px; padding: 30px 24px 26px; }
.stat b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 3.8vw, 64px); line-height: 1; color: var(--tape); }
.stat b small { font-size: .45em; vertical-align: top; margin-left: 2px; }
.stat span { display: block; margin-top: 12px; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1000px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat { padding: 20px 16px; } }

/* ---------- Editorial split ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center; }
.split > .col-5 { grid-column: span 5; } .split > .col-6 { grid-column: span 6; } .split > .col-7 { grid-column: span 7; }
.split > .col-6.start-7 { grid-column: 7 / span 6; } .split > .col-5.start-7 { grid-column: 7 / span 5; } .split > .col-5.start-8 { grid-column: 8 / span 5; } .split > .col-6.start-8 { grid-column: 8 / span 5; }
@media (max-width: 900px) { .split > * { grid-column: 1 / -1 !important; } }
.frame { position: relative; overflow: hidden; border-radius: 6px; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--sq { aspect-ratio: 1; }
.frame .cap { position: absolute; left: 16px; bottom: 16px; z-index: 2; }
.stack { position: relative; }
.stack .frame + .frame { position: absolute; width: 46%; right: -6%; bottom: -14%; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
@media (max-width: 900px) { .stack .frame + .frame { right: 0; bottom: -10%; } .stack { margin-bottom: 14%; } }
.sign { display: flex; gap: 32px; align-items: flex-end; margin-top: 36px; }
.sign img { width: 150px; height: auto; opacity: .95; }
.sign figcaption { font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ---------- Feature list (service pages) ---------- */
.feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); padding-block: clamp(48px, 6vw, 96px); align-items: center; }
.feature__media { grid-column: span 6; }
.feature__body { grid-column: span 5; }
.feature:nth-child(odd) .feature__media { order: 2; grid-column: 7 / span 6; }
.feature:nth-child(odd) .feature__body { grid-column: 1 / span 5; }
.feature:nth-child(even) .feature__media { grid-column: 1 / span 6; }
.feature:nth-child(even) .feature__body { grid-column: 8 / span 5; }
.feature__idx { font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--tape); margin-bottom: 18px; }
.feature h2 { font-size: clamp(28px, 3vw, 50px); margin-bottom: 10px; }
.feature .sub { font-weight: 700; text-transform: uppercase; color: var(--muted); font-size: 13px; letter-spacing: .12em; margin-bottom: 18px; }
.feature .copy { margin-bottom: 22px; color: #d3d8e1; }
.checks li { position: relative; padding-left: 30px; margin: 9px 0; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; background: var(--tape); color: var(--ink); font-weight: 700; font-size: 13px; display: grid; place-items: center; border-radius: 3px; }
@media (max-width: 900px) { .feature__media, .feature__body { grid-column: 1 / -1 !important; order: initial !important; } }

/* ---------- Bildpaar: großes Bild mit kleinem, überlappendem zweiten Bild ---------- */
.duo { position: relative; }
.duo .frame + .frame { position: absolute; width: 40%; bottom: -12%; z-index: 2; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.feature:nth-child(odd) .duo .frame + .frame { left: -5%; }     /* Bild rechts: das kleine ragt zur Textspalte */
.feature:nth-child(even) .duo .frame + .frame { right: -5%; }
.duo .frame:first-child .cap { bottom: auto; top: 16px; }       /* unten liegt das kleine Bild */
@media (max-width: 900px) { .duo { margin-bottom: 14%; } .feature:nth-child(n) .duo .frame + .frame { left: auto; right: -6px; width: 44%; } }

/* ---------- Bildfolge: nummerierte Fotos zu einem Ablauf (unter einem Leistungsblock) ---------- */
.shots { grid-column: 1 / -1; margin-top: clamp(20px, 3vw, 44px); }
@media (min-width: 901px) { .feature--shots .feature__media, .feature--shots .feature__body { grid-row: 1; } .feature--shots .shots { grid-row: 2; } }
.shots__label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 14px; font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.shots__label b { color: var(--tape); }
.shots__row { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 12px; }
.shot { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: var(--bg-3); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.shot:hover img { transform: scale(1.05); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; align-items: baseline; padding: 48px 14px 14px; background: linear-gradient(180deg, transparent, rgba(11,16,41,.92)); font-weight: 700; font-size: 14px; line-height: 1.25; }
.shot figcaption b { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--tape); }
@media (max-width: 900px) {
  .shots__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .shots__row::-webkit-scrollbar { display: none; }
  .shot { flex: 0 0 62%; scroll-snap-align: start; }
}

/* Bildausschnitt bei beschnittenen Fotos */
img.pos-l { object-position: 22% 50%; } img.pos-r { object-position: 82% 50%; } img.pos-mr { object-position: 64% 50%; } img.pos-t { object-position: 50% 16%; }
.contact__photo { max-width: 560px; }

/* ---------- Reference grid ---------- */
.refgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; grid-auto-flow: dense; grid-auto-rows: auto; }
.ref { position: relative; overflow: hidden; background: var(--bg-3); grid-column: span 4; aspect-ratio: 4 / 3; border-radius: 6px; }
.ref img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.ref:hover img { transform: scale(1.05); }
.ref figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 16px 16px; background: linear-gradient(180deg, transparent, rgba(11,16,41,.9)); color: var(--text); display: flex; justify-content: space-between; gap: 12px; align-items: end; font-size: 14px; transform: translateY(8px); opacity: 0; transition: all .45s var(--ease-out); }
.ref:hover figcaption, .ref:focus-within figcaption { transform: none; opacity: 1; }
@media (hover: none) { .ref figcaption { transform: none; opacity: 1; padding-top: 24px; } }
.ref figcaption b { display: block; font-weight: 700; }
.ref figcaption span { font-weight: 700; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--tape); white-space: nowrap; }
.ref--w { grid-column: span 8; aspect-ratio: 8 / 3; }
.ref--p { grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 1000px) { .ref, .ref--w, .ref--p { grid-column: span 6; } .ref--w { aspect-ratio: 4 / 3; } .ref--p { grid-row: auto; aspect-ratio: 3 / 4; } }
@media (max-width: 600px) { .ref, .ref--w, .ref--p { grid-column: span 12; } .ref--p { aspect-ratio: 4 / 5; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 11px 16px; background: var(--bg-3); border-radius: 4px; color: var(--muted); transition: background .2s, color .2s; }
.filters button:hover { color: var(--text); }
.filters button[aria-pressed="true"] { background: var(--tape); color: var(--ink); }
.ref.is-hidden { display: none; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.quote { background: var(--bg-3); border-radius: 6px; padding: 36px 32px; display: flex; flex-direction: column; gap: 22px; }
.quote p { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: #d3d8e1; }
.quote footer { margin-top: auto; }
.quote footer b { display: block; font-weight: 700; }
.quote footer span { font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stars { color: var(--tape); letter-spacing: 3px; font-size: 16px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Notice (AP Werbung) ---------- */
.notice { background: var(--bg-3); border-radius: 8px; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--gutter); align-items: center; position: relative; }
.notice h2 { font-size: clamp(28px, 3.2vw, 52px); }
.notice h3 { font-size: clamp(18px, 5vw, 22px); overflow-wrap: anywhere; }
.notice .btn-row { margin-top: 22px; }
.notice__facts { font-size: 14.5px; line-height: 1.7; background: var(--bg-4); border-radius: 6px; padding: 22px; }
.notice__facts b { color: var(--tape); font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
@media (max-width: 900px) { .notice { grid-template-columns: 1fr; } }

/* ---------- Promo band (LP teaser) ---------- */
.promo { position: relative; overflow: hidden; color: var(--text); background: var(--bg-0); min-height: 560px; display: grid; align-items: center; }
.promo.slant, .promo.wave-a, .promo.wave-b { padding-top: 0; }
.promo__media { position: absolute; inset: 0; }
.promo__media img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.promo__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,16,41,.95) 0%, rgba(11,16,41,.6) 55%, rgba(11,16,41,.2) 100%); }
.promo__inner { position: relative; z-index: 2; padding-block: calc(var(--pad) + var(--slant)); }
.promo__inner > * { max-width: 760px; }
.promo h2 { font-size: clamp(22px, 4vw, 68px); margin-top: 36px; }
.promo__ln { white-space: nowrap; }                      /* feste Zeilen wie im LP-Hero: „Kühler Kopf“ / „statt Hitzestau.“ */
@media (max-width: 520px) { .promo h2 { font-size: 7vw; } }
.promo .lead { margin: 20px 0 28px; }
.promo__facts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.promo__facts span { background: rgba(var(--tape-rgb),.14); color: var(--tape); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; border-radius: 4px; }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; display: grid; gap: 8px; }
.faq details { background: var(--bg-3); border-radius: 6px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 24px; font-weight: 700; font-size: clamp(16px, 1.3vw, 20px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 26px; line-height: 1; color: var(--tape); flex: none; transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 24px 24px; color: var(--muted); max-width: 72ch; }

/* ---------- Contact / Form ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--gutter); }
@media (min-width: 901px) { .contact .form { position: sticky; top: calc(var(--header-h) + 20px); } }   /* Formular bleibt neben den Kontaktdaten im Blick */
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact__info h1 { font-size: clamp(38px, 4.9vw, 84px); }
.contact__info dl { display: grid; gap: 22px; margin-top: 30px; }
.contact__info dt { font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--tape); margin-bottom: 4px; }
.contact__info dd { margin: 0; font-size: clamp(18px, 1.5vw, 24px); font-weight: 600; }
.contact__info dd a:hover { color: var(--tape); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; align-self: start; background: var(--bg-2); border-radius: 14px; padding: clamp(20px, 2.6vw, 34px); }   /* align-*: Felder behalten ihre Höhe, auch wenn die Nachbarspalte länger ist */
.form .full { grid-column: 1 / -1; }
/* Feld: die Beschriftung sitzt im Feld, das ganze Feld reagiert auf Zeiger und Fokus */
.field { position: relative; display: grid; gap: 1px; align-content: start; background: var(--bg-3); border-radius: 10px; padding: 11px 16px 9px; cursor: text; transition: background .25s, box-shadow .25s; }
.field:hover { background: var(--bg-4); }
.field:focus-within { background: var(--bg-4); box-shadow: 0 0 0 3px rgba(var(--tape-rgb),.5); }
.field label { font-weight: 700; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: color .25s; cursor: inherit; }
.field:focus-within label { color: var(--tape); }
.field input, .field textarea, .field select { width: 100%; padding: 2px 0 3px; font: inherit; font-size: 16px; line-height: 1.4; color: var(--text); background: transparent; border: 0; border-radius: 0; outline: none; }
.field input::placeholder, .field textarea::placeholder { color: #6f7889; }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--text); transition: background-color 99999s ease-out; }   /* Autofill ohne hellen Kasten */
.field textarea { min-height: 112px; resize: vertical; display: block; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 30px; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fc3f0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E") no-repeat right 0 center / 16px; }
.field select option { color: var(--ink); background: #fff; }
.form .consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.form .consent input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border-radius: 6px; background: var(--bg-4); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.form .consent input::after { content: "✓"; font-weight: 700; font-size: 14px; line-height: 1; color: var(--ink); transform: scale(0); transition: transform .2s var(--ease-out); }
.form .consent input:checked { background: var(--tape); }
.form .consent input:checked::after { transform: scale(1); }
.form .consent input:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(var(--tape-rgb),.5); }
.form .consent a { color: var(--tape); }
.form .btn-row { margin-top: 6px; }
.form .hp { position: absolute; left: -9999px; }
.form-msg { grid-column: 1 / -1; padding: 14px 16px; background: rgba(var(--tape-rgb),.15); color: var(--tape); border-radius: 10px; display: none; font-weight: 600; }
.form-msg.is-visible { display: block; }
.form-msg.is-error { background: rgba(224,74,63,.18); color: #ff8a80; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; }
.cta .container { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--gutter); align-items: center; position: relative; z-index: 1; }
.cta h2 { font-size: clamp(36px, 5.6vw, 96px); margin-top: 18px; }
.cta__big { position: absolute; right: -3%; bottom: -12%; font-family: var(--font-display); font-weight: 700; font-size: clamp(140px, 28vw, 460px); line-height: 1; color: rgba(var(--tape-rgb),.06); pointer-events: none; user-select: none; }
@media (max-width: 900px) { .cta .container { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--bg-0); color: var(--text); padding: clamp(56px, 7vw, 96px) 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--gutter); }
.footer h4 { font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--tape); margin: 0 0 16px; }
.footer li { margin: 8px 0; color: #d3d8e1; }
.footer a:hover { color: var(--tape); }
.footer__brand p { color: var(--muted); max-width: 36ch; margin-top: 18px; }
.footer__brand .logo { width: 64px; height: 64px; } .footer__brand .logo svg { width: 64px; height: 64px; }
.footer__bottom { margin-top: clamp(40px, 6vw, 72px); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.footer__bottom ul { display: flex; gap: 20px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 44px; height: 44px; background: var(--bg-3); border-radius: 4px; display: grid; place-items: center; transition: background .2s; }
.social a:hover { background: var(--tape); color: var(--ink); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (Unterseiten) ---------- */
.phero { position: relative; overflow: hidden; background: var(--bg-0); color: var(--text); margin-top: calc(-1 * var(--header-h)); }
.phero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--gutter); align-items: end; padding: calc(var(--header-h) + clamp(72px, 9vw, 140px)) 0 calc(clamp(56px, 7vw, 110px) + var(--slant)); min-height: 66vh; }
.phero h1 { font-size: clamp(40px, 6.4vw, 112px); margin-top: 22px; }
/* Lange Überschriften: feste Zeilen ohne Umbruch, kleinere Schrift, mehr Platz für die Textspalte */
@media (min-width: 901px) { .phero--long .phero__inner { grid-template-columns: minmax(0, 1.5fr) minmax(0, .5fr); } }
.phero--long h1 { font-size: clamp(24px, 4.5vw, 72px); }
.phero--long h1 span { white-space: nowrap; }
@media (max-width: 900px) { .phero--long h1 { font-size: 6vw; } }
.phero .lead { margin-top: 24px; }
.phero__media { position: absolute; inset: 0; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.phero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,16,41,.35), rgba(11,16,41,.95)); }
.phero__aside { display: grid; gap: 10px; justify-self: end; }
.phero__aside span { background: rgba(255,255,255,.06); backdrop-filter: blur(8px); padding: 12px 16px; border-radius: 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.phero__aside b { color: var(--text); display: block; margin-top: 2px; font-size: 14px; letter-spacing: .02em; }
@media (max-width: 900px) { .phero__inner { grid-template-columns: 1fr; min-height: 0; } .phero__aside { justify-self: start; } }
.breadcrumb { font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a:hover { color: var(--tape); }

/* ---------- Sub-nav (Sprungmarken) ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 30; background: rgba(15,21,53,.85); backdrop-filter: blur(12px); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.subnav ul { display: flex; gap: 6px; padding: 8px 0; white-space: nowrap; }
.subnav a { display: inline-block; padding: 10px 14px; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; border-radius: 4px; color: var(--muted); }
.subnav a:hover, .subnav a.is-active { background: var(--tape); color: var(--ink); }

/* ---------- Legal ---------- */
.legal { max-width: 800px; }
.legal h2 { font-size: clamp(22px, 2.2vw, 30px); margin: 48px 0 14px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { list-style: disc; padding-left: 20px; }
.legal a { color: var(--tape); }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
[data-stagger].is-in > * { opacity: 1; transform: none; }
[data-stagger].is-in > *:nth-child(1) { transition-delay: .0s } [data-stagger].is-in > *:nth-child(2) { transition-delay: .08s } [data-stagger].is-in > *:nth-child(3) { transition-delay: .16s } [data-stagger].is-in > *:nth-child(4) { transition-delay: .24s } [data-stagger].is-in > *:nth-child(5) { transition-delay: .32s } [data-stagger].is-in > *:nth-child(6) { transition-delay: .4s } [data-stagger].is-in > *:nth-child(7) { transition-delay: .48s } [data-stagger].is-in > *:nth-child(8) { transition-delay: .56s }
@media (prefers-reduced-motion: reduce) { [data-reveal], [data-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 12px } .mt-2 { margin-top: 24px } .mt-3 { margin-top: 40px } .mt-4 { margin-top: 64px }
.mb-2 { margin-bottom: 24px } .mb-3 { margin-bottom: 40px }
.ta-c { text-align: center }
.nowrap { white-space: nowrap }
@media (max-width: 720px) { .hide-m { display: none !important; } }

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--bg-0); padding: 2px; padding-bottom: calc(2px + env(safe-area-inset-bottom)); }
.sticky-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 10px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--text); background: var(--bg-3); border-radius: 4px; }
.sticky-cta a + a { background: var(--tape); color: var(--ink); }
@media (max-width: 720px) { .sticky-cta { display: grid; } body { padding-bottom: 60px; } }

/* ---------- Arbeitsweise: fünf Stationen mit echten Fotos ---------- */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.flow li { counter-increment: flow; display: flex; flex-direction: column; background: var(--bg-3); border-radius: 8px; overflow: hidden; }
.flow figure { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.flow figure img { width: 100%; height: 100%; object-fit: cover; }
.flow figure::after { content: counter(flow); position: absolute; left: 12px; top: 12px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--tape); color: var(--ink); font-weight: 700; font-size: 14px; }
.flow h3 { padding: 16px 16px 0; font-size: 17px; line-height: 1.2; }
.flow p { padding: 8px 16px 18px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 1100px) { .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .flow { grid-template-columns: minmax(0, 1fr); } .flow li { display: grid; grid-template-columns: 38% minmax(0, 1fr); } .flow figure { grid-row: 1 / span 2; aspect-ratio: auto; min-height: 120px; } .flow h3 { align-self: end; padding-left: 14px; } .flow p { padding-left: 14px; } }
