/* ==========================================================================
   BA Trockenbau — Design System
   Helles Theme · Markenblau #0054A6 · Stahlgrau
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Marke */
  --blue:       #0054a6;
  --blue-lit:   #2e7dd7;
  --blue-bright:#4b9bf0;
  --blue-dark:  #06336b;
  --blue-ink:   #041f42;
  --blue-soft:  #eaf2fc;
  --blue-tint:  rgba(0, 84, 166, .1);
  --grad-blue:  linear-gradient(122deg, #2e7dd7 0%, #0054a6 55%, #06336b 100%);
  --grad-soft:  linear-gradient(140deg, #f2f7fd 0%, #e8f1fb 100%);

  /* Stahl (aus dem Logo) */
  --steel:      #64707e;
  --steel-dark: #3d4854;
  --steel-lit:  #96a2b0;

  /* Flächen — helles Theme */
  --bg:         #ffffff;
  --bg-2:       #f5f8fc;
  --bg-3:       #eef3fa;
  --card:       #ffffff;
  --ink:        #0f1a2a;
  --ink-2:      #16233a;

  /* Text */
  --text:       #0f1a2a;
  --text-mid:   #47546a;
  --text-muted: #6b7789;
  --text-invert:#f4f8fd;
  --text-invert-muted: rgba(244, 248, 253, .74);

  /* Linien */
  --line:       #e2e9f3;
  --line-2:     #d3dce9;
  --line-dark:  rgba(255, 255, 255, .13);

  /* Radien */
  --r-xs:   8px;
  --r-sm:   12px;
  --r:      18px;
  --r-lg:   26px;
  --r-xl:   34px;
  --r-full: 999px;

  /* Schatten */
  --sh-1: 0 1px 2px rgba(15, 26, 42, .04), 0 2px 8px -3px rgba(15, 26, 42, .07);
  --sh-2: 0 4px 14px -6px rgba(15, 26, 42, .10), 0 16px 36px -20px rgba(15, 26, 42, .18);
  --sh-3: 0 10px 26px -12px rgba(15, 26, 42, .14), 0 30px 64px -30px rgba(15, 26, 42, .28);
  --sh-blue: 0 14px 32px -14px rgba(0, 84, 166, .55);

  /* Schrift */
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, Consolas, monospace;

  /* Maße */
  --container: 1240px;
  --gutter:    clamp(20px, 5vw, 52px);
  --section-y: clamp(70px, 8.5vw, 128px);

  /* Bewegung */
  --ease:     cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring:   cubic-bezier(.34, 1.4, .64, 1);
  --speed:    .36s;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, iframe { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; transition: color var(--speed) var(--ease); }

:focus-visible { outline: 3px solid var(--blue-lit); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }

.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;
}

/* --------------------------------------------------------------------------
   3. Typografie
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.028em;
  color: var(--text);
  text-wrap: balance;
}

.h-hero {
  font-size: clamp(2.6rem, 6.2vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 800;
}

.h-1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); letter-spacing: -.035em; }
.h-2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); letter-spacing: -.032em; }
.h-3 { font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -.02em; }
.h-4 { font-size: clamp(1.05rem, 1.5vw, 1.18rem); letter-spacing: -.015em; }

.lead {
  font-size: clamp(1.06rem, 1.5vw, 1.26rem);
  line-height: 1.66;
  color: var(--text-mid);
  max-width: 66ch;
}

p { color: var(--text-mid); }
.muted { color: var(--text-muted); }

.grad {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 13px;
  background: var(--blue-soft);
  border: 1px solid rgba(0, 84, 166, .16);
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
}

.tag::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue-lit);
  flex: none;
}

.on-dark .tag {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .2);
  color: #cfe4fb;
}
.on-dark .tag::before { background: var(--blue-bright); }

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--alt { background: var(--bg-2); }
.section--soft { background: var(--grad-soft); }

.on-dark {
  position: relative;
  background: var(--ink);
  color: var(--text-invert);
  isolation: isolate;
}
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark p, .on-dark .lead { color: var(--text-invert-muted); }

.head { display: grid; gap: 20px; margin-bottom: clamp(38px, 4.6vw, 64px); max-width: 800px; }
.head--center { margin-inline: auto; text-align: center; justify-items: center; }
.head--wide { max-width: none; }

.split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.divider { height: 1px; background: var(--line); border: 0; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 16px 28px;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: .96rem;
  font-weight: 700;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--speed) var(--spring),
              box-shadow var(--speed) var(--ease),
              background var(--speed) var(--ease),
              color var(--speed) var(--ease),
              border-color var(--speed) var(--ease);
}

.btn svg { flex: none; transition: transform var(--speed) var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn:hover svg { transform: translateX(4px); }

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 24%, rgba(255, 255, 255, .4) 48%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .85s var(--ease-out);
}
.btn:hover::before { transform: translateX(120%); }

.btn--primary { background: var(--grad-blue); color: #fff; box-shadow: var(--sh-blue); }
.btn--primary:hover { box-shadow: 0 22px 44px -18px rgba(0, 84, 166, .7); }

.btn--outline { background: #fff; color: var(--blue); border-color: var(--line-2); box-shadow: var(--sh-1); }
.btn--outline:hover { border-color: var(--blue); background: var(--blue-soft); }

.btn--light { background: #fff; color: var(--blue-dark); }
.btn--light:hover { background: var(--blue-soft); }

.btn--ghost-light {
  background: rgba(255, 255, 255, .07);
  color: #fff;
  border-color: rgba(255, 255, 255, .26);
  backdrop-filter: blur(6px);
}
.btn--ghost-light:hover { background: #fff; color: var(--blue-dark); border-color: #fff; }

.btn--sm { padding: 11px 20px; font-size: .87rem; }
.btn--lg { padding: 19px 34px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  color: var(--blue);
}
.arrow-link svg { transition: transform var(--speed) var(--ease); }
.arrow-link:hover svg { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   6. Topbar + Header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: var(--text-invert-muted);
  font-size: .81rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  flex-wrap: wrap;
}

.topbar__list { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.topbar__right { display: flex; align-items: center; gap: 16px; flex: none; }

.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 15px; height: 15px; color: var(--blue-bright); flex: none; }
.topbar a:hover { color: #fff; }

.topbar__now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #fff;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3ec06a;
  box-shadow: 0 0 0 0 rgba(62, 192, 106, .7);
  animation: ping 2.4s infinite;
}
.dot--off { background: var(--steel-lit); animation: none; box-shadow: none; }

@keyframes ping {
  70%  { box-shadow: 0 0 0 9px rgba(62, 192, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 192, 106, 0); }
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(170%) blur(16px);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
}

.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 16px 40px -34px rgba(15, 26, 42, .5); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 84px;
}

/* Logo */
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__img { height: 58px; width: auto; transition: transform var(--speed) var(--spring); }
.brand:hover .brand__img { transform: scale(1.04); }

/* Textfallback, falls logo.png noch fehlt */
.brand__fallback { display: none; line-height: 1; }
.brand.no-logo .brand__img { display: none; }
.brand.no-logo .brand__fallback { display: grid; gap: 2px; }

.brand__fallback b {
  font-family: var(--font-display);
  font-size: 1.72rem;
  font-weight: 800;
  letter-spacing: -.045em;
  background: linear-gradient(120deg, var(--steel-dark), var(--blue));
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

.brand__fallback i {
  font-style: normal;
  font-family: var(--font-display);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--steel);
}

.footer .brand__fallback b { background: linear-gradient(120deg, #fff, var(--blue-bright)); -webkit-background-clip: text; background-clip: text; }
.footer .brand__fallback i { color: var(--steel-lit); }
.footer .brand__img { filter: brightness(0) invert(1); opacity: .96; }

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 5px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
}

.nav__link {
  padding: 10px 18px;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: .93rem;
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
  transition: color var(--speed) var(--ease), background var(--speed) var(--ease);
}

.nav__link:hover { color: var(--blue); background: #fff; }
.nav__link.is-active { color: #fff; background: var(--grad-blue); box-shadow: 0 8px 18px -10px rgba(0, 84, 166, .8); }

.header__actions { display: flex; align-items: center; gap: 12px; }

/* Sprachumschalter */
.langsw {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  flex: none;
}

.langsw__btn {
  padding: 7px 13px;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--text-muted);
  transition: color var(--speed) var(--ease), background var(--speed) var(--ease);
}
.langsw__btn:hover { color: var(--blue); }
.langsw__btn.is-active { color: #fff; background: var(--grad-blue); box-shadow: 0 6px 14px -8px rgba(0, 84, 166, .7); }

.topbar .langsw {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .16);
}
.topbar .langsw__btn { color: var(--text-invert-muted); }
.topbar .langsw__btn:hover { color: #fff; }

.drawer .langsw {
  margin-top: 18px;
  background: rgba(255, 255, 255, .05);
  border-color: var(--line-dark);
  align-self: flex-start;
}
.drawer .langsw__btn { color: var(--text-invert-muted); }
.drawer .langsw__btn:hover { color: #fff; }

@media (max-width: 560px) {
  .topbar .langsw { display: none; }
}

.burger {
  display: none;
  width: 50px; height: 50px;
  place-items: center; align-content: center;
  gap: 5px;
  flex: none;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-full);
  box-shadow: var(--sh-1);
}

.burger span {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--blue-dark);
  transition: transform var(--speed) var(--ease), opacity .2s linear;
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(390px, 90vw);
  z-index: 200;
  background: #fff;
  padding: 24px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  transform: translateX(103%);
  transition: transform .45s var(--ease-out);
  overflow-y: auto;
  box-shadow: -30px 0 70px -34px rgba(15, 26, 42, .5);
}
.drawer.is-open { transform: none; }

.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }

.drawer__close {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  flex: none;
  border: 1px solid var(--line-2);
  border-radius: var(--r-full);
  color: var(--blue-dark);
  transition: background var(--speed) var(--ease), transform var(--speed) var(--spring);
}
.drawer__close:hover { background: var(--blue-soft); transform: rotate(90deg); }

.drawer__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 700;
  transition: color var(--speed) var(--ease), padding-left var(--speed) var(--ease);
}
.drawer__link span { font-family: var(--font-mono); font-size: .72rem; color: var(--blue-lit); }
.drawer__link:hover, .drawer__link.is-active { color: var(--blue); padding-left: 6px; }

.drawer__cta { margin-top: 26px; }

.drawer__meta {
  margin-top: auto;
  padding-top: 30px;
  display: grid;
  gap: 8px;
  font-size: .88rem;
  color: var(--text-muted);
}
.drawer__meta a:hover { color: var(--blue); }

.scrim {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(15, 26, 42, .45);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.scrim.is-open { opacity: 1; visibility: visible; }

.progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 300;
  height: 3px; width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--grad-blue);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(60px, 7.5vw, 110px) clamp(56px, 7vw, 96px);
  background: var(--grad-soft);
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: -1;
  pointer-events: none;
}
.hero__blob--a { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; top: -14%; right: -8%; background: rgba(46, 125, 215, .3); animation: drift 17s ease-in-out infinite; }
.hero__blob--b { width: 34vw; height: 34vw; max-width: 460px; max-height: 460px; bottom: -18%; left: -8%; background: rgba(0, 84, 166, .16); animation: drift 22s ease-in-out infinite reverse; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-4%, 6%) scale(1.09); }
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(36px, 4.6vw, 68px);
  align-items: center;
}

.hero__title { margin: 24px 0 22px; }
.hero__title span { display: block; }
.hero__lead { max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--line-2);
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-mid);
}
.hero__trust svg { width: 18px; height: 18px; color: var(--blue); flex: none; }

/* Hero-Panel */
.panel {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(24px, 2.8vw, 34px);
  box-shadow: var(--sh-3);
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel__label { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }
.panel__badge {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: var(--r-full);
  padding: 6px 12px;
}

.panel__list { display: grid; gap: 3px; margin-top: 10px; }

.panel__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 12px;
  border-radius: var(--r-sm);
  transition: background var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.panel__row:hover { background: var(--blue-soft); transform: translateX(4px); }

.panel__ico {
  width: 42px; height: 42px;
  flex: none;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--blue-soft);
  color: var(--blue);
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.panel__ico svg { width: 20px; height: 20px; }
.panel__row:hover .panel__ico { background: var(--grad-blue); color: #fff; }

.panel__name { font-family: var(--font-display); font-weight: 700; font-size: .99rem; }
.panel__sub { font-size: .84rem; color: var(--text-muted); }

.panel__foot {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: .88rem;
  color: var(--text-mid);
}
.panel__foot svg { width: 18px; height: 18px; color: var(--blue); flex: none; }

/* --------------------------------------------------------------------------
   8. Ticker
   -------------------------------------------------------------------------- */
.ticker {
  background: var(--grad-blue);
  color: #fff;
  overflow: hidden;
  padding-block: 15px;
}

.ticker__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding-inline: 20px;
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__item::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   9. Leistungskarten
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 2.8vw, 34px);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--sh-1);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease), border-color .45s var(--ease);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(46, 125, 215, .12), transparent 60%);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.card:hover::after { opacity: 1; }
.card:hover { transform: translateY(-8px); box-shadow: var(--sh-3); border-color: rgba(0, 84, 166, .3); }

.card__top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }

.card__ico {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: var(--r);
  background: var(--blue-soft);
  color: var(--blue);
  transition: background .45s var(--ease), color .45s var(--ease), transform .5s var(--spring), box-shadow .45s var(--ease);
}
.card__ico svg { width: 26px; height: 26px; }
.card:hover .card__ico { background: var(--grad-blue); color: #fff; transform: rotate(-6deg) scale(1.07); box-shadow: var(--sh-blue); }

.card__num {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--text-muted);
  background: var(--bg-2);
  border-radius: var(--r-full);
  padding: 6px 13px;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.card:hover .card__num { background: var(--blue-soft); color: var(--blue); }

.card__title { margin-bottom: 6px; }
.card__short {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.card__text { font-size: .96rem; line-height: 1.65; color: var(--text-mid); }

.card__list { margin-top: 18px; display: grid; gap: 9px; }
.card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .91rem;
  color: var(--text-mid);
}
.card__list li::before {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--blue-lit);
}

.card__more { margin-top: auto; padding-top: 22px; }

/* --------------------------------------------------------------------------
   10. Warum / Features
   -------------------------------------------------------------------------- */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: clamp(34px, 4.4vw, 66px); align-items: center; }

.feat { display: grid; gap: 14px; }

.feat__item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.feat__item:hover { transform: translateX(6px); box-shadow: var(--sh-2); border-color: rgba(0, 84, 166, .28); }

.feat__ico {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--blue-soft);
  color: var(--blue);
  transition: background .4s var(--ease), color .4s var(--ease);
}
.feat__ico svg { width: 24px; height: 24px; }
.feat__item:hover .feat__ico { background: var(--grad-blue); color: #fff; }

.feat__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.feat__text { font-size: .93rem; color: var(--text-muted); line-height: 1.6; }

/* Kennzahlen-Kachel */
.statcard {
  position: relative;
  background: var(--grad-blue);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(30px, 3.4vw, 44px);
  overflow: hidden;
  box-shadow: var(--sh-blue);
}

.statcard::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 16px, transparent 16px 32px);
  pointer-events: none;
}

.statcard__grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }

.statcard__num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.statcard__label { margin-top: 8px; font-size: .87rem; color: rgba(255, 255, 255, .82); }

/* Kennzahlenband */
.statband { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.stat {
  padding: clamp(24px, 2.6vw, 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.stat:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: rgba(0, 84, 166, .28); }

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  background: var(--grad-blue);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.stat__label { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: .98rem; }
.stat__note { margin-top: 4px; font-size: .85rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   11. Ablauf (Prozess)
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(16px, 1.8vw, 22px); counter-reset: step; }

.step {
  position: relative;
  padding: clamp(26px, 2.6vw, 32px) 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.step:hover { transform: translateY(-7px); box-shadow: var(--sh-2); border-color: rgba(0, 84, 166, .3); }

.step__num {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: var(--r-full);
  background: var(--grad-blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  margin-bottom: 18px;
  box-shadow: var(--sh-blue);
}

.step__title { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; margin-bottom: 8px; }
.step__text { font-size: .92rem; line-height: 1.62; color: var(--text-muted); }

.step::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -13px;
  width: 26px; height: 2px;
  background: var(--line-2);
  z-index: 1;
}
.step:last-child::after { display: none; }

@media (max-width: 780px) { .step::after { display: none; } }

/* --------------------------------------------------------------------------
   12. Werte
   -------------------------------------------------------------------------- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(16px, 1.8vw, 22px); }

.value {
  padding: clamp(24px, 2.6vw, 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.value:hover { transform: translateY(-7px); box-shadow: var(--sh-2); border-color: rgba(0, 84, 166, .3); }

.value__ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 18px;
  transition: background .4s var(--ease), color .4s var(--ease), transform .5s var(--spring);
}
.value__ico svg { width: 23px; height: 23px; }
.value:hover .value__ico { background: var(--grad-blue); color: #fff; transform: rotate(-6deg) scale(1.06); }

.value__name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; margin-bottom: 8px; }
.value__text { font-size: .93rem; line-height: 1.62; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   13. Einsatzgebiet
   -------------------------------------------------------------------------- */
.area { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 4vw, 60px); align-items: center; }

.places { display: flex; flex-wrap: wrap; gap: 10px; }

.place {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 17px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: .91rem;
  font-weight: 600;
  box-shadow: var(--sh-1);
  transition: transform .35s var(--spring), border-color .35s var(--ease), color .35s var(--ease), background .35s var(--ease);
}
.place::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-lit); }
.place:hover { transform: translateY(-3px); border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }

.radius-note {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  background: var(--blue-soft);
  border: 1px solid rgba(0, 84, 166, .18);
  border-radius: var(--r);
  font-size: .93rem;
  color: var(--blue-dark);
}
.radius-note svg { width: 22px; height: 22px; color: var(--blue); flex: none; }

/* Radar-Grafik */
.radar { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 460px; margin-inline: auto; width: 100%; }
.radar svg { width: 100%; height: auto; overflow: visible; }
.radar-ring { fill: none; stroke: rgba(0, 84, 166, .22); stroke-width: 1.2; }

.radar-wave {
  fill: none;
  stroke: var(--blue-lit);
  stroke-width: 1.6;
  transform-origin: center;
  transform-box: fill-box;
  animation: radar 3.4s var(--ease-out) infinite;
}
.radar-wave--2 { animation-delay: 1.1s; }
.radar-wave--3 { animation-delay: 2.2s; }

@keyframes radar {
  0%   { transform: scale(.18); opacity: .9; }
  100% { transform: scale(1); opacity: 0; }
}

.radar-pin { fill: var(--blue); }
.radar-city { fill: var(--steel); }
.radar-label { font-family: var(--font-mono); font-size: 10px; fill: var(--text-muted); letter-spacing: .06em; }
.radar-label--hq { fill: var(--blue); font-weight: 500; }

/* --------------------------------------------------------------------------
   14. Detailabschnitte (Leistungen)
   -------------------------------------------------------------------------- */
.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 4vw, 62px);
  align-items: center;
  padding-block: clamp(44px, 5vw, 76px);
  border-top: 1px solid var(--line);
}
.detail:first-of-type { border-top: 0; padding-top: 0; }
.detail--flip .detail__media { order: -1; }

.detail__ico {
  width: 62px; height: 62px;
  display: grid; place-items: center;
  border-radius: var(--r);
  background: var(--grad-blue);
  color: #fff;
  margin-bottom: 20px;
  box-shadow: var(--sh-blue);
}
.detail__ico svg { width: 28px; height: 28px; }

.detail__text { margin-top: 14px; }

.speclist { margin-top: 26px; display: grid; gap: 12px; }

.speclist li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  font-size: .96rem;
  color: var(--text-mid);
}

.speclist svg { width: 20px; height: 20px; color: var(--blue); margin-top: 3px; }
.speclist b { color: var(--text); font-weight: 700; }

.detail__media {
  background: var(--grad-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 38px);
}

.factgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.fact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
  box-shadow: var(--sh-1);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease);
}
.fact:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }

.fact__k {
  font-family: var(--font-mono);
  font-size: .67rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.fact__v { margin-top: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.35; }

/* --------------------------------------------------------------------------
   15. Akkordeon / FAQ
   -------------------------------------------------------------------------- */
.acc { display: grid; gap: 12px; max-width: 900px; }

.acc__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.acc__item.is-open { border-color: rgba(0, 84, 166, .34); box-shadow: var(--sh-2); }

.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(20px, 2.4vw, 28px);
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.03rem;
  color: var(--text);
  transition: color var(--speed) var(--ease), background var(--speed) var(--ease);
}
.acc__btn:hover { color: var(--blue); background: var(--bg-2); }
.acc__item.is-open .acc__btn { color: var(--blue); }

.acc__sign {
  flex: none;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: var(--r-full);
  background: var(--blue-soft);
  color: var(--blue);
  transition: transform .45s var(--spring), background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.acc__sign svg { width: 17px; height: 17px; }
.acc__item.is-open .acc__sign { transform: rotate(45deg); background: var(--grad-blue); color: #fff; }

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease-out);
}
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }

.acc__inner { overflow: hidden; }
.acc__inner > div { padding: 0 clamp(20px, 2.4vw, 28px) 24px; }
.acc__inner p + p { margin-top: 12px; }

/* --------------------------------------------------------------------------
   16. Projekte
   -------------------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }

.filter {
  padding: 11px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: .91rem;
  font-weight: 600;
  color: var(--text-mid);
  box-shadow: var(--sh-1);
  transition: all var(--speed) var(--ease);
}
.filter:hover { border-color: var(--blue); color: var(--blue); }
.filter.is-active { background: var(--grad-blue); color: #fff; border-color: transparent; box-shadow: var(--sh-blue); }

.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(16px, 1.8vw, 24px); }

.proj {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease), border-color .45s var(--ease), opacity .35s var(--ease);
}
.proj:hover { transform: translateY(-8px); box-shadow: var(--sh-3); border-color: rgba(0, 84, 166, .3); }
.proj.is-hidden { display: none; }

.proj__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--grad-soft);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.proj__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.proj:hover .proj__img { transform: scale(1.07); }

.proj__ph { display: grid; place-items: center; gap: 10px; color: var(--blue); opacity: .5; }
.proj__ph svg { width: 42px; height: 42px; }
.proj__ph span { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }

.proj__cat {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  padding: 6px 14px;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(8px);
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 700;
  color: var(--blue);
  box-shadow: var(--sh-1);
}

.proj__body { padding: clamp(22px, 2.4vw, 28px); display: flex; flex-direction: column; flex: 1; }
.proj__title { font-family: var(--font-display); font-weight: 700; font-size: 1.14rem; margin-bottom: 9px; letter-spacing: -.018em; }
.proj__text { font-size: .93rem; line-height: 1.62; color: var(--text-muted); }

.proj__tags { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }

.pill {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-2);
  border-radius: var(--r-full);
  padding: 5px 11px;
}

/* --------------------------------------------------------------------------
   17. Kontakt
   -------------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(30px, 3.6vw, 54px); align-items: start; }

.infolist { display: grid; gap: 14px; }

.info {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.info:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: rgba(0, 84, 166, .28); }

.info__ico {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--blue-soft);
  color: var(--blue);
  transition: background .4s var(--ease), color .4s var(--ease);
}
.info__ico svg { width: 22px; height: 22px; }
.info:hover .info__ico { background: var(--grad-blue); color: #fff; }

.info__k {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.info__v { font-family: var(--font-display); font-weight: 700; font-size: 1.04rem; line-height: 1.4; word-break: break-word; }
.info__v a:hover { color: var(--blue); }
.info__note { margin-top: 5px; font-size: .87rem; color: var(--text-muted); }

/* Öffnungszeiten */
.hours { margin-top: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--sh-1); }
.hours__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.hours__title svg { width: 19px; height: 19px; color: var(--blue); }

.hours__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.hours__row:last-child { border-bottom: 0; }
.hours__row.is-today { font-weight: 700; color: var(--blue); }
.hours__day { font-size: .94rem; }
.hours__time { font-family: var(--font-mono); font-size: .88rem; }
.hours__time.is-closed { color: var(--text-muted); }

/* Formular */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(26px, 3.2vw, 42px);
  box-shadow: var(--sh-2);
}

.form-card__head { margin-bottom: 26px; }
.form-card__title { margin: 14px 0 10px; }

.form-grid { display: grid; gap: 16px; }

@media (min-width: 620px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f--full { grid-column: 1 / -1; }
}

.field { display: grid; gap: 7px; }

.field__label {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
}
.field__label b { color: var(--blue); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  font-size: .96rem;
  transition: border-color var(--speed) var(--ease), background var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 84, 166, .12);
}

.field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7789' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
}

.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: #d64535;
  box-shadow: 0 0 0 4px rgba(214, 69, 53, .1);
}

.field__err { font-size: .8rem; color: #c53a2b; display: none; }
.field.has-error .field__err { display: block; }

.consent { display: flex; align-items: flex-start; gap: 12px; font-size: .88rem; line-height: 1.55; color: var(--text-mid); }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); cursor: pointer; }
.consent a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.form-note { margin-top: 14px; font-size: .82rem; color: var(--text-muted); }

.form-status {
  display: none;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid var(--blue);
  border-left-width: 4px;
  border-radius: var(--r-sm);
  background: var(--blue-soft);
  font-size: .92rem;
  color: var(--blue-dark);
}
.form-status.is-visible { display: block; }

/* Karte */
.map-wrap {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-1);
  background: var(--bg-2);
}
.map-wrap iframe { width: 100%; height: 340px; border: 0; filter: grayscale(.25) contrast(1.05); }

/* --------------------------------------------------------------------------
   18. CTA-Band
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 460px at 84% 12%, rgba(46, 125, 215, .38), transparent 62%),
    radial-gradient(620px 420px at 8% 92%, rgba(0, 84, 166, .3), transparent 66%);
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .028) 0 18px, transparent 18px 36px);
  pointer-events: none;
}

.cta__inner { display: grid; gap: 26px; justify-items: center; text-align: center; max-width: 780px; margin-inline: auto; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Parallax-Band */
.parallax {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(84px, 11vw, 160px);
  background-color: var(--ink);
  background-image: url("../img/werkstatt.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
}

.parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(102deg, rgba(4, 31, 66, .95) 4%, rgba(4, 31, 66, .78) 46%, rgba(4, 31, 66, .56) 100%);
}

.parallax__inner { position: relative; max-width: 740px; }

/* --------------------------------------------------------------------------
   19. Seitenkopf (Unterseiten)
   -------------------------------------------------------------------------- */
.pagehead {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(52px, 6.5vw, 92px);
  background: var(--grad-soft);
  border-bottom: 1px solid var(--line);
}

.pagehead__blob {
  position: absolute;
  width: 40vw; height: 40vw;
  max-width: 520px; max-height: 520px;
  top: -22%; right: -6%;
  border-radius: 50%;
  filter: blur(70px);
  background: rgba(46, 125, 215, .24);
  z-index: -1;
  animation: drift 19s ease-in-out infinite;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .84rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.crumbs a:hover { color: var(--blue); }
.crumbs span { color: var(--line-2); }
.crumbs b { color: var(--blue); font-weight: 600; }

/* --------------------------------------------------------------------------
   20. Prosa (Rechtstexte)
   -------------------------------------------------------------------------- */
.prose { max-width: 76ch; }

.prose h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  margin-top: 50px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  position: relative;
}
.prose h2::before {
  content: "";
  position: absolute;
  left: 0; top: -2px;
  width: 58px; height: 3px;
  border-radius: var(--r-full);
  background: var(--grad-blue);
}
.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose > h2:first-child::before { display: none; }

.prose h3 { font-size: 1.12rem; margin-top: 28px; margin-bottom: 8px; }
.prose p { margin-top: 14px; }
.prose address { font-style: normal; margin-top: 14px; line-height: 1.75; color: var(--text-mid); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.prose ul { margin-top: 16px; display: grid; gap: 11px; }
.prose ul li { display: flex; gap: 13px; align-items: flex-start; color: var(--text-mid); }
.prose ul li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 10px; border-radius: 50%; background: var(--blue-lit); }

.datasheet { margin-top: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; box-shadow: var(--sh-1); }

.datasheet__row {
  display: grid;
  grid-template-columns: minmax(150px, 250px) minmax(0, 1fr);
  gap: 18px;
  padding: 16px clamp(18px, 2.4vw, 26px);
  border-bottom: 1px solid var(--line);
  transition: background var(--speed) var(--ease);
}
.datasheet__row:last-child { border-bottom: 0; }
.datasheet__row:hover { background: var(--blue-soft); }

.datasheet__k { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; color: var(--text-muted); padding-top: 3px; }
.datasheet__v { font-weight: 500; line-height: 1.6; }

@media (max-width: 560px) { .datasheet__row { grid-template-columns: 1fr; gap: 5px; } }

/* --------------------------------------------------------------------------
   21. Footer
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  background: var(--ink);
  color: var(--text-invert-muted);
  padding-top: clamp(52px, 6vw, 84px);
  isolation: isolate;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-bright), transparent);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 52px);
  padding-bottom: clamp(38px, 5vw, 58px);
}

.footer__desc { margin-top: 20px; font-size: .93rem; line-height: 1.68; max-width: 40ch; color: var(--text-invert-muted); }

.footer__title {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}

.footer__list { display: grid; gap: 11px; font-size: .93rem; }
.footer__list a { display: inline-block; transition: color var(--speed) var(--ease), transform var(--speed) var(--ease); }
.footer__list a:hover { color: #fff; transform: translateX(4px); }
.footer__list address { font-style: normal; line-height: 1.65; }

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 22px;
  border-top: 1px solid var(--line-dark);
  font-size: .84rem;
}

.footer__legal { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__legal a:hover { color: #fff; }

.totop {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: var(--grad-blue);
  color: #fff;
  border-radius: var(--r-full);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.85);
  box-shadow: var(--sh-blue);
  transition: opacity .35s var(--ease), transform .4s var(--spring), visibility .35s;
}
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop:hover { transform: translateY(-4px) scale(1.07); }
.totop svg { width: 20px; height: 20px; }

/* Schnellkontakt (mobil) */
.quickbar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 95;
  display: none;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -18px rgba(15, 26, 42, .4);
}

.quickbar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 10px;
  background: #fff;
  font-family: var(--font-display);
  font-size: .89rem;
  font-weight: 700;
  color: var(--blue-dark);
}
.quickbar a svg { width: 18px; height: 18px; color: var(--blue); }
.quickbar a.is-primary { background: var(--grad-blue); color: #fff; }
.quickbar a.is-primary svg { color: #fff; }

/* --------------------------------------------------------------------------
   22. Scroll-Animationen
   -------------------------------------------------------------------------- */
[data-anim] {
  opacity: 0;
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

[data-anim="up"], [data-anim=""] { transform: translateY(32px); }
[data-anim="down"]  { transform: translateY(-26px); }
[data-anim="left"]  { transform: translateX(-40px); }
[data-anim="right"] { transform: translateX(40px); }
[data-anim="scale"] { transform: scale(.92); }
[data-anim="rise"]  { transform: translateY(48px) scale(.975); }
[data-anim="blur"]  { transform: scale(1.05); filter: blur(8px); }

[data-anim].is-in { opacity: 1; transform: none; filter: none; }

/* --------------------------------------------------------------------------
   23. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .hero__grid { grid-template-columns: 1fr; }
  .panel { max-width: 620px; }
  .why { grid-template-columns: 1fr; }
  .area { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .detail { grid-template-columns: 1fr; }
  .detail--flip .detail__media { order: 0; }
  .statband { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1040px) {
  .nav { display: none; }
  .burger { display: grid; }
}

@media (max-width: 860px) {
  .header__actions .btn { display: none; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 86px; }
  body { font-size: 16px; padding-bottom: 58px; }
  .header__inner { min-height: 72px; }
  .brand__img { height: 46px; }
  .topbar__item--hours { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .factgrid { grid-template-columns: 1fr; }
  .quickbar { display: flex; }
  .totop { bottom: 76px; right: 14px; width: 48px; height: 48px; }
  .parallax { background-attachment: scroll; }
  .statcard__grid { gap: 22px 16px; }
}

@media (max-width: 520px) {
  .statband { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .cta__actions .btn { width: 100%; }
}

@media (hover: none) { .parallax { background-attachment: scroll; } }

/* --------------------------------------------------------------------------
   24. Einstellungen
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-anim] { opacity: 1; transform: none; filter: none; }
  .parallax { background-attachment: scroll; }
}

@media print {
  .header, .topbar, .footer, .totop, .quickbar, .drawer, .scrim, .progress, .ticker { display: none !important; }
  body { font-size: 11pt; }
  .section { padding-block: 12pt; }
}
