/* BTL Baumaschinenteile LORENZ
   Designentscheidungen (taste-skill): Varianz 6, Bewegung 6, Dichte 4.
   Ein Theme (hell), passend zu den hellen Miniatur-Szenen. Ein Akzent (Signalorange)
   nur für Anfrage-Buttons. Eckenradius-System: 6px überall, keine Pillen. */

@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("/assets/fonts/barlow-semi-condensed-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("/assets/fonts/barlow-semi-condensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("/assets/fonts/barlow-semi-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --blue: #3462AC;
  --blue-deep: #24477F;
  --blue-tint: #DCE4F1;
  --accent: #F06449;
  --accent-hover: #F37E67;
  --ink: #15181D;
  --ink-soft: #4A525D;
  --steel: #6B7480;
  --line: #CDD2D9;
  --bg: #E4E6EA;          /* = Hintergrund der Szenenbilder */
  --surface: #F2F3F5;
  --white: #FBFBFC;
  --radius: 6px;
  --shadow: 0 1px 2px rgb(36 71 127 / .06), 0 8px 24px rgb(36 71 127 / .08);
  --font-display: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 84px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip; /* kein Scroll-Container, sonst greifen die Rastpunkte der Startseite nicht */
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-deep); text-underline-offset: .18em; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -.01em; margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
address { font-style: normal; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

.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: 12px; top: -60px; z-index: 1000; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius);
  font: 600 1rem/1 var(--font-body); text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--accent); color: var(--ink); }          /* Kontrast 6,3:1 */
.btn--primary:hover { background: var(--accent-hover); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 28%, transparent); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--sm { min-height: 40px; padding: 9px 16px; font-size: .95rem; }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 900;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; max-width: 1400px; margin: 0 auto; padding-inline: var(--gutter); }
.brand { flex: none; }
/* Logo groß genug, dass auch die Zeile unter dem Schriftzug lesbar bleibt */
.brand img { width: clamp(230px, 26vw, 380px); height: auto; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 10px 14px; border-radius: var(--radius); color: var(--ink-soft); font-weight: 500; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); background: color-mix(in srgb, var(--blue) 9%, transparent); }
.main-nav a[aria-current="page"] { color: var(--blue-deep); }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; list-style: none; margin: 0; padding: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.site-header__actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle .icon { width: 26px; height: 26px; }
.menu-toggle .icon--close, .menu-toggle[aria-expanded="true"] .icon--open { display: none; }
.menu-toggle[aria-expanded="true"] .icon--close { display: block; }
.mobile-nav { border-top: 1px solid var(--line); padding: 12px var(--gutter) 20px; background: var(--surface); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.mobile-nav ul { list-style: none; margin: 0 0 16px; padding: 0; }
.mobile-nav li a { display: block; padding: 13px 4px; font: 600 1.2rem var(--font-display); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { width: 100%; }

@media (max-width: 1080px) { .header-phone span { display: none; } }
@media (max-width: 920px) {
  .main-nav, .site-header__actions .btn--sm, .header-phone { display: none; }
  .menu-toggle { display: inline-flex; }
  /* Ohne Menüleiste ist Platz: Logo fast so breit wie der Kopf */
  .brand img { width: min(330px, calc(100vw - 2 * var(--gutter) - 64px)); }
  .site-header__actions { margin-left: auto; }
}

/* ---------- Abschnitte allgemein ---------- */
.section { position: relative; padding-block: clamp(64px, 9vw, 120px); }
.section--white { background: var(--white); }
.section__head { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 52px); }
.section__title { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 700; }
.section__lead { margin-top: 14px; color: var(--ink-soft); font-size: 1.125rem; max-width: 58ch; }
.eyebrow { display: block; margin-bottom: 14px; font: 600 .82rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); }

/* Seiten, die unter dem fixen Header beginnen */
.page-top { padding-top: calc(var(--header-h) + clamp(32px, 5vw, 64px)); }

/* ---------- Startseite: Einstieg ---------- */
body.is-home { background: var(--bg); }
/* Die Szenenbilder haben denselben Hintergrund wie --bg, dadurch steht die Insel ohne Kante */
.home-hero { padding: calc(var(--header-h) + clamp(28px, 4vw, 56px)) 0 clamp(36px, 5vw, 72px); }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.home-hero__title { font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 700; line-height: 1.02; }
.home-hero__lead { margin-top: 18px; font-size: clamp(1.1rem, 1.4vw, 1.25rem); color: var(--ink-soft); max-width: 44ch; }
.home-hero__media img {
  width: 100%; height: auto;
  /* weicher Rand, damit keine Bildkante zum Seitenhintergrund sichtbar ist */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.home-inhalt { position: relative; background: var(--surface); }
@media (max-width: 860px) {
  .home-hero__grid { grid-template-columns: 1fr; }
  .home-hero__media { order: -1; margin-inline: calc(var(--gutter) * -0.5); }
}

/* ---------- Leistungen (Bento) ---------- */
.bento { display: grid; gap: 16px; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(250px, auto); }
.bento__cell {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg);
  display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; color: var(--ink);
  isolation: isolate; min-height: 250px;
}
.bento__cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; z-index: -2; transition: transform .8s var(--ease); }
.bento__cell::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, color-mix(in srgb, var(--white) 96%, transparent) 0%, color-mix(in srgb, var(--white) 78%, transparent) 30%, transparent 62%); }
.bento__cell:hover img { transform: scale(1.04); }
.bento__text { padding: clamp(18px, 2.4vw, 28px); }
.bento__title { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 700; }
.bento__title .icon { color: var(--blue); transition: transform .25s var(--ease); }
.bento__cell:hover .bento__title .icon { transform: translateX(4px); }
.bento__desc { margin-top: 6px; color: var(--ink-soft); max-width: 44ch; }
.bento__cell--a { grid-column: span 4; grid-row: span 2; }
.bento__cell--b { grid-column: span 2; }
.bento__cell--c { grid-column: span 2; }
.bento__cell--d { grid-column: span 6; min-height: 300px; }
.bento__cell--d img { object-position: center 55%; }
.bento__cell--d::after { background: linear-gradient(90deg, color-mix(in srgb, var(--white) 95%, transparent) 0%, color-mix(in srgb, var(--white) 70%, transparent) 36%, transparent 64%); }
.bento__cell--d { justify-content: center; }
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr; }
  .bento__cell--a, .bento__cell--b, .bento__cell--c, .bento__cell--d { grid-column: auto; grid-row: auto; min-height: 280px; }
  .bento__cell--d { justify-content: flex-end; }
  .bento__cell--d::after { background: linear-gradient(0deg, color-mix(in srgb, var(--white) 96%, transparent) 0%, color-mix(in srgb, var(--white) 78%, transparent) 30%, transparent 62%); }
}

/* ---------- Angebote ---------- */
.offer-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.offer-rail > .offer { scroll-snap-align: start; }
.offer-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.offer { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.offer__media { aspect-ratio: 1; background: var(--bg); }
.offer__media img { width: 100%; height: 100%; object-fit: cover; }
.offer__body { display: flex; flex-direction: column; gap: 10px; padding: 20px; flex: 1; }
.offer__state { font-size: .9rem; font-weight: 600; color: var(--blue-deep); }
.offer__title { font-size: 1.45rem; font-weight: 700; }
.offer__facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; font-size: .95rem; }
.offer__facts div { min-width: 0; }
.offer__facts dt { color: var(--steel); font-size: .82rem; }
.offer__facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.offer__note { color: var(--ink-soft); }
.offer__price { margin-top: auto; padding-top: 6px; font-weight: 600; }
.offer .btn { align-self: flex-start; }
.offer__tax { font-weight: 400; font-size: .85rem; color: var(--steel); }
.offer-empty { grid-column: 1 / -1; color: var(--ink-soft); }
.offer-list-note { margin-top: 16px; font-size: .9rem; color: var(--ink-soft); }
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.rail-head .section__head { margin-bottom: 0; }
.rail-wrap { margin-top: clamp(28px, 4vw, 44px); }

/* ---------- Warum BTL ---------- */
.reasons { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.reasons__list { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 3vw, 40px) 32px; list-style: none; margin: 0; padding: 0; }
.reasons__list li { display: grid; gap: 8px; }
.reasons__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius); background: var(--blue-tint); color: var(--blue-deep); }
.reasons__icon .icon { width: 24px; height: 24px; }
.reasons__list h3 { font-size: 1.35rem; font-weight: 700; }
.reasons__list p { color: var(--ink-soft); }
@media (max-width: 860px) { .reasons { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .reasons__list { grid-template-columns: 1fr; } }

/* ---------- Kontakt-Band ---------- */
.contact-band { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.contact-band__title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
.contact-band__lines { display: grid; gap: 4px; margin-top: 28px; }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 600 clamp(1.3rem, 2.4vw, 1.75rem)/1.2 var(--font-display); }
.contact-line .icon { color: var(--blue); width: 28px; height: 28px; }
.contact-line small { display: block; font: 500 .85rem var(--font-body); color: var(--steel); }
.contact-line:hover { color: var(--blue-deep); }
.contact-band__media { border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.contact-band__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 45%; }
@media (max-width: 860px) { .contact-band { grid-template-columns: 1fr; } .contact-band__media { order: -1; } }

/* ---------- Unterseiten: Kopf ---------- */
.page-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-bottom: clamp(40px, 6vw, 80px); }
.page-hero__title { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 700; }
.page-hero__lead { margin-top: 18px; font-size: 1.2rem; color: var(--ink-soft); max-width: 50ch; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.page-hero__media { border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.page-hero__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; font-size: .92rem; color: var(--steel); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumb a { color: var(--steel); }
@media (max-width: 860px) { .page-hero { grid-template-columns: 1fr; } }

/* Leistungsgruppen */
.svc-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.svc-group { padding: clamp(22px, 3vw, 32px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.svc-group:first-child { grid-column: span 2; background: var(--blue-tint); border-color: transparent; }
.svc-group:first-child .svc-group__list { columns: 2; column-gap: 40px; }
.svc-group__title { display: flex; align-items: center; gap: 12px; font-size: 1.45rem; font-weight: 700; }
.svc-group__title .icon { color: var(--blue); width: 28px; height: 28px; }
.svc-group__list { margin: 16px 0 0; padding: 0; list-style: none; }
.svc-group__list li { position: relative; padding: 6px 0 6px 26px; break-inside: avoid; }
.svc-group__list li::before { content: ""; position: absolute; left: 2px; top: .95em; width: 12px; height: 2px; background: var(--blue); }
@media (max-width: 760px) { .svc-groups { grid-template-columns: 1fr; } .svc-group:first-child { grid-column: auto; } .svc-group:first-child .svc-group__list { columns: 1; } }

/* Anfrage in drei Schritten */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: flow; border-top: 2px solid var(--ink); }
.flow li { list-style: none; padding: 26px 28px 0 0; }
.flow h3 { font-size: 1.35rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.flow h3 .icon { color: var(--blue); width: 26px; height: 26px; }
.flow p { margin-top: 8px; color: var(--ink-soft); max-width: 36ch; }
.flow-wrap { padding: 0; margin: 0; }
@media (max-width: 760px) { .flow { grid-template-columns: 1fr; } .flow li { padding-right: 0; } }

.more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.more-card { display: block; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg); color: var(--ink); text-decoration: none; }
.more-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--ease); }
.more-card span { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; background: var(--white); font: 700 1.2rem var(--font-display); }
.more-card:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .more { grid-template-columns: 1fr; } }

/* CTA-Streifen */
.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 4vw, 44px); background: var(--blue-tint); border-radius: var(--radius); }
.cta-strip h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; }
.cta-strip p { margin-top: 6px; color: var(--ink-soft); }
.cta-strip__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Über uns ---------- */
.about { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); }
.about__text > * + * { margin-top: 1.1em; }
.about__text h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; margin-top: 1.6em; }
.about__aside { align-self: start; position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.about__aside h2 { font-size: 1.4rem; font-weight: 700; }
.about__aside dl { margin: 16px 0 0; display: grid; gap: 14px; }
.about__aside dt { font-size: .85rem; color: var(--steel); }
.about__aside dd { margin: 0; font-weight: 600; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__aside { position: static; } }

/* ---------- Kontakt ---------- */
.contact-page { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-page__info .contact-band__lines { margin-top: 0; }
.contact-page__address { margin-top: 28px; color: var(--ink-soft); }
.contact-page__address strong { color: var(--ink); }
.form-card { padding: clamp(22px, 3.5vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.form-card h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 700; }
.form-card > p { margin-top: 8px; color: var(--ink-soft); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; margin-top: 26px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .98rem; }
.field label .opt { font-weight: 400; color: var(--steel); }
.field input, .field textarea {
  width: 100%; font: 400 1.05rem/1.4 var(--font-body); color: var(--ink);
  background: var(--surface); border: 1.5px solid #AEB5BF; border-radius: var(--radius); padding: 12px 14px; min-height: 48px;
  transition: border-color .2s, background-color .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--steel); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 25%, transparent); }
.field__help { font-size: .88rem; color: var(--ink-soft); }
.field__error { font-size: .9rem; font-weight: 600; color: #B42318; display: none; align-items: center; gap: 6px; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #B42318; }
.field.is-invalid .field__error { display: flex; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.form__privacy { font-size: .92rem; color: var(--ink-soft); max-width: 46ch; }
.form__status { grid-column: 1 / -1; display: none; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); font-weight: 500; }
.form__status.is-visible { display: flex; }
.form__status--ok { background: #E3F1E6; color: #1E5B2C; }
.form__status--error { background: #FBE7E4; color: #8A1C12; }
.form__status .icon { width: 22px; height: 22px; margin-top: 1px; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
@media (max-width: 960px) { .contact-page { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font: 600 1.3rem/1.25 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--blue); transition: transform .3s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-soft); max-width: 70ch; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 780px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; margin-bottom: 28px; }
.legal h2 { font-size: 1.6rem; font-weight: 700; margin: 2em 0 .5em; }
.legal h3 { font-size: 1.2rem; font-weight: 700; margin: 1.5em 0 .4em; }
.legal p, .legal ul, .legal address { margin: 0 0 1em; color: var(--ink-soft); }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: .3em; }
.legal .todo { background: #FFF1CC; color: #6B4E00; padding: 1px 6px; border-radius: 3px; font-weight: 600; }

/* ---------- 404 ---------- */
.notfound { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; min-height: calc(100dvh - 200px); }
.notfound h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; }
.notfound p { margin-top: 16px; color: var(--ink-soft); font-size: 1.15rem; }
.notfound__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.notfound img { border-radius: var(--radius); }
@media (max-width: 860px) { .notfound { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 300; background: var(--white); border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 72px); font-size: 1rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer__brand img { width: min(340px, 100%); height: auto; }
.site-footer__brand p { margin-top: 16px; color: var(--ink-soft); max-width: 34ch; }
.site-footer__title { font: 600 .82rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--blue-deep); text-decoration: underline; }
.site-footer address { color: var(--ink-soft); margin-bottom: 14px; }
.site-footer__contact a { display: inline-flex; align-items: center; gap: 10px; }
.site-footer__contact .icon { color: var(--blue); }
.site-footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-block: 22px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--steel); font-size: .92rem; }
.site-footer__legal ul { display: flex; gap: 22px; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Einblenden beim Scrollen ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Cookie- und Einwilligungs-Banner ---------- */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom)); }
.consent[hidden] { display: none; }
.consent__inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 16px 28px; align-items: center; padding: 20px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 40px rgb(21 24 29 / .16); }
.consent__titel { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.consent__text p { font-size: .95rem; color: var(--ink-soft); max-width: 70ch; }
.consent__optionen { border: 0; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.consent__optionen[hidden] { display: none; }
.consent__optionen label { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.consent__optionen span { font-weight: 400; color: var(--steel); }
.consent__optionen input { width: 18px; height: 18px; accent-color: var(--blue); }
.consent__aktionen { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
@media (max-width: 760px) {
  .consent__inner { grid-template-columns: 1fr; padding: 18px; }
  .consent__aktionen { justify-content: stretch; }
  .consent__aktionen .btn { flex: 1 1 auto; }
}