/* gresförder lasertechnik — Site-Styles
   Basis: Corporate Design v1.0 (design-tokens.css aus dem Handoff).
   Self-hosted Fonts, keine externen Requests. */

/* ---------- Fonts (WOFF2, latin + latin-ext) ----------
   Rubik statt Archivo/IBM Plex Sans (CI-Abgleich 29.08.): Die Logo-Wortmarke
   ist eine runde, kursive Grotesk — Rubiks gerundete Terminals nehmen diesen
   Charakter auf; Archivos eckige Formen bissen sich damit (Kundenfeedback
   „nicht rund"). Mono bleibt IBM Plex Mono als Utility fuer Zahlen/Daten. */
@font-face { font-family: 'Rubik'; src: url('fonts/rubik-v31-latin_latin-ext-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Rubik'; src: url('fonts/rubik-v31-latin_latin-ext-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Rubik'; src: url('fonts/rubik-v31-latin_latin-ext-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Rubik'; src: url('fonts/rubik-v31-latin_latin-ext-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Rubik'; src: url('fonts/rubik-v31-latin_latin-ext-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('fonts/ibm-plex-mono-v20-latin_latin-ext-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }

/* ---------- Tokens (aus dem CD-Handoff) ---------- */
:root {
  --gl-blau-130:#004E7D; --gl-blau-100:#0079C2; --gl-blau-60:#66AFDA; --gl-blau-30:#B3D7ED; --gl-blau-10:#E6F2F9;
  --gl-grau-130:#3D342A; --gl-grau-100:#7C6954; --gl-grau-60:#ADA192; --gl-grau-30:#D6D0C9; --gl-grau-10:#F2F0ED;
  --gl-rot:#EF3E34; --gl-gruen:#3FA45F;
  --gl-text:#000; --gl-body:#5C554C; --gl-muted:#7C6954; --gl-neutral:#6A6E73;
  --gl-display:'Rubik','Helvetica Neue',Arial,sans-serif;
  --gl-sans:'Rubik',system-ui,Arial,sans-serif;
  --gl-mono:'IBM Plex Mono',Consolas,monospace;
  --gl-max:1280px; --gl-gutter:80px; --gl-section:130px;
  --gl-r-sm:8px; --gl-r-md:10px; --gl-r-lg:12px; --gl-r-xl:16px;
  --gl-hair:1px solid #D6D0C9;
  --gl-ease:cubic-bezier(.2,.7,.3,1); --gl-fast:180ms; --gl-base:240ms; --gl-reveal:700ms;
  --gl-header:92px; --gl-tabbar:68px;
}
@media (prefers-reduced-motion:reduce){ :root{ --gl-fast:0ms; --gl-base:0ms; --gl-reveal:0ms; } }

/* ---------- Reset / Grund ---------- */
*,*::before,*::after{ box-sizing:border-box; margin:0; }
html{ scroll-behavior:smooth; }
body{ font-family:var(--gl-sans); font-size:16.5px; line-height:1.65; color:var(--gl-body); background:#fff; }
img,svg{ max-width:100%; }
h1,h2,h3,h4{ font-family:var(--gl-display); color:var(--gl-text); text-wrap:balance; }
h1{ font-weight:700; font-size:clamp(36px,5.6vw,66px); line-height:1.06; letter-spacing:-.015em; }
h2{ font-weight:700; font-size:clamp(28px,3.8vw,48px); line-height:1.1; letter-spacing:-.012em; }
h3{ font-weight:600; font-size:clamp(20px,2.2vw,26px); line-height:1.25; letter-spacing:-.008em; }
p{ max-width:72ch; }
a{ color:var(--gl-blau-100); text-underline-offset:3px; }
a:hover{ color:var(--gl-blau-130); }
:focus-visible{ outline:2px solid var(--gl-blau-100); outline-offset:3px; border-radius:2px; }
.wrap{ max-width:var(--gl-max); margin-inline:auto; padding-inline:clamp(20px,5vw,var(--gl-gutter)); }
.rubrik{ font-family:var(--gl-mono); font-size:11.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--gl-muted); }
.mono{ font-family:var(--gl-mono); font-size:13.5px; line-height:1.9; color:var(--gl-muted); }
.ico{ width:22px; height:22px; flex:none; }
.ico *{ stroke-width:1.6; }

/* ---------- Buttons ---------- */
.btn{ display:inline-flex; align-items:center; gap:9px; white-space:nowrap; font-family:var(--gl-sans); font-weight:600; font-size:16px;
  padding:17px 30px; border-radius:var(--gl-r-md); text-decoration:none; border:1px solid transparent; cursor:pointer;
  transition:background var(--gl-base) var(--gl-ease), transform var(--gl-base) var(--gl-ease), border-color var(--gl-base); }
.btn-primary{ background:var(--gl-blau-100); color:#fff; }
.btn-primary:hover{ background:var(--gl-blau-130); color:#fff; transform:translateY(-2px); }
.btn-ghost{ border-color:var(--gl-grau-30); color:var(--gl-text); background:transparent; }
.btn-ghost:hover{ border-color:var(--gl-grau-100); color:var(--gl-text); }
.btn-ghost-dark{ border-color:rgba(255,255,255,.4); color:#fff; background:transparent; }
.btn-ghost-dark:hover{ background:rgba(255,255,255,.12); color:#fff; }
.btn .ico{ width:18px; height:18px; }

/* ---------- Header ---------- */
.site-header{ position:sticky; top:0; z-index:60; background:#fff; border-bottom:var(--gl-hair); }
.site-header .bar{ display:flex; align-items:center; justify-content:space-between; gap:24px; height:var(--gl-header); }
.brand{ flex:0 0 auto; display:block; }
.brand img{ height:58px; width:auto; max-width:none; display:block; }
.nav-desktop{ display:flex; align-items:center; gap:6px; }
.nav-desktop > li{ list-style:none; }
.nav-link{ display:block; padding:12px 14px; font-weight:500; font-size:16px; color:var(--gl-body); text-decoration:none; border-radius:var(--gl-r-sm); }
.nav-link:hover{ color:var(--gl-text); background:var(--gl-grau-10); }
.header-phone{ display:flex; align-items:center; gap:8px; font-family:var(--gl-mono); font-size:14px; color:var(--gl-text); text-decoration:none; white-space:nowrap; }
.header-phone .ico{ width:17px; height:17px; color:var(--gl-blau-100); }
.header-cta{ padding:13px 22px; }
@media (max-width:1023px){ .nav-desktop,.header-phone,.header-cta{ display:none; } .brand img{ height:44px; } .site-header .bar{ height:64px; } }

/* ---------- Mega-Menü ---------- */
.has-mega{ position:static; }
.mega{ position:absolute; left:0; right:0; top:100%; background:#fff; border-bottom:var(--gl-hair);
  box-shadow:0 24px 48px rgba(61,52,42,.14); opacity:0; visibility:hidden; translate:0 -6px;
  transition:opacity var(--gl-base) var(--gl-ease), translate var(--gl-base) var(--gl-ease), visibility var(--gl-base); }
.has-mega:hover .mega, .has-mega:focus-within .mega{ opacity:1; visibility:visible; translate:0 0; }
.mega-grid{ display:grid; grid-template-columns:1.35fr 1fr 1fr 1.1fr; gap:34px; padding:34px 0 30px; }
.mega-lead{ text-decoration:none; display:flex; flex-direction:column; gap:8px; background:var(--gl-blau-10); border:1px solid var(--gl-blau-30); border-radius:var(--gl-r-lg); padding:22px; }
.mega-lead .rubrik{ color:var(--gl-blau-130); }
.mega-lead h4{ font-size:21px; }
.mega-lead p{ font-size:13.8px; color:var(--gl-body); line-height:1.55; }
.mega-lead .lead-link{ margin-top:auto; font-weight:600; font-size:14px; color:var(--gl-blau-130); display:inline-flex; align-items:center; gap:7px; }
.mega-lead:hover{ border-color:var(--gl-blau-60); }
.mega-col > .rubrik{ display:block; margin-bottom:10px; }
.mega-list{ list-style:none; margin:0; padding:0; }
.mega-list a{ margin:0; padding:8px 12px 8px 0; font-size:15px; font-weight:600; color:var(--gl-text); }
.mega-list a:hover{ background:none; color:var(--gl-blau-100); }
.mega-col a{ text-decoration:none; display:block; border-radius:var(--gl-r-sm); padding:10px 12px; margin:-10px -12px 0; }
.mega-col a:hover{ background:var(--gl-grau-10); }
.mega-col h4{ font-size:16.5px; margin-bottom:4px; }
.mega-col p{ font-size:13.8px; color:var(--gl-body); line-height:1.5; margin-bottom:6px; }
.mega-col .mono{ font-size:12px; line-height:1.6; }
.mega-promo{ background:var(--gl-grau-130); color:#fff; border-radius:var(--gl-r-lg); padding:22px; display:flex; flex-direction:column; gap:8px; justify-content:flex-end; min-height:190px; }
.mega-promo .rubrik{ color:var(--gl-grau-60); }
.mega-promo h4{ color:#fff; font-size:19px; }
.mega-promo a{ color:#fff; font-weight:600; text-decoration:none; display:inline-flex; align-items:center; gap:7px; }
.mega-foot{ background:var(--gl-grau-10); padding:14px 0; }
.mega-foot .wrap{ display:flex; justify-content:space-between; align-items:center; gap:18px; font-size:14px; }

/* ---------- Mobile: Tab-Leiste + Vollmenü ---------- */
.tabbar{ display:none; }
@media (max-width:1023px){
  body{ padding-bottom:calc(var(--gl-tabbar) + env(safe-area-inset-bottom)); }
  .tabbar{ position:fixed; bottom:0; left:0; right:0; z-index:70; display:grid; grid-template-columns:repeat(5,1fr);
    background:#fff; border-top:var(--gl-hair); height:calc(var(--gl-tabbar) + env(safe-area-inset-bottom)); padding-bottom:env(safe-area-inset-bottom); }
  .tabbar a{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px;
    font-size:12px; font-weight:500; color:var(--gl-body); text-decoration:none; border-top:2px solid transparent; }
  .tabbar a .ico{ width:22px; height:22px; }
  .tabbar a.active{ color:var(--gl-blau-100); border-top-color:var(--gl-blau-100); }
  .tabbar a.tab-cta{ background:var(--gl-blau-100); color:#fff; }
}
.burger{ display:none; background:none; border:0; padding:10px; cursor:pointer; color:var(--gl-text); }
@media (max-width:1023px){ .burger{ display:block; } }
.mobilemenu{ position:fixed; inset:0; z-index:80; background:#fff; padding:24px 20px 40px; overflow-y:auto; display:none; }
.mobilemenu.open{ display:block; }
.mobilemenu .close{ position:absolute; top:14px; right:14px; }
.mobilemenu .rubrik{ margin:26px 0 10px; }
.mobilemenu a.item{ display:flex; justify-content:space-between; align-items:baseline; gap:14px; padding:13px 2px;
  border-bottom:var(--gl-hair); text-decoration:none; color:var(--gl-text); font-weight:600; font-size:18px; }
.mobilemenu a.item .mono{ font-size:12px; }
.mobilemenu .call{ margin-top:30px; display:block; text-align:center; }

/* ---------- Hero (Startseite, dunkel) ---------- */
.hero{ background:var(--gl-grau-130); color:#fff; padding:96px 0 72px; position:relative; overflow:hidden; }
.hero::after{ content:""; position:absolute; inset:0; pointer-events:none; opacity:.05;
  background:repeating-linear-gradient(115deg,#fff 0 1px,transparent 1px 90px); }
.hero .wrap{ position:relative; z-index:1; }
.hero .status{ display:inline-flex; align-items:center; gap:9px; font-family:var(--gl-mono); font-size:12.5px; letter-spacing:.06em;
  color:var(--gl-grau-30); margin-bottom:26px; }
.hero .status::before{ content:""; width:8px; height:8px; border-radius:50%; background:var(--gl-gruen); }
.hero h1{ color:#fff; max-width:15ch; margin-bottom:22px; }
.hero .lede{ font-size:19px; line-height:1.6; color:var(--gl-grau-30); max-width:58ch; margin-bottom:34px; }
.hero .lede a{ color:#fff; }
.hero .actions{ display:flex; flex-wrap:wrap; gap:14px; }

/* Kennzahlenzeile — offen, ohne Rahmen (CD-Vorgabe) */
.kpis{ border-bottom:var(--gl-hair); }
.kpis .wrap{ display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:8px 0; padding-block:34px; }
.kpi .v{ font-family:var(--gl-display); font-weight:700; font-size:clamp(28px,3.4vw,42px); letter-spacing:-.012em; color:var(--gl-text); line-height:1.05; }
.kpi .k{ font-family:var(--gl-mono); font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--gl-neutral); margin-top:6px; }
/* Feine Trennlinien zwischen den Kennzahlen (Design-Feedback 29.08.) */
@media (min-width:1024px){
  .kpi{ padding-inline:34px; border-left:var(--gl-hair); }
  .kpi:first-child{ border-left:0; padding-left:0; }
}

/* ---------- Seiten-Hero (Unterseiten, hell) ---------- */
.pagehead{ padding:64px 0 8px; }
.pagehead .rubrik{ margin-bottom:14px; display:block; }
.pagehead h1{ font-size:clamp(32px,4.6vw,56px); margin-bottom:18px; }
.pagehead .answer{ font-size:19px; line-height:1.62; color:var(--gl-body); max-width:62ch; }
.breadcrumbs{ padding:18px 0 0; font-size:13.5px; }
.breadcrumbs ol{ list-style:none; display:flex; flex-wrap:wrap; gap:6px; padding:0; }
.breadcrumbs li+li::before{ content:"/"; color:var(--gl-grau-60); margin-right:6px; }
.breadcrumbs a{ color:var(--gl-muted); text-decoration:none; }
.breadcrumbs a:hover{ text-decoration:underline; }

/* ---------- Sektionen ---------- */
main.page section.block{ padding-top:clamp(48px,8vw,var(--gl-section)); }
main.page > section.block:last-child, main.page > .wrap > section.block:last-child, main.page section.block.last{ padding-bottom:clamp(48px,8vw,var(--gl-section)); }
section.block > h2, section.block > .wrap > h2{ margin-bottom:20px; max-width:24ch; }
.prose{ display:grid; gap:14px; }
.prose p{ max-width:70ch; }
.prose ul{ padding-left:22px; display:grid; gap:6px; }
.prose strong{ color:var(--gl-text); }

/* Tabellen — technische Daten in Mono */
.tbl{ overflow-x:auto; margin-top:22px; border:var(--gl-hair); border-radius:var(--gl-r-lg); }
table{ border-collapse:collapse; width:100%; min-width:480px; font-size:15px; }
th,td{ text-align:left; padding:12px 16px; border-bottom:var(--gl-hair); vertical-align:top; }
tr:last-child td{ border-bottom:0; }
thead th{ font-family:var(--gl-mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--gl-muted); background:var(--gl-grau-10); }
td:first-child{ color:var(--gl-text); font-weight:500; }
td{ font-variant-numeric:tabular-nums; }
.tbl-caption{ font-size:13px; color:var(--gl-muted); padding:10px 16px; border-top:var(--gl-hair); background:var(--gl-grau-10); }

/* Karten (cards) */
.cards{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:14px; margin-top:26px; }
.card{ border:var(--gl-hair); border-radius:var(--gl-r-lg); padding:22px; display:flex; gap:14px; align-items:flex-start;
  text-decoration:none; transition:border-color var(--gl-base), transform var(--gl-base) var(--gl-ease); }
a.card:hover{ border-color:var(--gl-blau-100); transform:translateY(-2px); }
.card .ico{ width:26px; height:26px; color:var(--gl-grau-100); margin-top:2px; }
.card h3{ font-size:17px; margin-bottom:5px; }
.card p{ font-size:14.2px; line-height:1.5; color:var(--gl-body); }
.card .mono{ font-size:12px; margin-top:6px; }

/* Schritte (steps) */
.steps{ display:grid; gap:0; margin-top:26px; counter-reset:step; }
.step{ display:grid; grid-template-columns:64px 1fr; gap:18px; padding:22px 0; border-top:var(--gl-hair); counter-increment:step; }
.step::before{ content:counter(step,decimal-leading-zero); font-family:var(--gl-mono); font-size:13px; color:var(--gl-blau-100); padding-top:5px; }
.step h3{ font-size:18px; margin-bottom:5px; }
.step p{ font-size:15px; }

/* FAQ */
.faq{ margin-top:26px; display:grid; }
.faq details{ border-top:var(--gl-hair); }
.faq details:last-child{ border-bottom:var(--gl-hair); }
.faq summary{ list-style:none; cursor:pointer; display:flex; justify-content:space-between; gap:18px; align-items:baseline;
  padding:18px 2px; font-family:var(--gl-display); font-weight:600; font-size:17.5px; color:var(--gl-text); }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; font-family:var(--gl-mono); color:var(--gl-blau-100); font-size:20px; }
.faq details[open] summary::after{ content:"–"; }
.faq .a{ padding:0 2px 20px; max-width:70ch; }

/* CTA-Block */
.ctabox{ background:var(--gl-grau-130); color:#fff; border-radius:var(--gl-r-xl); padding:clamp(28px,5vw,52px); margin-top:clamp(48px,8vw,90px); }
.ctabox h2{ color:#fff; margin-bottom:12px; }
.ctabox p{ color:var(--gl-grau-30); max-width:58ch; margin-bottom:26px; }
.ctabox .actions{ display:flex; flex-wrap:wrap; gap:14px; align-items:center; }
.ctabox .mono{ color:var(--gl-grau-60); }

/* Kinder-Kacheln (Hub-Seiten) */
.children{ display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:14px; margin-top:30px; }

/* Beitragsliste */
.postlist{ margin-top:34px; display:grid; }
.post-item{ display:grid; gap:6px; padding:24px 0; border-top:var(--gl-hair); text-decoration:none; }
.post-item .meta{ display:flex; gap:14px; font-family:var(--gl-mono); font-size:12px; color:var(--gl-muted); }
.post-item h3{ font-size:21px; }
.post-item:hover h3{ color:var(--gl-blau-130); }
.post-item p{ color:var(--gl-body); font-size:15px; }

/* Beitragsseite */
.post-head{ padding:64px 0 10px; }
.post-head .meta{ display:flex; gap:16px; font-family:var(--gl-mono); font-size:12.5px; color:var(--gl-muted); margin-bottom:16px; }
.post-head h1{ font-size:clamp(30px,4.2vw,50px); max-width:26ch; margin-bottom:18px; }

/* ---------- Formular ---------- */
.form-grid{ display:grid; gap:20px; margin-top:30px; max-width:760px; }
.form-grid .row2, .rfq-step .row2{ display:grid; gap:20px; grid-template-columns:1fr 1fr; }
.form-grid .row3-address, .rfq-step .row3-address{ display:grid; gap:20px; grid-template-columns:130px 1fr 200px; }
@media (max-width:640px){ .form-grid .row2, .rfq-step .row2{ grid-template-columns:1fr; } .form-grid .row3-address, .rfq-step .row3-address{ grid-template-columns:130px 1fr; } .form-grid .row3-address > :last-child, .rfq-step .row3-address > :last-child{ grid-column:1 / -1; } }
label{ display:block; font-weight:600; font-size:14.5px; color:var(--gl-text); margin-bottom:7px; }
.help{ font-size:13px; color:var(--gl-muted); margin-top:5px; }
input[type=text],input[type=email],input[type=tel],select,textarea{
  width:100%; font:inherit; color:var(--gl-text); padding:13px 14px; border:1px solid var(--gl-grau-30);
  border-radius:var(--gl-r-sm); background:#fff; }
input:focus,select:focus,textarea:focus{ outline:2px solid var(--gl-blau-100); outline-offset:0; border-color:var(--gl-blau-100); }
textarea{ min-height:130px; resize:vertical; }
.choices{ display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:8px; }
.choice{ display:flex; gap:10px; align-items:center; border:var(--gl-hair); border-radius:var(--gl-r-sm); padding:11px 13px; font-size:14.5px; color:var(--gl-text); }
.choice input{ accent-color:var(--gl-blau-100); width:17px; height:17px; }
.check{ display:flex; gap:10px; align-items:flex-start; font-size:14px; color:var(--gl-body); }
.check input{ accent-color:var(--gl-blau-100); width:18px; height:18px; margin-top:2px; }
.form-error{ color:var(--gl-rot); font-size:13.5px; margin-top:6px; display:block; }
.flash-error{ background:#FDECEA; border:1px solid var(--gl-rot); color:#8C2B24; border-radius:var(--gl-r-sm); padding:14px 16px; margin-top:22px; }
.flash-ok{ background:#EAF6EE; border:1px solid var(--gl-gruen); color:#1F5A33; border-radius:var(--gl-r-sm); padding:16px 18px; margin-top:22px; display:flex; gap:10px; align-items:flex-start; flex-wrap:wrap; }
.flash-ok .ico{ width:20px; height:20px; flex:none; margin-top:2px; }

/* Kontaktseite: Hinweiskasten Fertigungsanfrage + Anfahrts-Schemakarte */
.rfq-hint{ display:flex; gap:16px; align-items:center; flex-wrap:wrap; background:var(--gl-blau-10); border:1px solid var(--gl-blau-30); border-radius:var(--gl-r-md); padding:18px 20px; margin:22px 0 30px; }
.rfq-hint .ico{ width:26px; height:26px; flex:none; color:var(--gl-blau-130); }
.rfq-hint > div{ flex:1 1 320px; font-size:15px; line-height:1.55; color:var(--gl-body); }
.rfq-hint strong{ display:block; color:var(--gl-text); }
.rfq-hint .btn{ flex:none; }
.mapblock{ margin:26px 0 0; }
.mapblock svg{ display:block; width:100%; max-width:760px; height:auto; }
.mapblock figcaption{ font-size:13px; color:var(--gl-muted); margin-top:10px; }
.dropzone{ border:1.5px dashed var(--gl-grau-60); border-radius:var(--gl-r-lg); padding:26px; text-align:center; color:var(--gl-muted); font-size:14.5px; }
.dropzone input{ margin-top:10px; }
.hp{ position:absolute !important; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--gl-grau-130); color:var(--gl-grau-30); margin-top:clamp(56px,9vw,110px); }
.site-footer .top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:34px; padding:56px 0 44px; }
@media (max-width:900px){ .site-footer .top{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .site-footer .top{ grid-template-columns:1fr; } }
.site-footer img{ height:44px; width:auto; margin-bottom:16px; }
.site-footer p{ font-size:14.5px; line-height:1.6; }
.site-footer h4{ color:#fff; font-size:13px; font-family:var(--gl-mono); font-weight:400; letter-spacing:.12em; text-transform:uppercase; margin-bottom:14px; }
.site-footer ul{ list-style:none; padding:0; display:grid; gap:9px; }
.site-footer a{ color:var(--gl-grau-30); text-decoration:none; font-size:15px; }
.site-footer a:hover{ color:#fff; }
.site-footer .legal{ border-top:1px solid rgba(255,255,255,.14); padding:20px 0; display:flex; flex-wrap:wrap; gap:10px 26px; justify-content:space-between; font-size:13.5px; }
.site-footer .legal ul{ display:flex; gap:22px; }

/* ---------- Reveal ---------- */
.js [data-reveal]{ opacity:0; translate:0 22px; transition:opacity var(--gl-reveal) var(--gl-ease), translate var(--gl-reveal) var(--gl-ease); }
.js [data-reveal].in{ opacity:1; translate:0 0; }

/* ---------- 404 / Danke ---------- */
.simplepage{ padding:110px 0 40px; text-align:left; }
.simplepage .mono{ margin-bottom:14px; display:block; }
.simplepage h1{ margin-bottom:16px; }
.simplepage p{ margin-bottom:28px; }

/* ---------- RFQ-Anfrage (UX-Review 29.08.2026) ---------- */
.visually-hidden{ position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
html:not(.js) .js-only{ display:none !important; }
.rfq{ display:grid; gap:0; max-width:860px; }
.stepper{ display:flex; flex-wrap:wrap; gap:4px 0; margin:26px 0 6px; font-family:var(--gl-mono); font-size:12.5px; }
.stepper a{ color:var(--gl-muted); text-decoration:none; padding:8px 2px; }
.stepper a:hover{ color:var(--gl-blau-130); }
.stepper a+a::before{ content:"→"; margin:0 10px; color:var(--gl-grau-60); }
.entry-switch{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:20px 0 6px; }
@media (max-width:640px){ .entry-switch{ grid-template-columns:1fr; } }
.entry{ text-align:left; display:grid; grid-template-columns:auto 1fr; gap:4px 14px; align-items:center;
  border:1.5px solid var(--gl-grau-30); border-radius:var(--gl-r-lg); background:#fff; padding:16px 18px;
  cursor:pointer; font:inherit; }
.entry .ico{ grid-row:span 2; width:26px; height:26px; color:var(--gl-grau-60); }
.entry strong{ font-family:var(--gl-display); font-size:16.5px; color:var(--gl-text); }
.entry span{ font-size:13.5px; color:var(--gl-muted); }
.entry.active{ border-color:var(--gl-blau-100); background:var(--gl-blau-10); }
.entry.active .ico{ color:var(--gl-blau-100); }
.rfq-step{ padding:30px 0 8px; border-top:var(--gl-hair); margin-top:26px; display:grid; gap:16px; }
.rfq-step > h2{ font-size:clamp(22px,2.6vw,30px); display:flex; align-items:center; gap:12px; }
.stepno{ display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px;
  border-radius:50%; background:var(--gl-grau-130); color:#fff; font-family:var(--gl-mono); font-size:15px; flex:none; }
.dropzone-big{ display:grid; justify-items:center; gap:8px; text-align:center; padding:44px 24px;
  border:2px dashed var(--gl-grau-60); border-radius:var(--gl-r-xl); background:var(--gl-grau-10);
  cursor:pointer; transition:border-color var(--gl-base), background var(--gl-base); }
.dropzone-big:hover, .dropzone-big:focus-visible, .dropzone-big.over{ border-color:var(--gl-blau-100); background:var(--gl-blau-10); }
.dropzone-big .ico.big{ width:38px; height:38px; color:var(--gl-blau-100); }
.dropzone-big strong{ font-family:var(--gl-display); font-size:19px; color:var(--gl-text); }
.dropzone-big .dz-hint{ font-size:13.5px; color:var(--gl-muted); }
.trust-line{ display:flex; gap:9px; align-items:flex-start; font-size:14px; color:var(--gl-body);
  background:#fff; border:var(--gl-hair); border-radius:var(--gl-r-sm); padding:11px 14px; }
.trust-line .ico{ width:17px; height:17px; color:var(--gl-gruen); margin-top:2px; }
.pos-card{ border:var(--gl-hair); border-left:3px solid var(--gl-blau-100); border-radius:var(--gl-r-lg);
  padding:18px; display:grid; gap:14px; margin-bottom:14px; background:#fff; }
.pos-head{ display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:center; }
.pos-num{ font-family:var(--gl-mono); font-size:12px; color:var(--gl-blau-100); white-space:nowrap; }
.pos-label input{ font-weight:600; }
.pos-remove{ padding:9px 14px; font-size:13.5px; }
.pos-remove .ico{ width:15px; height:15px; }
.pos-files{ font-size:13.5px; }
.pos-filenames{ display:block; margin-top:6px; font-size:12px; color:var(--gl-muted); word-break:break-all; }
.pos-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:14px; }
.pos-services .lbl label{ margin-bottom:8px; }
.chips{ display:flex; flex-wrap:wrap; gap:7px; }
.chip{ display:inline-flex; align-items:center; gap:7px; border:var(--gl-hair); border-radius:99px;
  padding:7px 13px; font-size:13.5px; color:var(--gl-text); cursor:pointer; margin:0; font-weight:500; }
.chip:has(input:checked){ border-color:var(--gl-blau-100); background:var(--gl-blau-10); }
.chip input{ accent-color:var(--gl-blau-100); width:15px; height:15px; }
.pos-more summary{ cursor:pointer; display:inline-flex; gap:8px; align-items:center; font-weight:600;
  font-size:14.5px; color:var(--gl-blau-130); padding:4px 0; list-style:none; }
.pos-more summary::-webkit-details-marker{ display:none; }
.pos-more summary .ico{ width:16px; height:16px; }
.pos-more summary .mono{ font-size:11px; }
.pos-more[open] > .pos-grid, .pos-more[open] > .pos-note{ margin-top:14px; }
.rfq-summary{ font-size:15px; background:var(--gl-grau-10); border-radius:var(--gl-r-sm); padding:12px 16px; }
.afterwards{ display:grid; gap:9px; font-size:14.5px; }
.afterwards .ico{ width:17px; height:17px; color:var(--gl-gruen); vertical-align:-3px; margin-right:6px; }
.btn-big{ padding:19px 34px; font-size:17px; justify-self:start; }

/* ---------- USP-Bar (Design-Feedback 29.08.) ---------- */
.uspbar{ background:var(--gl-grau-10); border-bottom:var(--gl-hair); font-size:13px; }
.uspbar .wrap{ display:flex; align-items:center; gap:22px; min-height:38px; }
.uspbar .usp{ display:inline-flex; align-items:center; gap:7px; color:var(--gl-body); white-space:nowrap; }
.uspbar .usp .ico{ width:14px; height:14px; color:var(--gl-gruen); }
.uspbar .spacer{ flex:1; }
.uspbar .usp-tel{ font-family:var(--gl-mono); font-size:12.5px; color:var(--gl-text); text-decoration:none; display:inline-flex; gap:7px; align-items:center; }
.uspbar .usp-tel .ico{ width:14px; height:14px; color:var(--gl-blau-100); }
@media (max-width:1023px){ .uspbar .usp:nth-child(n+3){ display:none; } }
@media (max-width:640px){ .uspbar{ display:none; } }

/* ---------- CTA zweistufig (Design-Feedback 29.08.) ---------- */
.actions-sub{ font-size:13px; color:var(--gl-muted); margin-top:10px; }
.ctabox .actions-sub{ color:var(--gl-grau-60); }
.cta-quiet{ border-top:var(--gl-hair); margin-top:clamp(40px,7vw,72px); padding:26px 0 6px; display:grid; gap:8px; }
.cta-quiet .q{ font-family:var(--gl-display); font-weight:600; font-size:19px; color:var(--gl-text); }
.cta-quiet a{ display:inline-flex; align-items:center; gap:8px; font-weight:600; text-decoration:none; width:fit-content; }
.cta-quiet a .ico{ width:16px; height:16px; }
.cta-quiet .sub{ font-size:13px; color:var(--gl-muted); }

/* ---------- Header-Staffelung (Layout-Audit 29.08.) ----------
   1280er-Viewports quetschten den CTA aus dem Header (3-zeilig, 107 px
   H-Scroll). Zwischen 1024 und 1359 px: kompaktere Nav, Telefon erst ab 1360. */
@media (max-width:1359px) and (min-width:1024px){
  .header-phone{ display:none; }
  .site-header .bar{ gap:16px; }
  .nav-link{ padding:10px 9px; font-size:15px; }
  .brand img{ height:50px; }
}
@media (max-width:1199px) and (min-width:1024px){
  .nav-link{ padding:10px 5px; font-size:13.5px; }
  .header-cta{ padding:11px 14px; font-size:14.5px; }
  .site-header .bar{ gap:8px; }
  .brand img{ height:46px; }
}
/* Touch-Trefferflächen ≥44px auf Touch-Viewports (Fitts, Layout-Audit) */
@media (max-width:1023px){
  .chip{ padding:12px 16px; }
  .pos-remove{ padding:12px 16px; }
  .pos-more summary{ padding:10px 0; }
}

/* ===== Medien (Bildkonzept 29.08.) ===================================== */
/* Startseiten-Hero mit eigenem Anlagenfoto hinter Scrim.
   Scrim rechts weit geöffnet + Bild leicht aufgehellt, damit die Maschine
   erkennbar bleibt (Design-Feedback 29.08.: kein Tapeten-Hintergrund). */
.hero.has-photo{ background:#10151a; }
.hero.has-photo .hero-bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 40%; z-index:0;
  filter:brightness(1.18) contrast(1.03); }
.hero.has-photo::before{ content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(97deg, rgba(13,17,21,.94) 0%, rgba(13,17,21,.80) 38%, rgba(13,17,21,.38) 68%, rgba(13,17,21,.10) 100%); }
.hero.has-photo .wrap{ z-index:2; }
.hero-eyebrow{ display:block; font-family:var(--gl-mono); font-size:12px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--gl-grau-30); margin-bottom:20px; }
.hero .actions-sub{ color:rgba(255,255,255,.76); }

/* Seitenkopf mit Bild (Leistungs-/Unternehmensseiten) */
.pagehead.has-img{ display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr); gap:40px; align-items:center; padding-bottom:20px; }
.pagehead-img{ width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; border-radius:var(--gl-r-lg); border:var(--gl-hair); }
@media (max-width:899px){ .pagehead.has-img{ grid-template-columns:1fr; gap:22px; } }

/* Karten mit Bildkopf */
.card.has-img{ flex-direction:column; padding:0; overflow:hidden; gap:0; }
.card.has-img .card-img{ width:100%; height:auto; aspect-ratio:16/10; object-fit:cover; display:block; }
.card.has-img > div{ padding:18px 20px 20px; }
.card .card-icoimg{ width:60px; height:auto; flex:0 0 auto; margin-top:2px; }

/* Bildsektion */
.imgblock{ margin-top:26px; }
.imgblock img{ width:100%; height:auto; border-radius:var(--gl-r-lg); border:var(--gl-hair); display:block; }
.imgblock figcaption, .gallery figcaption, .videoblock figcaption{
  font-family:var(--gl-mono); font-size:12.5px; color:var(--gl-muted); margin-top:10px; }

/* Galerie */
.gallery{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:26px; }
.gallery.two{ grid-template-columns:repeat(2,minmax(0,1fr)); }
.gallery img{ width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; border-radius:var(--gl-r-lg); border:var(--gl-hair); display:block; }
@media (max-width:767px){ .gallery, .gallery.two{ grid-template-columns:1fr; } }

/* Prozess-Video (kurzer Loop, laedt erst im Viewport) */
.videoblock{ margin-top:26px; }
.videoblock video{ width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; border-radius:var(--gl-r-lg); border:var(--gl-hair); display:block; background:#10151a; }

/* ===== Editorial-Umbau Startseite (Design-Feedback 29.08.) ============= */
/* Asymmetrisches Bild-Mosaik: 1x big (2 Zeilen), n x small, 1x wide */
.mosaic{ display:grid; grid-template-columns:1.55fr 1fr; grid-auto-rows:216px; gap:14px; margin-top:26px; }
.mo{ position:relative; overflow:hidden; border-radius:var(--gl-r-lg); display:block; text-decoration:none; background:#10151a; }
.mo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform 260ms var(--gl-ease); }
.mo:hover img{ transform:scale(1.02); }
.mo::after{ content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(10,13,16,.82) 0%, rgba(10,13,16,.28) 42%, rgba(10,13,16,0) 68%); }
.mo-big{ grid-row:span 2; }
.mo-wide{ grid-column:1 / -1; grid-row:auto; min-height:230px; }
.mo-body{ position:absolute; inset-inline:0; bottom:0; z-index:1; padding:20px 22px; color:#fff; }
.mo-title{ display:inline-flex; align-items:center; gap:9px; font-family:var(--gl-display); font-weight:600; font-size:clamp(18px,2vw,24px); color:#fff; }
.mo-title .ico{ width:18px; height:18px; transition:transform 200ms var(--gl-ease); }
.mo:hover .mo-title .ico{ transform:translateX(4px); }
.mo-body p{ font-size:14px; line-height:1.5; color:rgba(255,255,255,.82); max-width:60ch; margin-top:6px; }
.mo-small .mo-body{ padding:16px 18px; }
.mosaic-more{ display:inline-flex; align-items:center; gap:8px; margin-top:18px; font-weight:600; text-decoration:none; }
.mosaic-more .ico{ width:16px; height:16px; transition:transform 200ms var(--gl-ease); }
.mosaic-more:hover .ico{ transform:translateX(4px); }
@media (max-width:899px){
  .mosaic{ grid-template-columns:1fr; grid-auto-rows:auto; }
  .mo{ min-height:210px; }
  .mo-big{ grid-row:auto; min-height:260px; }
  .mo-wide{ grid-column:auto; }
}

/* Nummerierte typografische Liste statt Karten (keine Illustrationen) */
.numgrid{ display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.35fr); gap:24px 72px; align-items:start; }
.numgrid > h2{ margin-bottom:0; }
.numlist{ list-style:none; padding:0; margin:0; }
.numlist li{ display:grid; grid-template-columns:minmax(84px,auto) 1fr; gap:26px; align-items:start; padding-block:28px; border-top:var(--gl-hair); }
.numlist li:last-child{ border-bottom:var(--gl-hair); }
.numlist .num{ font-family:var(--gl-display); font-weight:700; font-size:clamp(44px,5.4vw,72px); line-height:.9; color:#E8E4DF; letter-spacing:-.02em; }
.numlist h3{ font-size:19px; margin-bottom:6px; }
.numlist p{ font-size:15px; line-height:1.6; color:var(--gl-body); max-width:56ch; }
@media (max-width:899px){ .numgrid{ grid-template-columns:1fr; } }

/* Dunkle Signature-Sektion (Rohrlaser) — vollbreit */
.featdark{ background:#10151a; color:#fff; margin-top:clamp(48px,8vw,130px); padding-block:clamp(56px,8vw,110px); overflow:hidden; }
.fd-grid{ display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:clamp(28px,5vw,64px); align-items:center; }
.fd-text .rubrik{ color:var(--gl-grau-30); display:block; margin-bottom:14px; }
.fd-display{ font-family:var(--gl-display); font-weight:700; font-size:clamp(58px,9.5vw,132px); line-height:.95; letter-spacing:-.02em; color:#fff; margin-bottom:14px; }
.featdark h2{ color:#fff; font-size:clamp(21px,2.4vw,28px); letter-spacing:-.008em; max-width:26ch; margin-bottom:16px; }
.featdark .prose{ color:var(--gl-grau-30); max-width:56ch; }
.featdark .prose strong{ color:#fff; }
.fd-data{ display:flex; flex-wrap:wrap; gap:12px 38px; margin-top:26px; padding-top:22px; border-top:1px solid rgba(255,255,255,.16); }
.fd-data .v{ display:block; font-family:var(--gl-display); font-weight:600; font-size:21px; color:#fff; }
.fd-data .k{ display:block; font-family:var(--gl-mono); font-size:10.5px; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.55); margin-top:4px; }
.fd-link{ display:inline-flex; align-items:center; gap:9px; margin-top:26px; font-weight:600; color:#fff; text-decoration:none; border-bottom:1px solid rgba(255,255,255,.35); padding-bottom:3px; }
.fd-link:hover{ color:#fff; border-color:#fff; }
.fd-link .ico{ width:17px; height:17px; transition:transform 200ms var(--gl-ease); }
.fd-link:hover .ico{ transform:translateX(4px); }
.fd-media img{ width:100%; height:auto; border-radius:var(--gl-r-lg); border:1px solid rgba(255,255,255,.14); display:block; }
@media (max-width:899px){ .fd-grid{ grid-template-columns:1fr; } .fd-media{ order:-1; } }

/* Helle Signature-Sektion (Baugruppe): Bild + Botschaft + Prozesszeile */
.fs-grid{ display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:clamp(28px,5vw,64px); align-items:center; }
.fs-grid.rev .fs-media{ order:2; }
.fs-media img{ width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; border-radius:var(--gl-r-lg); border:var(--gl-hair); display:block; }
.fs-text h2{ max-width:20ch; }
.fs-text .prose{ margin-top:14px; max-width:52ch; }
.fs-text .fd-link{ color:var(--gl-text); border-color:var(--gl-grau-30); }
.fs-text .fd-link:hover{ color:var(--gl-blau-130); border-color:var(--gl-blau-130); }
.fs-process{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; margin-top:22px; padding-top:18px; border-top:var(--gl-hair);
  font-family:var(--gl-mono); font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--gl-neutral); }
.fs-process .sep{ color:var(--gl-blau-100); }
@media (max-width:899px){ .fs-grid{ grid-template-columns:1fr; } .fs-grid.rev .fs-media{ order:0; } }

/* ===== Cookie-Consent (Eigenentwicklung, Google Consent Mode v2) =======
   Kompakte schwebende Karte unten links (Feedback 29.08.): klein, aber durch
   Schatten + blaue Akzentkante klar als Overlay erkennbar — CI-Farben. */
.consent{ position:fixed; left:clamp(12px,2vw,24px); bottom:clamp(12px,2vw,24px); z-index:90;
  width:min(400px, calc(100vw - 24px)); background:#10151a; color:#fff;
  border-radius:var(--gl-r-lg); border-top:3px solid var(--gl-blau-100);
  box-shadow:0 18px 48px rgba(0,0,0,.38), 0 2px 8px rgba(0,0,0,.22);
  padding:18px 20px 16px; }
.consent[hidden]{ display:none; }
.consent .inner{ display:grid; gap:12px; }
.consent h2{ color:#fff; font-size:15px; letter-spacing:0; margin:0; }
.consent p{ font-size:12.5px; line-height:1.5; color:var(--gl-grau-30); margin:0; }
.consent p a{ color:#fff; }
.consent .row{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.consent .btn{ padding:10px 16px; font-size:13.5px; border-radius:var(--gl-r-sm); }
.consent .btn-ghost-dark{ border-color:rgba(255,255,255,.45); }
.consent-settings-link{ background:none; border:0; color:var(--gl-grau-30); font:inherit; font-size:12.5px; text-decoration:underline; text-underline-offset:3px; cursor:pointer; padding:10px 2px; }
.consent-settings-link:hover{ color:#fff; }
.consent .opts{ display:grid; gap:9px; border-top:1px solid rgba(255,255,255,.16); padding-top:12px; }
.consent .opt{ display:flex; gap:10px; align-items:flex-start; }
.consent .opt input{ width:17px; height:17px; margin-top:1px; accent-color:var(--gl-blau-100); }
.consent .opt b{ display:block; font-size:13px; color:#fff; font-weight:600; }
.consent .opt span{ font-size:11.5px; line-height:1.45; color:var(--gl-grau-30); }
@media (max-width:1023px){ .consent{ bottom:calc(var(--gl-tabbar) + env(safe-area-inset-bottom) + 12px); } }
.footer-consent{ background:none; border:0; padding:0; font:inherit; color:inherit; cursor:pointer; text-decoration:none; }
.footer-consent:hover{ text-decoration:underline; text-underline-offset:3px; }

/* Linkzeilen-Liste fuer Hub-Unterseiten (statt Border-Karten) */
.linklist{ display:grid; }
.linkrow{ display:flex; align-items:center; justify-content:space-between; gap:22px;
  padding:24px 2px; border-top:var(--gl-hair); text-decoration:none; }
.linklist .linkrow:last-child{ border-bottom:var(--gl-hair); }
.linkrow h3{ font-size:20px; margin-bottom:4px; color:var(--gl-text); }
.linkrow p{ font-size:14.5px; line-height:1.55; color:var(--gl-body); max-width:78ch; }
.linkrow > .ico{ width:20px; height:20px; color:var(--gl-blau-100); transition:transform 200ms var(--gl-ease); }
.linkrow:hover > .ico{ transform:translateX(5px); }
.linkrow:hover h3{ color:var(--gl-blau-130); }

/* Verlinkter Titel in nummerierten Listen */
.numlink{ display:inline-flex; align-items:center; gap:8px; color:var(--gl-text); text-decoration:none; }
.numlink .ico{ width:17px; height:17px; color:var(--gl-blau-100); transition:transform 200ms var(--gl-ease); }
.numlink:hover{ color:var(--gl-blau-130); }
.numlink:hover .ico{ transform:translateX(4px); }

/* ===== Vollflaechiger Bild-Einstieg (Design-Regel 29.08.) ==============
   body.hero-overlay: USP-Bar + Header liegen transparent ueber dem Hero,
   kein weisser Rand am Seitenanfang. body.scrolled: Header wird fest/weiss. */
:root{ --gl-uspbar:39px; }
/* Zwei Logofassungen liegen im Markup; sichtbar ist immer genau eine.
   Jede Regel, die eine davon ein- oder ausblendet, muss `.brand img`
   (Spezifitaet 0,1,1) schlagen — sonst gewinnt display:block und beide
   Fassungen stehen untereinander (Befund 10.09.2026, betraf 10 Seiten).
   Darum traegt jeder Selektor hier `.brand img` mit: die Staffelung
   Grundregel < hero-overlay < scrolled ist dadurch eindeutig und haengt
   nicht mehr an der Reihenfolge in dieser Datei. */
.brand img.brand-light{ display:none; }

body.hero-overlay .uspbar{ position:absolute; top:0; left:0; right:0; z-index:65;
  background:rgba(13,17,21,.46); border-bottom:1px solid rgba(255,255,255,.14); backdrop-filter:blur(8px); }
body.hero-overlay .uspbar .usp{ color:rgba(255,255,255,.88); }
body.hero-overlay .uspbar .usp .ico{ color:#7ED09A; }
body.hero-overlay .uspbar .usp-tel{ color:#fff; }
body.hero-overlay .uspbar .usp-tel .ico{ color:var(--gl-blau-60); }

body.hero-overlay .site-header{ position:absolute; top:var(--gl-uspbar); left:0; right:0;
  background:transparent; border-bottom-color:transparent; }
body.hero-overlay .brand img.brand-dark{ display:none; }
body.hero-overlay .brand img.brand-light{ display:block; }
body.hero-overlay .nav-link{ color:rgba(255,255,255,.92); }
body.hero-overlay .nav-link:hover{ color:#fff; background:rgba(255,255,255,.14); }
body.hero-overlay .burger{ color:#fff; }

/* Nach dem Scrollen: fester weisser Header, farbiges Logo. */
body.hero-overlay.scrolled .site-header{ position:fixed; top:0;
  background:#fff; border-bottom:var(--gl-hair); box-shadow:0 6px 24px rgba(61,52,42,.08); }
body.hero-overlay.scrolled .brand img.brand-dark{ display:block; }
body.hero-overlay.scrolled .brand img.brand-light{ display:none; }
body.hero-overlay.scrolled .nav-link{ color:var(--gl-body); }
body.hero-overlay.scrolled .nav-link:hover{ color:var(--gl-text); background:var(--gl-grau-10); }
body.hero-overlay.scrolled .burger{ color:inherit; }

@media (max-width:1023px){
  body.hero-overlay .site-header{ top:0; } /* USP-Bar ist mobil ausgeblendet */
}

/* Startseiten-Hero: Inhalt beginnt unter dem transparenten Header. */
body.hero-overlay .hero{ padding-top:calc(var(--gl-uspbar) + var(--gl-header) + clamp(40px,6vw,84px)); }
@media (max-width:1023px){ body.hero-overlay .hero{ padding-top:calc(64px + clamp(36px,7vw,64px)); } }

/* Seiten-Hero der Unterseiten */
.pagehero{ position:relative; overflow:hidden; background:#10151a; color:#fff;
  display:flex; align-items:flex-end;
  min-height:clamp(380px,48vh,560px);
  padding-top:calc(var(--gl-uspbar) + var(--gl-header) + 32px); padding-bottom:40px; }
@media (max-width:1023px){ .pagehero{ padding-top:calc(64px + 28px); min-height:340px; } }
.pagehero .ph-bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 42%; z-index:0;
  filter:brightness(1.08) contrast(1.02); }
.pagehero::before{ content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(13,17,21,.52) 0%, rgba(13,17,21,.22) 38%, rgba(13,17,21,.74) 100%); }
.pagehero .ph-inner{ position:relative; z-index:2; width:100%; }
.pagehero .breadcrumbs{ padding:0 0 10px; }
.pagehero .breadcrumbs a{ color:rgba(255,255,255,.78); }
.pagehero .breadcrumbs li{ color:rgba(255,255,255,.92); }
.pagehero .breadcrumbs li+li::before{ color:rgba(255,255,255,.45); }
.pagehero .rubrik{ color:rgba(255,255,255,.72); display:block; margin-bottom:10px; }
.pagehero h1{ color:#fff; font-size:clamp(32px,4.6vw,56px); margin-bottom:14px; max-width:22ch; }
.pagehero .answer{ font-size:18px; line-height:1.6; color:rgba(255,255,255,.9); max-width:62ch; }

/* ===== RFQ-Ausbau M1-M3 (Umsetzungsplan 29.08.) ======================== */
/* Unbestaetigte Vorbelegung (Stueckzahl 1) — rot bis zum ersten Input */
.pos-qty.val-unconfirmed input[type="text"]{ border-color:var(--gl-rot); background:#FEF3F2; }
.pos-qty .qty-hint{ color:var(--gl-rot); display:none; }
.pos-qty.val-unconfirmed .qty-hint{ display:block; }

/* Merkmalsgruppen im Disclosure-Bereich */
.attr-group{ border:0; padding:0; margin:18px 0 0; }
.attr-group legend{ font-family:var(--gl-mono); font-size:11px; letter-spacing:.12em; text-transform:uppercase;
  color:var(--gl-neutral); padding:0 0 8px; }
.attr-field .help{ display:block; font-size:12px; color:var(--gl-muted); margin-top:3px; }

/* Konfidenz-Zustaende der Datei-Analyse (M3, Konzept §19) — gelten fuer
   Merkmalsfelder UND Kernfelder (Werkstoff/Staerke). */
.attr-flag{ display:inline-block; font-size:11px; margin-top:4px; padding:2px 8px; border-radius:999px; }
.sugg-high input, .sugg-high select{ border-color:var(--gl-gruen); background:#F1FAF4; }
.sugg-high .attr-flag{ background:#E2F5E9; color:#1E7A3F; }
.sugg-medium input, .sugg-medium select{ border-color:#D97706; background:#FFF8EE; }
.sugg-medium .attr-flag{ background:#FDEBD2; color:#9A5B00; }
.sugg-low .attr-flag{ background:var(--gl-grau-10); color:var(--gl-body); }
.sugg-conflict input, .sugg-conflict select{ border-color:var(--gl-rot); background:#FEF3F2; }
.sugg-conflict .attr-flag{ background:#FDE2E0; color:#B3261E; }
.pos-analysis{ display:block; font-size:12px; color:var(--gl-blau-130); margin-top:6px; }
.pos-card .plausi{ font-size:12.5px; color:#9A5B00; background:#FFF8EE; border:1px solid #F2DDBB; border-radius:var(--gl-r-sm); padding:8px 12px; margin-top:10px; }
/* Erfolgs-Feedback an der Dropzone (29.08.) */
.dropzone-big.ok{ border-color:var(--gl-gruen); background:#F1FAF4; transition:background 300ms var(--gl-ease), border-color 300ms var(--gl-ease); }
.dz-status{ margin-top:12px; padding:12px 16px; border:1px solid #BFE5CC; background:#F1FAF4; border-radius:var(--gl-r-sm);
  font-family:var(--gl-mono); font-size:13px; color:#1E7A3F; display:grid; gap:4px; }
.dz-status .line-err{ color:#B3261E; }
.dz-status .dz-note{ color:var(--gl-body); font-family:var(--gl-sans); font-size:13.5px; margin-top:4px; }

/* CI-Feinschliff Positionskarte (Feedback 29.08., Screenshot) */
.pos-files{ display:flex; align-items:center; flex-wrap:wrap; gap:10px 14px; }
.btn-file{ padding:9px 14px; font-size:13.5px; gap:7px; cursor:pointer; }
.btn-file .ico{ width:15px; height:15px; }
.pos-filenames{ font-family:var(--gl-mono); font-size:12.5px; color:#1E7A3F; }
.pos-filenames:not(:empty)::before{ content:"✓ "; }
.pos-analysis{ flex-basis:100%; }
/* Native Felder an die CI-Inputs angleichen */
.pos-card input[type="date"]{ font-family:var(--gl-sans); font-size:14.5px; color:var(--gl-text); }
/* Hinweis-Pills: einzeilig, gleichmaessig, kein Zeilenumbruch-Chaos */
.attr-flag, .qty-hint{ display:block; font-family:var(--gl-mono); font-size:10.5px; letter-spacing:.02em;
  margin-top:5px; padding:3px 9px; border-radius:999px; width:fit-content; max-width:100%;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pos-qty .qty-hint{ background:#FDE2E0; color:#B3261E; }
.pos-grid{ align-items:start; }

/* ---------- Stellenanzeige (Karriere, 08.09.2026) ---------- */
.job{ border:1px solid var(--gl-blau-30); background:var(--gl-blau-10); border-radius:var(--gl-r-lg); padding:clamp(22px,3vw,34px); }
.job-head h3{ font-size:clamp(20px,2.4vw,27px); line-height:1.25; margin-bottom:10px; }
.job-meta{ display:flex; flex-wrap:wrap; gap:8px 18px; margin-bottom:18px; }
.job-meta span{ display:inline-flex; align-items:center; gap:7px; font-size:14px; font-weight:600; color:var(--gl-blau-130); }
.job-meta .ico{ width:17px; height:17px; }
.job-intro{ font-size:16.5px; line-height:1.6; color:var(--gl-body); margin-bottom:22px; max-width:65ch; }
.job-cols{ display:grid; gap:26px; grid-template-columns:1fr 1fr; padding-top:22px; border-top:1px solid var(--gl-blau-30); }
.job-cols h4{ font-size:15px; letter-spacing:.02em; text-transform:uppercase; color:var(--gl-blau-130); margin-bottom:10px; }
.job-cols ul{ list-style:none; margin:0; padding:0; display:grid; gap:9px; }
.job-cols li{ position:relative; padding-left:20px; font-size:15.5px; line-height:1.55; color:var(--gl-body); }
.job-cols li::before{ content:""; position:absolute; left:0; top:9px; width:7px; height:7px; border-radius:50%; background:var(--gl-blau-100); }
.job-apply{ margin-top:26px; padding-top:22px; border-top:1px solid var(--gl-blau-30); }
.job-apply h4{ font-size:15px; letter-spacing:.02em; text-transform:uppercase; color:var(--gl-blau-130); margin-bottom:12px; }
.job-alt{ font-size:14.5px; color:var(--gl-body); margin-top:10px; }
@media (max-width:640px){ .job-cols{ grid-template-columns:1fr; } }
