/* =========================================================
   Bähren Bedachungen – Layout v0.3 (RATEXO)
   Konzept „Firstlinie“: das doppelte Dachprofil aus dem Logo
   als Motiv. Dunkelblau trägt, Gelb markiert und führt zur Aktion.
   ========================================================= */

/* Schrift lokal (/fonts/): Jost, variabel 100–900 – geometrische Grotesk wie die Futura im Logo.
   Eine Familie für alles: Überschriften fett wie „BÄHREN“, Labels gesperrt wie „Bedachungen“. */
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* CI aus Logo und bestehender Seite */
  --navy: #102045;
  --navy-950: #070f24;
  --navy-900: #0a1531;
  --navy-800: #0e1b3d;
  --navy-700: #1b2d5c;
  --navy-400: #6f7ea3;
  --gold: #f1b209;
  --gold-hi: #ffc72a;
  --gold-600: #c98f00;
  --gold-50: #fff8e3;

  --ink: #121a30;
  --muted: #5a6379;
  --line: #e1e4ec;
  --paper: #f4f5f8;
  --white: #ffffff;
  --ok: #2fbf71;
  --err: #d6453d;

  --f-display: "Jost", "Futura", "Century Gothic", Arial, sans-serif;
  --f-body: "Jost", "Futura", "Century Gothic", Arial, sans-serif;
  --f-label: "Jost", "Futura", "Century Gothic", Arial, sans-serif; /* Label-Rolle, keine Monospace mehr */

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-s: 8px;
  --r: 16px;
  --r-l: 24px;
  --shadow: 0 24px 48px -28px rgba(7, 15, 36, .55);
  --shadow-s: 0 8px 24px -14px rgba(7, 15, 36, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 76px;
  --bar-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--f-body); font-size: 17.5px; line-height: 1.7;
  color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.04; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.stack { display: grid; gap: 18px; align-content: start; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--gold); color: var(--navy-900); padding: 10px 16px; border-radius: var(--r-s); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-label); font-size: 13.5px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600);
}
.eyebrow::before {
  content: ""; width: 26px; height: 12px; flex: none;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 12'%3E%3Cpath d='M1 11 13 2l12 9M5 11l8-6 8 6' fill='none' stroke='%23f1b209' stroke-width='1.8'/%3E%3C/svg%3E");
}
.on-dark .eyebrow { color: var(--gold); }
.h-xl { font-size: clamp(42px, 6.2vw, 92px); letter-spacing: -.02em; line-height: .98; }
.h-l { font-size: clamp(32px, 4vw, 56px); letter-spacing: -.015em; }
.h-m { font-size: clamp(26px, 2.5vw, 34px); }
.acc { color: var(--gold); }
.acc-solid { color: var(--navy); background: linear-gradient(transparent 64%, rgba(241,178,9,.55) 64% 92%, transparent 92%); padding-inline: 2px; }
.on-dark .acc-solid { color: #fff; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 58ch; }
.on-dark .lead { color: #c3cbdd; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--f-body); font-size: 16.5px; font-weight: 600; letter-spacing: 0; text-transform: none;
  text-decoration: none; white-space: nowrap; cursor: pointer; background: none;
  transition: background .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-gold { background: var(--gold); color: var(--navy-900); box-shadow: none; }
.btn-gold:hover { background: var(--gold-hi); box-shadow: none; }
.btn-ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-line { border-color: var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-text { padding: 0 10px; color: var(--navy); min-height: 44px; }
.btn-text:hover svg { transform: translateX(-3px); }
.icon-btn { width: 46px; height: 46px; border-radius: 999px; border: 0; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s; flex: none; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--gold); color: var(--navy-900); }
.icon-btn.is-line { background: none; border: 1.5px solid var(--line); color: var(--navy); }
.icon-btn.is-line:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font-size: inherit; }

/* =========================================================
   HEADER – schwebend, transparent über dem Hero
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) clamp(10px, 2vw, 24px) 0;
  pointer-events: none;
}
.header-bar {
  pointer-events: auto;
  max-width: calc(var(--wrap) + 40px); margin-inline: auto; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 14px 0 24px; border-radius: 20px;
  background: rgba(255,255,255,.98); border: 1px solid rgba(16,32,69,.06);
  box-shadow: 0 18px 40px -26px rgba(7,15,36,.55);
  transition: background .35s var(--ease), box-shadow .35s, border-color .35s, height .35s var(--ease);
}
.site-header.is-top .header-bar { background: transparent; border-color: rgba(255,255,255,.12); box-shadow: none; }
.header-bar { transition: transform .4s var(--ease), background .35s, box-shadow .35s, border-color .35s; }
.brand { flex: none; display: grid; }
.brand img { height: 42px; width: auto; grid-area: 1 / 1; transition: opacity .3s; }
.brand .logo-light { opacity: 0; }
.is-top .brand .logo-light { opacity: 1; }
.is-top .brand .logo-dark { opacity: 0; }
.nav > ul { display: flex; gap: 2px; }
.nav li { position: relative; }
.nav > ul > li > a {
  display: flex; align-items: center; gap: 6px; height: var(--header-h); padding: 0 14px;
  font-family: var(--f-body); font-weight: 500; font-size: 16.5px; letter-spacing: 0; text-transform: none;
  text-decoration: none; color: var(--navy); position: relative; transition: color .3s; white-space: nowrap;
}
.is-top .nav > ul > li > a { color: #fff; }
.nav > ul > li > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 20px; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav > ul > li > a:hover::after, .nav > ul > li > a[aria-current="page"]::after, .nav li:focus-within > a::after { transform: scaleX(1); }
.nav .caret { width: 10px; height: 10px; opacity: .6; }
/* Dropdown + Mega-Menü */
.dropdown, .mega {
  position: absolute; top: calc(100% - 6px); left: -10px; z-index: 5;
  background: #fff; border-radius: var(--r); box-shadow: 0 30px 60px -28px rgba(7,15,36,.55); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s var(--ease);
}
.has-drop:hover > .dropdown, .has-drop:focus-within > .dropdown,
.has-mega:hover > .mega, .has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.dropdown { min-width: 260px; padding: 10px; }
.dropdown a { display: flex; justify-content: space-between; padding: 11px 14px; border-radius: 10px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: 15px; }
.dropdown a:hover { background: var(--paper); }
.dropdown a::after { content: "→"; color: var(--gold-600); opacity: 0; transform: translateX(-4px); transition: .2s; }
.dropdown a:hover::after { opacity: 1; transform: none; }
.mega { left: -180px; width: min(880px, calc(100vw - 48px)); padding: 14px; display: grid; grid-template-columns: 1fr 240px; gap: 14px; }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.mega-grid a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; text-decoration: none; color: var(--navy); }
.mega-grid a:hover { background: var(--paper); }
.mega-grid img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; flex: none; }
.mega-grid span { display: grid; line-height: 1.25; }
.mega-grid b { font-family: var(--f-display); font-size: 16.5px; font-weight: 600; }
.mega-grid small { color: var(--muted); font-size: 13px; }
.mega-cta { background: var(--navy); color: #fff; border-radius: 12px; padding: 20px; display: grid; gap: 10px; align-content: start; }
.mega-cta b { font-family: var(--f-display); font-size: 20px; line-height: 1.15; }
.mega-cta p { font-size: 14px; color: #c3cbdd; line-height: 1.5; }
.mega-cta .btn { margin-top: 6px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--f-display); font-size: 17px; font-weight: 600; color: var(--navy); letter-spacing: .02em; white-space: nowrap; transition: color .3s; }
.header-phone svg { width: 18px; height: 18px; color: var(--gold-600); }
.is-top .header-phone { color: #fff; }
.is-top .header-phone svg { color: var(--gold); }
.burger { display: none; position: relative; width: 48px; height: 48px; border: 0; border-radius: 14px; background: var(--navy); cursor: pointer; padding: 0; transition: background .35s var(--ease), transform .2s; }
.is-top .burger { background: rgba(255,255,255,.12); }
.burger:active { transform: scale(.94); }
.burger span { position: absolute; left: 14px; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .45s cubic-bezier(.7,0,.2,1), width .3s var(--ease), opacity .25s, background .35s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; width: 13px; left: 21px; }
.burger span:nth-child(3) { top: 29px; }
.burger:hover span:nth-child(2) { width: 20px; left: 14px; }
.burger[aria-expanded="true"] { background: var(--gold); }
.burger[aria-expanded="true"] span { background: var(--navy-900); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Header über dem geöffneten Menü: dunkel, Logo hell, Burger wird zum X */
.menu-open .site-header { z-index: 130; }
.menu-open .header-bar { background: transparent; border-color: rgba(255,255,255,.1); box-shadow: none; }
.menu-open .brand .logo-light { opacity: 1; }
.menu-open .brand .logo-dark { opacity: 0; }
.menu-open .header-phone { color: #fff; }

/* Mobiles Menü: öffnet sich als Kreis vom Burger aus */
.offcanvas { position: fixed; inset: 0; z-index: 120; visibility: hidden; transition: visibility 0s .7s; }
.offcanvas.is-open { visibility: visible; transition-delay: 0s; }
.offcanvas-panel {
  position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; color: #fff;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(241,178,9,.13), transparent 55%),
    radial-gradient(90% 50% at 0% 100%, rgba(27,45,92,.9), transparent 70%),
    var(--navy-950);
  padding: calc(env(safe-area-inset-top, 0px) + 12px + var(--header-h) + 26px) clamp(22px, 6vw, 48px) calc(env(safe-area-inset-bottom, 0px) + 26px);
  display: flex; flex-direction: column; gap: 28px;
  clip-path: circle(0px at var(--ox, calc(100% - 48px)) var(--oy, 48px));
  transition: clip-path .7s cubic-bezier(.7,0,.2,1);
}
.offcanvas.is-open .offcanvas-panel { clip-path: circle(150vmax at var(--ox, calc(100% - 48px)) var(--oy, 48px)); }
.oc-nav, .oc-foot { position: relative; z-index: 1; width: 100%; max-width: 560px; }
.oc-nav > ul > li, .oc-foot {
  opacity: 0; transform: translateY(18px);
  transition: opacity .25s, transform .25s var(--ease);
}
.offcanvas.is-open .oc-nav > ul > li, .offcanvas.is-open .oc-foot {
  opacity: 1; transform: none;
  transition: opacity .5s var(--ease), transform .6s var(--ease);
  transition-delay: calc(.22s + var(--i, 0) * .065s);
}
.oc-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.09); }
.oc-nav > ul > li > a, .oc-nav summary {
  display: flex; align-items: center; gap: 16px; padding: 15px 0; color: #fff; text-decoration: none; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-size: clamp(22px, 6vw, 27px); font-weight: 600; letter-spacing: -.01em; line-height: 1.15;
  -webkit-tap-highlight-color: transparent;
}
.oc-nav summary::-webkit-details-marker { display: none; }
.oc-nav b.oc-ico { width: 26px; height: 12px; flex: none; align-self: center;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 12'%3E%3Cpath d='M1 11 13 2l12 9M5 11l8-6 8 6' fill='none' stroke='%23f1b209' stroke-width='1.8'/%3E%3C/svg%3E"); }
.oc-nav summary i { margin-left: auto; position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.18); flex: none; transition: background .3s, border-color .3s, transform .45s var(--ease); }
.oc-nav summary i::before, .oc-nav summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--gold); transition: transform .45s var(--ease); }
.oc-nav summary i::after { transform: rotate(90deg); }
.oc-nav details.is-open summary i { background: var(--gold); border-color: var(--gold); transform: rotate(180deg); }
.oc-nav details.is-open summary i::before, .oc-nav details.is-open summary i::after { background: var(--navy-900); }
.oc-nav details.is-open summary i::after { transform: rotate(0deg); }
.oc-nav > ul > li > a:active, .oc-nav summary:active { color: var(--gold-hi); }
.oc-sub { overflow: hidden; }
.oc-sub ul { padding: 0 0 16px 42px; display: grid; gap: 2px; }
.oc-sub a { display: flex; align-items: center; gap: 10px; padding: 9px 0; color: #c6cee0; text-decoration: none; font-size: 17px; font-weight: 500; transition: color .2s, transform .25s var(--ease); }
.oc-sub a::before { content: ""; width: 14px; height: 1.5px; background: rgba(241,178,9,.55); transition: width .25s var(--ease), background .2s; }
.oc-sub a:hover, .oc-sub a:active { color: #fff; transform: translateX(3px); }
.oc-sub a:hover::before { width: 20px; background: var(--gold); }
.oc-nav a.is-current { color: var(--gold-hi); }
.oc-nav a.is-current::before { width: 20px; background: var(--gold); }
.oc-foot { margin-top: auto; display: grid; gap: 12px; }
.oc-status { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #aab4ca; }
.oc-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #6f7ea3; flex: none; }
.oc-status.is-open { color: #fff; }
.oc-status.is-open .dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(47,191,113,.18); }
.oc-quick { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; }
.oc-quick a { display: flex; align-items: center; gap: 10px; padding: 13px 12px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: #fff; text-decoration: none; font-weight: 600; font-size: 15.5px; line-height: 1.25; transition: background .2s, transform .2s; min-width: 0; }
.oc-quick a:active { transform: scale(.97); background: rgba(255,255,255,.1); }
.oc-quick a > span { display: grid; min-width: 0; }
.oc-quick a > span > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-quick small { font-size: 12.5px; font-weight: 500; color: #9aa6c0; }
.oc-quick svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.oc-cta { width: 100%; justify-content: center; min-height: 56px; font-size: 17px; }
.oc-meta { display: grid; gap: 4px; font-size: 13.5px; color: #8f9ab3; padding-top: 4px; }
.oc-meta a { color: #c6cee0; text-decoration: none; }
.oc-mark { position: absolute; right: -40px; bottom: -10px; width: 360px; height: auto; fill: none; stroke: var(--gold); stroke-width: 5; opacity: .07; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .offcanvas-panel { clip-path: none; opacity: 0; transition: opacity .25s; }
  .offcanvas.is-open .offcanvas-panel { clip-path: none; opacity: 1; }
  .oc-nav > ul > li, .oc-foot { transform: none; transition: none !important; opacity: 1; }
  .burger span { transition: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 85% 10%, rgba(241,178,9,.10), transparent 70%), radial-gradient(50% 60% at 0% 0%, rgba(59,77,122,.35), transparent 70%);
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: end; gap: 56px;
  padding-block: calc(var(--header-h) + clamp(72px, 9vw, 130px)) clamp(48px, 6vw, 84px);
}
.hero-text { display: grid; gap: 26px; max-width: 820px; }
.hero h1 .acc { display: block; }
.hero .lead { color: #cdd5e5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.live-chip {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  font-family: var(--f-label); font-size: 13.5px; letter-spacing: .06em; color: #dfe4ef;
}
.live-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--navy-400); flex: none; }
.live-chip.is-open .dot { background: var(--ok); box-shadow: 0 0 0 0 rgba(47,191,113,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(47,191,113,0); } 100% { box-shadow: 0 0 0 0 rgba(47,191,113,0); } }
@media (prefers-reduced-motion: reduce) { .live-chip.is-open .dot { animation: none; } }
.quals { display: grid; border-left: 1px solid rgba(255,255,255,.16); }
.quals li { padding: 16px 0 16px 24px; display: grid; gap: 4px; }
.quals li + li { border-top: 1px solid rgba(255,255,255,.09); }
.q-k { font-family: var(--f-label); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.q-v { font-family: var(--f-display); font-size: 19px; font-weight: 500; line-height: 1.2; }
.hero-team { --g: clamp(44px, 8vw, 120px); position: relative; margin: 0; }
.hero-team img {
  width: 100%; height: clamp(340px, 50vw, 720px); object-fit: cover; object-position: 50% 66%;
}
@supports (animation-timeline: view()) {
  .hero-team img { animation: heroZoom linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  @keyframes heroZoom { to { transform: scale(1.08); } }
}
@media (prefers-reduced-motion: reduce) { .hero-team img { animation: none; } }
.hero-team-ridge { position: absolute; left: 0; width: 100%; top: calc(var(--g) * -0.25); height: calc(var(--g) * 1.25); overflow: visible; pointer-events: none; }
.hero-team-ridge path { fill: none; stroke: var(--gold); stroke-width: 3; vector-effect: non-scaling-stroke; }
.hero-team-ridge path + path { stroke: rgba(255,255,255,.45); stroke-width: 2; }
.js .hero-team-ridge path { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 1.6s .2s cubic-bezier(.6,0,.2,1) forwards; }
.js .hero-team-ridge path + path { animation-delay: .5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .js .hero-team-ridge path { animation: none; stroke-dashoffset: 0; } }

/* Kennzahlen-Karte, überlappt das Teamfoto */
.stats-wrap { position: relative; z-index: 2; margin-top: -96px; background: linear-gradient(to bottom, transparent 96px, var(--paper) 96px); }
.stats-card {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--r-l); box-shadow: 0 40px 80px -40px rgba(7,15,36,.6); border: 1px solid var(--line);
}
.stats-card li { padding: clamp(24px, 3vw, 36px) clamp(18px, 2.4vw, 32px); display: grid; gap: 6px; align-content: start; }
.stats-card li + li { border-left: 1px solid var(--line); }
.stat-num { font-family: var(--f-display); font-weight: 700; font-size: clamp(44px, 4.8vw, 66px); line-height: .9; color: var(--navy); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat-label { font-family: var(--f-label); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-600); margin-top: 6px; }
.stat-text { font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* =========================================================
   SEKTIONEN
   ========================================================= */
.section { padding-block: clamp(80px, 10vw, 140px); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.split { grid-template-columns: 1.15fr 1fr; align-items: end; gap: 48px; }
.bg-paper { background: var(--paper); }
#leistungen { padding-top: clamp(72px, 8vw, 110px); }

/* Leistungen – Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 16px; }
.bento .t-xl { grid-column: span 2; grid-row: span 2; }
.bento .t-wide { grid-column: span 2; }
.tile {
  position: relative; display: block; height: 100%; border-radius: var(--r-l); overflow: hidden; isolation: isolate;
  text-decoration: none; color: #fff; background: var(--navy-700);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,15,36,0) 30%, rgba(7,15,36,.88) 100%); transition: background .4s; }
.tile:hover img { transform: scale(1.06); }
.tile:hover::after { background: linear-gradient(180deg, rgba(7,15,36,.15) 10%, rgba(7,15,36,.92) 100%); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; display: grid; gap: 6px; }
.tile h3 { font-size: 23px; text-transform: uppercase; letter-spacing: .04em; }
.t-xl .tile h3 { font-size: clamp(32px, 3.4vw, 48px); }
.tile p { font-size: 14.5px; line-height: 1.45; color: #d6dceb; max-width: 44ch; }
.t-xl .tile p { font-size: 16.5px; }
.tile-tag { justify-self: start; font-family: var(--f-label); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); margin-bottom: 4px; }
.tile-tag.is-alert { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.tile-go { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy); display: grid; place-items: center; transition: background .3s, transform .4s var(--ease); }
.tile-go svg { width: 18px; height: 18px; }
.tile:hover .tile-go { background: var(--gold); transform: rotate(45deg); }

/* Ablauf */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; top: 31px; left: 32px; right: 32px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); z-index: -1; }
.process li { counter-increment: step; display: grid; gap: 10px; align-content: start; }
.p-num {
  width: 64px; height: 64px; display: grid; place-items: center; background: var(--navy); color: var(--gold);
  font-family: var(--f-display); font-weight: 600; font-size: 24px; padding-top: 10px;
  clip-path: polygon(50% 0, 100% 38%, 100% 100%, 0 100%, 0 38%);
  margin-bottom: 10px;
}
.p-num::before { content: counter(step); }
.process li:last-child .p-num { background: var(--gold); color: var(--navy-900); }
.process h3 { font-size: 23px; color: var(--navy); }
.process p { color: var(--muted); font-size: 15.5px; line-height: 1.55; max-width: 32ch; }

/* Über uns */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-media { position: relative; padding-bottom: 64px; }
.about-media .img-main { aspect-ratio: 4 / 3.2; object-fit: cover; width: 100%; border-radius: var(--r-l); }
.about-media .img-sub { position: absolute; right: -28px; bottom: 0; width: 50%; aspect-ratio: 4 / 3; object-fit: cover; border: 8px solid var(--paper); border-radius: var(--r-l); box-shadow: var(--shadow); }
.about-badge { position: absolute; left: 22px; top: 22px; background: var(--gold); color: var(--navy-900); padding: 14px 18px 12px; border-radius: 14px; display: grid; line-height: 1; }
.about-badge b { font-family: var(--f-display); font-size: 38px; font-weight: 700; }
.about-badge span { font-family: var(--f-label); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
.about-text { display: grid; gap: 22px; }
.about-text .body { display: grid; gap: 14px; color: #39425a; }
.quote { margin: 0; padding: 20px 24px; background: #fff; border-left: 3px solid var(--gold); border-radius: 0 var(--r) var(--r) 0; color: #39425a; font-size: 16px; }
.owner { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; padding-top: 6px; }
.owner img.sign { height: 56px; width: auto; }
.owner-name { font-family: var(--f-display); font-size: 21px; font-weight: 600; color: var(--navy); }
.owner-role { font-size: 14px; color: var(--muted); line-height: 1.45; }

/* Anspruch + interaktiver Dachaufbau */
.claim { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.claim::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 90% 40%, rgba(241,178,9,.08), transparent 70%); }
.claim-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.claim-grid > div:first-child { display: grid; gap: 20px; }
.claim-points { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.claim-points li { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }
.claim-points h3 { font-size: 18px; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.claim-points p { font-size: 15px; color: #b6c0d4; line-height: 1.55; }
.build { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 32px; }
.build svg { width: 100%; height: auto; overflow: visible; grid-row: span 2; }
.build .layer { transition: transform .9s var(--ease), opacity .45s; }
.js .build:not(.is-in) .layer { opacity: 0; transform: translate(-30px, -18px); }
.build.has-focus .layer:not(.is-focus) { opacity: .22; }
.build .leads path { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 1; transition: stroke .3s; }
.build .leads path.is-focus { stroke: var(--gold); stroke-width: 1.6; }
.build-legend { display: grid; gap: 4px; counter-reset: none; }
.build-legend button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 7px 12px 7px 6px; border: 0; border-radius: 999px; background: none; color: #c3cbdd; font-family: var(--f-label); font-size: 14.5px; letter-spacing: .02em; cursor: pointer; text-align: left; transition: background .2s, color .2s; }
.build-legend button span { width: 26px; height: 26px; border-radius: 50%; background: rgba(241,178,9,.16); color: var(--gold); display: grid; place-items: center; font-weight: 600; font-size: 12px; transition: background .2s, color .2s; }
.build-legend li.is-focus button, .build-legend button:hover { background: rgba(255,255,255,.07); color: #fff; }
.build-legend li.is-focus button span { background: var(--gold); color: var(--navy-900); }
.build-caption { grid-column: 1 / -1; margin-top: 8px; font-family: var(--f-label); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #8e99b3; }
@media (prefers-reduced-motion: reduce) { .js .build:not(.is-in) .layer { opacity: 1; transform: none; } }

/* Referenzen – Slider */
.ref-head-side { display: grid; gap: 22px; justify-items: start; }
.slider-nav { display: flex; gap: 10px; }
.ref-track {
  --pad: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  display: grid; grid-auto-flow: column; grid-auto-columns: min(460px, 86vw); gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  padding: 4px var(--pad) 24px; scrollbar-width: none;
}
.ref-track::-webkit-scrollbar { display: none; }
.ref { scroll-snap-align: start; background: #fff; border-radius: var(--r-l); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s var(--ease); }
.ref:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.ref-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-700); }
.ref-img img { width: 100%; height: 100%; object-fit: cover; }
.ref-loc { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(7,15,36,.78); color: #fff; font-family: var(--f-label); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }
.ref-body { padding: 22px 24px 24px; display: grid; gap: 14px; flex: 1; align-content: start; }
.ref h3 { font-size: 24px; color: var(--navy); }
.spec { margin: 0; display: grid; grid-template-columns: auto 1fr; font-size: 14.5px; border-top: 1px solid var(--line); }
.spec dt, .spec dd { padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; }
.spec dt { font-family: var(--f-label); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-right: 18px; padding-top: 12px; }
.spec dd { color: var(--ink); font-weight: 600; }
.slider-progress { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.slider-progress span { display: block; height: 100%; width: 20%; background: var(--navy); border-radius: 3px; transition: width .2s, transform .2s; }

/* Stimmen */
.voices-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.voices-head { position: sticky; top: 120px; }
.voices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.voices .is-feature { grid-column: 1 / -1; }
.voice { margin: 0; height: 100%; padding: 30px 30px 26px; background: #fff; border-radius: var(--r-l); border: 1px solid var(--line); display: grid; gap: 18px; align-content: space-between; }
.voice blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: #2b3450; }
.is-feature .voice { background: var(--navy); border-color: var(--navy); }
.is-feature .voice blockquote { font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 2.2vw, 29px); line-height: 1.3; color: #fff; }
.voice blockquote::before { content: "„"; display: block; font-family: var(--f-display); font-size: 64px; line-height: .55; color: var(--gold); margin-bottom: 10px; }
.voice figcaption { font-family: var(--f-label); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.is-feature .voice figcaption { color: var(--gold); }

/* Hersteller – Laufband */
.brands-band { padding-block: 44px 52px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; overflow: hidden; }
.brands-title { font-family: var(--f-label); font-weight: 500; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; text-align: center; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; align-items: center; }
.marquee.is-running .marquee-track { animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 28px)); } }
.marquee-track img { height: 72px; width: auto; filter: grayscale(1); opacity: .65; mix-blend-mode: multiply; transition: .3s; }
.marquee-track li:hover img { filter: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .marquee.is-running .marquee-track { animation: none; } .marquee-track { flex-wrap: wrap; justify-content: center; width: auto; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: transparent; box-shadow: var(--shadow-s); background: var(--paper); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 64px 20px 24px; position: relative; font-family: var(--f-display); font-size: 19px; font-weight: 600; color: var(--navy); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--paper) no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%23102045' stroke-width='2'/%3E%3C/svg%3E"); transition: transform .3s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--gold); }
.faq-a { padding: 0 24px 22px; color: #39425a; max-width: 64ch; }

/* Karriere */
.career { background: var(--gold); color: var(--navy-900); position: relative; overflow: hidden; isolation: isolate; }
.career::after { content: ""; position: absolute; right: -60px; bottom: -40px; width: 420px; height: 220px; z-index: -1; opacity: .18; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 220'%3E%3Cpath d='M2 218 210 10l208 208M60 218 210 70l150 148' fill='none' stroke='%230a1531' stroke-width='6'/%3E%3C/svg%3E"); }
.career .wrap { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 32px; align-items: center; padding-block: 52px; }
.career h2 { font-size: clamp(28px, 3vw, 40px); }
.career p { font-size: 16px; max-width: 54ch; }
.career ul { display: flex; flex-wrap: wrap; gap: 8px; }
.career li { font-family: var(--f-label); font-size: 13.5px; letter-spacing: .04em; padding: 7px 12px; border: 1.5px solid rgba(10,21,49,.3); border-radius: 999px; font-weight: 500; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-main { display: grid; gap: 22px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
.c-card { position: relative; padding: 20px 22px 20px 64px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; display: grid; gap: 2px; text-decoration: none; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.c-card > svg { position: absolute; left: 20px; top: 22px; width: 26px; height: 26px; color: var(--gold-600); }
a.c-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-s); }
.c-card .k { font-family: var(--f-label); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.c-card .v { font-family: var(--f-display); font-size: 20px; font-weight: 600; color: var(--navy); line-height: 1.2; overflow-wrap: anywhere; }
.c-card.is-alert { background: var(--navy); border-color: var(--navy); }
.c-card.is-alert > svg, .c-card.is-alert .k { color: var(--gold); }
.c-card.is-alert .v { color: #fff; }
.form-teaser {
  display: flex; align-items: center; gap: 18px; width: 100%; padding: 18px 22px; margin-top: 4px;
  border: 2px dashed rgba(16,32,69,.2); border-radius: var(--r); background: var(--gold-50); cursor: pointer; text-align: left;
  transition: border-color .2s, background .2s;
}
.form-teaser:hover { border-color: var(--gold); background: #fff3cc; }
.ft-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--navy-900); display: grid; place-items: center; flex: none; }
.ft-icon svg { width: 22px; height: 22px; }
.ft-text { display: grid; flex: 1; }
.ft-text b { font-family: var(--f-display); font-size: 20px; font-weight: 600; color: var(--navy); }
.ft-text small { font-size: 14px; color: var(--muted); }
.ft-arrow { width: 22px; height: 22px; color: var(--navy); flex: none; transition: transform .25s var(--ease); }
.form-teaser:hover .ft-arrow { transform: translateX(4px); }
.contact-side { display: grid; gap: 16px; }
.hours { background: var(--navy); color: #fff; border-radius: var(--r-l); padding: 30px 32px; }
.hours h3 { font-size: 20px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.hours-status { font-family: var(--f-label); font-size: 13px; letter-spacing: .1em; font-weight: 500; color: #9fb0cf; display: inline-flex; gap: 8px; align-items: center; text-transform: uppercase; }
.hours-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9fb0cf; }
.hours-status.is-open { color: #7fe0a6; }
.hours-status.is-open::before { background: var(--ok); }
.hours table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.09); font-size: 16px; }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr.is-today td { color: var(--gold); }
.area { margin-top: 22px; }
.area-k { font-family: var(--f-label); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: #9fb0cf; margin-bottom: 10px; }
.area ul { display: flex; flex-wrap: wrap; gap: 6px; }
.area li { font-size: 14px; padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,.08); }
.map { border-radius: var(--r-l); overflow: hidden; background: var(--paper); border: 1px solid var(--line); aspect-ratio: 16 / 8; display: grid; place-items: center; text-align: center; padding: 24px; }
.map-inner { display: grid; justify-items: center; gap: 12px; }
.map-inner svg { width: 30px; height: 30px; color: var(--gold-600); }
.map p { font-size: 14px; color: var(--muted); max-width: 46ch; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map.is-loaded { padding: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy-950); color: #aab4ca; font-size: 15px; position: relative; overflow: hidden; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; padding-block: 64px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-cta-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 3.8vw, 52px); color: #fff; line-height: 1; margin-top: 14px; }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-cta .eyebrow { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 64px 32px; }
.f-h { font-family: var(--f-label); font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-grid ul { display: grid; gap: 9px; }
.footer-grid a { text-decoration: none; color: #dde3ee; transition: color .2s; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 36ch; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; transition: .2s; }
.social a:hover { border-color: var(--gold); background: var(--gold); color: var(--navy-900); }
.social svg { width: 17px; height: 17px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex: none; color: var(--gold); margin-top: 5px; }
.footer-word {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase; text-align: center; line-height: .78;
  font-size: clamp(90px, 22vw, 340px); letter-spacing: -.02em; color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.12); margin-bottom: -.12em; user-select: none; pointer-events: none;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); position: relative; background: var(--navy-950); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px; font-size: 13.5px; }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a, .footer-bottom .linklike { color: #dde3ee; text-decoration: none; }
.footer-bottom a:hover, .footer-bottom .linklike:hover { color: var(--gold); }

/* =========================================================
   UNTERSEITE (Leistung)
   ========================================================= */
.page-hero { position: relative; color: #fff; background: var(--navy-900); isolation: isolate; overflow: hidden; }
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,15,36,.94) 0%, rgba(7,15,36,.72) 50%, rgba(7,15,36,.3) 100%), linear-gradient(0deg, rgba(7,15,36,.6), transparent 40%); }
.page-hero-inner { padding-block: calc(var(--header-h) + clamp(72px, 9vw, 120px)) clamp(110px, 12vw, 170px); display: grid; gap: 20px; }
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; font-family: var(--f-label); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #9fb0cf; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--gold); }
.page-hero h1 { font-size: clamp(46px, 7.4vw, 108px); text-transform: uppercase; letter-spacing: .01em; line-height: .92; }
.page-hero .lead { color: #cfd6e6; }
.page-hero-ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 90px); }
.page-hero-ridge path { fill: var(--white); stroke: var(--gold); stroke-width: 3; vector-effect: non-scaling-stroke; }
.facts-wrap { position: relative; z-index: 2; margin-top: -40px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r-l); border: 1px solid var(--line); box-shadow: var(--shadow); }
.facts li { padding: 22px 26px; display: grid; gap: 4px; }
.facts li + li { border-left: 1px solid var(--line); }
.facts .k { font-family: var(--f-label); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); }
.facts .v { font-family: var(--f-display); font-size: 18px; font-weight: 500; color: var(--navy); line-height: 1.2; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(36px, 5vw, 80px); align-items: start; }
.prose { display: grid; gap: 18px; color: #39425a; max-width: 70ch; min-width: 0; }
.prose h2 { color: var(--navy); margin-bottom: 4px; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.benefits li { padding: 24px 20px; background: var(--paper); border-radius: var(--r); display: grid; gap: 8px; align-content: start; }
.benefits svg { width: 36px; height: 36px; color: var(--navy); }
.benefits h3 { font-size: 18px; color: var(--navy); text-transform: uppercase; letter-spacing: .08em; }
.benefits p { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.aside { position: sticky; top: calc(var(--header-h) + 36px); display: grid; gap: 16px; }
.aside-card { background: var(--navy); color: #fff; padding: 30px 28px; border-radius: var(--r-l); display: grid; gap: 16px; }
.aside-card h3 { font-size: 25px; }
.aside-card p { font-size: 15px; color: #c3cbdd; }
.aside-tel { display: flex; justify-content: center; gap: 10px; align-items: center; font-family: var(--f-display); font-size: 20px; font-weight: 600; color: #fff; text-decoration: none; }
.aside-tel svg { width: 18px; height: 18px; color: var(--gold); }
.aside-nav { border: 1px solid var(--line); border-radius: var(--r-l); padding: 10px; }
.aside-nav a { display: flex; justify-content: space-between; padding: 11px 14px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--navy); }
.aside-nav a:hover { background: var(--paper); }
.aside-nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.aside-nav a::after { content: "→"; color: var(--gold-600); }
.req { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.req > div { display: grid; gap: 16px; align-content: start; }
.req-list { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; border-top: 1px solid var(--line); }
.req-list li { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--navy); }
.req-list svg { width: 26px; height: 14px; color: var(--gold-600); flex: none; }
.materials { margin-top: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.materials li { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 12px 14px; display: grid; gap: 12px; background: #fff; }
.materials .swatch { height: 56px; border-radius: 10px; }
.materials span { font-weight: 700; color: var(--navy); font-size: 15px; padding-inline: 4px; }
.sw-ton { background: repeating-linear-gradient(180deg, #a4472c 0 14px, #8a3a23 14px 16px), #a4472c; }
.sw-beton { background: repeating-linear-gradient(180deg, #56595f 0 14px, #3e4146 14px 16px); }
.sw-zink { background: repeating-linear-gradient(90deg, #a2a7ad 0 22px, #8b9096 22px 24px); }
.sw-alu { background: repeating-linear-gradient(90deg, #cfd2d6 0 22px, #b3b7bc 22px 24px); }
.sw-schiefer { background: repeating-linear-gradient(135deg, #3b4048 0 12px, #2c3037 12px 14px); }
.sw-faser { background: repeating-linear-gradient(180deg, #8c8a84 0 10px, #77756f 10px 12px); }
.feature-ref { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature-ref-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-l); }

/* =========================================================
   ANFRAGE: Lasche rechts, Panel, mobile Leiste
   ========================================================= */
.rail-tab {
  position: fixed; right: 0; top: 50%; z-index: 70; transform: translate(0, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 18px 12px; border: 0; border-radius: 14px 0 0 14px; cursor: pointer;
  background: var(--gold); color: var(--navy-900); box-shadow: none;
  font-family: var(--f-body); font-weight: 600; font-size: 15px; letter-spacing: .02em; text-transform: none;
  transition: padding .25s var(--ease), background .2s, transform .35s var(--ease);
}
.rail-tab span { writing-mode: vertical-rl; transform: rotate(180deg); }
.rail-tab svg { width: 20px; height: 20px; transform: rotate(-90deg); }
.rail-tab:hover { padding-right: 18px; background: var(--gold-hi); }
.form-open .rail-tab { transform: translate(110%, -50%); }

.action-bar { display: none; }

.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(7,15,36,.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 10px; right: 10px; bottom: 10px; width: min(560px, calc(100vw - 20px));
  background: #fff; border-radius: var(--r-l); box-shadow: 0 40px 100px -30px rgba(7,15,36,.7);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateX(calc(100% + 24px)); transition: transform .5s var(--ease);
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 26px 28px 30px; background: var(--navy); color: #fff; position: relative; }
.drawer-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold); }
.drawer-head .eyebrow { color: var(--gold); }
.drawer-head h2 { font-size: clamp(26px, 2.6vw, 32px); margin-top: 10px; }
.steps-bar { display: flex; gap: 6px; padding: 18px 28px 6px; }
.steps-bar li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); padding-top: 10px; border-top: 3px solid var(--line); transition: border-color .3s, color .3s; }
.steps-bar li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; background: var(--paper); font-family: var(--f-label); }
.steps-bar li.is-active, .steps-bar li.is-done { border-color: var(--gold); color: var(--navy); }
.steps-bar li.is-active span { background: var(--gold); color: var(--navy-900); }
.steps-bar li.is-done span { background: var(--navy); color: #fff; }
.drawer-form { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.step { display: none; border: 0; margin: 0; padding: 14px 28px 24px; min-width: 0; overflow-y: auto; flex: 1; }
.step.is-active { display: grid; gap: 18px; align-content: start; animation: stepIn .4s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } }
@media (prefers-reduced-motion: reduce) { .step.is-active { animation: none; } }
.step-hint { font-size: 14px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input, .seg input, .switch input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 15px; color: var(--navy); cursor: pointer; transition: .2s; user-select: none; }
.chip span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #b9c0cf; transition: .2s; flex: none; }
.chip:hover span { border-color: var(--navy); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:checked + span::before { border-color: var(--gold); background: var(--gold) no-repeat center/10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 6.5 2.5 2.5L10 3.5' fill='none' stroke='%230a1531' stroke-width='2'/%3E%3C/svg%3E"); }
.chip input:focus-visible + span, .seg input:focus-visible + span, .switch input:focus-visible + .switch-ui { outline: 3px solid var(--gold); outline-offset: 2px; }
.switch { position: relative; display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r); background: var(--paper); cursor: pointer; }
.switch-ui { width: 44px; height: 26px; border-radius: 999px; background: #c9cfdb; position: relative; flex: none; transition: background .2s; }
.switch-ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 2px 4px rgba(0,0,0,.2); }
.switch input:checked + .switch-ui { background: var(--err); }
.switch input:checked + .switch-ui::after { transform: translateX(18px); }
.switch b { display: block; color: var(--navy); font-size: 15px; }
.switch small { color: var(--muted); font-size: 13.5px; }
.urgent { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: #fdeceb; color: #7c2420; font-size: 14.5px; line-height: 1.5; }
.urgent svg { width: 22px; height: 22px; flex: none; color: var(--err); margin-top: 1px; }
.urgent a { font-weight: 700; color: inherit; }
.field { display: grid; gap: 7px; min-width: 0; }
.label { font-size: 14px; font-weight: 700; color: var(--navy); }
.label small { font-weight: 500; color: var(--muted); }
.label i, .consent i { color: var(--err); font-style: normal; }
.drawer input:not([type=checkbox]):not([type=radio]):not([type=file]), .drawer select, .drawer textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1.5px solid transparent; border-radius: 12px; padding: 13px 14px; transition: border-color .2s, background .2s;
}
.drawer textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.drawer select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='m1.5 3.5 3.5 3.5 3.5-3.5' fill='none' stroke='%23102045' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 40px; }
.drawer input:focus, .drawer select:focus, .drawer textarea:focus { outline: none; border-color: var(--navy); background: #fff; }
.drawer .is-invalid { border-color: var(--err) !important; background: #fff6f5 !important; }
.field-error { font-size: 13px; color: var(--err); font-weight: 600; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; background: var(--paper); border-radius: 14px; }
.seg label { flex: 1 1 auto; position: relative; }
.seg span { display: block; text-align: center; padding: 10px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--muted); cursor: pointer; transition: .2s; white-space: nowrap; }
.seg input:checked + span { background: #fff; color: var(--navy); box-shadow: 0 2px 8px -2px rgba(7,15,36,.2); }
.drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border: 2px dashed #c9cfdb; border-radius: var(--r); cursor: pointer; transition: border-color .2s, background .2s; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop svg { width: 30px; height: 30px; color: var(--gold-600); flex: none; }
.drop span { display: grid; }
.drop b { color: var(--navy); }
.drop small { color: var(--muted); font-size: 13px; }
.drop:hover, .drop.is-over { border-color: var(--gold); background: var(--gold-50); }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs li { position: relative; width: 74px; height: 74px; border-radius: 10px; overflow: hidden; background: var(--paper); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(7,15,36,.75); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.thumbs button svg { width: 12px; height: 12px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--navy); flex: none; }
.consent a { color: var(--navy); font-weight: 600; }
.turnstile:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.step-done { text-align: center; justify-items: center; padding-top: 40px; }
.done-icon { width: 84px; height: 84px; border-radius: 50%; background: var(--gold); color: var(--navy-900); display: grid; place-items: center; animation: pop .5s var(--ease); }
.done-icon svg { width: 40px; height: 40px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.step-done h3 { font-size: 30px; color: var(--navy); }
.step-done p { color: var(--muted); max-width: 40ch; }
.form-error { margin: 0 28px 10px; padding: 12px 14px; border-radius: 12px; background: #fdeceb; color: #7c2420; font-size: 14px; font-weight: 600; }
.drawer-foot { display: flex; align-items: center; gap: 12px; padding: 16px 28px; border-top: 1px solid var(--line); background: #fff; }
.drawer-foot [data-next], .drawer-foot [data-submit] { margin-left: auto; }
.foot-note { font-size: 13px; color: var(--muted); }
.drawer-foot [data-prev]:not([hidden]) + .foot-note { display: none; }
.drawer.is-done .drawer-foot, .drawer.is-done .steps-bar { display: none; }
.drawer-alt { display: flex; justify-content: center; gap: 22px; padding: 12px 20px calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--paper); font-size: 14px; }
.drawer-alt a { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; color: var(--navy); font-weight: 600; }
.drawer-alt svg { width: 16px; height: 16px; color: var(--gold-600); }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Cookie-Hinweis */
.cookie {
  position: fixed; left: 16px; bottom: calc(16px + var(--bar-h) + env(safe-area-inset-bottom, 0px)); z-index: 140;
  width: min(440px, calc(100vw - 32px)); background: #fff; color: var(--ink);
  border-radius: var(--r); box-shadow: 0 24px 60px -20px rgba(7,15,36,.55); border-top: 3px solid var(--gold);
  padding: 20px 22px; display: grid; gap: 12px; font-size: 14px;
}
.cookie-title { font-family: var(--f-display); font-size: 20px; font-weight: 600; color: var(--navy); }
.cookie .row { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie a { color: var(--navy); font-weight: 600; }

/* Einblenden beim Scrollen (sichtbarer Ruhezustand ohne JS) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1240px) {
  .header-phone { display: none; }
  .nav > ul > li > a { padding: 0 10px; font-size: 16px; }
}
@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .bento .t-xl { grid-column: span 2; grid-row: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .career .wrap { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process::before { display: none; }
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .quals { grid-template-columns: 1fr 1fr; border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .quals li { padding: 16px 12px 16px 0; }
  .quals li + li { border-top: 0; }
  .quals li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.09); }
  .stats-card { grid-template-columns: 1fr 1fr; }
  .stats-card li:nth-child(3) { border-left: 0; }
  .stats-card li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about, .claim-grid, .contact-grid, .detail, .req, .voices-grid, .faq-grid, .feature-ref { grid-template-columns: 1fr; }
  .section-head.split { grid-template-columns: 1fr; gap: 20px; }
  .voices-head, .faq-head, .aside { position: static; }
  .about-media .img-sub { right: 0; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; --bar-h: 78px; }
  body { font-size: 16px; padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px)); }
  .header-bar { padding: 0 8px 0 16px; border-radius: 16px; }
  .brand img { height: 34px; }
  .rail-tab { display: none; }
  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 4px; align-items: center;
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 90;
    padding: 5px; border-radius: 22px;
    background: rgba(10,21,49,.9); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
    border: 1px solid rgba(255,255,255,.09);
    box-shadow: 0 22px 44px -16px rgba(7,15,36,.7), inset 0 1px 0 rgba(255,255,255,.06);
    transition: transform .5s var(--ease), opacity .3s;
    animation: barIn .7s .5s var(--ease) both;
  }
  @keyframes barIn { from { transform: translateY(calc(100% + 24px)); opacity: 0; } }
  .action-bar a, .action-bar button {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    height: 56px; border: 0; border-radius: 17px; background: transparent; color: #e6ebf5; text-decoration: none; cursor: pointer;
    font-family: var(--f-body); font-weight: 500; font-size: 12px; letter-spacing: .01em; text-transform: none;
    -webkit-tap-highlight-color: transparent; transition: background .2s, transform .15s;
  }
  .action-bar a:active, .action-bar button:active { transform: scale(.95); background: rgba(255,255,255,.07); }
  .action-bar i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(241,178,9,.13); }
  .action-bar svg { width: 16px; height: 16px; color: var(--gold); }
  .action-bar .is-main {
    flex-direction: row; justify-content: center; gap: 8px; height: 44px; margin-right: 3px; padding: 0 14px; border-radius: 14px; overflow: hidden; white-space: nowrap;
    background: var(--gold); color: var(--navy-900);
    font-size: 15px; font-weight: 600;
    box-shadow: none;
  }
  .action-bar .is-main i { width: auto; height: auto; flex: none; background: none; border-radius: 0; }
  .action-bar .is-main svg { color: var(--navy-900); width: 16px; height: 16px; }
  @keyframes sheen { to { transform: translateX(120%); } }
  .form-open .action-bar, .menu-open .action-bar { transform: translateY(calc(100% + 30px)); opacity: 0; }
  @media (prefers-reduced-motion: reduce) { .action-bar, .action-bar .is-main::after { animation: none; } }
  .drawer-panel { top: auto; left: 0; right: 0; bottom: 0; width: 100%; height: calc(100% - 24px - env(safe-area-inset-top, 0px)); border-radius: 22px 22px 0 0; transform: translateY(100%); }
  .drawer-head { padding: 22px 20px 16px; }
  .steps-bar, .step, .drawer-foot { padding-inline: 20px; }
  .form-error { margin-inline: 20px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .bento .t-xl, .bento .t-wide { grid-column: auto; grid-row: auto; }
  .bento .t-xl { grid-row: span 1; }
  .t-xl .tile h3 { font-size: 28px; }
  .t-xl .tile p { font-size: 14.5px; }
  .process { grid-template-columns: 1fr; row-gap: 28px; }
  .process li { grid-template-columns: 64px 1fr; column-gap: 18px; }
  .process li .p-num { grid-row: span 2; margin: 0; }
  .voices { grid-template-columns: 1fr; }
  .contact-cards, .claim-points, .benefits, .req-list, .row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; padding-block: 48px 24px; }
  .footer-cta { padding-block: 48px; }
  .materials { grid-template-columns: 1fr 1fr; }
  .stats-card li { padding: 22px 16px; }
  .stat-num { font-size: 42px; }
  .stats-wrap { margin-top: -60px; background: linear-gradient(to bottom, transparent 60px, var(--paper) 60px); }
  .hero-actions .btn { flex: 1 1 100%; }
  .quals .q-v { font-size: 18px; }
  .build { grid-template-columns: 1fr; }
  .build svg { grid-row: auto; }
  .build-legend { grid-template-columns: 1fr 1fr; }
  .hours { padding: 24px 20px; }
  .facts li { padding: 18px 16px; }
  .facts .v { font-size: 17px; }
}

/* =========================================================
   UNTERSEITEN v0.8 – Varianten & Bausteine
   ========================================================= */

/* ---------- Seitenkopf: Varianten ---------- */
.page-hero.is-split { background: var(--navy-900); }
.page-hero.is-split::before { background: radial-gradient(60% 70% at 0% 0%, rgba(59,77,122,.4), transparent 70%); }
.page-hero.is-split .page-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 72px); padding-bottom: clamp(72px, 9vw, 120px); }
.ph-text { display: grid; gap: 20px; align-content: center; }
.ph-media { position: relative; }
.ph-media img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: var(--r-l); }
.ph-badge { position: absolute; left: -18px; bottom: 28px; z-index: 2; background: #fff; color: var(--navy); border-radius: var(--r); padding: 14px 18px; box-shadow: var(--shadow); display: grid; line-height: 1.15; max-width: 240px; }
.ph-badge b { font-family: var(--f-display); font-size: 22px; }
.ph-badge span { font-size: 13.5px; color: var(--muted); }

.page-hero.is-light { background: var(--paper); color: var(--ink); }
.page-hero.is-light::before { display: none; }
.page-hero.is-light .crumbs { color: var(--muted); }
.page-hero.is-light .crumbs a { color: var(--navy); }
.page-hero.is-light h1 { color: var(--navy); }
.page-hero.is-light .lead { color: var(--muted); }
.page-hero.is-light .page-hero-inner { padding-bottom: clamp(40px, 5vw, 64px); }
.ph-band { position: relative; }
.ph-band img { width: 100%; height: clamp(280px, 40vw, 560px); object-fit: cover; border-top: 3px solid var(--gold); }
.page-hero.is-light .btn-ghost { border-color: var(--navy); color: var(--navy); }
.page-hero.is-light .btn-ghost:hover { background: var(--navy); color: #fff; }
.page-hero.is-compact .page-hero-inner { padding-bottom: clamp(56px, 6vw, 80px); }
.page-hero.is-compact h1 { font-size: clamp(40px, 5.6vw, 76px); text-transform: none; letter-spacing: -.015em; }

/* ---------- Allgemeine Bausteine ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split.is-flip > :first-child { order: 2; }
.split .stack p { color: #39425a; }
.frame { position: relative; }
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-l); }
.frame.is-tall img { aspect-ratio: 4 / 5; }
.frame-cap { position: absolute; left: 16px; bottom: 16px; padding: 7px 13px; border-radius: 999px; background: rgba(7,15,36,.78); color: #fff; font-size: 13px; }
.note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r); background: var(--gold-50); border: 1px solid #f6dd94; color: #5a4300; font-size: 15.5px; }
.note svg { width: 22px; height: 22px; flex: none; color: var(--gold-600); margin-top: 2px; }
.note b { color: var(--navy); }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); line-height: 1.45; }
.checklist li::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; margin-top: 1px; background: var(--gold) no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 6.5 2.5 2.5L10 3.5' fill='none' stroke='%230a1531' stroke-width='2'/%3E%3C/svg%3E"); }
.on-dark .checklist li { color: #dfe4ef; }
.checklist.is-one { grid-template-columns: 1fr; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; font-size: 15px; color: var(--navy); background: #fff; }
.on-dark .pills li { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.05); color: #fff; }
.icon-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.icon-card { padding: 28px 24px; border-radius: var(--r-l); background: #fff; border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.bg-paper .icon-card { border-color: transparent; }
.icon-card svg { width: 42px; height: 42px; color: var(--navy); }
.icon-card h3 { font-size: 22px; color: var(--navy); }
.icon-card p { font-size: 15px; color: var(--muted); line-height: 1.55; }
.more-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.more-services a { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.more-services img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.more-services a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(7,15,36,.85)); }
.more-services a:hover img { transform: scale(1.06); }
.more-services span { position: absolute; left: 16px; right: 16px; bottom: 14px; font-family: var(--f-display); font-weight: 600; font-size: 19px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.more-services span::after { content: "→"; color: var(--gold); }

/* ---------- Tabs (allgemein) ---------- */
.tabbar { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.tabbar.is-light { background: var(--paper); border-color: var(--line); }
.tabbar button { border: 0; background: none; cursor: pointer; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; color: #c3cbdd; transition: background .25s, color .25s; }
.tabbar.is-light button { color: var(--muted); }
.tabbar button[aria-selected="true"] { background: var(--gold); color: var(--navy-900); }
.tabbar.is-light button[aria-selected="true"] { background: var(--navy); color: #fff; }
[role="tabpanel"][hidden] { display: none !important; }
.tabpanel-anim { animation: stepIn .45s var(--ease); }

/* ---------- Flachdach: Abdichtungs-Vergleich ---------- */
.seal { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.seal-figure svg { width: 100%; height: auto; overflow: visible; }
.seal-figure .seal-top { transition: fill .5s var(--ease); }
.seal-figure text { font-family: var(--f-body); font-size: 12px; fill: #c3cbdd; }
.seal-panel { display: grid; gap: 16px; }
.seal-panel h3 { font-size: clamp(26px, 2.6vw, 34px); }
.seal-panel p { color: #c3cbdd; }
.seal-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.seal-facts div { padding: 14px; border-radius: var(--r); background: rgba(255,255,255,.06); display: grid; gap: 2px; }
.seal-facts small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.seal-facts b { font-family: var(--f-display); font-size: 17px; font-weight: 600; }

/* ---------- Fassade: Aufbau + Material ---------- */
.facade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.facade-fig svg { width: 100%; height: auto; overflow: visible; }
.facade-fig text { font-family: var(--f-body); font-size: 13px; fill: #c3cbdd; }
.facade-fig .air { stroke: #8fd3ff; stroke-width: 2; fill: none; stroke-dasharray: 6 8; animation: airflow 1.6s linear infinite; }
@keyframes airflow { to { stroke-dashoffset: -28; } }
@media (prefers-reduced-motion: reduce) { .facade-fig .air { animation: none; } }
.facade-fig .cladding { transition: fill .5s var(--ease); }
.swatch-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch-pick button { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); color: #fff; font-weight: 500; font-size: 15px; cursor: pointer; transition: border-color .2s, background .2s; }
.swatch-pick button i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); }
.swatch-pick button[aria-pressed="true"] { border-color: var(--gold); background: rgba(241,178,9,.12); }

/* ---------- Galerie + Lightbox ---------- */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery figure { break-inside: avoid; margin: 0 0 16px; position: relative; border-radius: var(--r); overflow: hidden; background: var(--navy-700); }
.gallery a { display: block; }
.gallery img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 6px; flex-wrap: wrap; pointer-events: none; }
.gallery figcaption span { padding: 5px 11px; border-radius: 999px; background: rgba(7,15,36,.78); color: #fff; font-size: 12.5px; }
.gallery figure.is-hidden { display: none; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-chips button { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 15px; color: var(--navy); cursor: pointer; transition: .2s; }
.filter-chips button:hover { border-color: var(--navy); }
.filter-chips button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-chips button small { opacity: .6; margin-left: 4px; font-weight: 500; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(7,15,36,.94); display: grid; place-items: center; padding: 64px 16px; }
.lightbox img { max-width: min(1400px, 100%); max-height: 100%; width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox .lb-close { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; }
.lightbox .lb-prev, .lightbox .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox .lb-prev { left: 16px; } .lightbox .lb-next { right: 16px; }
.lightbox .lb-cap { position: absolute; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); left: 16px; right: 16px; text-align: center; color: #dfe4ef; font-size: 14px; }

/* ---------- Dachfenster: Licht + Komponenten ---------- */
.light-fig { position: relative; border-radius: var(--r-l); overflow: hidden; background: linear-gradient(180deg, #13244d, #0a1531); aspect-ratio: 5 / 4; }
.light-fig svg { width: 100%; height: 100%; display: block; }
.light-fig .beam { fill: url(#beam); opacity: .9; transition: opacity .6s var(--ease); }
.light-ctrl { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 999px; background: rgba(7,15,36,.72); color: #fff; font-size: 14px; }
.light-ctrl input { flex: 1; accent-color: var(--gold); }
.comp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.comp-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-l); }
.comp-body { display: grid; gap: 18px; align-content: start; }

/* ---------- PV: Sonnenbogen + Vorteile ---------- */
.sun-arc { position: relative; }
.sun-arc svg { width: 100%; height: auto; display: block; overflow: visible; }
.sun-arc .arc { fill: none; stroke: rgba(241,178,9,.35); stroke-width: 2; stroke-dasharray: 4 8; }
.sun-arc .sun { fill: var(--gold); }
.sun-arc text { font-family: var(--f-body); font-size: 13px; fill: #c3cbdd; }
.pv-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 8px; }
.pv-steps li { padding: 20px 18px; border-radius: var(--r); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); display: grid; gap: 6px; align-content: start; }
.pv-steps b { font-family: var(--f-display); font-size: 18px; color: #fff; }
.pv-steps span { font-size: 14px; color: #b6c0d4; line-height: 1.5; }
.pv-steps i { font-style: normal; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.bignums { display: grid; gap: 0; counter-reset: bn; }
.bignums li { counter-increment: bn; display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); align-items: start; }
.bignums li:last-child { border-bottom: 1px solid var(--line); }
.bignums li::before { content: counter(bn, decimal-leading-zero); font-family: var(--f-display); font-weight: 700; font-size: 54px; line-height: .9; color: var(--gold); }
.bignums h3 { font-size: 24px; color: var(--navy); margin-bottom: 6px; }
.bignums p { color: var(--muted); max-width: 60ch; }

/* ---------- Dach-Check: Programme + Protokoll ---------- */
.programs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.program { border-radius: var(--r-l); border: 1px solid var(--line); background: #fff; padding: 30px 30px 26px; display: grid; gap: 18px; align-content: start; position: relative; }
.program.is-plus { background: var(--navy); color: #fff; border-color: var(--navy); }
.program-tag { justify-self: start; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold-600); }
.program.is-plus .program-tag { color: var(--gold); }
.program h3 { font-size: 32px; color: var(--navy); }
.program.is-plus h3 { color: #fff; }
.program .checklist { grid-template-columns: 1fr; gap: 10px; }
.program.is-plus .checklist li { color: #dfe4ef; }
.program-ribbon { position: absolute; top: 22px; right: 22px; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: var(--navy-900); font-size: 12.5px; font-weight: 600; }
.program-sep { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.14); }
.protocol { position: relative; background: #fff; border-radius: 6px; padding: 34px 32px 30px; box-shadow: 0 30px 60px -30px rgba(7,15,36,.45), 0 0 0 1px var(--line); transform: rotate(-1.2deg); }
.protocol::before { content: ""; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 120px; height: 28px; border-radius: 8px; background: linear-gradient(#c9ced8, #aab1bf); box-shadow: 0 4px 8px rgba(0,0,0,.15); }
.protocol-head { display: flex; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--navy); padding-bottom: 12px; margin-bottom: 8px; }
.protocol-head b { font-family: var(--f-display); font-size: 22px; color: var(--navy); }
.protocol-head span { font-size: 13px; color: var(--muted); text-align: right; }
.protocol ol { display: grid; }
.protocol li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; color: var(--ink); }
.protocol li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 4px; border: 2px solid var(--navy-400); transition: background .3s, border-color .3s; }
.protocol li.is-checked::before { border-color: var(--ok); background: var(--ok) no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 6.5 2.5 2.5L10 3.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E"); }
.protocol-foot { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.stamp { font-family: var(--f-display); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--ok); border: 2px solid var(--ok); border-radius: 6px; padding: 4px 10px; transform: rotate(-6deg); }
.guarantee { display: flex; align-items: center; gap: 22px; padding: 24px 28px; border-radius: var(--r-l); background: var(--gold); color: var(--navy-900); }
.guarantee b { font-family: var(--f-display); font-size: 64px; line-height: .9; }
.guarantee p { font-size: 17px; font-weight: 500; }

/* ---------- Reparaturen ---------- */
.sos { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: var(--r-l); overflow: hidden; background: var(--navy); color: #fff; }
.sos-main { padding: clamp(28px, 4vw, 48px); display: grid; gap: 18px; align-content: center; }
.sos-main h2 { font-size: clamp(30px, 3.4vw, 46px); }
.sos-main p { color: #c3cbdd; }
.sos-steps { display: grid; gap: 10px; counter-reset: sos; }
.sos-steps li { counter-increment: sos; display: flex; gap: 14px; align-items: center; font-weight: 500; }
.sos-steps li::before { content: counter(sos); width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--gold); color: var(--navy-900); font-weight: 700; font-size: 14px; }
.sos-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sos-side { position: relative; min-height: 320px; }
.sos-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sos-side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, transparent 40%); }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case { border-radius: var(--r-l); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.case img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.case div { padding: 18px 20px 20px; display: grid; gap: 4px; }
.case h3 { font-size: 21px; color: var(--navy); }
.case p { font-size: 14.5px; color: var(--muted); }
.renova { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-l); border: 2px solid var(--navy); }
.renova-mark { font-family: var(--f-display); font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: .9; color: var(--navy); }
.renova-mark span { color: var(--gold-600); }

/* ---------- Energetische Sanierung ---------- */
.goals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.goal { padding: 28px 24px; border-radius: var(--r-l); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); display: grid; gap: 8px; }
.goal b { font-family: var(--f-display); font-size: 30px; color: var(--gold); line-height: 1; }
.goal h3 { font-size: 20px; color: #fff; }
.goal p { font-size: 15px; color: #b6c0d4; }
.opt-wrap { display: grid; gap: 28px; }
.build.is-static { grid-template-columns: minmax(0, 1fr) auto; }

/* ---------- Über uns ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: linear-gradient(90deg, var(--gold), rgba(241,178,9,.2)); }
.timeline li { position: relative; padding-top: 42px; display: grid; gap: 6px; align-content: start; }
.timeline li::before { content: ""; position: absolute; top: 4px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--navy); border: 4px solid var(--gold); }
.timeline b { font-family: var(--f-display); font-size: 34px; font-weight: 700; color: var(--navy); line-height: 1; }
.timeline h3 { font-size: 19px; color: var(--navy); }
.timeline p { font-size: 15px; color: var(--muted); }
.args { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.args li { padding: 30px 28px 10px 0; display: grid; gap: 10px; align-content: start; }
.args li + li { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.1); }
.args b { font-family: var(--f-display); font-weight: 700; font-size: 64px; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.args h3 { font-size: 24px; }
.args p { color: #b6c0d4; font-size: 15.5px; }
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 14px; }
.mosaic figure { margin: 0; border-radius: var(--r-l); overflow: hidden; }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.owner-card { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-l); background: #fff; border: 1px solid var(--line); }
.owner-card blockquote { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; color: var(--navy); }
.owner-card .owner-mono { width: 96px; height: 96px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 34px; }

/* ---------- Karriere ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.perk { padding: 22px 20px; border-radius: var(--r-l); background: #fff; border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.perk svg { width: 32px; height: 32px; color: var(--gold-600); }
.perk b { font-family: var(--f-display); font-size: 18px; color: var(--navy); line-height: 1.25; font-weight: 600; }
.perk.is-big { grid-column: span 2; background: var(--navy); border-color: var(--navy); color: #fff; }
.perk.is-big b { color: #fff; font-size: 24px; }
.weeks { display: grid; gap: 8px; margin-top: 6px; }
.week { display: grid; grid-template-columns: 70px repeat(5, 1fr); gap: 6px; align-items: center; }
.week span { font-size: 12.5px; color: #9fb0cf; }
.week i { height: 30px; border-radius: 6px; background: var(--gold); display: grid; place-items: center; font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--navy-900); }
.week i.is-off { background: rgba(255,255,255,.1); color: #9fb0cf; border: 1px dashed rgba(255,255,255,.3); }
.jobs { display: grid; gap: 12px; }
.job { border-radius: var(--r-l); border: 1px solid var(--line); background: #fff; overflow: hidden; }
.job[open] { box-shadow: var(--shadow); border-color: transparent; }
.job summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 22px 26px; }
.job summary::-webkit-details-marker { display: none; }
.job-title { display: grid; gap: 4px; }
.job-title b { font-family: var(--f-display); font-size: 24px; color: var(--navy); font-weight: 600; }
.job-title span { font-size: 14px; color: var(--muted); }
.job-toggle { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); transition: transform .3s var(--ease), background .2s; }
.job-toggle::before { content: "+"; font-size: 24px; color: var(--navy); line-height: 1; }
.job[open] .job-toggle { transform: rotate(45deg); background: var(--gold); }
.job-body { padding: 0 26px 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.job-body h4 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 12px; font-weight: 600; }
.job-body ul { display: grid; gap: 8px; }
.job-body li { font-size: 15px; color: #39425a; padding-left: 16px; position: relative; line-height: 1.5; }
.job-body li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.job-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); }
.job-cta p { margin-right: auto; color: var(--muted); font-size: 15px; }

/* ---------- Zertifikate ---------- */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.cert { margin: 0; display: grid; gap: 14px; }
.cert a { display: block; padding: 14px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); transition: transform .3s var(--ease), box-shadow .3s; }
.cert a:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: var(--shadow); }
.cert img { width: 100%; aspect-ratio: 5 / 7; object-fit: contain; background: #fff; }
.cert figcaption { display: grid; gap: 2px; }
.cert figcaption b { font-family: var(--f-display); font-size: 19px; color: var(--navy); font-weight: 600; }
.cert figcaption span { font-size: 14px; color: var(--muted); }
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.review { margin: 0; padding: 28px 28px 24px; border-radius: var(--r-l); background: #fff; border: 1px solid var(--line); display: grid; gap: 16px; align-content: space-between; }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: #2b3450; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption i { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 15px; }
.review figcaption b { color: var(--navy); font-weight: 600; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; }

/* ---------- Kontakt-Seite (Formular eingebettet) ---------- */
.contact-page { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.form-inline .drawer-panel { position: relative; inset: auto; width: 100%; transform: none; box-shadow: var(--shadow); border: 1px solid var(--line); min-height: 640px; }
.form-inline .drawer-head [data-close-form] { display: none; }
.has-inline-form .rail-tab { display: none; }
.contact-stack { display: grid; gap: 16px; }
.contact-stack .contact-cards { margin-top: 0; }

/* ---------- Rechtstexte ---------- */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 36px); display: grid; gap: 4px; padding: 18px; border-radius: var(--r-l); background: var(--paper); }
.legal-toc b { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 8px; font-weight: 600; }
.legal-toc a { font-size: 14.5px; color: var(--navy); text-decoration: none; padding: 5px 8px; border-radius: 8px; line-height: 1.35; }
.legal-toc a:hover { background: #fff; }
.legal-body { display: grid; gap: 14px; max-width: 74ch; color: #39425a; }
.legal-body h2 { font-size: 28px; color: var(--navy); margin-top: 28px; scroll-margin-top: 120px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 19px; color: var(--navy); margin-top: 12px; }
.legal-body a { color: var(--navy); font-weight: 600; }
.legal-body ul { display: grid; gap: 6px; padding-left: 20px; list-style: disc; }
.legal-body address { font-style: normal; line-height: 1.7; }
.legal-card { padding: 24px 26px; border-radius: var(--r-l); background: var(--paper); display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; }
.legal-card dt { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding-top: 3px; }
.legal-card dd { margin: 0; color: var(--ink); font-weight: 500; }
.todo { background: #fff3cd; color: #6b4e00; padding: 1px 6px; border-radius: 4px; font-weight: 600; }

/* ---------- Responsive Unterseiten ---------- */
@media (max-width: 1080px) {
  .pv-steps { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .more-services { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .timeline::before { display: none; }
}
@media (max-width: 980px) {
  .page-hero.is-split .page-hero-inner, .split, .seal, .facade, .comp, .programs, .sos, .contact-page, .legal, .owner-card { grid-template-columns: 1fr; }
  .split.is-flip > :first-child { order: 0; }
  .ph-badge { left: 12px; }
  .icon-cards, .cases, .goals, .certs, .args { grid-template-columns: 1fr 1fr; }
  .args li + li { padding-left: 0; border-left: 0; }
  .job-body { grid-template-columns: 1fr 1fr; }
  .legal-toc { position: static; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; }
  .mosaic figure:first-child { grid-column: span 2; grid-row: auto; }
  .sos-side { min-height: 220px; order: -1; }
  .sos-side::after { background: linear-gradient(0deg, var(--navy) 0%, transparent 50%); }
}
@media (max-width: 720px) {
  .icon-cards, .cases, .goals, .certs, .args, .checklist, .reviews, .job-body, .seal-facts, .pv-steps, .timeline, .perks, .more-services { grid-template-columns: 1fr; }
  .perk.is-big { grid-column: auto; }
  .bignums li { grid-template-columns: 64px 1fr; gap: 14px; }
  .bignums li::before { font-size: 40px; }
  .renova { grid-template-columns: 1fr; }
  .guarantee { flex-direction: column; align-items: flex-start; gap: 8px; }
  .protocol { transform: none; padding: 30px 20px 24px; }
  .job summary { padding: 18px 18px; }
  .job-body { padding: 0 18px 22px; }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
  .mosaic figure:first-child { grid-column: auto; }
  .tabbar { border-radius: 18px; }
  .week { grid-template-columns: 54px repeat(5, 1fr); }
}

/* Feinschliff Unterseiten */
.page-hero.is-split h1 { font-size: clamp(44px, 5.4vw, 84px); overflow-wrap: anywhere; hyphens: auto; }
.opt-wrap .build { grid-template-columns: minmax(0, 560px) auto; justify-content: center; }
.opt-wrap .build-caption { text-align: center; }
.refs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ref-cta { background: var(--gold-50); border-color: #f6dd94; }
.ref-cta h3 { font-size: 28px; }
@media (max-width: 980px) { .refs-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .refs-grid { grid-template-columns: 1fr; } }

/* ---------- v0.9: Ergänzungen Kontakt/Recht ---------- */
.args.is-light { border-top-color: var(--line); }
.args.is-light li + li { border-left-color: var(--line); }
.args.is-light b { -webkit-text-stroke-color: var(--gold-600, #c99400); }
.args.is-light h3 { color: var(--navy); }
.args.is-light p { color: var(--muted); }
.legal-meta { font-size: 14px; color: var(--muted); }
.legal-body p, .legal-body li { line-height: 1.7; }
@media (max-width: 980px) { .legal-toc { position: static; } }
@media (max-width: 720px) {
  .args li + li { padding-left: 0; border-left: 0; }
  .legal-card { grid-template-columns: 1fr; gap: 2px; }
  .legal-card dd { margin-bottom: 10px; }
}
.form-inline.drawer { position: relative; inset: auto; z-index: auto; visibility: visible; scroll-margin-top: calc(var(--header-h, 80px) + 24px); }
.form-inline.drawer .drawer-panel { max-width: none; height: auto; }
.form-inline .drawer-alt { display: none; }
@media (max-width: 720px) { .form-inline .drawer-panel { min-height: 0; } }

/* ---------- v1.1: Bewerbungsmodus im Anfrage-Panel ---------- */
.steps-bar em { font-style: normal; }
.drawer.is-job .steps-bar [data-step-dot="2"] { display: none; }
.career li:has(.job-chip) { padding: 0; transition: background .2s, border-color .2s; }
.career .job-chip { display: inline-flex; align-items: center; gap: 6px; font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.career .job-chip svg { width: 13px; height: 13px; transition: transform .2s; }
.career li:has(.job-chip):hover { background: rgba(10,21,49,.08); border-color: var(--navy-900); }
.career li:has(.job-chip):hover svg { transform: translateX(2px); }
.career .job-chip:focus-visible { outline: 3px solid var(--navy-900); outline-offset: 2px; }

@media (max-width: 359px) { .action-bar .is-main { padding: 0 10px; } .action-bar .is-main span { font-size: 14px; } .oc-quick { grid-template-columns: 1fr; } }

/* ---------- v1.9: Kundenwünsche 23.10. ---------- */
.drawer-head .eyebrow::before { display: none; }
.drawer-head .eyebrow { gap: 0; }

/* Startseiten-Hero: heller, blasser Steildach-Hintergrund mit Bildwechsel */
.hero { background: var(--paper); color: var(--navy); }
.hero::before { display: none; }
.hero-stage { position: relative; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; margin: 0; padding: 0; list-style: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
.hero-bg li { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; pointer-events: none; }
.hero-bg li.is-active { opacity: 1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: saturate(.7) brightness(1.06); transform: scale(1.02); }
.hero-bg li.is-active img { animation: heroDrift 14s ease-out both; }
@keyframes heroDrift { from { transform: scale(1.02); } to { transform: scale(1.1); } }
/* Weißer Schleier: links kräftig für den Text, rechts lässt er das Dach durchscheinen */
.hero-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(244,245,248,.95) 0%, rgba(244,245,248,.88) 38%, rgba(244,245,248,.62) 72%, rgba(244,245,248,.5) 100%),
              linear-gradient(to bottom, rgba(244,245,248,.55), transparent 30%); }
.hero h1 { color: var(--navy); }
.hero h1 .acc { color: var(--navy); background: linear-gradient(transparent 64%, rgba(241,178,9,.55) 64%, rgba(241,178,9,.55) 90%, transparent 90%); display: inline; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero .lead { color: #3d4760; }
.hero .live-chip { background: rgba(255,255,255,.75); border-color: rgba(16,32,69,.12); color: var(--navy); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero .quals { border-left-color: rgba(16,32,69,.16); }
.hero .quals li { background: none; }
.hero .quals li + li { border-top-color: rgba(16,32,69,.1); }
.hero .q-k { color: var(--gold-600); }
.hero .q-v { color: var(--navy); }
.hero-team { margin-top: clamp(-40px, -3vw, -16px); }
@media (prefers-reduced-motion: reduce) { .hero-bg li { transition: none; } .hero-bg li.is-active img { animation: none; } }
/* Im CMS: Hintergrundbilder als Leiste zum Tauschen */
.rcms .hero-bg { position: absolute; inset: calc(var(--header-h) + 96px) 24px auto auto; z-index: 6; display: flex; gap: 10px; height: 92px; overflow: visible; -webkit-mask-image: none; mask-image: none; padding: 10px; border-radius: 16px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); }
.rcms .hero-bg::before { content: "Hintergrundbilder (wechseln automatisch)"; position: absolute; left: 10px; top: -30px; padding: 4px 10px; border-radius: 999px; background: var(--navy); font-size: 12px; font-weight: 600; color: #fff; white-space: nowrap; }
.rcms .hero-bg li { position: relative; inset: auto; width: 120px; opacity: 1; pointer-events: auto; border-radius: 10px; overflow: hidden; }
.rcms .hero-bg img { filter: none; transform: none; animation: none !important; }
.hero .quals { border-left: 0; padding: 6px 24px; border-radius: 20px; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 20px 40px -28px rgba(7,15,36,.35); }
.hero .quals li { padding-left: 0; }
@media (max-width: 980px) { .hero .quals { padding: 4px 18px; } }
.doc-list { display: grid; gap: 6px; }
.doc-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--paper); font-size: 14.5px; color: var(--navy); }
.doc-list li svg { width: 18px; height: 18px; color: var(--gold-600); flex: none; }
.doc-list li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.doc-list li small { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.doc-list button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(7,15,36,.08); color: var(--navy); display: grid; place-items: center; cursor: pointer; padding: 0; flex: none; }
.doc-list button svg { width: 12px; height: 12px; color: currentColor; }

/* Rechter Rand: Anfrage-Lasche + Social Media */
.rail { position: fixed; right: 0; top: 50%; z-index: 70; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-end; gap: 8px; transition: transform .35s var(--ease); }
.rail .rail-tab { position: static; transform: none; }
.form-open .rail { transform: translate(110%, -50%); }
.form-open .rail .rail-tab { transform: none; }
.has-inline-form .rail-tab { display: none; }
.rail-social { display: grid; gap: 2px; padding: 6px; border-radius: 14px 0 0 14px; background: var(--navy-900); border: 1px solid rgba(255,255,255,.1); border-right: 0; }
.rail-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #c6cee0; transition: background .2s, color .2s; }
.rail-social a:hover, .rail-social a:focus-visible { background: rgba(241,178,9,.14); color: var(--gold); }
.rail-social svg { width: 18px; height: 18px; }
@media (max-width: 720px) { .rail { display: none; } }
.oc-social { display: flex; gap: 8px; }
.oc-social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: #c6cee0; }
.oc-social svg { width: 18px; height: 18px; }

/* Top Bar über dem schwebenden Header (klappt beim Scrollen weg) */
.top-bar {
  pointer-events: auto; max-width: calc(var(--wrap) + 40px); margin: 0 auto 8px; height: 30px; padding: 0 24px;
  display: flex; align-items: center; gap: 22px; font-size: 13.5px; color: #4a5470; overflow: hidden;
  transition: height .35s var(--ease), margin .35s var(--ease), opacity .25s;
}
.top-bar p { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.top-bar svg { width: 15px; height: 15px; color: var(--gold-600); flex: none; }
.tb-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--navy-400); }
.tb-status.is-open .dot { background: var(--ok); box-shadow: 0 0 0 3px rgba(47,191,113,.18); }
.tb-status.is-open { color: var(--navy); font-weight: 600; }
.tb-links { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.tb-links a { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; white-space: nowrap; transition: color .2s; }
.tb-links a:hover { color: var(--navy); }
.tb-links .tb-jobs { padding: 3px 11px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 600; font-size: 12.5px; }
.tb-links .tb-jobs:hover { background: var(--gold); color: var(--navy-900); }
.is-top .top-bar { color: #c9d1e2; }
.is-top .top-bar svg { color: var(--gold); }
.is-top .tb-status.is-open { color: #fff; }
.is-top .tb-links a:hover { color: #fff; }
.is-top .tb-links .tb-jobs { background: rgba(255,255,255,.12); }
.site-header.is-scrolled .top-bar { height: 0; margin-bottom: 0; opacity: 0; }
@media (max-width: 1180px) { .tb-area { display: none !important; } }
@media (max-width: 980px) { .top-bar { display: none; } }

/* Team: Einzelbilder */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 22px 18px; margin-bottom: 40px; }
.person figure { margin: 0 0 12px; border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--paper); position: relative; }
.person figure::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.person img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .6s var(--ease); }
.person:hover img { transform: scale(1.04); }
.person:hover figure::after { transform: scaleX(1); }
.person-txt { display: grid; gap: 2px; padding: 0 4px; }
.person-txt b { font-family: var(--f-display); font-size: 18px; font-weight: 600; color: var(--navy); line-height: 1.25; }
.person-txt span { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.person-txt span:empty { display: none; }
.person-cta a { display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; aspect-ratio: 3 / 4; border-radius: 20px; border: 2px dashed #c9cfdb; color: var(--navy); text-decoration: none; padding: 20px; transition: border-color .2s, background .2s; }
.person-cta a:hover { border-color: var(--gold); background: var(--gold-50); }
.pc-plus { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy-900); font-size: 30px; font-weight: 400; line-height: 1; margin-bottom: 8px; }
.person-cta b { font-family: var(--f-display); font-size: 19px; }
.person-cta span:last-child { font-size: 14px; color: var(--muted); }
@media (max-width: 720px) { .people { grid-template-columns: 1fr 1fr; gap: 18px 12px; } .person-txt b { font-size: 16px; } }
.rcms .person-txt span:empty { display: block; min-height: 1.4em; }

/* Instagram-Slider (Kontakt) */
.ig-slider { --pad: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); position: relative; }
.ig-track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 24vw, 300px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding: 6px var(--pad) 18px; scrollbar-width: none; overscroll-behavior-x: contain; }
.ig-track::-webkit-scrollbar { display: none; }
.ig-post { scroll-snap-align: start; }
.ig-post a { position: relative; display: block; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--paper); color: #fff; text-decoration: none; isolation: isolate; }
.ig-post img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ig-post a::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to top, rgba(7,15,36,.82) 0%, rgba(7,15,36,.15) 52%, transparent 70%); transition: opacity .3s; }
.ig-cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ig-mark { position: absolute; top: 12px; right: 12px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ig-mark svg { width: 18px; height: 18px; }
.ig-post a:hover img { transform: scale(1.05); }
.ig-post a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.ig-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.ig-nav .icon-btn { background: var(--paper); color: var(--navy); border: 1px solid var(--line); }
.ig-nav .icon-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }
.ig-nav .icon-btn:disabled { opacity: .35; cursor: default; background: var(--paper); color: var(--navy); }
.btn-line svg { width: 18px; height: 18px; }
.rcms .ig-track { scroll-snap-type: none; }
@media (max-width: 720px) { .ig-track { grid-auto-columns: 78vw; } .ig-nav { display: none; } }

/* v1.9.2: Bereichsgrenzen gerade statt Dachform (Kundenwunsch) */
.page-hero-ridge { height: 3px; bottom: 0; background: var(--gold); }
.page-hero-ridge path { display: none; }
.hero-team { --g: 0px; }
.hero-team-ridge { top: 0; height: 3px; background: var(--gold); }
.hero-team-ridge path { display: none; }

.career::after { display: none; }

/* v1.9.6: Startseiten-Hero dunkelblau wie die Unterseiten (Bildwechsel bleibt) */
.hero { background: var(--navy-900); color: #fff; }
.hero-stage::after { background: linear-gradient(90deg, rgba(7,15,36,.94) 0%, rgba(7,15,36,.74) 50%, rgba(7,15,36,.34) 100%), linear-gradient(0deg, rgba(7,15,36,.65), transparent 40%); }
.hero-bg img { filter: none; }
.hero h1 { color: #fff; }
.hero h1 .acc { color: var(--gold); background: none; display: block; }
.hero .lead { color: #cdd5e5; }
.hero .quals { background: rgba(10,21,49,.55); border-color: rgba(255,255,255,.12); box-shadow: none; }
.hero .quals li + li { border-top-color: rgba(255,255,255,.1); }
.hero .q-k { color: var(--gold); }
.hero .q-v { color: #fff; }
