/* ==========================================================================
   LEPOLD Maschinenbau – Stylesheet
   Farben aus dem Logo: Navy + Limette. Schrift: Barlow (lokal, DSGVO-konform)
   ========================================================================== */

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

:root {
  --navy-900: #07112e;
  --navy-800: #0a1a45;
  --navy-700: #0a1f5c;
  --navy-600: #14307f;
  --navy-500: #1f45a8;
  --lime: #c9ec2c;
  --lime-dark: #a9c91a;
  --steel-50: #f5f7fa;
  --steel-100: #eceff4;
  --steel-200: #dde2ea;
  --steel-400: #96a0b1;
  --steel-600: #566175;
  --ink: #141b2b;
  --text: #2c3445;
  --white: #fff;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(7, 17, 46, .06), 0 8px 24px rgba(7, 17, 46, .08);
  --shadow-lg: 0 20px 50px rgba(7, 17, 46, .18);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 100px;   /* 19.11.2026 von 76 px erhöht – zweizeiliges Logo (Variante B) */
  --f-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); scroll-padding-bottom: 110px; /* Fokus nicht unter dem Schnellmenü verdeckt (WCAG 2.4.11) */ }
body { margin: 0; font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-500); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; color: var(--ink); line-height: 1.08; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
h1, h2, h3 { overflow-wrap: break-word; } /* Notbremse: überlange Wörter brechen statt über den Rand zu laufen */
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.5rem); font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { color: var(--ink); font-weight: 600; }
address { font-style: normal; }
/* Fokusrahmen (Tastatur): auf hellem Grund Dunkelblau, auf dunklem Grund Grün – Limettengrün auf Weiß wäre kaum sichtbar (17.11.2026) */
:focus-visible { outline: 3px solid var(--navy-500); outline-offset: 2px; }
.topbar :focus-visible, .breadcrumb :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .section--dark :focus-visible,
.cta-band :focus-visible, .site-footer :focus-visible, .mobile-cta :focus-visible { outline-color: var(--lime); }
/* Untermenü per Esc schließen (WCAG 1.4.13) */
.has-sub.sub-zu .sub { opacity: 0 !important; visibility: hidden !important; }
/* Touch im PC-Layout: per Tipp geöffnetes Untermenü bleibt offen, bis daneben getippt wird (main.js) */
@media (min-width: 961px) {
  .has-sub.touch-offen .sub { opacity: 1; visibility: visible; transform: none; }
  .has-sub.touch-offen > a::after { transform: translateY(1px) rotate(225deg); opacity: 1; }
}
/* Geräte ohne Maus: Hover-Öffnen abschalten, damit ein Tipp das Menü nicht kurz öffnet und wieder schließt */
@media (min-width: 961px) and (hover: none) {
  .has-sub:hover:not(.touch-offen):not(:focus-within) .sub { opacity: 0; visibility: hidden; }
}
.icon { width: 1.2em; height: 1.2em; flex: none; }
.muted { color: var(--steel-600); font-size: .95rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 880px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--lime); color: var(--navy-900); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: .7em 1.4em; border-radius: var(--radius); border: 2px solid transparent; font-family: var(--f-head); font-weight: 600; font-size: 1.15rem; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; line-height: 1.1; }
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--lime); color: var(--navy-900); }
.btn--accent:hover { background: #d8f55a; color: var(--navy-900); }
.btn--primary { background: var(--navy-700); color: var(--white); }
.btn--primary:hover { background: var(--navy-600); color: var(--white); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); color: var(--white); }
.btn--ghost { border-color: var(--navy-700); color: var(--navy-700); }
.btn--ghost:hover { background: var(--navy-700); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--navy-500); text-decoration: none; }
.link-arrow .icon { transition: transform .2s; }
a:hover .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(4px); }
@media (max-width: 1024px) { .link-arrow, .feature h3 a { padding-block: 9px; margin-block: -9px; } .feature h3 a { display: inline-block; } } /* Tippfläche 44 px, Optik gleich (18.11.2026) */

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--navy-900); color: #c3cbe0; font-size: .875rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar__links { display: flex; gap: 22px; }
.topbar a { color: #e6ebf7; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--lime); }
.topbar .icon { width: 15px; height: 15px; color: var(--lime); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--steel-200); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(7, 17, 46, .08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.logo { flex: none; display: inline-flex; align-items: center; min-height: 44px; } /* 44 px Tippfläche (18.11.2026) · Logo nie zusammendrücken lassen (breites Menü ab 1321 px) */
.logo img { width: 200px; height: auto; }

.nav { display: flex; align-items: center; gap: 20px; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__item > a { display: block; padding: 10px 10px; font-family: var(--f-head); font-weight: 600; font-size: 1.1rem; letter-spacing: .03em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-radius: var(--radius); }
.nav__item > a:hover, .nav__item > a.is-active { color: var(--navy-500); }
.nav__item > a.is-active { box-shadow: inset 0 -3px 0 var(--lime); border-radius: 0; }
/* PC: Pfeil hinter aufklappbaren Menüpunkten (Leistungen, Branchen, Unternehmen) – dreht sich, wenn das Menü offen ist (17.11.2026) */
@media (min-width: 961px) {
  .has-sub > a { display: inline-flex; align-items: center; gap: 6px; }
  .has-sub > a::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .7; transition: transform .2s, opacity .2s; }
  .has-sub:hover > a::after, .has-sub:focus-within > a::after { transform: translateY(1px) rotate(225deg); opacity: 1; }
  .has-sub.sub-zu > a::after { transform: translateY(-2px) rotate(45deg); }
}
.sub-toggle { display: none; }
.sub { list-style: none; margin: 0; padding: 10px; position: absolute; left: 0; top: 100%; min-width: 270px; background: var(--white); border: 1px solid var(--steel-200); border-top: 3px solid var(--lime); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.sub a { display: block; padding: 9px 12px; color: var(--text); text-decoration: none; border-radius: 4px; font-weight: 500; }
.sub a:hover, .sub a[aria-current] { background: var(--steel-50); color: var(--navy-500); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
/* Untermenü mit Gruppen (Leistungen, Branchen) */
.sub--gruppen { display: grid; grid-template-columns: repeat(var(--spalten, 2), minmax(190px, 1fr)); gap: 0 14px; width: max-content; max-width: min(94vw, 780px); }
/* 4 Gruppen nebeneinander (Branchen): breiter, zentriert unter dem Menüpunkt, damit es rechts nicht übersteht */
.sub--viele { max-width: min(94vw, 1000px); left: 50%; translate: -50% 0; grid-template-columns: repeat(var(--spalten, 4), minmax(200px, 1fr)); }
/* Laptop: Branchen ebenfalls breit (4 schmalere Spalten) statt 2 Spalten – ähnlich groß wie „Leistungen“ (Nutzer 17.11.2026) */
@media (min-width: 961px) and (max-width: 1199px) {
  .sub--viele { grid-template-columns: repeat(4, max-content); gap: 0 6px; left: auto; right: var(--gutter); translate: none; }
  .site-header__inner { position: relative; }
  .has-sub--breit { position: static; }
  .has-sub--breit .sub--viele { top: calc(100% - 15px); }
  .has-sub--breit .sub--viele::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; } /* Brücke: Maus verliert das Menü nicht */ /* Menü richtet sich am Kopfbereich aus (rechts bündig), damit es nie links aus dem Bild ragt */
  .sub--viele .sub__titel { max-width: 175px; white-space: normal; min-height: 4.15em; } /* gleiche Höhe, auch bei einzeiligem Titel */
  .sub--viele a { padding: 8px 10px; }
}
.sub--gruppen > .sub__alle { grid-column: 1 / -1; border-bottom: 1px solid var(--steel-200); margin-bottom: 6px; padding-bottom: 4px; }
.sub__gruppe ul { list-style: none; margin: 0 0 6px; padding: 0; }
.sub__titel { display: block; padding: 8px 12px 4px; font-family: var(--f-head); font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-500); }
.nav__cta { min-height: 46px; font-size: 1.05rem; }
.nav__phone { display: none; }
.nav-toggle { display: none; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--navy-900); font-size: .85rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 10px 0; gap: 4px; }
.breadcrumb li { color: #9aa6c4; }
.breadcrumb li + li::before { content: "/"; margin: 0 6px 0 2px; color: #56628a; }
.breadcrumb a { color: #c3cbe0; text-decoration: none; }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb [aria-current] { color: var(--white); }

/* ---------- Hero Startseite ---------- */
.hero { position: relative; color: var(--white); background: var(--navy-900); overflow: hidden; isolation: isolate; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(7, 17, 46, .94) 0%, rgba(7, 17, 46, .82) 42%, rgba(7, 17, 46, .35) 100%); }
.hero__inner { padding: clamp(72px, 12vw, 150px) var(--gutter) clamp(56px, 8vw, 96px); max-width: var(--container); margin: 0 auto; }
.hero h1 { color: var(--white); max-width: 15ch; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #dbe2f2; max-width: 58ch; margin-bottom: 1.8em; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 600; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 1em; }
.kicker::before { content: ""; width: 32px; height: 3px; background: var(--lime); }
.section .kicker { color: var(--navy-500); }
.section .kicker::before { background: var(--lime-dark); }
.section--dark .kicker { color: var(--lime); }

.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255, 255, 255, .14); }
.facts li { padding: 22px 16px 24px; border-right: 1px solid rgba(255, 255, 255, .1); }
.facts li:last-child { border-right: 0; }
.facts strong { display: block; font-family: var(--f-head); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--white); line-height: 1; }
.facts span { font-size: .9rem; color: #aab5d1; text-transform: uppercase; letter-spacing: .08em; }
.hero .facts { background: rgba(7, 17, 46, .55); backdrop-filter: blur(6px); }

/* ---------- Seitenkopf Unterseiten ---------- */
.page-hero { position: relative; background: var(--navy-800); color: var(--white); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(1000px 400px at 100% 0, rgba(31, 69, 168, .55), transparent 60%), repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 80px); }
.page-hero--bild::before { background: linear-gradient(100deg, rgba(7, 17, 46, .95) 0%, rgba(7, 17, 46, .85) 50%, rgba(7, 17, 46, .45) 100%); }
/* Helleres Kopfbild für schon abgedunkelte SW-Fotos (inc/bloecke.php KOPFBILDER_HELL, Stufe B, 18.11.2026) – Handy: gleichmäßig.
   Eine Vereinheitlichung ALLER Kopfbilder (SW-Filter) wurde am 18.11.2026 wieder zurückgenommen: Nutzer „vorher war besser“. */
.page-hero--hell::before { background: linear-gradient(100deg, rgba(7, 17, 46, .85) 0%, rgba(7, 17, 46, .5) 40%, rgba(7, 17, 46, 0) 75%); }
@media (max-width: 700px) { .page-hero--hell::before { background: rgba(7, 17, 46, .7); } }
/* Motiv nach rechts neben die Schrift rücken (inc/bloecke.php KOPFBILDER_RECHTS) – nur auf breiten Bildschirmen */
@media (min-width: 961px) { .page-hero--rechts .page-hero__media img { transform: translateX(var(--bildshift, 14%));   /* --bildshift: KOPFBILDER_VERSCHIEBUNG in inc/bloecke.php */ -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); } }
/* Grafik-Kopfbilder (News, Kontakt): Grafik ist links schon dunkel → schwächere Abdunklung, damit die Limetten-Akzente leuchten */
.page-hero--grafik::before { background: linear-gradient(100deg, rgba(7, 17, 46, .55) 0%, rgba(7, 17, 46, .2) 45%, rgba(7, 17, 46, 0) 70%); }
@media (max-width: 700px) { .page-hero--grafik::before { background: rgba(7, 17, 46, .62); } }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--bildpos, 50% 50%); }   /* --bildpos: KOPFBILDER_POSITION in inc/bloecke.php */
.page-hero__inner { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero h1 { color: var(--white); max-width: 20ch; }
.hero strong, .page-hero strong { color: var(--white); }
.page-hero .lead { color: #d3dbee; font-size: clamp(1.08rem, 1.5vw, 1.25rem); max-width: 62ch; margin-bottom: 1.6em; }

/* ---------- Sektionen ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--light { background: var(--steel-50); }
.section--dark { background: var(--navy-800); color: #d3dbee; }
.section--dark h2, .section--dark h3, .section--dark strong { color: var(--white); }
.section--dark a:not(.btn), .cta-band a:not(.btn), .page-hero .lead a { color: var(--lime); }
.section--dark a:not(.btn):hover, .cta-band a:not(.btn):hover { color: var(--white); }
.section--dark .spec a:not(.btn), .section--dark .card a:not(.btn) { color: var(--navy-500); }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .kicker { justify-content: center; }
.section__title { margin-bottom: .6em; }
.section__head p { font-size: 1.12rem; color: var(--steel-600); }
.section--dark .section__head p { color: #b8c2db; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.split__media { position: relative; }
.split__media::after { content: ""; position: absolute; width: 38%; height: 38%; right: -14px; bottom: -14px; border-right: 4px solid var(--lime); border-bottom: 4px solid var(--lime); border-radius: 0 0 var(--radius-lg) 0; z-index: -1; }
.split__media { isolation: isolate; }
.seiten-foto { margin-top: 32px; }   /* Foto aus der Fertigung unter einer Seitenbox (aside), seit 19.11.2026 */
.split--mit-fakten { margin-bottom: clamp(32px, 5vw, 56px); }
/* Bild-Slider (seit 19.11.2026, z. B. /ueber-uns/): Bilder liegen übereinander und blenden über, Größe = erstes Bild */
.bild-slider__bahn { display: grid; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; background: #fff; }
.bild-slider__bild { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.bild-slider__bild.ist-aktiv { opacity: 1; visibility: visible; transition: opacity .7s ease; }
.bild-slider .bild-slider__bild img { border-radius: 0; box-shadow: none; width: 100%; height: 100%; object-fit: cover; }
.bild-slider__pfeil { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--navy, #07112e); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; transition: background .2s, transform .2s; }
/* 20.11.2026 (Nutzer): alle Slider-Bedienknöpfe (Pfeile + Pause) voll Dunkelblau statt halbdurchsichtig – gilt für alle .bild-slider, auch künftige */
.bild-slider__pfeil:hover, .bild-slider__pfeil:focus-visible { background: var(--navy-600, #14307a); }
.bild-slider__pfeil:focus-visible { outline: 3px solid var(--lime, #c4e620); outline-offset: 2px; }
.bild-slider__pfeil--zurueck { left: 12px; }
.bild-slider__pfeil--weiter { right: 12px; }
.bild-slider__punkte { position: absolute; left: 0; right: 0; bottom: 8px; z-index: 2; display: flex; justify-content: center; gap: 4px; }
/* Tippfläche 28 × 28 px (WCAG 2.2: mind. 24 px, ohne Überlappung – 19.11.2026), sichtbarer Punkt bleibt 11 px */
.bild-slider__punkte button { position: relative; width: 28px; height: 28px; border: 0; background: none; padding: 0; cursor: pointer; }
.bild-slider__punkte button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; border: 2px solid #fff; background: rgba(7,17,46,.45); box-shadow: 0 1px 4px rgba(0,0,0,.35); box-sizing: border-box; }
.bild-slider__punkte button[aria-current="true"]::before { background: var(--lime, #c4e620); border-color: var(--lime, #c4e620); }
.bild-slider__punkte button:focus-visible { outline: 3px solid var(--lime, #c4e620); outline-offset: -2px; border-radius: 50%; }
/* Pause-Knopf (WCAG 2.2.2): unten links, Symbol ❚❚ bzw. ▶ per CSS */
.bild-slider__pause { position: absolute; left: 10px; bottom: 8px; z-index: 2; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--navy, #07112e); cursor: pointer; display: grid; place-items: center; padding: 0; transition: background .2s; }
.bild-slider__pause span { display: block; width: 10px; height: 11px; border-left: 3px solid #fff; border-right: 3px solid #fff; box-sizing: border-box; }
.bild-slider__pause.ist-angehalten span { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
.bild-slider__pause:hover, .bild-slider__pause:focus-visible { background: var(--navy-600, #14307a); }
.bild-slider__pause:focus-visible { outline: 3px solid var(--lime, #c4e620); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .bild-slider__bild, .bild-slider__bild.ist-aktiv { transition: none; } }
/* fester Rahmen 3:2 (Startseite): Bilder in anderem Format werden ganz eingepasst statt beschnitten */
.bild-slider--3zu2 .bild-slider__bahn { aspect-ratio: 3 / 2; grid-template-rows: 100%; }
.bild-slider--3zu2 .bild-slider__bild { height: 100%; min-height: 0; }
.bild-slider--3zu2 .bild-slider__bild img { height: 100%; }
.bild-slider .bild-slider__bild--einpassen img { object-fit: contain; }

/* ---------- Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; background: var(--white); border: 1px solid var(--steel-200); border-radius: var(--radius-lg); color: var(--text); text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--lime); transition: width .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.card:hover::before { width: 100%; }
.card > .icon { width: 44px; height: 44px; padding: 10px; color: var(--navy-700); background: var(--steel-100); border-radius: 10px; margin-bottom: 18px; box-sizing: content-box; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--steel-600); font-size: 1rem; flex: 1; }
.card .link-arrow { margin-top: 8px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--steel-200); border: 1px solid var(--steel-200); border-radius: var(--radius-lg); overflow: hidden; }
.feature { background: var(--white); padding: 28px 24px; }
.feature .icon { width: 42px; height: 42px; color: var(--navy-500); margin-bottom: 12px; } /* 42 px: technische Icons brauchen Platz für Details */
.feature h3 { font-size: 1.3rem; margin-bottom: .3em; }
.feature p { font-size: .98rem; color: var(--steel-600); margin: 0; }
.section--dark .feature-grid { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .1); }
.section--dark .feature { background: var(--navy-800); }
.section--dark .feature p { color: #aab5d1; }
.section--dark .feature .icon { color: var(--lime); }

/* ---------- Listen ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
/* 22.11.2026 (Nutzer: „alles einheitlich“): Haken überall volle Limette mit dunkelblauem Haken – vorher auf hellen Flächen blass (35 % Limette, mittelblau) */
.checklist .icon { flex: none; color: var(--navy-900); background: var(--lime); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 2px; }
.section--dark .checklist .icon, .aside-box:not(.aside-box--light) .checklist .icon { color: var(--navy-900); background: var(--lime); } /* .aside-box (dunkler Kasten, z. B. „Ihre Vorteile“) seit 19.11.2026 – vorher blasses Oliv */
.checklist--2 { grid-template-columns: 1fr 1fr; column-gap: 28px; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 14px; border: 1px solid var(--steel-200); border-radius: 100px; font-size: .95rem; background: var(--white); }
.section--dark .tags li { background: transparent; border-color: rgba(255, 255, 255, .2); color: #dbe2f2; }

/* ---------- Prozess ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { position: relative; padding: 28px 22px 22px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--steel-200); counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--f-head); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--navy-700); margin-bottom: 10px; }
.steps li::after { content: ""; position: absolute; left: 22px; top: 0; width: 40px; height: 4px; background: var(--lime); }
.steps h3 { font-size: 1.3rem; margin-bottom: .3em; }
.steps p { margin: 0; font-size: .98rem; color: var(--steel-600); }
.steps--2 { grid-template-columns: 1fr 1fr; } /* 2 Spalten in schmaler Spalte; Handy: 1 Spalte (Regel weiter unten) – 17.11.2026 */

/* ---------- Tabellen / Datenblätter ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.spec-grid--zwei { grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .spec-grid--zwei { grid-template-columns: 1fr; } } /* Handy: Datenblätter untereinander, sonst ragt „Flachschleifen“ aus dem Kasten */
.spec { background: var(--white); border: 1px solid var(--steel-200); border-radius: var(--radius-lg); overflow: hidden; }
.spec__head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; background: var(--navy-700); color: var(--white); }
.spec__head .icon { width: 28px; height: 28px; color: var(--lime); }
.spec__head h3 { color: var(--white); margin: 0; font-size: 1.35rem; }
.spec dl { margin: 0; padding: 8px 22px 18px; }
.spec dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--steel-200); }
.spec dl div:last-child { border-bottom: 0; }
.spec dt { color: var(--steel-600); }
.spec dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.spec p { padding: 0 22px; font-size: .95rem; color: var(--steel-600); }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.gallery figure { margin: 0; background: var(--white); border: 1px solid var(--steel-200); border-radius: var(--radius-lg); overflow: hidden; }
.gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { padding: 10px 14px 12px; font-size: .9rem; color: var(--steel-600); border-top: 1px solid var(--steel-100); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 70px; top: 6px; bottom: 6px; width: 2px; background: var(--steel-200); }
.timeline li { display: grid; grid-template-columns: 70px 1fr; gap: 36px; padding-bottom: 32px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 63px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--lime); border: 3px solid var(--navy-700); }
.timeline time { font-family: var(--f-head); font-weight: 700; font-size: 1.6rem; color: var(--navy-700); line-height: 1.1; }
.timeline h3 { margin-bottom: .2em; }
.timeline p { margin: 0; color: var(--steel-600); }
/* Investitionen (kleiner) zwischen den Meilensteinen */
.timeline li.timeline__klein { padding-bottom: 22px; }
.timeline li.timeline__klein::before { left: 66px; top: 9px; width: 10px; height: 10px; border-width: 2px; background: var(--white); border-color: var(--navy-500); }
.timeline li.timeline__klein time { font-size: 1.25rem; color: var(--navy-500); padding-top: 2px; }
.timeline li.timeline__klein h3 { font-size: 1.12rem; }
.timeline li.timeline__klein p { font-size: .95rem; }

/* ---------- CTA-Band ---------- */
.cta-band { background: linear-gradient(110deg, var(--navy-700), var(--navy-600)); color: #dbe2f2; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border: 40px solid rgba(201, 236, 44, .12); border-radius: 50%; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 72px); position: relative; z-index: 1; }
.cta-band h2, .cta-band strong { color: var(--white); margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 60ch; }
.cta-band .btn-row { flex: none; }
.cta-band__aktion { flex: none; }
.cta-band__vertrauen { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .95rem; color: #c4cee6; }
.cta-band__vertrauen li { display: inline-flex; align-items: center; gap: 7px; }
.cta-band__vertrauen .icon { width: 16px; height: 16px; color: var(--lime); }
.cta-band .cta-band__tel { margin: 12px 0 0; font-size: .95rem; }
.field--sicherheit input { max-width: 200px; }
.field--sicherheit small { display: block; margin-top: 4px; font-size: .85rem; }
.form-vertrauen { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .9rem; color: var(--text-muted, #5b6478); }
.form-vertrauen li { display: inline-flex; align-items: center; gap: 6px; }
.form-vertrauen .icon { flex: none; width: 17px; height: 17px; padding: 2px; border-radius: 50%; color: var(--navy-900); background: var(--lime); }   /* einheitlich wie .checklist (22.11.2026) */
.cta-band__tel a { font-weight: 600; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--steel-200); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-family: var(--f-head); font-weight: 600; font-size: 1.3rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--navy-500); border-bottom: 2.5px solid var(--navy-500); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details > div { padding: 0 0 20px; color: var(--steel-600); }

/* ---------- Kontakt ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { padding: 28px; background: var(--white); border: 1px solid var(--steel-200); border-radius: var(--radius-lg); }
.contact-card > .icon { width: 30px; height: 30px; color: var(--navy-500); margin-bottom: 12px; }
.contact-card h3 { font-size: 1.35rem; }
.contact-card a { text-decoration: none; }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 18px; }
.form fieldset { border: 1px solid var(--steel-200); border-radius: var(--radius-lg); padding: 22px 22px 8px; margin: 0; background: var(--white); }
.form legend { font-family: var(--f-head); font-weight: 600; font-size: 1.35rem; color: var(--ink); padding: 0 8px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__row--3 { grid-template-columns: 1fr 1fr 1fr; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .field .label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.field .req { color: #c0392b; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=date], .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--steel-200); border-radius: var(--radius); background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-500); box-shadow: 0 0 0 3px rgba(31, 69, 168, .15); }
/* Barrierefreiheit (18.11.2026): Feldrahmen mit mind. 3:1 Kontrast (WCAG 1.4.11, vorher ca. 1,3:1), deutlicher Fokus-Ring */
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=date], .field input[type=number], .field select, .field textarea { border-color: #808a9c; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy-500); box-shadow: 0 0 0 3px rgba(31, 69, 168, .45); }
.field small { color: var(--steel-600); font-size: .87rem; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1.5px solid var(--steel-200); border-radius: 100px; cursor: pointer; font-weight: 500; font-size: .95rem; user-select: none; transition: border-color .15s, background .15s; }
.choices input { accent-color: var(--navy-700); }
.choices label:has(input:checked) { border-color: var(--navy-700); background: rgba(31, 69, 168, .07); }
.dropzone { position: relative; display: grid; place-items: center; gap: 6px; padding: 30px 20px; border: 2px dashed var(--steel-400); border-radius: var(--radius-lg); background: var(--steel-50); text-align: center; color: var(--steel-600); cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--navy-500); background: #eef2fb; }
.dropzone .icon { width: 34px; height: 34px; color: var(--navy-500); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone strong { color: var(--ink); }
.file-list { list-style: none; padding: 0; margin: 8px 0 0; font-size: .92rem; }
.file-list li { padding: 4px 0; color: var(--ink); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.consent input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--navy-700); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 16px 18px; border-radius: var(--radius); font-weight: 500; }
.form-status--ok { background: #eaf7e3; color: #2d5b16; border: 1px solid #b9dfa4; }
.form-status--err { background: #fdecea; color: #8a1f12; border: 1px solid #f3b8b0; }
.form-status:empty { display: none; }
.form-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-box { padding: 28px; border-radius: var(--radius-lg); background: var(--navy-800); color: #d3dbee; }
.aside-box h2, .aside-box h3, .aside-box strong { color: var(--white); }
.aside-box a:not(.btn) { color: var(--lime); }
.aside-box + .aside-box { margin-top: 20px; }
.aside-box--light { background: var(--steel-50); color: var(--text); border: 1px solid var(--steel-200); }
.aside-box--light h3, .aside-box--light strong { color: var(--ink); }
.aside-box--light a:not(.btn) { color: var(--navy-500); }
.layout-form { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }

/* ---------- News ---------- */
.news { display: grid; gap: 24px; }
.news article { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 28px; background: var(--white); border: 1px solid var(--steel-200); border-radius: var(--radius-lg); }
.news time, .news__label { font-family: var(--f-head); font-weight: 600; font-size: 1.1rem; color: var(--navy-500); text-transform: uppercase; letter-spacing: .06em; }
.news h2 { font-size: 1.7rem; }
.news p:last-child { margin: 0; }
.news__kopf { display: grid; gap: 8px; align-content: start; }
.news__kat { justify-self: start; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 3px 9px; border-radius: 4px; background: var(--steel-100); color: var(--navy-700); }
.news__bild { width: 100%; max-height: 260px; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; }
.news h2 a { color: inherit; text-decoration: none; }
.news h2 a:hover { color: var(--navy-500); }
.card__bild { margin: -30px -26px 18px; aspect-ratio: 3 / 2; overflow: hidden; }
.card__bild img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Rechtstexte ---------- */
.legal h2 { font-size: 1.7rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.3rem; margin-top: 1.4em; }
.legal { font-size: 1rem; }

/* ---------- Auf einen Blick (Kurzantwort + Fakten) ---------- */
.blick { background: var(--white); border: 1px solid var(--steel-200); border-left: 4px solid var(--lime); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.blick h2 { font-size: 1.5rem; margin-bottom: .5em; }
.blick p { margin: 0; font-size: 1.08rem; }
.blick .tabelle { margin: 0; }
.blick > * { min-width: 0; } /* lange Wörter (z. B. „Maschinenbaumechaniker-Meister“) sprengen auf kleinen Handys sonst die Breite – 17.11.2026 */
.blick p, .blick .tabelle td, .blick .tabelle th { overflow-wrap: anywhere; hyphens: auto; }
/* Begriffe links (Stückzahl, Typische Bauteile …) nicht mitten im Wort umbrechen („Typis-che“), sondern nur an Silben – 19.11.2026 */
.blick .tabelle th { overflow-wrap: normal; width: 36%; min-width: 7.5em; }
.blick-wrap { padding-top: clamp(32px, 5vw, 56px); }

/* ---------- Tabellen ---------- */
.tabelle-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.2em 0 1.6em; }
.tabelle { width: 100%; border-collapse: collapse; font-size: .98rem; background: var(--white); }
.tabelle caption { text-align: left; font-family: var(--f-head); font-weight: 600; font-size: 1.1rem; color: var(--ink); padding-bottom: 8px; }
.tabelle th, .tabelle td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--steel-200); vertical-align: top; }
.tabelle thead th { background: var(--navy-700); color: var(--white); font-weight: 600; white-space: nowrap; }
.tabelle tbody th { font-weight: 600; color: var(--ink); width: 42%; }
.tabelle tbody tr:nth-child(even) { background: var(--steel-50); }
.tabelle--zahlen td, .tabelle--zahlen thead th { text-align: center; }
/* Werkstoffseiten: Foto des Werkstoffs neben der Tabellen-Überschrift (17.11.2026) */
.wst-kopf { display: grid; grid-template-columns: 1fr 260px; gap: 24px; align-items: center; margin-bottom: 8px; }
.wst-kopf h2 { margin-bottom: 0; }
.wst-kopf__bild { margin: 0; }
.wst-kopf__bild img { width: 100%; height: auto; aspect-ratio: 12 / 7; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); display: block; }
@media (max-width: 640px) { .wst-kopf { grid-template-columns: 1fr; gap: 14px; } }
/* Handy: Tabellen schmaler setzen, damit sie meist ohne Seitwärts-Scrollen passen (17.11.2026) */
@media (max-width: 640px) {
  .tabelle { font-size: .9rem; }
  .tabelle th, .tabelle td { padding: 8px 8px; }
  .tabelle thead th { white-space: normal; }
  .tabelle tbody th { width: auto; }
}

/* ---------- Ratgeber & Artikel ---------- */
.artikel { font-size: 1.06rem; }
.artikel h2 { font-size: 1.9rem; margin-top: 1.6em; }
.artikel h3 { font-size: 1.35rem; margin-top: 1.3em; }
.artikel > :first-child { margin-top: 0; }
.artikel blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--lime); background: var(--steel-50); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.15rem; color: var(--ink); }
.artikel blockquote p { margin: 0; }
.artikel-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--steel-600); font-size: .95rem; margin-bottom: 1.6em; padding-bottom: 1em; border-bottom: 1px solid var(--steel-200); }
.artikel-meta strong { color: var(--ink); }
.hinweis { background: var(--steel-50); border: 1px solid var(--steel-200); border-radius: var(--radius); padding: 14px 18px; font-size: .95rem; color: var(--steel-600); }
.beitraege { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.beitraege .card time, .card__meta { display: block; font-family: var(--f-head); font-weight: 600; color: var(--navy-500); text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; margin-bottom: 6px; }

/* ---------- Projekte ---------- */
.projekte .card__titel { font-size: 1.45rem; margin-bottom: .35em; }
.projekt-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 6px; padding: 0; }
.projekt-tags li { font-size: .8rem; font-weight: 600; padding: 3px 9px; border-radius: 4px; background: var(--steel-100); color: var(--navy-700); }
.projekte-leer { text-align: center; margin: 0 auto; }
.projekte-leer h2 { font-size: 1.8rem; }
.folgen { margin-top: 2.2em; padding: 20px 24px; background: var(--steel-50); border: 1px solid var(--steel-200); border-left: 4px solid var(--lime); border-radius: var(--radius); }
.folgen p { margin: 0 0 12px; }
.folgen .btn-row { margin: 0; }
.weiterlesen { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.weiterlesen a { font-weight: 600; }
@media (max-width: 960px) { .blick { grid-template-columns: 1fr; } }

/* ---------- Startseite: Hero mit Schnellanfrage ---------- */
.hero--split .hero__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero--split h1 { max-width: 18ch; }
.chips { list-style: none; margin: 0 0 1.8em; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-size: .92rem; color: #e6ebf7; background: rgba(255, 255, 255, .06); }
.chips .icon { width: 1em; height: 1em; color: var(--lime); }
.badges { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: #c3cbe0; font-size: .95rem; }
.badges strong { color: var(--white); font-family: var(--f-head); font-size: 1.25rem; margin-right: 4px; }

.schnell { background: var(--white); color: var(--text); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(20px, 2.5vw, 30px); border-top: 4px solid var(--lime); scroll-margin-top: calc(var(--header-h) + 16px); }
.schnell h2 { font-size: 1.7rem; margin-bottom: .2em; }
.schnell__sub { color: var(--steel-600); font-size: .95rem; margin-bottom: 16px; }
.schnell .form { gap: 12px; }
.schnell .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.schnell .field { margin: 0; }
.schnell .field label { font-size: .9rem; }
.schnell .field input, .schnell .field textarea { padding: 10px 12px; }
.schnell textarea { min-height: 84px; }
.schnell .dropzone { padding: 14px 12px; gap: 2px; }
.schnell .dropzone .icon { width: 24px; height: 24px; }
.schnell .dropzone span { font-size: .82rem; }
.schnell .consent { font-size: .85rem; }
.schnell .btn { width: 100%; }
.schnell__alt { margin: 4px 0 0; font-size: .9rem; color: var(--steel-600); text-align: center; }

/* ---------- Zahlenleiste unter dem Hero ---------- */
.zahlen-band { background: var(--navy-800); }
.zahlen-band .facts { border-top: 0; }

/* ---------- Varianten ---------- */
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .gallery--3 { grid-template-columns: repeat(2, 1fr); } }
.cards--branchen { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.cards--branchen .card { padding: 24px 22px 22px; }
.cards--branchen .card p { font-size: .95rem; }
/* Handy (19.11.2026): Link-Kacheln mit Symbol (Leistungen, Branchen, „Weitere Leistungen“) kompakt in zwei Spalten,
   nur Symbol + Name – Beschreibung und „Mehr erfahren“ entfallen dort. Alle Links bleiben. Seiten wurden sonst bis 9 Bildschirme länger.
   Kacheln ohne Symbol (Ratgeber, News, Projekte mit Bild/Datum) sind nicht betroffen. */
@media (max-width: 700px) {
  .cards:has(> .card > .icon) { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cards .card:has(> .icon) { padding: 14px 12px 14px; border-radius: 12px; }
  .cards .card > .icon { width: 30px; height: 30px; padding: 7px; margin-bottom: 10px; }
  .cards .card > .icon ~ h3 { font-size: 1.02rem; line-height: 1.2; margin: 0; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
  .cards .card > .icon ~ p, .cards .card > .icon ~ .link-arrow { display: none; }
  /* Regions-Kacheln (CNC-Zerspanung, Regionen-Übersicht): zwei Spalten, Name + Anfahrt; Orte und „CNC-Zerspanung“ nur am Desktop */
  .beitraege--regionen { grid-template-columns: 1fr 1fr; gap: 10px; }
  .beitraege--regionen .card { padding: 14px 12px; border-radius: 12px; }
  .beitraege--regionen .rk-pre, .beitraege--regionen .rk-orte, .beitraege--regionen .link-arrow { display: none; }
  .beitraege--regionen h3 { font-size: 1.02rem; line-height: 1.2; margin: 0 0 4px; hyphens: auto; -webkit-hyphens: auto; }
  .beitraege--regionen .card p { font-size: .9rem; margin: 0; }
  .beitraege--regionen .rk-zeit { display: block; }
  .beitraege--regionen .rk-zeit::first-letter { text-transform: uppercase; }
  /* Beitrags-Kacheln mit Bild (Ratgeber, Projekte): Bild klein links neben dem Titel, Kurztext darunter */
  .beitraege .card:has(> .card__bild) { display: grid; grid-template-columns: 112px 1fr; column-gap: 12px; row-gap: 8px; align-items: center; padding: 12px; }
  .beitraege .card:has(> .card__bild) > * { grid-column: 1 / -1; }   /* alles Weitere (Text, Schlagwörter) in voller Breite */
  .beitraege .card > .card__bild { margin: 0; border-radius: 8px; grid-column: 1; grid-row: 1; }
  .beitraege .card > .card__bild ~ h2, .beitraege .card > .card__bild ~ h3 { grid-column: 2; grid-row: 1; font-size: 1.02rem; line-height: 1.25; margin: 0; }
  .beitraege .card > .card__bild ~ p { font-size: .93rem; margin: 0; }
  .beitraege .card > .card__bild ~ .link-arrow { display: none; }
  /* Projekte (mit Datum): Bild über zwei Zeilen, rechts Datum oben, Titel darunter */
  .beitraege .card:has(> .card__bild):has(> time) > .card__bild { grid-row: 1 / span 2; }
  .beitraege .card > .card__bild ~ time { grid-column: 2; grid-row: 1; align-self: end; margin: 0; font-size: .8rem; }
  .beitraege .card:has(> time) > .card__bild ~ h2, .beitraege .card:has(> time) > .card__bild ~ h3 { grid-row: 2; align-self: start; }
}
/* ---------- Handy-Verbesserungen 19.11.2026 ---------- */
@media (max-width: 960px) {
  /* 1) Kopf- und Schnellleiste beim Herunterscrollen ausblenden, beim Hochscrollen zeigen (Klasse scroll-runter setzt main.js) */
  .site-header { transition: transform .25s ease, box-shadow .2s; }
  html.scroll-runter .site-header { transform: translateY(-100%); box-shadow: none; }
  html.scroll-runter .mobile-cta.dock.is-visible { transform: translateY(calc(100% + 20px)); }
  html.scroll-runter .mobile-cta.dock.ist-klein.is-visible { transform: translate(-50%, calc(100% + 20px)); }
  /* 5) „Nach oben“ kleiner; sitzt beim Hochscrollen über der Schnellleiste */
  .nach-oben { width: 40px; height: 40px; }
  .nach-oben svg { width: 18px; height: 18px; }
}
@media (max-width: 960px) and (prefers-reduced-motion: reduce) { .site-header { transition: none; } }
@media (max-width: 700px) {
  /* 2) Startseite: Kopfbereich kürzer – nur 4 Merkmale (Fräsen, Drehen, Räumen, Express), Kennzahlen stehen im Zahlenband darunter */
  .hero .chips li:nth-child(4), .hero .chips li:nth-child(5), .hero .chips li:nth-child(7) { display: none; }
  .hero .badges { display: none; }
  /* 3) Tabellen mit bis zu 3 Spalten gestapelt: eine Karte je Zeile, Spaltenname vor jedem Wert (data-label aus main.js) */
  .tabelle--stapel thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tabelle--stapel, .tabelle--stapel tbody, .tabelle--stapel tr, .tabelle--stapel tbody th, .tabelle--stapel td { display: block; width: auto; }
  .tabelle--stapel { background: none; font-size: .95rem; }
  .tabelle--stapel caption { display: block; width: auto; }
  .tabelle--stapel tbody tr, .tabelle--stapel tbody tr:nth-child(even) { background: var(--white); border: 1px solid var(--steel-200); border-radius: 10px; padding: 10px 14px; margin-bottom: 10px; }
  .tabelle--stapel tbody th { padding: 0 0 6px; border: 0; font-size: 1.02rem; }
  .tabelle--stapel td { padding: 3px 0; border: 0; }
  .tabelle--stapel td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--navy-500); }
  .tabelle-scroll:has(> .tabelle--stapel) { overflow: visible; }
  /* breite Maßtabellen (mehr als 3 Spalten) bleiben wischbar, aber kompakter */
  .tabelle-scroll .tabelle:not(.tabelle--stapel) { font-size: .82rem; }
  .tabelle-scroll .tabelle:not(.tabelle--stapel) th, .tabelle-scroll .tabelle:not(.tabelle--stapel) td { padding: 7px 6px; }
  /* 4) Links in Tabellen: größere Tippfläche */
  .tabelle th a, .tabelle td a { display: inline-block; padding: 7px 0; margin: -7px 0; }
  .tabelle--stapel tbody th a { padding: 9px 0; margin: -9px 0 -3px; }
}

/* ---------- Tablet-Verbesserungen 19.11.2026 (701–1100 px, Handy und Desktop unverändert) ---------- */
@media (min-width: 701px) and (max-width: 1100px) {
  /* 1) Branchen-Kacheln: Symbol + Name in 4 Spalten (Text und „Mehr erfahren“ nur am Desktop) – vorher 3,6–4 Bildschirme */
  .cards.cards--branchen { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  @media (max-width: 900px) { .cards.cards--branchen { grid-template-columns: repeat(3, 1fr); } }   /* hochkant: lange Namen („Automatisierungstechnik“) passen */
  .cards--branchen .card { padding: 18px 16px; }
  .cards--branchen .card > .icon { width: 32px; height: 32px; padding: 8px; margin-bottom: 12px; }
  .cards--branchen .card > .icon ~ h3 { font-size: 1.08rem; line-height: 1.2; margin: 0; hyphens: auto; -webkit-hyphens: auto; }
  .cards--branchen .card > .icon ~ p, .cards--branchen .card > .icon ~ .link-arrow { display: none; }
  /* 3) Regions-Kacheln: kein Leerraum zwischen Text und „Zur Region“ */
  .beitraege--regionen .card p { flex: none; }
  .beitraege--regionen .card .link-arrow { margin-top: 10px; }
  /* 4) Beitrags-Kacheln (Ratgeber, Projekte, News): Bild im Breitformat statt 3:2 */
  .beitraege .card__bild { aspect-ratio: 2 / 1; }
}
@media (min-width: 701px) and (max-width: 960px) {
  /* 2) Startseite hochkant: 4 Merkmale, keine doppelten Kennzahlen, Zahlenband in einer Reihe mit 5 Feldern */
  .hero .chips li:nth-child(4), .hero .chips li:nth-child(5), .hero .chips li:nth-child(7) { display: none; }
  .hero .badges { display: none; }
  .facts.facts { grid-template-columns: repeat(5, 1fr); }   /* doppelte Klasse: schlägt die 3-Spalten-Regel weiter unten */
  .facts.facts li:nth-child(n) { border-right: 1px solid rgba(255, 255, 255, .1); border-top: 0; padding: 18px 10px 20px; }
  .facts.facts li:nth-child(n):last-child { border-right: 0; }
  .facts.facts strong { font-size: 1.7rem; }
  .facts.facts span { font-size: .72rem; letter-spacing: .04em; }
}

/* Aufklappbare Ortsliste (Regionen-Übersicht): am Desktop offen, auf dem Handy zu – 19.11.2026 */
.orte-klapp > summary { list-style: none; cursor: pointer; }
.orte-klapp > summary::-webkit-details-marker { display: none; }
.orte-klapp > summary h3 { display: inline-block; margin-bottom: .6em; }
@media (max-width: 700px) {
  .orte-klapp > summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
  .orte-klapp > summary h3 { margin: 0; }
  .orte-klapp > summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; margin-right: 4px; }
  .orte-klapp[open] > summary::after { transform: rotate(225deg); }
  .orte-klapp[open] > summary { margin-bottom: .6em; }
}

@media (max-width: 960px) {
  .hero--split .hero__inner { grid-template-columns: 1fr; }
  .feature-grid--3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .schnell .form__row { grid-template-columns: 1fr; }
  .chips li { font-size: .85rem; padding: 5px 10px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #aab5d1; font-size: .97rem; padding-top: clamp(56px, 7vw, 88px); }
.footer__grid { display: grid; grid-template-columns: 1.55fr repeat(4, 1fr); gap: 36px; padding-bottom: 44px; }
.footer__brand img { width: 210px; margin-bottom: 18px; }
.footer__brand > p { margin: 0 0 20px; line-height: 1.65; }
.footer__brand strong { display: block; margin-bottom: 4px; color: var(--white); }
.nowrap { white-space: nowrap; }
/* Kontaktliste mit Limetten-Symbolen (seit 16.11.2026) */
.footer__kontakt { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.footer__kontakt li { display: flex; align-items: flex-start; gap: 10px; color: #d3dbee; }
.footer__kontakt .icon { flex: none; width: 17px; height: 17px; margin-top: 3px; color: var(--lime); }
.footer__title { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .08em; color: var(--white); margin-bottom: 1em; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .95rem; }
.footer__mehr { margin-top: 6px; font-weight: 600; }
/* CTA-Leiste über der Fußzeile */
.footer__cta-leiste { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px; padding: 30px 0 34px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__cta-titel { margin: 0 0 4px; font-family: var(--f-head); font-weight: 700; font-size: 1.55rem; color: var(--white); }
.footer__cta-text { margin: 0; }
.footer__cta-leiste > div:first-child { flex: 1 1 380px; }
.footer__cta-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 0 auto; }
.footer__zeile { display: block; white-space: nowrap; }
.footer__firma { display: block; color: var(--white); font-weight: 600; }
.footer__hinweis { margin-top: 4px; font-size: .88rem; color: #aab5d1; }
.footer__cta-knoepfe .btn { min-height: 48px; }
.footer__btn-rand { border: 1px solid rgba(255, 255, 255, .45); color: var(--white); background: transparent; }
.footer__btn-rand:hover { border-color: var(--lime); color: var(--lime); }
.site-footer a:not(.btn) { color: #d3dbee; text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--lime); }
.site-footer .footer__mehr a { color: var(--lime); }
.site-footer .footer__mehr a:hover { color: var(--white); }
/* Geschäftszeiten als kleine Tabelle */
.footer__zeiten { margin: 18px 0 0; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); }
.footer__zeiten-titel { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--white); font-weight: 600; }
.footer__zeiten-titel .icon { width: 16px; height: 16px; color: var(--lime); }
.footer__zeiten dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; }
.footer__zeiten dt { color: #d3dbee; font-weight: 600; }
.footer__zeiten abbr { text-decoration: none; cursor: help; }
.footer__zeiten dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.footer__zeiten-hinweis { margin: 8px 0 0; font-size: .85rem; }
.footer__address strong { color: var(--white); }
.footer__contact a { display: inline-flex; align-items: center; gap: 8px; }
.footer__contact .icon { width: 16px; height: 16px; color: var(--lime); }
.social { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--lime); }
.site-footer .social a, .site-footer .social a:hover { color: var(--navy-900); }
.social a:hover { background: var(--white); }
.social svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; padding-bottom: 20px; }
.footer__bottom ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.mobile-cta { display: none; }

/* ---------- Animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav { gap: 16px; }
  .nav__item > a { padding: 10px 8px; font-size: 1.05rem; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: repeat(4, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
/* „Startseite“ nur im Handy-Menü (am PC führt das Logo zur Startseite) */
@media (min-width: 961px) { .nav__item--mobil { display: none; } }
/* 7 Hauptpunkte im Menü: auf schmalen PC-/Tablet-Breiten etwas kompakter, damit nichts umbricht */
@media (min-width: 1101px) { .nav__cta { white-space: nowrap; } }
@media (min-width: 961px) and (max-width: 1320px) {
  .nav { gap: 14px; }
  .nav__list { gap: 2px; }
  .nav__item > a { padding: 10px 7px; font-size: 1rem; letter-spacing: .02em; }
  .nav__cta { padding: .6em 1em; font-size: .95rem; }
}
/* Kleine Laptops / Tablet quer (961–1100 px): Knopf „Bauteil anfragen“ einzeilig – Abstände knapper, Pfeil-Symbol weg (17.11.2026) */
@media (min-width: 961px) and (max-width: 1100px) {
  .nav { gap: 10px; }
  .nav__item > a { padding: 10px 5px; font-size: .95rem; letter-spacing: .01em; }
  .nav__cta { white-space: nowrap; padding: .6em .85em; }
  .nav__cta .icon { display: none; }
  .logo img { width: 175px; }
}

@media (max-width: 960px) {
  :root { --header-h: 78px; }   /* 19.11.2026 von 66 px erhöht (zweizeiliges Logo) */
  /* Kein backdrop-filter auf dem Handy: sonst bezieht sich das fest positionierte Menü auf den Kopf statt auf den Bildschirm und wird abgeschnitten */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); }
  .topbar__claim { display: none; }
  .topbar__inner { justify-content: center; }
  .logo img { width: 160px; }   /* Logo-Höhe ca. 62 px */
  /* Tippflächen mind. 44 px (18.11.2026): Telefon/Mail oben, Logo, Pfeil-Links – Pfeil-Links per Polster + Gegenrand, Optik bleibt gleich */
  .topbar a { min-height: 44px; }
  /* Startseite: Schnellanfrage auf Handy/Tablet hinter den Leistungen (Hero sonst ~2400 px hoch); Knopf „Zeichnung senden“ springt hin */
  .js .hero .schnell { display: none; }
  .schnell-mobil { padding-bottom: clamp(48px, 8vw, 72px); }
  .schnell-mobil .schnell { max-width: 640px; margin-inline: auto; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 48px; padding: 12px; background: none; border: 0; cursor: pointer; margin-right: -8px; }
  .nav-toggle span { display: block; height: 2.5px; width: 24px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav { position: fixed; left: 0; right: 0; top: var(--nav-top, 104px); bottom: 0; height: auto; z-index: 99; overscroll-behavior: contain; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px; background: var(--white); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility .28s; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--steel-100); display: flex; flex-wrap: wrap; align-items: center; }
  .nav__item > a { flex: 1; min-width: 0; padding: 16px 4px; font-size: 1.35rem; }
  .nav__item > a.is-active { box-shadow: none; color: var(--navy-500); }
  .sub-toggle { display: grid; place-items: center; flex: none; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .sub-toggle::before { content: ""; width: 10px; height: 10px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
  .sub-toggle[aria-expanded="true"]::before { transform: rotate(225deg); }
  .sub { position: static; flex: 0 0 100%; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px 8px; display: none; min-width: 0; }
  .sub.is-open { display: block; }
  .sub--gruppen { display: none; width: 100%; max-width: none; }
  .sub--viele { translate: none; left: auto; }
  .sub--gruppen.is-open { display: block; }
  .sub__titel { padding: 14px 8px 2px; }
  .sub a { padding: 11px 8px; font-size: 1.05rem; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { transform: none; }
  /* Branchen auf dem Handy nur als einfacher Link zur Übersicht – ohne Aufklappliste (seit 17.11.2026) */
  .nav__item--mobil-link .sub-toggle, .nav__item--mobil-link .sub { display: none !important; }
  .nav__cta { margin-top: 24px; min-height: 54px; font-size: 1.2rem; }
  .nav__phone { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; margin-top: 16px; font-weight: 600; font-size: 1.1rem; text-decoration: none; color: var(--navy-700); }
  body.nav-open { overflow: hidden; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: -1; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts li:nth-child(3) { border-right: 0; }
  .facts li:nth-child(n+4) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .contact-cards { grid-template-columns: 1fr; }
  .layout-form { grid-template-columns: 1fr; }
  .form-aside { position: static; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .news article { grid-template-columns: 1fr; gap: 6px; }
  .news__kopf { grid-auto-flow: column; justify-content: start; align-items: center; }
  .mobile-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 90; gap: 8px; transform: translateY(calc(100% + 40px)); transition: transform .3s; }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 10px 14px; border-radius: var(--radius); white-space: nowrap; font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; box-shadow: 0 10px 30px rgba(7, 17, 46, .35); }
  .mobile-cta__anfrage { flex: 1; background: var(--lime); color: var(--navy-900); }
  .mobile-cta__tel { flex: none; background: var(--navy-700); color: var(--white); }
  .mobile-cta__anfrage:hover { color: var(--navy-900); }
  .mobile-cta__tel:hover { color: var(--white); }
  .mobile-cta.is-visible { transform: none; }
  @media (max-width: 359px) { .mobile-cta a { font-size: .98rem; padding: 10px; gap: 6px; } } /* sehr kleine Handys – 17.11.2026 */
  body.nav-open .mobile-cta, body.page-form .mobile-cta { display: none; }
  .site-footer { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .topbar__links { gap: 16px; font-size: .82rem; }
  .topbar__links a:last-child { display: none; }
  .btn-row .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li { border-right: 1px solid rgba(255, 255, 255, .1) !important; border-top: 1px solid rgba(255, 255, 255, .1); padding: 16px 14px; }
  .facts li:nth-child(even) { border-right: 0 !important; }
  .facts li:first-child, .facts li:nth-child(2) { border-top: 0; }
  .facts li:last-child { grid-column: 1 / -1; border-right: 0 !important; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery figcaption { font-size: .82rem; padding: 8px 10px; }
  .checklist--2 { grid-template-columns: 1fr; }
  .form__row, .form__row--3 { grid-template-columns: 1fr; gap: 0; }
  .form fieldset { padding: 18px 14px 4px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__links { font-size: .92rem; overflow-wrap: anywhere; }
  .footer__cta-knoepfe, .footer__cta-knoepfe .btn { width: 100%; }
  .timeline::before { left: 8px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 36px; }
  .timeline li::before { left: 1px; }
  .split__media::after { right: -8px; bottom: -8px; }
  .spec dl div { flex-direction: column; gap: 2px; }
  .spec dd { text-align: left; }
}

/* ---------- Knopf „Nach oben“ (seit 16.11.2026, Schalter NACH_OBEN_KNOPF in inc/config.php) ---------- */
.nach-oben { position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 89; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--navy-700); color: var(--white); box-shadow: 0 8px 24px rgba(7, 17, 46, .3); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s, bottom .3s, background-color .2s, color .2s; }
.nach-oben.is-visible { opacity: 1; visibility: visible; transform: none; }
.nach-oben:hover, .nach-oben:focus-visible { background: var(--lime); color: var(--navy-900); }
.nach-oben:focus-visible { outline: 3px solid var(--navy-700); outline-offset: 3px; }
body.nav-open .nach-oben { display: none; }
@media (max-width: 960px) {
  .nach-oben { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; }
  /* über der festen Anfrage-Leiste (54 px hoch + Abstände), solange diese sichtbar ist */
  .mobile-cta.is-visible ~ .nach-oben { bottom: calc(12px + 54px + 12px + env(safe-area-inset-bottom, 0px)); }
  body.page-form .mobile-cta.is-visible ~ .nach-oben { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .nach-oben { transition: none; } }
@media print { .nach-oben { display: none !important; } }
/* ---------- Kontakt-Reiter rechts (nur PC, seit 16.11.2026, Schalter KONTAKT_REITER in inc/config.php) ---------- */
.kontakt-reiter { display: none; }
/* Kontakt-Reiter ab Laptop-Breite (961 px) – vorher erst ab 1101 px (Nutzer 17.11.2026); darunter übernimmt die Handy-Leiste */
@media (min-width: 961px) {
  .kontakt-reiter { display: flex; align-items: center; position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 88; }
  .kontakt-reiter__griff { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 10px; border: 0; border-radius: 10px 0 0 10px; background: var(--navy-700); color: var(--white); font-family: var(--f-head); font-weight: 700; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; box-shadow: -4px 6px 20px rgba(7, 17, 46, .25); border-left: 3px solid var(--lime); transition: background-color .2s, color .2s; }
  .kontakt-reiter__griff span { writing-mode: vertical-rl; transform: rotate(180deg); }
  .kontakt-reiter__griff .icon { width: 18px; height: 18px; color: var(--lime); }
  .kontakt-reiter__griff:hover, .kontakt-reiter.is-open .kontakt-reiter__griff { background: var(--lime); color: var(--navy-900); }
  .kontakt-reiter__griff:hover .icon, .kontakt-reiter.is-open .kontakt-reiter__griff .icon { color: var(--navy-900); }
  .kontakt-reiter__griff:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
  .kontakt-reiter__panel { order: 2; position: relative; width: 340px; outline: none; padding: 22px 22px 20px; background: var(--white); border-radius: 10px 0 0 10px; box-shadow: -10px 12px 40px rgba(7, 17, 46, .28); animation: kr-auf .22s ease-out; }
  .kontakt-reiter__panel[hidden] { display: none; }
  .kontakt-reiter__zu { position: absolute; top: 8px; right: 10px; width: 34px; height: 34px; border: 0; background: none; font-size: 1.6rem; line-height: 1; color: var(--steel-600); cursor: pointer; border-radius: 50%; }
  .kontakt-reiter__zu:hover { background: var(--steel-100, #eef2f8); color: var(--navy-900); }
  .kontakt-reiter__person { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding-right: 26px; }
  .kontakt-reiter__foto { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--lime); }
  .kontakt-reiter__foto--initialen { display: grid; place-items: center; background: var(--navy-700); color: var(--white); font-family: var(--f-head); font-weight: 700; font-size: 1.6rem; letter-spacing: .04em; }
  .kontakt-reiter__kicker { margin: 0; white-space: nowrap; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-500, var(--navy-700)); }
  .kontakt-reiter__name { margin: 2px 0 0; font-family: var(--f-head); font-weight: 700; font-size: 1.35rem; color: var(--navy-900); line-height: 1.15; }
  .kontakt-reiter__rolle { margin: 2px 0 0; font-size: .88rem; color: var(--steel-600); line-height: 1.35; }
  .kontakt-reiter__liste { list-style: none; padding: 14px 0 0; margin: 0 0 16px; display: grid; gap: 10px; border-top: 1px solid var(--steel-200); }
  .kontakt-reiter__liste li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; color: var(--navy-900); }
  .kontakt-reiter__liste .icon { flex: none; width: 17px; height: 17px; margin-top: 3px; color: var(--navy-700); }
  .kontakt-reiter__liste a { color: var(--navy-900); font-weight: 600; text-decoration: none; }
  .kontakt-reiter__liste a:hover { color: var(--navy-700); text-decoration: underline; }
  .kontakt-reiter__btn { width: 100%; justify-content: center; min-height: 48px; }
  .kontakt-reiter__link { display: block; margin-top: 12px; text-align: center; font-weight: 600; font-size: .95rem; }
}
@keyframes kr-auf { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .kontakt-reiter__panel { animation: none; } }
@media print { .kontakt-reiter { display: none !important; } }

/* ---------- News-Reiter über dem Kontakt-Reiter (nur PC, 20.11.2026, Schalter NEWS_REITER in inc/config.php) ---------- */
.news-reiter { display: none; }
@media (min-width: 961px) {
  .news-reiter { display: block; position: fixed; right: 0; bottom: calc(50% + 84px); z-index: 89; }
  .news-reiter__griff { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 10px; border: 0; border-radius: 10px 0 0 10px; background: var(--navy-700); color: var(--white); font-family: var(--f-head); font-weight: 700; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; box-shadow: -4px 6px 20px rgba(7, 17, 46, .25); border-left: 3px solid var(--lime); transition: background-color .2s, color .2s; }
  .news-reiter__griff span { writing-mode: vertical-rl; transform: rotate(180deg); }
  .news-reiter__griff .icon { width: 18px; height: 18px; color: var(--lime); }
  .news-reiter__griff:hover, .news-reiter.is-open .news-reiter__griff { background: var(--lime); color: var(--navy-900); }
  .news-reiter__griff:hover .icon, .news-reiter.is-open .news-reiter__griff .icon { color: var(--navy-900); }
  .news-reiter__griff:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
  .news-reiter__griff .news-reiter__neu { position: absolute; top: -9px; left: -12px; padding: 2px 7px; writing-mode: horizontal-tb; transform: none; border-radius: 20px; background: var(--lime); color: var(--navy-900); font-size: .62rem; letter-spacing: .06em; box-shadow: 0 0 0 2px var(--white); }
  .news-reiter.is-open .news-reiter__neu { background: var(--navy-700); color: var(--white); }
  .news-reiter__panel { position: absolute; top: 0; right: 100%; width: 360px; padding: 22px 22px 20px; background: var(--white); border-radius: 10px 0 10px 10px; box-shadow: -10px 12px 40px rgba(7, 17, 46, .28); animation: kr-auf .22s ease-out; outline: none; }
  .news-reiter__panel[hidden] { display: none; }
  .news-reiter__zu { position: absolute; top: 8px; right: 10px; width: 34px; height: 34px; border: 0; background: none; font-size: 1.6rem; line-height: 1; color: var(--steel-600); cursor: pointer; border-radius: 50%; }
  .news-reiter__zu:hover { background: var(--steel-100, #eef2f8); color: var(--navy-900); }
  .news-reiter__kicker { margin: 0 30px 6px 0; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-500, var(--navy-700)); }
  .news-reiter__titel { margin: 0 26px 10px 0; font-family: var(--f-head); font-weight: 700; font-size: 1.3rem; line-height: 1.2; color: var(--navy-900); }
  .news-reiter__text { margin: 0 0 16px; font-size: .95rem; line-height: 1.5; color: var(--steel-700, #3a4560); }
  .news-reiter__btn { width: 100%; justify-content: center; min-height: 48px; }
  .news-reiter__link { display: block; margin-top: 12px; text-align: center; font-weight: 600; font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { .news-reiter__panel { animation: none; } }
@media print { .news-reiter { display: none !important; } }
/* Pfeil nach unten in Knöpfen, die auf derselben Seite nach unten springen (z. B. /kontakt/) */
.icon-runter { display: inline-flex; }
.icon-runter .icon { transform: rotate(90deg); }
#kontaktdaten, #kontaktformular { scroll-margin-top: calc(var(--header-h) + 16px); }

@media (max-width: 640px) { .timeline li.timeline__klein::before { left: 4px; } }

/* ---------- Firmenhistorie als drei Generationen-Karten (/ueber-uns/, seit 16.11.2026) ---------- */
.generationen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.generation { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--steel-200); border-top: 4px solid var(--navy-700); border-radius: var(--radius-lg); padding: 26px 24px 22px; }
.generation__nr { margin: 0 0 4px; font-family: var(--f-head); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-500); }
.generation h3 { margin: 0; font-size: 1.7rem; }
.generation__zeit { margin: 4px 0 18px; padding-bottom: 16px; border-bottom: 1px solid var(--steel-200); font-weight: 600; color: var(--steel-600); }
.generation__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.generation__liste li { display: grid; grid-template-columns: 62px 1fr; gap: 12px; font-size: .95rem; line-height: 1.45; color: var(--steel-600); }
.generation__jahr { font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; color: var(--navy-700); line-height: 1.35; }
.generation__liste li.ist-meilenstein { padding: 10px 12px; margin: 0 -12px; border-radius: 8px; background: rgba(201, 236, 44, .16); border-left: 3px solid var(--lime); color: var(--navy-900); }
/* heutige Generation hervorgehoben */
.generation--heute { background: var(--navy-800, #0b1a4a); border-color: var(--navy-800, #0b1a4a); border-top-color: var(--lime); color: var(--white); }
.generation--heute h3 { color: var(--white); }
.generation--heute .generation__nr { color: var(--lime); }
.generation--heute .generation__zeit { color: #aab5d1; border-color: rgba(255, 255, 255, .15); }
.generation--heute .generation__liste li { color: #d3dbee; }
.generation--heute .generation__jahr { color: var(--lime); }
.generation--heute .generation__liste li.ist-meilenstein { background: rgba(201, 236, 44, .12); color: var(--white); }
.generation--heute strong { color: var(--white); }
@media (max-width: 1000px) { .generationen { grid-template-columns: 1fr; max-width: 680px; } }/* „Heute“-Block in der dritten Generation */
.generation__heute-titel { margin: 22px 0 10px; font-family: var(--f-head); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.generation--heute .checklist li { color: #d3dbee; font-size: .95rem; line-height: 1.45; }
.generation--heute .checklist .icon { color: var(--navy-900); background: var(--lime); flex: none; }
.generation__btn { margin-top: auto; align-self: flex-start; }
.generation--heute .checklist { margin-bottom: 26px; }
/* ---------- Fußbereich (neu seit 17.11.2026, Entwurf footer-entwurf-mischung.html) ---------- */
.site-footer.f2 { padding-top: 0; font-size: 1rem; }
.f2__oben { display: grid; grid-template-columns: minmax(280px, 1.3fr) repeat(4, auto); justify-content: space-between; gap: 30px; padding-top: clamp(48px, 6vw, 64px); padding-bottom: 52px; }
.f2 .footer__brand > p { max-width: 330px; }
.f2 .footer__brand > p.f2__vertrauen { margin: -8px 0 20px; font-size: .85rem; letter-spacing: .03em; color: var(--lime); font-weight: 600; }
.f2 .footer__kontakt a { color: #d3dbee; }
.f2__folgen { margin: 30px 0 12px; color: var(--white); font-size: 1.05rem; }
.f2__social { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; }
.f2__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: var(--white) !important; transition: background .2s, color .2s; }
.f2__social a:hover { background: var(--lime); color: var(--navy-900) !important; }
.f2__social svg { width: 20px; height: 20px; }
.f2__titel { font-family: var(--f-head); font-size: 1.45rem; font-weight: 700; color: var(--white); margin: 4px 0 26px; white-space: nowrap; line-height: 1.08; letter-spacing: .005em; }
.f2__titel button { all: unset; font: inherit; color: inherit; cursor: default; }
.f2__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 15px; }
.f2__links a { color: #e3e8f4 !important; font-size: 1.05rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; }
.f2__links a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); opacity: .8; transition: transform .2s; }
.f2__links a:hover { color: var(--lime) !important; }
.f2__links a:hover::after { transform: translateX(3px) rotate(45deg); }
.f2__mehr a { color: var(--lime) !important; font-weight: 600; }
.f2__mehr a:hover { color: var(--white) !important; }
.f2__status { margin-top: 6px; font-weight: 600; color: #ff8a8a; display: inline-flex !important; align-items: center; gap: 7px; }
.f2__status[hidden] { display: none !important; }
.f2__status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #ff5a5a; box-shadow: 0 0 0 3px rgba(255, 90, 90, .22); }
.f2__status.ist-offen { color: #6ff0a6; }
.f2__status.ist-offen::before { background: #3ddc84; box-shadow: 0 0 0 3px rgba(61, 220, 132, .2); }
.f2__unten { border-top: 1px solid rgba(255, 255, 255, .1); }
.f2__unten-innen { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 30px; padding-top: 22px; padding-bottom: 22px; font-size: .92rem; }
.f2__recht { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.f2__recht a { color: #e3e8f4 !important; text-decoration: underline !important; text-underline-offset: 3px; }
.f2__recht a:hover { color: var(--lime) !important; }
.f2__copy { color: #aab5d1; }
/* Tastaturbedienung: sichtbarer Rahmen auf dunklem Grund */
.f2 a:focus-visible, .f2 button:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 3px; }
@media (max-width: 1100px) { .f2__oben { grid-template-columns: repeat(4, auto); } .f2__marke { grid-column: 1 / -1; } }
@media (max-width: 900px) { .f2__oben { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .f2__oben { grid-template-columns: 1fr; gap: 0; padding-top: 44px; padding-bottom: 36px; }
  .f2__marke { margin-bottom: 26px; }
  .f2__unten-innen { flex-direction: column; align-items: flex-start; }
  /* Linkspalten aufklappbar (nur wenn main.js läuft – ohne Skript bleiben sie offen) */
  .f2--klapp .f2__oben nav { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .f2--klapp .f2__titel { margin: 0; font-size: 1.3rem; }
  .f2--klapp .f2__titel button { box-sizing: border-box; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; }
  .f2--klapp .f2__titel button::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(45deg); transition: transform .2s; margin-right: 4px; }
  .f2--klapp .f2__titel button[aria-expanded="true"]::after { transform: rotate(225deg); }
  .f2--klapp .f2__oben nav .f2__links { display: none; padding-bottom: 18px; }
  .f2--klapp .f2__oben nav.ist-offen .f2__links { display: grid; }
}
/* Formulare: Fehler direkt am Feld (Rechenaufgabe, Nachricht) – seit 17.11.2026 */
.field .sicherheit__frage { font-weight: 400; }
.field .sicherheit__frage strong { font-weight: 700; color: var(--ink); }
.field.ist-falsch input, .field.ist-falsch textarea { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, .15); }
.feld-fehler { margin: 6px 0 0; color: #a12a1b; font-weight: 600; font-size: .92rem; }.consent.ist-falsch { color: #a12a1b; }
.consent.ist-falsch input { outline: 2px solid #c0392b; outline-offset: 2px; }
/* ---------- Schnellmenü unten (seit 17.11.2026) – ersetzt die frühere Handy-Leiste; auch am PC (Nutzer) ---------- */
.mobile-cta.dock { display: flex; position: fixed; left: 50%; right: auto; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  gap: 6px; padding: 8px; background: #11182b; border-radius: 16px; box-shadow: 0 14px 40px rgba(7, 17, 46, .35);
  transform: translate(-50%, calc(100% + 40px)); transition: transform .3s; }
.mobile-cta.dock.is-visible { transform: translate(-50%, 0); }
.mobile-cta.dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 96px; min-height: 0;
  padding: 10px 14px 9px; border-radius: 11px; background: transparent; color: var(--white); box-shadow: none; text-decoration: none;
  font-family: var(--f-body, inherit); font-weight: 600; font-size: .95rem; letter-spacing: .01em; text-transform: none; white-space: nowrap; transition: background .2s, color .2s; }
.mobile-cta.dock a:hover { background: rgba(255, 255, 255, .08); color: var(--white); }
.mobile-cta.dock svg { width: 28px; height: 28px; }
.mobile-cta.dock a.dock__haupt { background: var(--lime); color: var(--navy-900); }
.mobile-cta.dock a.dock__haupt:hover { background: #d8f25a; color: var(--navy-900); }
.mobile-cta.dock a.dock__haupt:focus-visible { outline-color: var(--white); }
body.nav-open .mobile-cta.dock, body.page-form .mobile-cta.dock { display: none; }
@media (max-width: 640px) {
  .mobile-cta.dock { left: 0; right: 0; bottom: 0; transform: translateY(calc(100% + 20px)); border-radius: 16px 16px 0 0;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px)); justify-content: space-between; }
  .mobile-cta.dock.is-visible { transform: none; }
  .mobile-cta.dock a { flex: 1; min-width: 0; padding: 8px 4px 7px; font-size: .8rem; gap: 4px; }
  .mobile-cta.dock svg { width: 25px; height: 25px; }
  .mobile-cta.dock.is-visible ~ .nach-oben { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .mobile-cta.dock, .mobile-cta.dock a { transition: none; } }
/* Schnellmenü verkleinern / vergrößern (18.11.2026) – Knopf rechts im Menü; verkleinert bleibt ein schmaler Reiter „Schnellzugriff“ */
.dock__links { display: contents; }
.dock__klein { display: flex; align-items: center; justify-content: center; gap: 6px; flex: none; width: 34px; padding: 0; border: 0; border-radius: 11px;
  background: transparent; color: rgba(255, 255, 255, .7); cursor: pointer; font: 600 .9rem/1 var(--f-body, inherit); transition: background .2s, color .2s; }
.dock__klein:hover { background: rgba(255, 255, 255, .08); color: var(--white); }
.dock__klein:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.dock__klein svg { width: 22px; height: 22px; transition: transform .2s; }
.dock__klein-text { display: none; }
.mobile-cta.dock.ist-klein { padding: 6px; }
.mobile-cta.dock.ist-klein .dock__links { display: none; }
.mobile-cta.dock.ist-klein .dock__klein { width: auto; padding: 9px 16px; color: var(--white); }
.mobile-cta.dock.ist-klein .dock__klein svg { transform: rotate(180deg); }
.mobile-cta.dock.ist-klein .dock__klein-text { display: inline; }
@media (max-width: 640px) {
  .dock__klein { width: 28px; }
  .mobile-cta.dock.ist-klein { left: 50%; right: auto; transform: translate(-50%, calc(100% + 20px)); padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)); }
  .mobile-cta.dock.ist-klein.is-visible { transform: translate(-50%, 0); }
  .mobile-cta.dock.ist-klein.is-visible ~ .nach-oben { bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .dock__klein, .dock__klein svg { transition: none; } }
/* Entwürfe als „Geist“ (18.11.2026) – erscheinen NUR in der lokalen Vorschau (vorschau_modus() in inc/config.php) */
.ist-entwurf, .js .reveal.is-visible.ist-entwurf { position: relative; opacity: .5; border: 2px dashed #b8860b !important; }
.ist-entwurf:hover, .ist-entwurf:focus-within, .js .reveal.is-visible.ist-entwurf:hover, .js .reveal.is-visible.ist-entwurf:focus-within { opacity: .85; }
.news article.ist-entwurf { padding-top: 44px; border-radius: var(--radius-lg); }
.projekte-geist { padding-top: 56px; padding-bottom: 24px; border-radius: var(--radius-lg, 14px); }
.entwurf-marke { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 10px; border-radius: 4px; background: #ffe58a; color: #5c4400;
  font-family: var(--f-head); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.entwurf-band { background: #ffe58a; color: #5c4400; text-align: center; padding: 10px 16px; font-size: .95rem; }
/* ---------- „Seite weiterleiten“ (seit 17.11.2026, Entwurf Entwuerfe/weiterleiten/) ---------- */
.section--weiter { padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(28px, 4vw, 44px); }
.weiter { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 24px; align-items: center; background: var(--white); border: 1px solid var(--steel-200); border-left: 4px solid var(--lime); border-radius: var(--radius-lg); padding: 22px 26px; box-shadow: 0 6px 24px rgba(7, 17, 46, .06); }
.weiter__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--navy-900); color: var(--lime); display: grid; place-items: center; }
.weiter__icon svg { width: 26px; height: 26px; }
.weiter .weiter__titel { margin: 0 0 4px; font-family: var(--f-head); font-weight: 700; font-size: 1.35rem; color: var(--navy-900); }
.weiter__text { margin: 0; color: var(--steel-600); }
.weiter__knoepfe { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.weiter__knoepfe .btn { min-height: 48px; white-space: nowrap; }
.weiter__wahl { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.weiter__wahl label { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--steel-200); border-radius: 20px; font-size: .9rem; cursor: pointer; color: var(--ink); font-weight: 500; }
.weiter__wahl input { accent-color: var(--navy-500); margin: 0; }
.weiter__wahl label:has(input:checked) { border-color: var(--navy-500); background: #eef2fb; }
.btn--rand { border: 2px solid var(--navy-500); color: var(--navy-500); background: transparent; }
.btn--rand:hover { background: var(--navy-500); color: var(--white); }
.weiter__ok { grid-column: 1 / -1; margin: 0; font-weight: 600; color: #1f7a45; }
.weiter__ok[hidden] { display: none; }
.weiter-klein { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 18px 0 0; font-size: .95rem; color: var(--steel-600); }
.weiter-klein a, .weiter-klein button { background: none; border: 0; padding: 0; font: inherit; color: var(--navy-500); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 760px) {
  .weiter { grid-template-columns: 1fr; padding: 20px; }
  .weiter__icon { display: none; }
  .weiter__knoepfe .btn { flex: 1 1 100%; justify-content: center; }
}
.section__title + .weiter-klein { margin: -6px 0 22px; }

/* ---------- PC- & Laptop-Verbesserungen 19.11.2026 (Entwurf Entwuerfe/pc-laptop/, Handy/Tablet unverändert) ---------- */
/* 1) Niedrige Bildschirme (Laptop 1366×768 ≈ 650 px sichtbar): Kopfbereich kompakter, Knöpfe ohne Scrollen sichtbar */
@media (min-width: 961px) and (max-height: 820px) {
  .page-hero__inner { padding-top: 36px; padding-bottom: 40px; }
  .page-hero h1 { font-size: clamp(2.2rem, 3.5vw, 3.2rem); max-width: 26ch; }
  .page-hero .lead { margin-bottom: 1.2em; }
  .hero--split .hero__inner { align-items: start; padding-top: 40px; }
  .hero h1 { font-size: clamp(2.3rem, 3.9vw, 3.4rem); }
}
/* 2) Genau 5 Kacheln (z. B. „Weitere Fräsleistungen“): keine einzelne Kachel in der letzten Reihe */
@media (min-width: 961px) and (max-width: 1199px) { .cards:has(> .card:nth-child(5):last-child) { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) {
  .cards:has(> .card:nth-child(5):last-child) { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .cards:has(> .card:nth-child(5):last-child) > .card { padding: 22px 20px; }
}
/* 3) Branchen-Kacheln (Startseite + unten auf Branchenseiten): Symbol + Name in 4 Spalten – Texte bleiben im HTML.
      /branchen/ zeigt weiterhin die Kacheln mit Beschreibung (ohne .cards--kompakt) */
@media (min-width: 1101px) {
  .cards--branchen.cards--kompakt { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .cards--branchen.cards--kompakt .card { display: flex; flex-direction: row; align-items: center; gap: 14px; padding: 18px; }
  .cards--branchen.cards--kompakt .card > .icon { width: 32px; height: 32px; padding: 8px; margin: 0; flex: none; }
  .cards--branchen.cards--kompakt .card > .icon ~ h3 { font-size: 1.12rem; line-height: 1.2; margin: 0; }
  .cards--branchen.cards--kompakt .card > .icon ~ p, .cards--branchen.cards--kompakt .card > .icon ~ .link-arrow { display: none; }
}
/* Kontakt: Seitenkasten (Anfahrt + Google-Bewertung, 19.11.2026) ist höher als niedrige Laptop-Bildschirme → dort nicht mitlaufen lassen */
@media (max-height: 820px) { .form-aside { position: static; } }

/* Google-Bewertung dezent unter den Social-Symbolen (19.11.2026) */
.f2__bewertung { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 14px; padding: 6px 0; font-size: .9rem; color: #aab5d1; text-decoration: none; }
.f2__bewertung strong { color: var(--white); }
.f2__bewertung:hover, .f2__bewertung:focus-visible { color: var(--white); text-decoration: underline; }
.f2__sterne { color: var(--lime); letter-spacing: 1px; font-size: 1rem; }

/* Bild-Slider: Ausschnitt je Folie (style="--bildpos:…" an der figure), 19.11.2026 */
.bild-slider__bild img { object-position: var(--bildpos, 50% 50%); }

/* Genau 6 Kacheln (z. B. Fräs-Unterseiten auf /cnc-fraesen/): am PC 3 je Reihe statt 4 + 2 (Nutzer 19.11.2026) */
@media (min-width: 961px) { .cards:has(> .card:nth-child(6):last-child) { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Downloads (/downloads/, Entwurf 19.11.2026) ---------- */
.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.download { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--steel-200); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.download:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.download__bild { position: relative; display: block; padding: 26px 34px 0; background: linear-gradient(160deg, var(--steel-100), var(--steel-50)); height: 280px; overflow: hidden; }
.download__bild img { display: block; width: 100%; height: auto; border-radius: 4px 4px 0 0; box-shadow: 0 6px 22px rgba(7, 17, 46, .18); }
.download__marke { position: absolute; top: 14px; right: 14px; padding: 3px 10px; border-radius: 5px; background: var(--lime); color: var(--navy-900); font-family: var(--f-head); font-weight: 700; font-size: .9rem; letter-spacing: .04em; }
.download__text { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; border-top: 3px solid var(--lime); }
.download__text h2 { font-size: 1.45rem; margin: 0 0 .25em; }
.download__meta { display: flex; align-items: flex-start; gap: 6px; font-size: .92rem; color: var(--steel-600); margin: 0 0 .8em; }
.download__meta .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--navy-500); }
.download__text > p:not(.download__meta) { color: var(--steel-600); flex: 1; }
.download .btn-row { align-items: center; gap: 12px 20px; margin-top: 6px; }
.download .btn { min-height: 46px; font-size: 1.05rem; padding: .6em 1.2em; }
.downloads__hinweis { margin: 30px 0 0; text-align: center; color: var(--steel-600); }
.downloads__hinweis a { font-weight: 600; }
@media (max-width: 1100px) and (min-width: 701px) {
  .downloads { grid-template-columns: 1fr; }
  .download { flex-direction: row; }
  .download__bild { flex: 0 0 260px; height: auto; min-height: 250px; padding: 22px 26px 0; }
  .download__text { border-top: 0; border-left: 3px solid var(--lime); }
}
@media (max-width: 700px) {
  .downloads { grid-template-columns: 1fr; gap: 18px; }
  .download__bild { height: 220px; padding: 20px 50px 0; }
  .download .btn { width: 100%; }
}

/* ---------- Regionen-Liste auf /cnc-zerspanung/ (19.11.2026, Weg 3: überall zugeklappt, <details> ohne Skript) ---------- */
.regionen-liste ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 14px; }
.regionen-liste li a { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 100%; padding: 13px 16px; background: var(--white); border: 1px solid var(--steel-200); border-left: 3px solid var(--lime); border-radius: var(--radius); font-family: var(--f-head); font-weight: 600; font-size: 1.08rem; line-height: 1.25; color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.regionen-liste li a .rk-pre { font-weight: 500; color: var(--steel-600); }
.regionen-liste li a .icon { flex: none; color: var(--navy-500); transition: transform .2s; }
.regionen-liste li a:hover { border-color: var(--navy-500); border-left-color: var(--lime); box-shadow: var(--shadow); transform: translateY(-2px); }
.regionen-liste li a:hover .icon { transform: translateX(3px); }
.regionen-liste__alle { margin: 22px 0 0; }
@media (max-width: 960px) { .regionen-liste ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .regionen-liste ul { grid-template-columns: 1fr; gap: 8px; } .regionen-liste li a { padding: 11px 14px; font-size: 1rem; } }
/* Weg 3: überall zugeklappt, ohne Skript (<details>). Zeile zum Aufklappen auf allen Geräten. */
.regionen-auf > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; max-width: 380px; padding: 14px 18px; background: var(--white); border: 1px solid var(--steel-200); border-left: 3px solid var(--lime); border-radius: var(--radius); font-family: var(--f-head); font-weight: 600; font-size: 1.12rem; color: var(--ink); cursor: pointer; list-style: none; transition: border-color .2s, box-shadow .2s; }
.regionen-auf > summary:hover { border-color: var(--navy-500); border-left-color: var(--lime); box-shadow: var(--shadow); }
.regionen-auf > summary::-webkit-details-marker { display: none; }
.regionen-auf > summary .pfeil { flex: none; width: 22px; height: 22px; color: var(--navy-500); transition: transform .2s; }
.regionen-auf[open] > summary { margin-bottom: 12px; }
.regionen-auf[open] > summary .pfeil { transform: rotate(180deg); }
.regionen-auf > summary .zu { display: none; }
.regionen-auf[open] > summary .auf { display: none; }
.regionen-auf[open] > summary .zu { display: inline; }
@media (max-width: 600px) { .regionen-auf > summary { max-width: none; padding: 14px 16px; font-size: 1.08rem; } .regionen-auf[open] > summary { margin-bottom: 8px; } }

/* ---------- Band „Ersatzteil- & Reparaturfertigung“ (Startseite, 20.11.2026, Baustein ersatzteil_band() in inc/bloecke.php) ---------- */
.et-band { position: relative; overflow: hidden; background: linear-gradient(110deg, var(--navy-900), var(--navy-700)); color: #d3dbee; }
.et-band::after { content: ""; position: absolute; right: -90px; top: -120px; width: 300px; height: 300px; border: 40px solid rgba(201, 236, 44, .10); border-radius: 50%; pointer-events: none; }
.et-band :focus-visible { outline-color: var(--lime); }
.et-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.et-band .kicker { color: var(--lime); }
.et-band h2 { color: var(--white); }
.et-band__text > p { max-width: 60ch; color: #d3dbee; }
.et-schritte { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: et; }
.et-schritte li { counter-increment: et; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; font-size: .95rem; line-height: 1.35; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #e6ebf7; }
.et-schritte li::before { content: counter(et); flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--navy-900); font-family: var(--f-head); font-weight: 700; }
.et-schritte strong { display: block; font-family: var(--f-head); font-size: 1.05rem; letter-spacing: .01em; color: var(--white); }
.et-schritte a { color: var(--lime); }
.et-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.et-link { color: var(--white); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.et-link:hover { color: var(--lime); }
.et-tel { margin: 14px 0 0; font-size: .95rem; color: #c4cee6; }
.et-tel a { color: var(--lime); font-weight: 600; }
.et-band__bild img { display: block; width: 100%; height: auto; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg, 14px); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
@media (max-width: 960px) {
  .et-band__inner { grid-template-columns: 1fr; }
  .et-band__bild { display: none; }
  .et-schritte { grid-template-columns: 1fr; }
}
/* Praxisbeispiel im Ersatzteil-Band (Startseite, 22.11.2026) */
.et-praxis { display: flex; gap: 16px; align-items: center; margin-top: 22px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-lg, 14px); background: rgba(255, 255, 255, .05); color: #d3dbee; text-decoration: none; max-width: 60ch; transition: border-color .2s, background .2s; }
.et-praxis:hover { border-color: var(--lime); background: rgba(255, 255, 255, .08); }
.et-praxis__fotos { display: flex; gap: 8px; flex: none; }
.et-praxis__foto { position: relative; display: block; width: 66px; }
.et-praxis__foto img { display: block; width: 66px; height: 88px; object-fit: cover; border-radius: 8px; }
.et-praxis__foto > span { position: absolute; left: 4px; right: 4px; bottom: 4px; text-align: center; font-size: .62rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; border-radius: 999px; padding: 1px 0; background: rgba(11, 28, 61, .85); color: var(--white); }
.et-praxis__foto:last-child > span { color: var(--lime); }
.et-praxis__text { display: grid; gap: 3px; font-size: .9rem; line-height: 1.45; }
.et-praxis__kicker { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.et-praxis__text strong { color: var(--white); font-size: 1rem; }
.et-praxis__mehr { color: var(--white); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) { .et-praxis { flex-direction: column; align-items: flex-start; } }
/* ---------- Anfrageformular: Hinweis bei Haken „Ersatzteil“ (20.11.2026, Ein-/Ausblenden in main.js) ---------- */
.et-hinweis { margin: 4px 0 18px; padding: 16px 18px 14px; border: 1px solid var(--steel-200); border-left: 5px solid var(--lime); border-radius: 10px; background: var(--steel-50, #f5f7fb); color: var(--navy-900); }
.et-hinweis[hidden] { display: none; }
.et-hinweis__titel { margin: 0 0 8px; font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; line-height: 1.25; }
.et-hinweis ul { margin: 0 0 10px; padding: 0; list-style: none; display: grid; gap: 6px; }
.et-hinweis li { position: relative; padding-left: 28px; font-size: .95rem; line-height: 1.4; }
/* einheitlicher Haken (22.11.2026): Limetten-Kreis + dunkelblauer Haken wie .checklist */
.et-hinweis li::before { content: ""; position: absolute; left: 0; top: .1em; width: 19px; height: 19px; border-radius: 50%; background: var(--lime); }
.et-hinweis li::after { content: ""; position: absolute; left: 5px; top: calc(.1em + 5px); width: 9px; height: 5px; border-left: 2px solid var(--navy-900); border-bottom: 2px solid var(--navy-900); transform: rotate(-45deg); }
.et-hinweis p { margin: 0; font-size: .93rem; line-height: 1.45; color: var(--steel-700, #3a4560); }
.et-hinweis p + p { margin-top: 6px; }
/* ---------- Ersatzteilseite: PDF-Knopf mittig unter den Kacheln „Warum Instandhalter …“ (21.11.2026) ---------- */
.et-pdf { margin-top: clamp(28px, 4vw, 44px); text-align: center; }
.et-pdf p { margin: 12px 0 0; font-size: .95rem; color: #c4cee6; }
.et-pdf p a { color: var(--white); font-weight: 600; }
.et-pdf p a:hover { color: var(--lime); }
/* ---------- Leistungen-Menü: Icons vor den Menüpunkten (21.11.2026, Variante A) ----------
   PC/Laptop und Tablet: Icon 24 px auf hellem Feld. Handy (≤ 640 px, Nutzer 21.11.2026): leichter – 20 px, ohne Feld. */
.sub a.sub__mi { display: flex; align-items: center; gap: 11px; }
.sub__mi .icon { display: block; flex: none; width: 24px; height: 24px; padding: 3px; box-sizing: content-box; border-radius: 7px; background: var(--steel-100, #eef2f8); color: var(--navy-700); transition: background-color .15s, color .15s; }
.sub a.sub__mi:hover .icon, .sub a.sub__mi:focus-visible .icon, .sub a.sub__mi[aria-current="page"] .icon { background: var(--lime); color: var(--navy-900); }
@media (max-width: 640px) {
  .sub a.sub__mi { gap: 12px; }
  .sub__mi .icon { width: 20px; height: 20px; padding: 0; background: none; }
  .sub a.sub__mi:hover .icon, .sub a.sub__mi:focus-visible .icon { background: none; color: var(--navy-900); }
  .sub a.sub__mi[aria-current="page"] .icon { background: none; color: var(--navy-700); }
}
@media (prefers-reduced-motion: reduce) { .sub__mi .icon { transition: none; } }
/* ---------- Projektfotos: Galerie mit Etikett + Bildunterschrift, Klick vergrößert (22.11.2026, inc/news.php + main.js) ---------- */
.galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 1.4rem 0 2.2rem; }
.galerie figure { margin: 0; display: flex; flex-direction: column; background: var(--white, #fff); border: 1px solid var(--steel-200, #dfe5ef); border-radius: 12px; overflow: hidden; }
.galerie__link { display: block; aspect-ratio: 3 / 4; overflow: hidden; cursor: zoom-in; }
.galerie__link img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.galerie__link:hover img { transform: scale(1.03); }
.galerie__link:focus-visible { outline: 3px solid var(--lime); outline-offset: -3px; }
.galerie figcaption { padding: 10px 12px 12px; font-size: .9rem; line-height: 1.4; color: var(--steel-700, #3a4560); }
.galerie__tag { display: table; margin-bottom: 5px; padding: 2px 8px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--steel-100, #eef2f8); color: var(--navy-700); }
.galerie__tag--vorher { background: #f3e6dc; color: #6b3a12; }
.galerie__tag--nachher { background: var(--navy-700); color: var(--lime); }
@media (max-width: 820px) { .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .galerie { gap: 10px; } .galerie figcaption { padding: 8px 10px 10px; font-size: .82rem; } }
@media (prefers-reduced-motion: reduce) { .galerie__link img { transition: none; } }
.galerie-gross { max-width: min(92vw, 900px); max-height: 92vh; padding: 0; border: 0; border-radius: 12px; background: var(--navy-900); color: var(--white, #fff); overflow: hidden; }
.galerie-gross::backdrop { background: rgba(7, 17, 46, .85); }
.galerie-gross img { display: block; max-width: 100%; max-height: calc(92vh - 56px); margin: 0 auto; object-fit: contain; }
.galerie-gross p { margin: 0; padding: 12px 56px 14px 16px; font-size: .95rem; line-height: 1.4; }
.galerie-gross__zu { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--navy-700); color: var(--white, #fff); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.galerie-gross__zu:hover, .galerie-gross__zu:focus-visible { background: var(--lime); color: var(--navy-900); }
/* ---------- Ratgeber: eingebettete Grafik (SVG) mit Bildunterschrift (22.11.2026, Ratgeber Passungen) ---------- */
.artikel-grafik { margin: 1.4rem 0 1.8rem; }
.artikel-grafik svg { display: block; width: 100%; height: auto; border: 1px solid var(--steel-200, #dfe5ef); border-radius: 12px; background: #fff; }
/* Symbole für Form- und Lagetoleranzen (DIN EN ISO 1101) als kleine SVGs in Tabellen – Schrift kennt die Unicode-Zeichen nicht */
.gdt-zelle { text-align: center; width: 64px; }
.gdt { display: inline-block; width: 30px; height: 30px; padding: 3px; vertical-align: middle; border: 1.5px solid var(--navy-700, #0a1f5c); border-radius: 3px; background: #fff; fill: none; stroke: var(--navy-700, #0a1f5c); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gdt .gdt-voll { fill: var(--navy-700, #0a1f5c); stroke: none; }
.tabelle--gdt { table-layout: fixed; min-width: 640px; }
.tabelle--gdt thead th:nth-child(1) { width: 72px; }
.tabelle--gdt thead th:nth-child(2) { width: 150px; }
.tabelle--gdt thead th:nth-child(3) { width: 96px; }
.tabelle--gdt thead th:nth-child(5) { width: 26%; }
.artikel-grafik figcaption { margin-top: 8px; font-size: .9rem; line-height: 1.45; color: var(--steel-600, #4a5468); }
/* ---------- Vorher/Nachher-Regler (22.11.2026, Räumen-Seite; Schieben in main.js) ---------- */
.vgl { position: relative; aspect-ratio: 1000 / 691; border-radius: 16px; overflow: hidden; background: #fff; user-select: none; touch-action: pan-y; }
.split__media .vgl img, .vgl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; border-radius: 0; }
.vgl .vgl__oben { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.vgl__linie { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: var(--navy-700); pointer-events: none; }
.vgl__griff { position: absolute; top: 50%; left: var(--pos, 50%); width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--navy-700); color: var(--white, #fff); display: grid; place-items: center; font-size: 1rem; font-weight: 700; box-shadow: 0 4px 14px rgba(7, 17, 46, .3); pointer-events: none; }
.vgl input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.vgl input:focus-visible ~ .vgl__griff { outline: 3px solid var(--lime); outline-offset: 2px; }
.vgl__tag { position: absolute; z-index: 2; top: 12px; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; pointer-events: none; }
.vgl__tag--vorher { background: #f3e6dc; color: #6b3a12; }
.vgl__tag--nachher { background: var(--navy-700); color: var(--lime); }
.vgl__tag--links { left: 12px; } .vgl__tag--rechts { right: 12px; }
.vgl-text { margin: 12px 2px 0; font-size: .9rem; line-height: 1.45; color: var(--steel-700, #4a5468); }