/* Beyond Loud — Website-Styles
   Teil 1: Design-Tokens (aus dem Design System, tokens.json)
   Teil 2: Schrift
   Teil 3: Komponenten (bundle.css des Design Systems)
   Teil 4: Website-Ergänzungen */

/* ---------- Tokens ---------- */
:root, [data-theme="light"] {
  --petrol: #4e9392;
  --petrol-strong: #3e7675;
  --petrol-tint: #e8f5f4;
  --petrol-wash: #f0f5f5;
  --night: #132326;
  --night-muted: #a3b9bc;
  --night-line: #354b4e;
  --ink: var(--night);
  --ink-muted: #5d7173;
  --line: #dfe9e9;
  --white: #ffffff;
  --focus: var(--petrol);
}
:root {
  --space-2xs: 8px;
  --space-xs: 12px;
  --space-s: 16px;
  --space-m: 24px;
  --space-l: 32px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 128px;
  --radius-none: 0px;
  --radius-pill: 999px;
  --fluid-hero-xl: clamp(54px, 6.09px + 12.286vw, 183px);
  --fluid-hero-l: clamp(44px, 4.26px + 10.19vw, 151px);
  --fluid-claim: clamp(28px, 1.26px + 6.857vw, 100px);
  --fluid-display: clamp(34px, 13.2px + 5.333vw, 90px);
  --fluid-section-title: clamp(40px, 24.4px + 4.0vw, 82px);
  --fluid-headline: clamp(28px, 18.71px + 2.381vw, 53px);
  --fluid-title-l: clamp(22px, 17.54px + 1.143vw, 34px);
  --fluid-title: clamp(19px, 16.03px + 0.762vw, 27px);
  --fluid-lead: clamp(18px, 14.66px + 0.857vw, 27px);
  --fluid-body-xl: clamp(17px, 14.4px + 0.667vw, 24px);
  --fluid-body-l: clamp(15px, 12.4px + 0.667vw, 22px);
  --fluid-body: clamp(16px, 14.51px + 0.381vw, 20px);
  --fluid-nav: clamp(15px, 13.89px + 0.286vw, 18px);
  --fluid-button: clamp(15px, 14.26px + 0.19vw, 17px);
  --fluid-gutter: clamp(24px, 9.14px + 3.81vw, 64px);
  --fluid-frame: clamp(16px, 10.06px + 1.524vw, 32px);
  --fluid-section: clamp(56px, 29.26px + 6.857vw, 128px);
  --fluid-stack: clamp(24px, 12.11px + 3.048vw, 56px);
  --fluid-band: clamp(48px, 33.14px + 3.81vw, 88px);
  --container: 1312px;
  --header-h: 120px;
  --header-h-m: 74px;
  --logo-w: 75px;
  --logo-w-m: 44px;
  --logo-badge: 116px;
  --button-h: 54px;
  --button-h-m: 46px;
  --button-min: 252px;
  --tap-min: 44px;
  --accent-w: 36px;
  --measure: 760px;
  --bp-tablet: 760px;
  --bp-desktop: 1100px;
  --stroke-hairline: 1px;
  --stroke-accent: 2px;
  --stroke-icon: 1.4px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --font-display: "Helvetica Now Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.type-hero-xl { font-family: var(--font-display); font-size: 183px; line-height: 0.95; font-weight: 700; letter-spacing: -0.033em; }
.type-hero-l { font-family: var(--font-display); font-size: 151px; line-height: 0.95; font-weight: 700; letter-spacing: -0.033em; }
.type-claim { font-family: var(--font-display); font-size: 100px; line-height: 1.0; font-weight: 700; letter-spacing: -0.03em; }
.type-display { font-family: var(--font-display); font-size: 90px; line-height: 1.03; font-weight: 700; letter-spacing: -0.029em; }
.type-section-title { font-family: var(--font-display); font-size: 82px; line-height: 1.0; font-weight: 700; letter-spacing: -0.034em; }
.type-headline { font-family: var(--font-display); font-size: 53px; line-height: 1.06; font-weight: 700; letter-spacing: -0.028em; }
.type-title-l { font-family: var(--font-display); font-size: 34px; line-height: 1.15; font-weight: 700; letter-spacing: -0.021em; }
.type-title { font-family: var(--font-display); font-size: 27px; line-height: 1.2; font-weight: 700; letter-spacing: -0.019em; }
.type-lead { font-family: var(--font-display); font-size: 27px; line-height: 1.5; font-weight: 400; }
.type-body-xl { font-family: var(--font-display); font-size: 24px; line-height: 1.4; font-weight: 400; }
.type-body-l { font-family: var(--font-display); font-size: 22px; line-height: 1.5; font-weight: 400; }
.type-body { font-family: var(--font-display); font-size: 20px; line-height: 1.4; font-weight: 400; }
.type-nav { font-family: var(--font-display); font-size: 18px; line-height: 1.2; font-weight: 400; }
.type-button { font-family: var(--font-display); font-size: 17px; line-height: 1.2; font-weight: 400; }
.type-small { font-family: var(--font-display); font-size: 15px; line-height: 1.4; font-weight: 400; }
.type-eyebrow { font-family: var(--font-display); font-size: 13px; line-height: 1.2; font-weight: 700; letter-spacing: 0.02em; }
.type-index { font-family: var(--font-display); font-size: 13px; line-height: 1.2; font-weight: 400; }
.type-meta { font-family: var(--font-display); font-size: 11px; line-height: 1.3; font-weight: 400; letter-spacing: 0.02em; }
.type-hero-xl-m { font-family: var(--font-display); font-size: 54px; line-height: 0.95; font-weight: 700; letter-spacing: -0.033em; }
.type-hero-l-m { font-family: var(--font-display); font-size: 44px; line-height: 0.95; font-weight: 700; letter-spacing: -0.033em; }
.type-section-title-m { font-family: var(--font-display); font-size: 40px; line-height: 1.0; font-weight: 700; letter-spacing: -0.034em; }
.type-headline-m { font-family: var(--font-display); font-size: 28px; line-height: 1.1; font-weight: 700; letter-spacing: -0.028em; }
.type-accordion-title-m { font-family: var(--font-display); font-size: 19px; line-height: 1.2; font-weight: 700; letter-spacing: -0.019em; }
.type-panel-m { font-family: var(--font-display); font-size: 16px; line-height: 1.45; font-weight: 400; }
.type-body-m { font-family: var(--font-display); font-size: 15px; line-height: 1.53; font-weight: 400; }
.type-button-m { font-family: var(--font-display); font-size: 15px; line-height: 1.2; font-weight: 400; }

/* ---------- Schrift ----------
   Helvetica Now Display (Monotype) braucht eine Webfont-Lizenz. Die lizenzierten Dateien hier ablegen:
   assets/fonts/HelveticaNowDisplay-Regular.woff2 und assets/fonts/HelveticaNowDisplay-Bold.woff2.
   Ist die Schrift lokal installiert, wird sie direkt genutzt; sonst greifen Helvetica Neue, Helvetica, Arial. */
@font-face { font-family: "Helvetica Now Display"; font-weight: 400; font-style: normal; font-display: swap;
  src: local("Helvetica Now Display"), local("HelveticaNowDisplay-Regular"), url("../fonts/HelveticaNowDisplay-Regular.woff2") format("woff2"); }
@font-face { font-family: "Helvetica Now Display"; font-weight: 700; font-style: normal; font-display: swap;
  src: local("Helvetica Now Display Bold"), local("HelveticaNowDisplay-Bold"), url("../fonts/HelveticaNowDisplay-Bold.woff2") format("woff2"); }

/* Beyond Loud — Komponenten-Styles. Lädt nach tokens.css; alle Farben, Abstände und Größen kommen aus den Tokens.
   Breakpoints (siehe Token bp-tablet / bp-desktop): mobil < 760px · Tablet 760–1099px · Desktop ≥ 1100px. */

/* ---------- Basis ---------- */
body { margin: 0; font-family: var(--font-display); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-kerning: normal; }
[class^="bl-"], [class*=" bl-"], [class^="bl-"]::before, [class*=" bl-"]::before, [class^="bl-"]::after, [class*=" bl-"]::after { box-sizing: border-box; }
.bl-page { font-family: var(--font-display); color: var(--ink); background: var(--white); overflow-x: clip; }
:where(.bl-page) :where(h1, h2, h3, p, ul) { margin: 0; }
.bl-container { width: 100%; max-width: calc(var(--container) + 2 * var(--fluid-gutter)); margin-inline: auto; padding-inline: var(--fluid-gutter); }
.bl-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.bl-muted { color: var(--ink-muted); }
.bl-page :focus-visible, .bl-focus:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.bl-on-petrol :focus-visible { outline-color: var(--night); }
.bl-on-night :focus-visible { outline-color: var(--petrol); }

/* Fluide Schriftgrößen: Gewicht, Zeilenhöhe und Laufweite kommen aus der type-*-Klasse, die Größe skaliert zwischen 390 und 1440px. */
.bl-fluid.type-hero-xl { font-size: var(--fluid-hero-xl); }
.bl-fluid.type-hero-l { font-size: var(--fluid-hero-l); }
.bl-fluid.type-claim { font-size: var(--fluid-claim); }
.bl-fluid.type-display { font-size: var(--fluid-display); }
.bl-fluid.type-section-title { font-size: var(--fluid-section-title); }
.bl-fluid.type-headline { font-size: var(--fluid-headline); }
.bl-fluid.type-title-l { font-size: var(--fluid-title-l); }
.bl-fluid.type-title { font-size: var(--fluid-title); }
.bl-fluid.type-lead { font-size: var(--fluid-lead); }
.bl-fluid.type-body-xl { font-size: var(--fluid-body-xl); }
.bl-fluid.type-body-l { font-size: var(--fluid-body-l); }
.bl-fluid.type-body { font-size: var(--fluid-body); }
.bl-fluid.type-nav { font-size: var(--fluid-nav); }
.bl-fluid.type-button { font-size: var(--fluid-button); }
@media (max-width: 759px) {
  .bl-fluid.type-headline { line-height: 1.1; }
  .bl-fluid.type-body-l { line-height: 1.53; }
}

/* ---------- Icons ---------- */
.bl-icon { display: block; flex: none; fill: none; stroke: currentColor; stroke-width: var(--stroke-icon); }
.bl-icon path { vector-effect: non-scaling-stroke; }

/* ---------- Button ---------- */
.bl-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: var(--space-m); height: var(--button-h); min-width: var(--button-min); padding: 0 var(--space-m); border: 0; border-radius: var(--radius-pill); background: var(--night); color: var(--white); font: inherit; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.bl-btn__label { font-family: var(--font-display); }
.bl-btn .bl-icon { width: 17px; height: 17px; color: var(--petrol); transition: transform .2s ease, color .2s ease; }
.bl-btn:hover { background: var(--petrol); color: var(--night); }
.bl-btn:hover .bl-icon { color: var(--night); transform: translate(2px, -2px); }
.bl-btn--compact { min-width: 0; }
.bl-btn--wide { min-width: 346px; }
.bl-btn--petrol { background: var(--petrol); color: var(--night); }
.bl-btn--petrol .bl-icon { color: var(--night); }
.bl-btn--petrol:hover { background: var(--night); color: var(--white); }
.bl-btn--petrol:hover .bl-icon { color: var(--petrol); }
.bl-btn--light { background: var(--white); color: var(--night); }
.bl-btn--light:hover { background: var(--petrol); }
@media (max-width: 759px) {
  .bl-btn { height: var(--button-h-m); padding: 0 var(--space-m) 0 20px; }
  .bl-btn .bl-icon { width: 13px; height: 13px; }
  .bl-btn--wide { min-width: var(--button-min); }
}

/* ---------- Logo ---------- */
/* Die PNG-Datei hat einen weißen Rand; .bl-logo schneidet ihn ab, sodass die Marke bündig am Satzspiegel steht. */
.bl-logo { position: relative; display: block; flex: none; width: var(--logo-w); aspect-ratio: 1; overflow: hidden; }
.bl-logo img { position: absolute; left: -16.8%; top: -16.8%; width: 129.9%; height: auto; max-width: none; }
.bl-logo-badge { display: grid; place-items: center; width: var(--logo-badge); aspect-ratio: 1; padding: calc(var(--logo-badge) * .086); background: var(--white); flex: none; }
.bl-logo-badge .bl-logo { width: 100%; }
@media (max-width: 759px) {
  .bl-logo { width: var(--logo-w-m); }
  .bl-logo-badge { width: 50px; padding: 4px; }
  .bl-logo-badge .bl-logo { width: 100%; }
}

/* ---------- Eyebrow ---------- */
.bl-eyebrow { display: flex; align-items: center; gap: var(--space-s); margin: 0; text-transform: uppercase; color: var(--petrol-strong); }
.bl-eyebrow--muted { color: var(--ink-muted); }
.bl-eyebrow--night { color: var(--night); }
.bl-eyebrow--on-night { color: var(--night-muted); }
.bl-eyebrow__bar { width: 30px; height: var(--stroke-accent); background: var(--petrol); flex: none; }

/* ---------- Header ---------- */
.bl-header { background: var(--white); z-index: 20; }
.bl-header--sticky { position: sticky; top: 0; }
.bl-header__bar { display: flex; align-items: center; height: var(--header-h); padding-bottom: 6px; gap: 54px; }
.bl-header__home { display: block; margin-right: auto; }
.bl-header__nav { display: flex; align-items: center; gap: 60px; }
.bl-header__link { position: relative; display: inline-flex; align-items: center; min-height: var(--tap-min); padding-top: 10px; color: var(--ink); text-decoration: none; }
.bl-header__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: var(--stroke-accent); background: var(--petrol); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.bl-header__link[aria-current="true"]::after, .bl-header__link[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .bl-header__link:hover::after { transform: scaleX(1); }
}
@media (max-width: 759px) {
  .bl-header__bar { height: var(--header-h-m); padding-bottom: 0; gap: var(--space-m); }
  .bl-header__nav { gap: var(--space-xl); height: 30px; border-bottom: var(--stroke-hairline) solid var(--line); }
  .bl-header__nav--desktop { display: none; }
  .bl-header__link { min-height: 0; padding: 7px 0; margin-block: -7px; }
  .bl-header__link::after { bottom: 5px; }
  .bl-header__cta.bl-btn { height: var(--tap-min); padding: 0 var(--space-s) 0 20px; }
  .bl-header + main .bl-hero, .bl-header + .bl-hero { margin-top: 13px; }
}
@media (min-width: 760px) {
  .bl-header__mobile-nav { display: none; }
}

/* ---------- Hero ---------- */
.bl-hero { padding-inline: var(--fluid-frame); }
.bl-hero__frame { position: relative; display: flex; overflow: hidden; aspect-ratio: 1376 / 561; background: var(--petrol-tint); max-width: calc(var(--container) + 2 * var(--fluid-gutter) - 2 * var(--fluid-frame)); margin-inline: auto; }
.bl-hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: grayscale(1); }
/* Schleier wie im Entwurf: 26 % white, darüber 4,5 % petrol-tint — hellt das Foto auf, damit die Headline trägt. */
.bl-hero__veil { position: absolute; inset: 0; background: var(--white); opacity: .26; }
.bl-hero__veil::after { content: ""; position: absolute; inset: 0; background: var(--petrol-tint); opacity: .045; }
.bl-hero__tone { position: absolute; inset: 0; background: var(--petrol); mix-blend-mode: multiply; display: none; }
.bl-hero__content { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-m); padding: 0 calc(var(--fluid-gutter) - var(--fluid-frame)) clamp(24px, 8.1vw, 117px); }
.bl-hero__title { margin: 0; color: var(--ink); }
.bl-hero__title span { display: block; }
.bl-hero__l1 { margin-top: 0.064em; }
.bl-hero__l2 { margin-top: 0.008em; }
.bl-hero__tag { align-self: flex-start; display: flex; align-items: center; height: var(--button-h-m); padding: 0 var(--space-xl) 0 15px; background: var(--white); color: var(--petrol-strong); text-transform: uppercase; margin: 0; }
.bl-hero--petrol .bl-hero__tone { display: block; }
.bl-hero--petrol .bl-hero__veil { display: none; }
.bl-hero--petrol .bl-hero__title { color: var(--white); }
@media (max-width: 759px) {
  .bl-hero__frame { aspect-ratio: 358 / 200; }
  .bl-hero__media { object-position: 100% 50%; }
  .bl-hero__content { padding: 7px var(--space-xs) var(--space-s); }
  .bl-hero__l2 { margin-top: 0.06em; }
  .bl-hero__tag { display: none; }
}

/* ---------- Intro (unter dem Hero) ---------- */
.bl-intro { padding-block: var(--space-xl); }
.bl-intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 435px); column-gap: var(--space-2xl); }
.bl-intro__left { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-xl); }
.bl-intro__left .bl-eyebrow { margin-bottom: -17px; }
.bl-intro__right { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-l); padding-top: 4px; }
.bl-intro__text { max-width: 17.5em; line-height: 1.364; }
/* Tablet (einspaltig, 760–1099px): Text nutzt die volle Breite. Mobil und Desktop bleiben wie in der Vorlage. */
@media (min-width: 760px) and (max-width: 1099px) {
  .bl-intro__text { max-width: none; text-wrap: pretty; }
}
@media (max-width: 1099px) {
  .bl-intro__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-m); }
  .bl-intro__left .bl-eyebrow { display: none; }
}
@media (max-width: 759px) {
  .bl-intro { padding-block: 27px 0; }
  .bl-intro__grid { row-gap: var(--space-s); }
  .bl-intro__right { gap: var(--space-l); }
}

/* ---------- Split-Raster (Text-Spalte + Inhalts-Spalte) ---------- */
.bl-split { display: grid; grid-template-columns: minmax(0, 576fr) minmax(0, 676fr); column-gap: var(--space-2xl); }
.bl-split--end { grid-template-columns: minmax(0, 674fr) minmax(0, 536fr); column-gap: var(--space-3xl); }
.bl-split__text { grid-column: 1; }
.bl-split__aside { grid-column: 2; }
.bl-split--end .bl-split__text { grid-column: 2; grid-row: 1; }
.bl-split--end .bl-split__aside { grid-column: 1; grid-row: 1; }
@media (max-width: 1099px) {
  .bl-split, .bl-split--end { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }
  .bl-split__text, .bl-split--end .bl-split__text { grid-column: 1; grid-row: 1; }
  .bl-split__aside, .bl-split--end .bl-split__aside { grid-column: 1; grid-row: 2; }
}

/* ---------- Leistungskarte (Desktop) ---------- */
.bl-card { position: relative; border-top: var(--stroke-hairline) solid var(--line); padding-top: 21px; }
.bl-card::before { content: ""; position: absolute; top: -1px; left: 0; width: var(--accent-w); height: var(--stroke-accent); background: var(--petrol); }
.bl-card__index { display: block; color: var(--petrol-strong); margin-bottom: 14px; }
.bl-card__title { margin: 0 0 14px; color: var(--ink); }
.bl-card__text { margin: 0 calc(-1 * var(--space-s)) 0 0; color: var(--ink-muted); }
.bl-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-xl); row-gap: var(--fluid-stack); }

/* ---------- Akkordeon / Leistungskasten (mobil) ---------- */
.bl-accordion { border-bottom: var(--stroke-hairline) solid var(--line); }
.bl-accordion__item { position: relative; border-top: var(--stroke-hairline) solid var(--line); transition: background-color .25s ease, padding .25s ease; }
.bl-accordion__item::before { content: ""; position: absolute; top: -1px; left: 0; width: var(--accent-w); height: var(--stroke-accent); background: var(--petrol); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.bl-accordion__item.is-open { background: var(--petrol-wash); padding-inline: var(--space-xs); }
.bl-accordion__item.is-open::before { transform: scaleX(1); }
.bl-accordion__heading { margin: 0; }
.bl-accordion__trigger { display: flex; align-items: center; justify-content: space-between; gap: var(--space-m); width: 100%; min-height: 49px; padding: 13px 17px 13px 0; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.bl-accordion__item.is-open .bl-accordion__trigger { padding-top: 15px; padding-right: 5px; }
.bl-accordion__label { font-family: var(--font-display); }
.bl-accordion__icon { width: 12px; height: 12px; color: var(--petrol); }
.bl-accordion__icon .bl-accordion__vbar { transform-origin: 50% 50%; transition: transform .25s ease; }
.bl-accordion__item.is-open .bl-accordion__vbar { transform: rotate(90deg); }
.bl-accordion__panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .3s ease, visibility 0s linear .3s; }
.bl-accordion__item.is-open > .bl-accordion__panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .3s ease, visibility 0s; }
.bl-accordion__inner { overflow: hidden; min-height: 0; }
.bl-accordion__text { margin: 0; padding: 9px 0 21px; color: var(--ink-muted); }
@media (prefers-reduced-motion: reduce) {
  .bl-accordion__item, .bl-accordion__item::before, .bl-accordion__panel, .bl-accordion__vbar, .bl-btn, .bl-btn .bl-icon, .bl-header__link::after { transition: none !important; }
}

/* ---------- FeatureRow ---------- */
.bl-feature { border-top: var(--stroke-hairline) solid var(--line); padding-top: 44px; }
.bl-feature__title { margin: -2px 0 0; color: var(--ink); }
.bl-feature__body { position: relative; padding-right: 64px; }
.bl-feature__line { margin: 0; color: var(--ink); }
.bl-feature__sub { margin: 5px 0 0; color: var(--ink-muted); }
.bl-feature__link { position: absolute; right: 0; top: 2px; display: grid; place-items: center; width: var(--tap-min); height: var(--tap-min); color: var(--petrol); }
.bl-feature__link .bl-icon { width: 25px; height: 25px; transition: transform .2s ease; }
.bl-feature__link:hover .bl-icon { transform: translate(3px, -3px); }

/* ---------- Leistungsbereich (Marketing / Production) ---------- */
.bl-section { padding-top: var(--fluid-section); scroll-margin-top: var(--header-h); }
.bl-section__head { margin-bottom: calc(var(--fluid-stack) - 4px); }
.bl-section__title { margin: 0; color: var(--ink); }
.bl-section__subtitle { margin: var(--space-s) 0 0; color: var(--ink-muted); }
.bl-section__lead { margin: 0; color: var(--ink); }
.bl-section__text { margin: 42px 0 0; color: var(--ink); max-width: 30em; }
.bl-section__cta { margin-top: 36px; }
.bl-section__aside { padding-top: 11px; }
.bl-section__feature { margin-top: 105px; }
.bl-section__meta { margin-top: 71px; }
.bl-section__mobile { display: none; }
@media (min-width: 760px) {
  .bl-section__subtitle { display: none; }
}
@media (max-width: 759px) {
  .bl-section { padding-top: var(--space-xl); scroll-margin-top: 112px; }
  .bl-section__head { margin-bottom: var(--space-m); }
  .bl-section__desktop, .bl-section__feature, .bl-section__meta { display: none; }
  .bl-section__mobile { display: block; }
}

/* ---------- Kontakt ---------- */
.bl-contact { padding-block: var(--fluid-band); scroll-margin-top: var(--header-h); }
.bl-contact__eyebrow { margin-bottom: 77px; }
.bl-contact__title { margin: 0; color: var(--ink); }
.bl-contact__title-m { display: none; }
.bl-contact__lead { margin: 72px 0 0; }
.bl-contact__lead span { display: block; }
.bl-contact__lead .bl-contact__lead2 { color: var(--ink-muted); }
.bl-contact__cta { margin-top: 46px; }
.bl-contact--petrol { background: var(--petrol); margin-top: var(--fluid-section); }
.bl-section + .bl-contact:not(.bl-contact--petrol) { padding-top: var(--fluid-section); }
.bl-contact--petrol .bl-contact__eyebrow { color: var(--night); }
.bl-contact--petrol .bl-contact__title { color: var(--white); }
.bl-contact--petrol .bl-contact__lead { color: var(--night); }
.bl-contact--petrol .bl-contact__lead .bl-contact__lead2 { color: var(--white); }
.bl-contact--petrol .bl-btn:hover { background: var(--white); color: var(--night); }
@media (max-width: 759px) {
  .bl-contact { padding-block: var(--space-xl); scroll-margin-top: 112px; }
  .bl-contact--petrol { margin-top: var(--space-xl); }
  .bl-section + .bl-contact:not(.bl-contact--petrol) { padding-top: var(--space-xl); }
  .bl-contact__eyebrow { margin-bottom: var(--space-m); }
  .bl-contact__lead { margin-top: var(--space-m); }
  .bl-contact__cta { margin-top: var(--space-l); }
  .bl-contact--has-m .bl-contact__title, .bl-contact--has-m .bl-contact__lead, .bl-contact--has-m .bl-contact__eyebrow { display: none; }
  .bl-contact--has-m .bl-contact__title-m { display: block; margin: 0; color: var(--ink); }
  .bl-contact--petrol.bl-contact--has-m .bl-contact__title-m { color: var(--white); }
}

/* ---------- Footer ---------- */
.bl-footer { background: var(--night); color: var(--white); padding-block: 29px 42px; }
.bl-footer__top { display: flex; align-items: center; gap: 60px; padding-bottom: 28px; border-bottom: var(--stroke-hairline) solid var(--night-line); }
.bl-footer__claim { margin: 0; padding-top: 12px; color: var(--white); }
.bl-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--space-m); padding-top: 30px; }
.bl-footer__links { display: flex; gap: 88px; margin: 0 32px 0 0; padding: 0; list-style: none; }
.bl-footer__links a { display: inline-flex; align-items: center; min-height: 24px; color: var(--white); text-decoration: none; }
.bl-footer__links a:hover { color: var(--petrol); }
@media (max-width: 759px) {
  .bl-footer { padding-block: 20px 8px; }
  .bl-footer__top { gap: var(--space-s); padding-bottom: 6px; border-bottom: 0; }
  .bl-footer__claim { padding-top: 0; }
  .bl-footer__bottom { padding-top: 0; }
  .bl-footer__bottom .bl-eyebrow { display: none; }
  .bl-footer__links { gap: var(--space-2xl); margin: 0; }
  .bl-footer__links a { min-height: var(--tap-min); font-size: 13px; }
}

/* ---------- Rechtsseite (Impressum / Datenschutz) ---------- */
.bl-legal { padding-block: var(--fluid-section) var(--fluid-section); }
.bl-legal__title { margin: var(--space-m) 0 var(--fluid-stack); color: var(--ink); }
.bl-legal__body { max-width: var(--measure); }
.bl-legal__body h2 { margin: var(--space-2xl) 0 var(--space-s); }
.bl-legal__body h2:first-child { margin-top: 0; }
.bl-legal__body p { margin: 0 0 var(--space-s); color: var(--ink); }
.bl-legal__body a { color: var(--ink); text-decoration-color: var(--petrol); text-decoration-thickness: var(--stroke-accent); text-underline-offset: 4px; }
.bl-legal__note { margin-top: var(--space-2xl); padding-top: var(--space-m); border-top: var(--stroke-hairline) solid var(--line); }

/* ---------- Website-Ergänzungen ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
::selection { background: var(--petrol); color: var(--night); }
.bl-skip { position: absolute; left: var(--space-m); top: -200px; z-index: 50; padding: 12px var(--space-m); background: var(--night); color: var(--white); text-decoration: none; }
.bl-skip:focus { top: var(--space-s); }
.bl-header { transition: box-shadow .2s ease; }
.bl-header.is-scrolled { box-shadow: inset 0 calc(-1 * var(--stroke-hairline)) 0 var(--line); }
.bl-hero picture { display: contents; }
/* Ohne JavaScript bleiben alle Leistungskästen offen lesbar. */
.no-js .bl-accordion__panel { grid-template-rows: 1fr; visibility: visible; }
.no-js .bl-accordion__icon { display: none; }
.bl-legal__body ul { margin: 0 0 var(--space-s); padding-left: 1.1em; color: var(--ink); }
.bl-legal__body li { margin-bottom: 4px; }
.bl-legal__body li::marker { color: var(--petrol); }
@media (max-width: 759px) {
  .bl-section, .bl-contact { scroll-margin-top: 104px; }
  .bl-legal { padding-block: var(--space-2xl); }
  .bl-legal__body h2 { margin-top: var(--space-xl); }
}

/* ---------- Bewegung ----------
   Startzustände greifen nur mit JavaScript (Klasse .bl-motion auf <html>, gesetzt im <head>).
   Ohne JavaScript und beim Drucken bleibt alles sofort sichtbar; bei „Bewegung reduzieren“
   wird nur sanft eingeblendet, ohne Positionswechsel. */
@keyframes bl-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bl-rise { from { opacity: 0; translate: 0 32px; } to { opacity: 1; translate: none; } }
@keyframes bl-unmask { from { translate: 0 140%; } to { translate: none; } }
@keyframes bl-draw { from { transform: scaleX(0); } to { transform: none; } }
@keyframes bl-curtain { from { clip-path: inset(100% 0 0); } to { clip-path: inset(0); } }
@keyframes bl-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes bl-settle { from { transform: scale(1.15); } to { transform: none; } }
@keyframes bl-hero-zoom { to { scale: 1.12; } }
@keyframes bl-hero-lift { to { translate: 0 -18%; } }
@keyframes bl-drift { from { translate: var(--drift) 0; } to { translate: calc(-1 * var(--drift)) 0; } }
@keyframes bl-band { from { clip-path: inset(0 var(--fluid-frame)); } to { clip-path: inset(0); } }
@keyframes bl-progress { from { transform: scaleX(0); } to { transform: none; } }

/* Zeilen (.bl-line) und Wörter (.bl-word) erzeugt main.js aus Überschriften mit data-reveal="lines" bzw. "words". */
.bl-line, .bl-line__inner { display: block; }
.bl-word, .bl-word__inner { display: inline-block; }

/* Einblenden beim Scrollen (main.js setzt .is-visible und --reveal-delay) */
.bl-motion [data-reveal] { opacity: 0; }
.bl-motion [data-reveal].is-visible { animation: bl-fade .6s ease var(--reveal-delay, 0s) both; }
.bl-motion .bl-hero__frame { animation: bl-fade .6s ease both; }

@media (prefers-reduced-motion: no-preference) {
  .bl-motion [data-reveal].is-visible { animation: bl-rise 1s var(--ease-out) var(--reveal-delay, 0s) both; }

  /* Text steigt aus seiner Zeile auf. Die Maske lässt Platz für Unterlängen und Überhänge. */
  .bl-motion .bl-line, .bl-motion .bl-word { clip-path: inset(-0.2em -0.5em -0.25em); }
  .bl-motion .bl-line__inner, .bl-motion .bl-word__inner { translate: 0 140%; }
  .bl-motion [data-reveal].is-split { opacity: 1; }
  .bl-motion [data-reveal].is-split.is-visible { animation: none; }
  .bl-motion .is-visible .bl-line__inner { animation: bl-unmask 1.1s var(--ease-out) calc(var(--reveal-delay, 0s) + var(--i, 0) * 90ms) both; }
  .bl-motion .is-visible .bl-word__inner { animation: bl-unmask 1s var(--ease-out) calc(var(--reveal-delay, 0s) + var(--i, 0) * 70ms) both; }

  /* Linien zeichnen sich: Haarlinie über Karten und Feature-Zeile, danach Akzent und Eyebrow-Balken. */
  .bl-motion .bl-card[data-reveal], .bl-motion .bl-feature[data-reveal] { border-top-color: transparent; }
  .bl-motion .bl-feature[data-reveal] { position: relative; }
  .bl-motion .bl-card[data-reveal]::after, .bl-motion .bl-feature[data-reveal]::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: var(--stroke-hairline); background: var(--line); transform: scaleX(0); transform-origin: left; }
  .bl-motion .bl-card[data-reveal]::before, .bl-motion .bl-eyebrow__bar { z-index: 1; transform: scaleX(0); transform-origin: left; }
  .bl-motion .bl-card.is-visible::after, .bl-motion .bl-feature.is-visible::before { animation: bl-draw 1.2s var(--ease-in-out) var(--reveal-delay, 0s) both; }
  .bl-motion .bl-card.is-visible::before { animation: bl-draw .7s var(--ease-out) calc(var(--reveal-delay, 0s) + .45s) both; }
  .bl-motion .is-visible .bl-eyebrow__bar { animation: bl-draw .8s var(--ease-out) calc(var(--reveal-delay, 0s) + .3s) both; }

  /* Hero beim Laden: Bild fährt wie ein Vorhang auf und setzt sich, die Headline steigt Zeile für Zeile auf. */
  .bl-motion .bl-hero__frame { animation: bl-curtain 1.3s var(--ease-out) both; }
  .bl-motion .bl-hero__media { animation: bl-settle 2s var(--ease-out) both; }
  .bl-motion .bl-hero .bl-line__inner { animation: bl-unmask 1.2s var(--ease-out) .25s both; }
  .bl-motion .bl-hero__l2 .bl-line__inner { animation-delay: .37s; }
  .bl-motion .bl-hero__tag { animation: bl-wipe .9s var(--ease-out) .75s both; }

  /* Leistungskästen (mobil): Text blendet beim Öffnen leicht nach. */
  .bl-motion .bl-accordion__text { opacity: 0; translate: 0 -6px; transition: opacity .2s ease, translate .3s var(--ease-out); }
  .bl-motion .bl-accordion__item.is-open .bl-accordion__text { opacity: 1; translate: none; transition-delay: .08s; }

  /* Navigation: Unterstrich kommt von links und geht nach rechts. */
  .bl-header__link::after { transform-origin: right; transition: transform .35s var(--ease-out); }
  .bl-header__link[aria-current]::after { transform-origin: left; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .bl-header__link:hover::after { transform-origin: left; }
}

/* Buttons: geben beim Drücken nach. Beim Überfahren läuft eine Füllung von links ein:
   eine Kopie von Text und Pfeil mit Ausschnitt, damit Fläche und Schrift synchron wechseln. */
.bl-btn { transition: background-color .2s ease, color .2s ease, transform .16s var(--ease-out); }
.bl-btn:active { transform: scale(.97); }
.bl-btn__fill { display: none; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .bl-btn.has-fill { position: relative; isolation: isolate; }
  .bl-btn__fill { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; gap: inherit; padding: inherit; border-radius: inherit; background: var(--petrol); color: var(--night); clip-path: inset(0 100% 0 0 round var(--radius-pill)); transition: clip-path .45s var(--ease-out); pointer-events: none; }
  .bl-btn.has-fill:hover .bl-btn__fill { clip-path: inset(0 round var(--radius-pill)); }
  /* Die untere Ebene behält ihre Farben, während die Füllung darüberläuft. */
  .bl-btn.has-fill:hover { background-color: var(--night); color: var(--white); }
  .bl-btn.has-fill:hover > .bl-icon { color: var(--petrol); }
  .bl-contact--petrol .bl-btn__fill { background: var(--white); }
  .bl-contact--petrol .bl-btn.has-fill:hover { background-color: var(--night); color: var(--white); }
  .bl-btn--petrol.has-fill:hover { background-color: var(--petrol); color: var(--night); }
  .bl-btn--petrol.has-fill:hover > .bl-icon { color: var(--night); }
  .bl-btn--petrol .bl-btn__fill { background: var(--night); color: var(--white); }
  .bl-btn--petrol.has-fill .bl-btn__fill .bl-icon { color: var(--petrol); }
  .bl-btn--light.has-fill:hover { background-color: var(--white); color: var(--night); }
}
.bl-footer__links a { transition: color .2s ease; }

/* An die Scrollposition gekoppelt (läuft ohne JavaScript, wo der Browser es kann). */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    /* Lesefortschritt: petrolfarbene Linie an der Unterkante des Headers. */
    .bl-header::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: var(--stroke-accent); background: var(--petrol); transform-origin: left; animation: bl-progress linear both; animation-timeline: scroll(root block); }
  }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* Hero beim Wegscrollen: Bild zoomt leicht, die Headline zieht schneller nach oben. */
    .bl-hero { view-timeline: --bl-hero block; }
    .bl-motion .bl-hero__media { animation: bl-settle 2s var(--ease-out) both, bl-hero-zoom linear both; animation-timeline: auto, --bl-hero; animation-range: normal, exit; }
    .bl-hero__content { animation: bl-hero-lift linear both; animation-timeline: --bl-hero; animation-range: exit; }
    /* Bereichstitel driften gegenläufig, passend zum gespiegelten Raster; mittig im Bild stehen sie genau im Raster. */
    .bl-section__head .bl-split__text { --drift: 3vw; animation: bl-drift linear both; animation-timeline: view(); animation-range: cover; }
    .bl-section__head.bl-split--end .bl-split__text { --drift: -3vw; }
    /* Kontaktband öffnet sich von der Breite des Hero-Bilds auf volle Breite. */
    .bl-contact--petrol { animation: bl-band linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  }
}

@media print {
  .bl-motion *, .bl-motion *::before, .bl-motion *::after { animation: none !important; }
  .bl-motion [data-reveal], .bl-motion .bl-accordion__text { opacity: 1 !important; }
  .bl-motion .bl-line__inner, .bl-motion .bl-word__inner { translate: none !important; }
  .bl-motion .bl-card::before, .bl-motion .bl-card::after, .bl-motion .bl-feature::before, .bl-motion .bl-eyebrow__bar { transform: none !important; }
}

/* ---------- Kontaktseite ---------- */
:root { --alert: #b3362b; }
.bl-kontakt { padding-top: var(--fluid-band); }
/* Desktop: Überschrift und Direktkontakt links, Formular rechts – sofort im Blick. */
.bl-kontakt__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head panel" "info panel"; grid-template-rows: auto 1fr; column-gap: var(--space-3xl); row-gap: var(--fluid-section); align-items: start; }
.bl-kontakt__head { grid-area: head; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-l); }
.bl-kontakt__title { color: var(--ink); }
.bl-kontakt__lead { max-width: 22em; color: var(--ink-muted); }
.bl-kontakt__panel { grid-area: panel; background: var(--petrol-wash); padding: clamp(24px, 1.5px + 5.77vw, 64px); scroll-margin-top: calc(var(--header-h) + var(--space-m)); }
.bl-kontakt__info { grid-area: info; display: flex; flex-direction: column; gap: var(--fluid-stack); }
.bl-kontakt__mail { display: inline-block; margin-bottom: 12px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--petrol); text-decoration-thickness: var(--stroke-accent); text-underline-offset: .22em; overflow-wrap: anywhere; transition: color .2s ease; }
.bl-kontakt__areas { margin: 0; padding: 0; list-style: none; }
.bl-kontakt__areas a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-m); padding: 14px 0 16px; border-bottom: var(--stroke-hairline) solid var(--line); color: var(--ink); text-decoration: none; }
.bl-kontakt__areas li:first-child a { padding-top: 0; }
.bl-kontakt__area, .bl-kontakt__area-sub { display: block; }
.bl-kontakt__area-sub { margin-top: 4px; color: var(--ink-muted); }
.bl-kontakt__areas .bl-icon { width: 20px; height: 20px; color: var(--petrol); transition: transform .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .bl-kontakt__mail:hover { color: var(--petrol-strong); }
  .bl-kontakt__areas a:hover .bl-icon { transform: translate(3px, -3px); }
}
.bl-kontakt-steps { padding-bottom: var(--fluid-section); }
.bl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--space-xl); row-gap: var(--fluid-stack); margin-top: var(--fluid-stack); }
@media (max-width: 1099px) {
  .bl-kontakt__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "panel" "info"; grid-template-rows: none; row-gap: var(--fluid-stack); }
  .bl-kontakt__lead { max-width: none; }
}
@media (max-width: 759px) {
  .bl-kontakt { padding-top: var(--space-xl); }
  .bl-kontakt__head { gap: var(--space-s); }
  .bl-kontakt__panel { margin-inline: calc(-1 * var(--fluid-gutter)); padding: var(--space-l) var(--fluid-gutter); scroll-margin-top: 112px; }
  .bl-steps { grid-template-columns: minmax(0, 1fr); }
  .bl-kontakt-steps { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }
}

/* ---------- Formular ---------- */
.bl-form { --form-gap: var(--space-xl); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--form-gap) var(--space-l); }
.bl-form[hidden], .bl-form-done[hidden], .bl-form-done [data-done][hidden] { display: none; }
.bl-form__title { color: var(--ink); }
.bl-form__title, .bl-form__full { grid-column: 1 / -1; }
.bl-form__topics { min-width: 0; margin: 0; padding: 0; border: 0; }
.bl-form__label { display: block; margin-bottom: 6px; padding: 0; color: var(--ink-muted); transition: color .2s ease; }
legend.bl-form__label { margin-bottom: 12px; }
.bl-chips { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.bl-chip { position: relative; display: inline-flex; }
.bl-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.bl-chip__face { display: inline-flex; align-items: center; gap: 10px; height: var(--tap-min); padding: 0 20px 0 13px; border: var(--stroke-hairline) solid var(--ink-muted); border-radius: var(--radius-pill); background: var(--white); color: var(--ink); pointer-events: none; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .16s var(--ease-out); }
.bl-chip__mark { display: grid; place-items: center; width: 18px; height: 18px; border: 1.4px solid currentColor; border-radius: 50%; transition: background-color .2s ease, border-color .2s ease; }
.bl-chip__mark svg { width: 12px; height: 12px; fill: none; stroke: var(--night); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .3s var(--ease-out); }
.bl-chip input:checked + .bl-chip__face { background: var(--night); border-color: var(--night); color: var(--white); }
.bl-chip input:checked + .bl-chip__face .bl-chip__mark { background: var(--petrol); border-color: var(--petrol); }
.bl-chip input:checked + .bl-chip__face .bl-chip__mark svg { stroke-dashoffset: 0; transition-delay: .05s; }
.bl-chip input:focus-visible + .bl-chip__face { outline: 2px solid var(--focus); outline-offset: 3px; }
.bl-chip input:active + .bl-chip__face { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .bl-chip:hover input:not(:checked) + .bl-chip__face { border-color: var(--petrol-strong); }
}
.bl-field { min-width: 0; }
.bl-field__control { position: relative; }
.bl-field__input { display: block; width: 100%; margin: 0; padding: 6px 0 10px; border: 0; border-bottom: var(--stroke-hairline) solid var(--ink-muted); border-radius: 0; background: transparent; color: var(--ink); font-family: var(--font-display); font-size: max(16px, var(--fluid-body-l)); font-weight: 400; line-height: 1.4; -webkit-appearance: none; appearance: none; }
.bl-field__input--area { min-height: 9em; resize: vertical; }
.bl-field__input:focus, .bl-field__input:focus-visible { outline: none; }
.bl-field__input:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px var(--petrol-wash) inset; -webkit-text-fill-color: var(--ink); }
/* Fokus: Petrol-Linie läuft von links unter dem Feld ein. */
.bl-field__line { position: absolute; left: 0; right: 0; bottom: 0; height: var(--stroke-accent); background: var(--petrol); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out), background-color .2s ease; pointer-events: none; }
.bl-field__control:focus-within .bl-field__line, .bl-field.is-invalid .bl-field__line { transform: none; }
.bl-field:focus-within .bl-form__label { color: var(--petrol-strong); }
.bl-field.is-invalid .bl-field__line { background: var(--alert); }
.bl-field.is-invalid .bl-form__label { color: var(--alert); }
.bl-field__hint { margin: -2px 0 6px; color: var(--ink-muted); }
.bl-field__error { margin-top: 8px; color: var(--alert); }
.bl-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bl-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-m) var(--space-l); margin-top: var(--space-xs); }
.bl-form__note { flex: 1 1 240px; color: var(--ink-muted); }
.bl-form__note a, .bl-form-done a { color: inherit; text-decoration-color: var(--petrol); text-decoration-thickness: var(--stroke-accent); text-underline-offset: 3px; }
/* Statuszeile bleibt im Layout (für Screenreader), nimmt leer aber keinen Platz ein. */
.bl-form__status { margin-top: calc(-1 * var(--form-gap)); color: var(--alert); }
.bl-form__status:not(:empty) { margin-top: calc(-1 * var(--form-gap) + var(--space-s)); }
.bl-form-done { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-m); outline: none; }
.bl-form-done [data-done] { display: flex; flex-direction: column; gap: var(--space-s); }
.bl-form-done__icon { width: 56px; height: 56px; fill: none; stroke: var(--petrol-strong); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bl-form-done__title { color: var(--ink); }
/* Textbuttons im Linkstil */
.bl-form-done__back, .bl-legal__action, .bl-consent__more { min-height: var(--tap-min); padding: 0; border: 0; background: none; color: var(--ink); font-family: var(--font-display); text-decoration: underline; text-decoration-color: var(--petrol); text-decoration-thickness: var(--stroke-accent); text-underline-offset: 4px; cursor: pointer; transition: color .2s ease; }
.bl-legal__action { font-size: inherit; }
@media (hover: hover) and (pointer: fine) {
  .bl-form-done__back:hover, .bl-legal__action:hover, .bl-consent__more:hover { color: var(--petrol-strong); }
}
@media (prefers-reduced-motion: no-preference) {
  /* Bestätigung: Kreis und Haken zeichnen sich, der Text steigt auf. */
  .bl-form-done:not([hidden]) .bl-form-done__icon circle, .bl-form-done:not([hidden]) .bl-form-done__icon path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: bl-stroke .8s var(--ease-out) .1s forwards; }
  .bl-form-done:not([hidden]) .bl-form-done__icon path { animation-duration: .5s; animation-delay: .6s; }
  .bl-form-done:not([hidden]) > div, .bl-form-done:not([hidden]) > button { animation: bl-rise .9s var(--ease-out) .2s both; }
  .bl-form-done:not([hidden]) > button { animation-delay: .35s; }
}
@keyframes bl-stroke { to { stroke-dashoffset: 0; } }
@media (max-width: 759px) {
  .bl-form { --form-gap: var(--space-l); grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Cookie-Einwilligung (consent.js) ---------- */
:root { --consent-gap: 24px; --consent-btn: 52px; }
.bl-consent-btn { position: fixed; right: var(--consent-gap); bottom: var(--consent-gap); z-index: 40; display: grid; place-items: center; width: var(--consent-btn); height: var(--consent-btn); padding: 0; border: var(--stroke-hairline) solid var(--line); border-radius: 50%; background: var(--white); color: var(--night); box-shadow: 0 6px 24px rgba(19, 35, 38, .14); cursor: pointer; transition: opacity .2s ease, transform .3s var(--ease-out), color .2s ease, visibility 0s; }
.bl-consent-btn .bl-icon { width: 24px; height: 24px; transition: transform .45s var(--ease-out); }
.bl-consent-btn circle { fill: currentColor; stroke: none; }
.bl-consent-btn.is-hidden { opacity: 0; transform: scale(.8); visibility: hidden; transition: opacity .15s ease, transform .2s var(--ease-out), visibility 0s linear .2s; }
.bl-consent-btn:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  .bl-consent-btn:hover { color: var(--petrol-strong); }
  .bl-consent-btn:hover .bl-icon { transform: rotate(-24deg); }
  .bl-consent__close:hover { background: var(--petrol-wash); }
}
/* Panel wächst aus dem Cookie-Button unten rechts. */
.bl-consent { position: fixed; right: var(--consent-gap); bottom: var(--consent-gap); z-index: 41; width: min(440px, calc(100vw - 2 * var(--consent-gap))); max-height: calc(100vh - 2 * var(--consent-gap)); max-height: calc(100dvh - 2 * var(--consent-gap)); overflow-y: auto; overscroll-behavior: contain; padding: var(--space-l); background: var(--white); color: var(--ink); box-shadow: 0 24px 64px rgba(19, 35, 38, .22), 0 2px 8px rgba(19, 35, 38, .08); transform-origin: 100% 100%; opacity: 0; transform: translateY(16px) scale(.96); transition: opacity .2s ease, transform .3s var(--ease-out); }
.bl-consent[hidden] { display: none; }
.bl-consent.is-open { opacity: 1; transform: none; }
.bl-consent:focus { outline: none; }
.bl-consent::before { content: ""; position: absolute; top: 0; left: var(--space-l); width: var(--accent-w); height: var(--stroke-accent); background: var(--petrol); }
.bl-consent-root :focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.bl-consent__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-s); min-height: var(--tap-min); margin: -10px 0 var(--space-xs); }
.bl-consent__close { display: none; place-items: center; width: var(--tap-min); height: var(--tap-min); margin-right: -12px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; transition: background-color .2s ease; }
.bl-consent.has-choice .bl-consent__close { display: grid; }
.bl-consent__close .bl-icon { width: 12px; height: 12px; }
.bl-consent__title { margin: 0 0 var(--space-xs); color: var(--ink); }
.bl-consent__text { margin: 0; color: var(--ink-muted); }
.bl-consent__text a { color: var(--ink); text-decoration-color: var(--petrol); text-decoration-thickness: var(--stroke-accent); text-underline-offset: 3px; }
.bl-consent__details { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .3s var(--ease-out), visibility 0s linear .3s; }
.bl-consent.is-detailed .bl-consent__details { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .3s var(--ease-out), visibility 0s; }
.bl-consent__inner { overflow: hidden; min-height: 0; }
.bl-consent__cats { margin: var(--space-m) 0 0; padding: 0; list-style: none; border-bottom: var(--stroke-hairline) solid var(--line); }
.bl-consent__cat { padding: 14px 0 16px; border-top: var(--stroke-hairline) solid var(--line); }
.bl-consent__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-s); min-height: 28px; }
.bl-consent__name { font-weight: 700; color: var(--ink); cursor: pointer; }
span.bl-consent__name { cursor: default; }
.bl-consent__always { color: var(--petrol-strong); text-transform: uppercase; }
.bl-consent__desc { margin: 6px 0 0; color: var(--ink-muted); }
/* Ablehnen und Zustimmen gleich gewichtet */
.bl-consent__actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-m); }
.bl-consent .bl-btn { flex: 1 1 auto; min-width: 0; height: var(--tap-min); padding: 0 var(--space-s); justify-content: center; }
.bl-consent .bl-btn[data-consent-action="save"], .bl-consent.is-detailed .bl-btn[data-consent-action="necessary"], .bl-consent.is-detailed .bl-consent__more { display: none; }
.bl-consent.is-detailed .bl-btn[data-consent-action="save"] { display: inline-flex; }
.bl-consent__more { margin-top: var(--space-xs); font-size: 15px; }
/* Schalter */
.bl-switch { position: relative; flex: none; width: 44px; height: 26px; margin: 0; border-radius: var(--radius-pill); background: var(--ink-muted); cursor: pointer; -webkit-appearance: none; appearance: none; transition: background-color .2s ease; }
.bl-switch::before { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(19, 35, 38, .3); transition: transform .25s var(--ease-out); }
.bl-switch:checked { background: var(--petrol-strong); }
.bl-switch:checked::before { transform: translateX(18px); }
@media (max-width: 759px) {
  :root { --consent-gap: 12px; --consent-btn: 46px; }
  .bl-consent { padding: var(--space-m) 20px 20px; }
  .bl-consent::before { left: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .bl-consent, .bl-consent.is-open, .bl-consent-btn, .bl-consent-btn.is-hidden { transform: none; }
  .bl-consent-btn .bl-icon, .bl-switch::before, .bl-consent__details, .bl-field__line, .bl-chip__face, .bl-chip__mark svg { transition: none; }
}
@media print {
  .bl-consent-root { display: none; }
}

/* ---------- Mobiles Menü (unter 760px) ----------
   Burger im Header, Vollbild-Menü darunter. main.js setzt .is-open und sperrt den Rest der Seite. */
.bl-burger, .bl-menu { display: none; }
html.bl-menu-open { overflow: hidden; }
.bl-menu-open .bl-header { z-index: 45; }
@media (max-width: 759px) {
  .bl-header__bar { gap: var(--space-xs); }
  .bl-section, .bl-contact { scroll-margin-top: 88px; }
  .bl-kontakt__panel { scroll-margin-top: 88px; }

  /* Burger: zwei Linien, die sich zum X drehen */
  .bl-burger { position: relative; display: block; flex: none; width: var(--tap-min); height: var(--tap-min); margin-right: -10px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .bl-burger__line { position: absolute; left: 11px; right: 11px; top: 50%; height: var(--stroke-accent); margin-top: -1px; background: currentColor; transition: transform .35s var(--ease-in-out); }
  .bl-burger__line:nth-child(2) { transform: translateY(-4px) rotate(0); }
  .bl-burger__line:nth-child(3) { transform: translateY(4px) rotate(0); }
  .bl-burger[aria-expanded="true"] .bl-burger__line:nth-child(2) { transform: translateY(0) rotate(45deg); }
  .bl-burger[aria-expanded="true"] .bl-burger__line:nth-child(3) { transform: translateY(0) rotate(-45deg); }

  /* Menü fährt wie ein Vorhang unter dem Header auf. */
  .bl-menu { position: fixed; inset: var(--header-h-m) 0 0; z-index: 1; display: block; overflow-y: auto; overscroll-behavior: contain; background: var(--white); box-shadow: inset 0 var(--stroke-hairline) 0 var(--line); visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .3s var(--ease-out), visibility 0s linear .3s; }
  .bl-menu.is-open { visibility: visible; clip-path: inset(0); transition: clip-path .5s var(--ease-out), visibility 0s; }
  .bl-menu__inner { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-2xl); min-height: 100%; padding-top: var(--space-l); padding-bottom: calc(var(--space-l) + env(safe-area-inset-bottom)); }
  .bl-menu__list, .bl-menu__meta { margin: 0; padding: 0; list-style: none; }
  .bl-menu__item { position: relative; }
  .bl-menu__item::before, .bl-menu__item::after { content: ""; position: absolute; top: 0; left: 0; transform-origin: left; }
  .bl-menu__item::before { right: 0; height: var(--stroke-hairline); background: var(--line); }
  .bl-menu__item::after { width: var(--accent-w); height: var(--stroke-accent); background: var(--petrol); }
  .bl-menu__link { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: var(--space-m); row-gap: 10px; padding: 16px 0 22px; color: var(--ink); text-decoration: none; -webkit-tap-highlight-color: transparent; }
  .bl-menu__index { grid-column: 1 / -1; color: var(--petrol-strong); }
  .bl-menu__mask, .bl-menu__label { display: block; }
  .bl-menu__link[aria-current] .bl-menu__label { color: var(--petrol-strong); }
  .bl-menu__link .bl-icon { width: 22px; height: 22px; margin-bottom: 8px; color: var(--petrol); transition: transform .2s var(--ease-out); }
  .bl-menu__link:active .bl-icon { transform: translate(3px, -3px); }
  .bl-menu__foot { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-s); }
  .bl-menu__meta { display: flex; flex-wrap: wrap; column-gap: var(--space-l); }
  .bl-menu__meta a, .bl-menu__meta button { display: inline-flex; align-items: center; min-height: var(--tap-min); padding: 0; border: 0; background: none; color: var(--ink-muted); font-family: var(--font-display); text-decoration: none; cursor: pointer; }
  .bl-menu__meta [aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--petrol); text-decoration-thickness: var(--stroke-accent); text-underline-offset: 4px; }

  @media (prefers-reduced-motion: no-preference) {
    /* Beim Öffnen: Linien zeichnen sich, die Titel steigen gestaffelt aus ihrer Maske auf. Schließen ist kurz und ohne Staffel. */
    .bl-menu__mask { clip-path: inset(-0.2em -0.5em -0.25em); }
    .bl-menu__label { translate: 0 130%; transition: translate .2s ease; }
    .bl-menu__item::before, .bl-menu__item::after { transform: scaleX(0); transition: transform .2s ease; }
    .bl-menu__index, .bl-menu__link .bl-icon, .bl-menu__foot { opacity: 0; transition: opacity .15s ease; }
    .bl-menu.is-open .bl-menu__label { translate: none; transition: translate .7s var(--ease-out) calc(.12s + var(--i) * 60ms); }
    .bl-menu.is-open .bl-menu__item::before { transform: none; transition: transform .8s var(--ease-in-out) calc(.05s + var(--i) * 60ms); }
    .bl-menu.is-open .bl-menu__item::after { transform: none; transition: transform .5s var(--ease-out) calc(.4s + var(--i) * 60ms); }
    .bl-menu.is-open .bl-menu__index, .bl-menu.is-open .bl-menu__link .bl-icon, .bl-menu.is-open .bl-menu__foot { opacity: 1; transition: opacity .5s ease calc(.3s + var(--i) * 60ms); }
  }
  @media (prefers-reduced-motion: reduce) {
    .bl-menu { clip-path: none; opacity: 0; transition: opacity .2s ease, visibility 0s linear .2s; }
    .bl-menu.is-open { clip-path: none; opacity: 1; transition: opacity .2s ease, visibility 0s; }
    .bl-burger__line { transition: none; }
  }

  /* Ohne JavaScript: kein Burger, die Links stehen als Zeile unter dem Logo. */
  .no-js .bl-burger { display: none; }
  .no-js .bl-menu { position: static; visibility: visible; opacity: 1; clip-path: none; overflow: visible; background: none; box-shadow: none; }
  .no-js .bl-menu__inner { min-height: 0; padding: 0 0 12px; }
  .no-js .bl-menu__inner.bl-container { padding-inline: 0; }
  .no-js .bl-menu__list { display: flex; gap: var(--space-l); }
  .no-js .bl-menu__item::before, .no-js .bl-menu__item::after, .no-js .bl-menu__index, .no-js .bl-menu__link .bl-icon, .no-js .bl-menu__foot { display: none; }
  .no-js .bl-menu__link { display: block; padding: 0; }
  .no-js .bl-menu__mask { clip-path: none; }
  .no-js .bl-menu__label { translate: none; }
  .no-js .bl-menu__label.bl-fluid { font-size: var(--fluid-nav); font-weight: 400; letter-spacing: 0; }
}

/* ---------- Tablet: Leistungstexte fließen ----------
   Die festen Zeilenumbrüche in Lead und Text der Bereiche Marketing und Production sind
   fürs zweispaltige Desktop-Raster gesetzt. Einspaltig (760–1099px) fließt der Text über die Breite. */
@media (max-width: 1099px) {
  .bl-section__lead br, .bl-section__text br { display: none; }
  .bl-section__lead .bl-line, .bl-section__lead .bl-line__inner { display: inline; }
  .bl-section__text { max-width: none; }
  /* Keine einzelnen Wörter allein in der letzten Zeile */
  .bl-section__lead, .bl-section__text, .bl-kontakt__lead { text-wrap: pretty; }
}
@media (max-width: 1099px) and (prefers-reduced-motion: no-preference) {
  /* Fließende Zeilen lassen sich nicht einzeln maskieren: Der Lead steigt hier als Ganzes auf. */
  .bl-motion .bl-section__lead .bl-line { clip-path: none; }
  .bl-motion .bl-section__lead.is-split:not(.is-visible) { opacity: 0; }
  .bl-motion .bl-section__lead.is-split.is-visible { animation: bl-rise 1s var(--ease-out) var(--reveal-delay, 0s) both; }
}
@media (max-width: 374px) {
  .bl-footer__links { gap: var(--space-l); }
}

/* Reihenfolge der Menüpunkte für die gestaffelte Animation (statt Inline-Styles, wegen der Content-Security-Policy) */
.bl-menu__item { --i: 0; }
.bl-menu__item:nth-child(2) { --i: 1; }
.bl-menu__item:nth-child(3) { --i: 2; }
.bl-menu__item:nth-child(4) { --i: 3; }
.bl-menu__foot { --i: 3; }

/* Kontaktformular ohne JavaScript: Formular ausblenden, Hinweis auf den Direktkontakt zeigen */
.no-js .bl-form { display: none; }
.bl-form__noscript { margin: 0; color: var(--ink); }
