/* ==========================================================================
   A&S Tief- und Straßenbau GmbH – Stylesheet
   Schrift: Barlow / Barlow Condensed (SIL OFL 1.1, lokal gehostet)
   ========================================================================== */

/* ---------- Schriften ---------- */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/barlow-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/barlow-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/barlow-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/barlow-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/barlow-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/barlow-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/barlow-condensed-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/barlow-condensed-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --paper: #ffffff;
  --paper-2: #f4f3f0;
  --ink: #15181c;
  --ink-2: #3d434b;
  --muted: #6c737c;
  --line: #dcd9d3;
  --line-2: #ebe9e5;
  --anthracite: #1d2126;
  --navy: #1c1f5e;
  --orange: #ec5600;
  --orange-d: #c84900;

  --font: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Barlow Condensed', 'Barlow', 'Arial Narrow', sans-serif;

  --radius: 3px;
  --container: 1260px;
  --gutter: clamp(18px, 4vw, 40px);
  --header-h: 78px;
  --mbar-h: 0px;

  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #121417;
  --paper-2: #181b1f;
  --ink: #eeece8;
  --ink-2: #c4c7cb;
  --muted: #8e959c;
  --line: #2d3238;
  --line-2: #22262b;
  --anthracite: #0b0d0f;
  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6;
  color: var(--ink-2); background: var(--paper);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  padding-bottom: var(--mbar-h);
}
body.nav-open { overflow: hidden; }
[hidden] { display: none !important; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); font-weight: 700; line-height: 1.02; margin: 0; letter-spacing: .003em; }
p { margin: 0 0 1em; }
ul { margin: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: #fff; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.uc { text-transform: uppercase; }
.dot { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 600; font-size: 15.5px; letter-spacing: .015em; line-height: 1.2;
  padding: 14px 24px; border-radius: var(--radius); border: 1.5px solid var(--orange);
  background: var(--orange); color: #fff; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--orange-d); border-color: var(--orange-d); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; }
.btn--sm { padding: 10px 18px; font-size: 14.5px; }
.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--light:hover { background: #fff; border-color: #fff; color: #15181c; }
.btn[disabled] { opacity: .6; cursor: default; }

.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); border-bottom: 1.5px solid var(--orange); padding-bottom: 2px; }
.textlink:hover { color: var(--orange); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.header.scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -24px rgba(0,0,0,.35); }
.header__inner { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.brand { flex: 0 0 auto; display: flex; align-items: center; }
.brand__logo { height: 48px; width: auto; }
.brand__logo--dark { display: none; }
:root[data-theme="dark"] .brand__logo--light { display: none; }
:root[data-theme="dark"] .brand__logo--dark { display: block; }

.nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav a { position: relative; font-weight: 500; font-size: 15.5px; color: var(--ink); padding: 6px 0; white-space: nowrap; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a.btn { padding: 10px 18px; color: #fff; }
.nav__tag { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; line-height: 1; color: #fff; background: var(--orange); padding: 3px 5px 2px; border-radius: 2px; margin-left: 6px; vertical-align: 2px; }

.header__phone { display: none; align-items: center; gap: 8px; padding-left: 22px; border-left: 1px solid var(--line); font-weight: 600; font-size: 15.5px; color: var(--ink); white-space: nowrap; }
.header__phone svg { width: 17px; height: 17px; fill: var(--orange); }
.header__phone:hover { color: var(--orange); }

.theme-toggle { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; background: transparent; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); cursor: pointer; transition: border-color .2s; }
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle__sun { display: block; }
:root[data-theme="dark"] .theme-toggle__moon { display: none; }

.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; background: transparent; border: 0; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1320px) { .header__phone { display: inline-flex; } }

@media (max-width: 1080px) {
  :root { --header-h: 66px; }
  .brand__logo { height: 42px; }
  .nav-toggle { display: block; }
  .theme-toggle { margin-left: auto; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 12px var(--gutter) 40px; background: var(--paper); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { font-family: var(--display); font-weight: 600; font-size: 27px; text-transform: uppercase; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav a[aria-current="page"] { color: var(--orange); }
  .nav a.btn { margin-top: 24px; font-family: var(--font); font-size: 16px; text-transform: none; padding: 16px; border-bottom: 1.5px solid var(--orange); }
  .nav__tag { vertical-align: 6px; }
}

/* ---------- Sektionen ---------- */
.section { --rule: var(--line); --heading: var(--ink); padding-block: clamp(72px, 10vw, 128px); }
.section--alt { background: var(--paper-2); }
.section--dark { --rule: rgba(255,255,255,.16); --heading: #fff; background: var(--anthracite); color: rgba(255,255,255,.76); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }

.shead {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px 48px; align-items: end;
  margin-bottom: clamp(40px, 5.5vw, 68px); padding-bottom: 26px; border-bottom: 1px solid var(--rule, var(--line));
}
.shead::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 64px; height: 3px; background: var(--orange); }
.shead h2 { font-size: clamp(42px, 5.8vw, 80px); text-transform: uppercase; line-height: .94; }
.shead__aside { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.shead__aside p, .shead > p { margin: 0; max-width: 540px; font-size: 18px; }
.shead--split .shead__aside { flex-direction: row; align-items: flex-end; justify-content: space-between; width: 100%; }

.h2 { font-size: clamp(38px, 4.8vw, 64px); text-transform: uppercase; line-height: .95; margin-bottom: 26px; }
.lead { font-size: clamp(17px, 1.5vw, 19px); }

@media (max-width: 860px) {
  .shead { grid-template-columns: 1fr; gap: 16px; }
  .shead--split .shead__aside { flex-direction: column; align-items: flex-start; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(90vh, 880px); display: flex; flex-direction: column; justify-content: flex-end; background: #111317; color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: heroFade 21s infinite; }
.hero__media img:nth-child(1) { animation-name: heroFadeFirst; animation-delay: 0s; opacity: 1; }
.hero__media img:nth-child(2) { animation-delay: 7s; }
.hero__media img:nth-child(3) { animation-delay: 14s; }
@keyframes heroFade { 0% { opacity: 0; } 5% { opacity: 1; } 33% { opacity: 1; } 38% { opacity: 0; } 100% { opacity: 0; } }
@keyframes heroFadeFirst { 0% { opacity: 1; } 33% { opacity: 1; } 38% { opacity: 0; } 95% { opacity: 0; } 100% { opacity: 1; } }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(12,14,17,.86) 0%, rgba(12,14,17,.6) 42%, rgba(12,14,17,.12) 100%),
  linear-gradient(0deg, rgba(12,14,17,.8) 0%, rgba(12,14,17,0) 48%); }
.hero__content { position: relative; width: 100%; padding-top: calc(var(--header-h) + 80px); padding-bottom: clamp(44px, 6vw, 72px); }
.hero__title { color: #fff; font-size: clamp(56px, 9.6vw, 132px); line-height: .9; text-transform: uppercase; margin-bottom: 28px; }
.hero__title > span { display: block; }
.hero__lead { max-width: 610px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.86); margin-bottom: 34px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__facts { position: relative; border-top: 1px solid rgba(255,255,255,.2); background: rgba(12,14,17,.55); }
.hero__facts .container { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr); }
.fact { padding: 22px 24px 24px; border-left: 1px solid rgba(255,255,255,.16); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact__val { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); line-height: 1; color: #fff; }
.fact__label { display: block; font-size: 14.5px; color: rgba(255,255,255,.72); margin-top: 6px; }
.fact--wide .fact__val { font-size: clamp(22px, 2vw, 28px); padding-top: 4px; }

@media (max-width: 760px) {
  .hero { min-height: auto; }
  .hero__content { padding-top: 120px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__facts .container { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fact { padding: 16px 8px 16px 12px; }
  .fact__val { font-size: 24px; }
  .fact__label { font-size: 13px; }
  .fact--wide { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .fact--wide .fact__val { font-size: 22px; }
}

/* ---------- Leistungen (Liste mit Bild-Hover) ---------- */
.services { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.svc-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 26px 0 26px; border-bottom: 1px solid var(--line); cursor: default; outline: none; transition: background-color .25s; }
.svc__num { font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--muted); padding-top: 5px; transition: color .2s; }
.svc h3 { font-size: clamp(26px, 2.6vw, 36px); text-transform: uppercase; margin-bottom: 8px; transition: color .2s; }
.svc p { margin: 0; max-width: 540px; }
.svc__thumb { display: none; }
.svc.is-active .svc__num, .svc.is-active h3, .svc:focus-visible h3 { color: var(--orange); }
.svc:focus-visible { box-shadow: inset 3px 0 0 var(--orange); }
.services__cta { margin-top: 34px; }

.svc-media { position: sticky; top: calc(var(--header-h) + 32px); aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); border-radius: var(--radius); }
.svc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .5s ease, transform 1s ease; }
.svc-media img.is-active { opacity: 1; transform: scale(1); }
.svc-media__cap { position: absolute; left: 0; bottom: 0; z-index: 1; background: var(--anthracite); color: #fff; font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: .05em; text-transform: uppercase; padding: 11px 18px; }

@media (max-width: 900px) {
  .services { grid-template-columns: 1fr; }
  .svc-media { display: none; }
  .svc { grid-template-columns: 34px minmax(0, 1fr) 84px; gap: 14px; padding: 22px 0; }
  .svc__thumb { display: block; width: 84px; height: 84px; object-fit: cover; border-radius: var(--radius); }
  .svc h3 { font-size: 25px; }
  .svc p { font-size: 15.5px; }
}

/* ---------- Unternehmen ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.about__media { position: relative; padding-bottom: 48px; }
.about__img { width: 84%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about__img--sub { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 4 / 3; border: 8px solid var(--paper); border-radius: 0; }
.points { list-style: none; padding: 0; margin: 34px 0 38px; border-top: 1px solid var(--line); }
.points li { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.points strong { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.15; text-transform: uppercase; color: var(--ink); }
.points span { font-size: 16px; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .points li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Kennzahlen ---------- */
.figures { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.figure { padding: 6px 26px; border-left: 1px solid var(--rule); }
.figure:first-child { border-left: 0; padding-left: 0; }
.figure__val { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(34px, 3.6vw, 52px); line-height: 1; color: var(--heading); white-space: nowrap; }
.figure__label { display: block; margin-top: 10px; font-size: 15.5px; }
@media (max-width: 900px) {
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figure { padding: 22px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .figure:nth-child(-n+2) { border-top: 0; padding-top: 0; }
  .figure:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--rule); }
  .figure:last-child { grid-column: 1 / -1; }
}

/* ---------- Einsatzgebiet-Karte ---------- */
.area { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.areamap { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.areamap__svg { width: 100%; height: auto; display: block; }
.areamap__grid line { stroke: var(--line-2); stroke-width: 1; }
.areamap__rings circle { fill: none; stroke: var(--ink); stroke-opacity: .3; stroke-width: 1.2; stroke-dasharray: 6 6; }
.areamap__rings text { font-family: var(--display); font-weight: 600; font-size: 16px; fill: var(--muted); }
.areamap__cross line { stroke: var(--orange); stroke-width: 1.5; }
.areamap__pt { fill: var(--ink); fill-opacity: .78; cursor: pointer; transition: fill .2s, fill-opacity .2s; }
.areamap__pt:hover, .areamap__pt.is-hot { fill: var(--orange); fill-opacity: 1; }
.areamap__labels text { font-family: var(--font); font-weight: 500; font-size: 16px; fill: var(--ink-2); pointer-events: none; }
.areamap__hq circle { fill: var(--orange); stroke: var(--paper); stroke-width: 3; }
.areamap__hq text { font-family: var(--display); font-weight: 700; font-size: 24px; text-transform: uppercase; fill: var(--ink); }
.areamap__hq text.areamap__hq-sub { font-family: var(--font); font-weight: 500; font-size: 14px; text-transform: none; fill: var(--muted); }
.areamap__north path { fill: var(--ink); }
.areamap__north text { font-family: var(--display); font-weight: 700; font-size: 16px; fill: var(--ink); }
.areamap__scale line { stroke: var(--ink); stroke-width: 2; }
.areamap__scale text { font-family: var(--font); font-size: 13px; fill: var(--muted); }
.areamap__tip { position: absolute; left: 0; top: 0; pointer-events: none; background: var(--anthracite); color: #fff; font-size: 13.5px; font-weight: 600; padding: 5px 10px; border-radius: 2px; white-space: nowrap; transform: translate(-50%, calc(-100% - 12px)); opacity: 0; transition: opacity .15s; }
.areamap__tip.is-visible { opacity: 1; }
.area__count { display: flex; gap: 32px; margin-bottom: 28px; }
.area__count div { font-size: 15px; }
.area__count strong { display: block; font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1; color: var(--ink); }
.area__list { list-style: none; padding: 0; columns: 3 150px; column-gap: 26px; font-size: 15.5px; border-top: 1px solid var(--line); }
.area__list li { padding: 7px 0; border-bottom: 1px solid var(--line-2); break-inside: avoid; cursor: default; transition: color .15s; }
.area__list li:hover, .area__list li.is-hot { color: var(--orange); }
.area__list li.is-hq { font-weight: 700; color: var(--ink); }
@media (max-width: 900px) { .area { grid-template-columns: 1fr; } .areamap { max-width: 520px; } }
@media (max-width: 600px) {
  .areamap__labels text { font-size: 25px; }
  .areamap__rings text { font-size: 24px; }
  .areamap__hq text { font-size: 34px; }
  .areamap__hq text.areamap__hq-sub { font-size: 22px; }
  .areamap__scale text, .areamap__north text { font-size: 22px; }
}

/* ---------- Glasfaser ---------- */
.fiber { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.fiber__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.fiber__media figcaption { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.6); }
.numlist { list-style: none; padding: 0; margin: 34px 0 40px; border-top: 1px solid var(--rule); }
.numlist li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.numlist__n { font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--orange); padding-top: 2px; }
.numlist strong { display: block; font-family: var(--display); font-weight: 600; font-size: 23px; line-height: 1.15; text-transform: uppercase; color: var(--heading); margin-bottom: 4px; }
.numlist span { font-size: 16px; }
@media (max-width: 900px) { .fiber { grid-template-columns: 1fr; } .fiber__media { order: -1; } .fiber__media img { aspect-ratio: 4 / 3; } }

/* ---------- Einblasprozess ---------- */
.proc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 26px; }
.proc__item { margin: 0; }
.proc__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); cursor: zoom-in; transition: filter .3s; }
.proc__item img:hover { filter: brightness(1.06); }
.proc__item figcaption { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 10px; padding-top: 16px; font-size: 15.5px; }
.proc__n { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1; color: var(--orange); }
@media (max-width: 900px) { .proc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 18px; } }
@media (max-width: 560px) { .proc { grid-template-columns: 1fr; } }

/* ---------- Projekt-Showcase ---------- */
.sc-nav { display: flex; gap: 10px; }
.sc-btn { width: 52px; height: 52px; display: grid; place-items: center; background: transparent; border: 1.5px solid var(--ink); border-radius: var(--radius); color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s, opacity .2s; }
.sc-btn:hover:not([disabled]) { background: var(--ink); color: var(--paper); }
.sc-btn[disabled] { opacity: .28; cursor: default; }
.sc-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.showcase {
  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-inline: var(--edge); scroll-padding-inline: var(--edge); scrollbar-width: none;
}
.showcase::-webkit-scrollbar { display: none; }
.sc-item { flex: 0 0 auto; width: clamp(280px, 44vw, 640px); margin: 0; scroll-snap-align: start; }
.sc-item--tall { width: clamp(220px, 27vw, 400px); }
.sc-item img { width: 100%; height: clamp(320px, 38vw, 540px); object-fit: cover; border-radius: var(--radius); cursor: zoom-in; }
.sc-item figcaption { display: flex; gap: 12px; align-items: baseline; padding-top: 14px; font-size: 15.5px; }
.sc-cat { flex: 0 0 auto; font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); }
.sc-progress { margin-top: 30px; height: 2px; background: var(--line); position: relative; }
.sc-progress i { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--ink); transition: width .15s linear; }
@media (max-width: 760px) { .sc-item { width: 82vw; } .sc-item--tall { width: 60vw; } .sc-item img { height: 380px; } }

/* ---------- Karriere ---------- */
.career { position: relative; overflow: hidden; color: rgba(255,255,255,.82); background: #111317; }
.career__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.career__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,14,17,.9) 0%, rgba(12,14,17,.62) 55%, rgba(12,14,17,.3) 100%); }
.career__inner { position: relative; padding-block: clamp(90px, 12vw, 150px); max-width: 680px; }
.career h2 { color: #fff; font-size: clamp(42px, 5.8vw, 80px); text-transform: uppercase; line-height: .94; margin-bottom: 24px; }
.career__perks { display: flex; flex-wrap: wrap; gap: 0; list-style: none; padding: 0; margin: 28px 0 36px; border-top: 1px solid rgba(255,255,255,.2); }
.career__perks li { padding: 14px 22px 0 0; margin-right: 22px; font-family: var(--display); font-weight: 600; font-size: 19px; text-transform: uppercase; color: #fff; }
.career__perks li + li { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.2); }

/* ---------- Qualifikation ---------- */
.certs { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 90px); }
.cert-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.cert { padding: 22px 0 26px; border-top: 1px solid var(--line); }
.cert strong { display: block; font-family: var(--display); font-weight: 600; font-size: 23px; line-height: 1.15; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.cert span { font-size: 16px; }
@media (max-width: 900px) { .certs { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cert-list { grid-template-columns: 1fr; } }

/* ---------- Tiefbau.Cloud ---------- */
.cloud { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: center; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.cloud__meta { display: block; font-size: 14.5px; color: var(--muted); margin-bottom: 8px; }
.cloud h2 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 12px; }
.cloud h2 span { color: var(--orange); }
.cloud p { margin: 0; max-width: 680px; }
@media (max-width: 760px) { .cloud { grid-template-columns: 1fr; } }

/* ---------- Reels ---------- */
.reels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.reel { position: relative; aspect-ratio: 9 / 16; background: #000; border-radius: var(--radius); overflow: hidden; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel__sound { position: absolute; right: 12px; bottom: 12px; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 2px; background: rgba(12,14,17,.72); color: #fff; cursor: pointer; transition: background-color .2s; }
.reel__sound:hover { background: var(--orange); }
.reel__sound svg { width: 20px; height: 20px; fill: currentColor; }
.reel__sound .icon-on { display: none; }
.reel__sound[aria-pressed="true"] .icon-on { display: block; }
.reel__sound[aria-pressed="true"] .icon-off { display: none; }
@media (max-width: 900px) {
  .reels { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .reels::-webkit-scrollbar { display: none; }
  .reel { flex: 0 0 62vw; max-width: 300px; scroll-snap-align: start; }
}

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.clist { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.clist li { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.clist__k { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.clist a { color: var(--ink); font-weight: 600; }
.clist a:hover { color: var(--orange); }

.contact__form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 44px); }
.form-intro { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.wizard__progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 30px; }
.wizard__progress .step { height: 3px; background: var(--line); transition: background-color .3s; }
.wizard__progress .step.is-active { background: var(--orange); }
.wizard.is-enhanced .wizard__step { display: none; }
.wizard.is-enhanced .wizard__step.is-current { display: block; }
.wizard__step + .wizard__step { margin-top: 28px; }
.wizard.is-enhanced .wizard__step + .wizard__step { margin-top: 0; }
.wizard__steptitle { font-family: var(--display); font-weight: 700; font-size: 28px; text-transform: uppercase; color: var(--ink); margin-bottom: 20px; }
.wizard__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.chip { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; font-weight: 500; font-size: 16px; color: var(--ink); transition: border-color .2s, background-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip input { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 18px; height: 18px; margin: 0; border: 1.5px solid var(--muted); border-radius: 50%; background: var(--paper); cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.chip input:checked { border-color: var(--orange); background: var(--orange); box-shadow: inset 0 0 0 3px var(--paper); }
.chip:has(input:checked) { border-color: var(--orange); background: rgba(236,86,0,.06); }
.chip:has(input:focus-visible) { outline: 2px solid var(--orange); outline-offset: 2px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14.5px; color: var(--ink); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius); transition: border-color .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .8; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.field textarea { resize: vertical; min-height: 140px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.captcha-row { display: flex; gap: 10px; }
.captcha-row input { max-width: 170px; }
.captcha-reload { flex: 0 0 auto; width: 52px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); font-size: 20px; cursor: pointer; transition: border-color .2s, color .2s; }
.captcha-reload:hover { border-color: var(--orange); color: var(--orange); }
.checkbox { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); cursor: pointer; margin-top: 6px; }
.checkbox input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--orange); }
.checkbox a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.wizard__nav { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.wizard__next, .wizard__submit { margin-left: auto; }
.wizard__back { background: transparent; color: var(--ink); border-color: var(--line); }
.wizard__back:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.form-note { margin: 16px 0 0; font-weight: 600; font-size: 15px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .wizard__choices, .field-row { grid-template-columns: 1fr; }
  .clist li { grid-template-columns: 1fr; gap: 2px; }
  .wizard__nav .btn { flex: 1 1 auto; }
}

/* ---------- Unterseiten-Kopf ---------- */
.pagehead { position: relative; background: var(--anthracite); color: rgba(255,255,255,.76); overflow: hidden; }
.pagehead__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.pagehead__inner { position: relative; padding-block: clamp(64px, 9vw, 116px) clamp(48px, 6vw, 76px); }
.crumbs { font-size: 14.5px; color: rgba(255,255,255,.6); margin-bottom: 26px; }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 8px; }
.pagehead h1 { color: #fff; font-size: clamp(50px, 7.6vw, 104px); line-height: .9; text-transform: uppercase; margin-bottom: 20px; }
.pagehead p { margin: 0; max-width: 640px; font-size: clamp(17px, 1.5vw, 19px); }
.pagehead__tag { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--orange); padding: 5px 9px 4px; border-radius: 2px; margin-bottom: 18px; }

/* ---------- Rechtstexte ---------- */
.legal__wrap { max-width: 780px; }
.legal h2 { font-size: clamp(24px, 2.4vw, 30px); text-transform: uppercase; margin: 46px 0 12px; }
.legal__wrap > h2:first-child { margin-top: 0; }
.legal p { font-size: 16.5px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--orange); }
.legal__card { border-left: 3px solid var(--orange); background: var(--paper-2); padding: 22px 26px 8px; margin: 0 0 20px; }
.legal__card p { margin-bottom: 12px; }
.legal__label { display: block; font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 16px 0 4px; }
.legal__meta { margin-top: 44px; font-size: 14px; color: var(--muted); }

/* ---------- Team ---------- */
.team__group { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px 40px; padding: 48px 0; border-top: 1px solid var(--line); }
.team__group:first-child { border-top: 0; padding-top: 0; }
.team__group-head h2 { font-size: clamp(26px, 2.6vw, 34px); text-transform: uppercase; line-height: 1; position: sticky; top: calc(var(--header-h) + 28px); }
.team__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 32px 22px; }
.member__photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper-2); border-radius: var(--radius); margin-bottom: 14px; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.member:hover .member__photo img { transform: scale(1.03); }
.member__name { font-family: var(--display); font-weight: 700; font-size: 23px; line-height: 1.08; text-transform: uppercase; color: var(--ink); }
.member__role { font-size: 15px; color: var(--muted); margin: 4px 0 9px; }
.member__phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; color: var(--ink); }
.member__phone svg { fill: var(--orange); }
.member__phone:hover { color: var(--orange); }
.org { --g: 32px; max-width: 452px; }
.org__lead { width: calc((100% - var(--g)) / 2); margin: 0 auto; position: relative; padding-bottom: 32px; }
.org__lead::after { content: ''; position: absolute; left: 50%; bottom: 0; height: 32px; border-left: 1.5px solid var(--ink); opacity: .35; }
.org__reports { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--g); padding-top: 32px; }
.org__reports::before { content: ''; position: absolute; top: 0; left: calc((100% - var(--g)) / 4); right: calc((100% - var(--g)) / 4); border-top: 1.5px solid var(--ink); opacity: .35; }
.org__reports .member { position: relative; }
.org__reports .member::before { content: ''; position: absolute; top: -32px; left: 50%; height: 32px; border-left: 1.5px solid var(--ink); opacity: .35; }
@media (max-width: 900px) {
  .team__group { grid-template-columns: 1fr; padding: 36px 0; }
  .team__group-head h2 { position: static; }
}
@media (max-width: 560px) {
  .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .member__name { font-size: 19px; }
  .member__role, .member__phone { font-size: 14px; }
  .org { --g: 14px; }
}

/* ---------- Beton2go ---------- */
.keyfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.keyfact { padding: 28px 28px 30px; border-left: 1px solid var(--line); }
.keyfact:first-child { border-left: 0; padding-left: 0; }
.keyfact strong { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(36px, 4vw, 54px); line-height: 1; color: var(--ink); margin-bottom: 8px; }
.keyfact span { font-size: 16px; }
.spec { width: 100%; border-collapse: collapse; font-size: 16px; }
.spec th { text-align: left; font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 0 16px 14px 0; border-bottom: 2px solid var(--ink); }
.spec td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec td:first-child { font-family: var(--display); font-weight: 700; font-size: 22px; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.spec__class { font-weight: 600; color: var(--ink); white-space: nowrap; }
.spec__price { font-weight: 600; color: var(--orange); white-space: nowrap; }
.spec tbody tr { transition: background-color .2s; }
.spec tbody tr:hover { background: var(--paper-2); }
.note { display: flex; gap: 12px; margin-top: 26px; font-size: 15.5px; }
.note svg { flex: 0 0 auto; width: 20px; height: 20px; fill: var(--orange); margin-top: 2px; }
.flow { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.flow li { padding-top: 22px; border-top: 2px solid var(--ink); }
.flow__n { display: block; font-family: var(--display); font-weight: 700; font-size: 48px; line-height: 1; color: var(--orange); margin-bottom: 14px; }
.flow h3 { font-size: 26px; text-transform: uppercase; margin-bottom: 8px; }
.flow p { margin: 0; font-size: 16px; }
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 56px; align-items: end; }
.cta-band h2 { font-size: clamp(40px, 5.4vw, 74px); text-transform: uppercase; line-height: .94; margin-bottom: 16px; }
.cta-band p { margin: 0; max-width: 560px; }
.cta-band__phone { display: inline-block; margin-top: 22px; font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4vw, 48px); line-height: 1; color: #fff; border-bottom: 3px solid var(--orange); padding-bottom: 4px; }
.cta-band__phone:hover { color: var(--orange); }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; min-width: 230px; }
@media (max-width: 760px) {
  .keyfacts { grid-template-columns: 1fr; }
  .keyfact { padding: 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .keyfact:first-child { border-top: 0; }
  .spec thead { display: none; }
  .spec, .spec tbody, .spec tr, .spec td { display: block; width: 100%; }
  .spec tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .spec td { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; border: 0; }
  .spec td::before { content: attr(data-label); font-size: 14px; color: var(--muted); }
  .spec td:first-child { display: block; font-size: 24px; margin-bottom: 6px; }
  .spec td:first-child::before { content: none; }
  .spec td span { text-align: right; }
  .flow { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band__actions { min-width: 0; }
}

/* ---------- Footer ---------- */
.footer { background: var(--anthracite); color: rgba(255,255,255,.66); font-size: 15.5px; }
.section--dark + .footer, main:has(> .section--dark:last-child) + .footer { border-top: 1px solid rgba(255,255,255,.1); }
:root[data-theme="dark"] .footer { border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 40px; padding-block: clamp(64px, 8vw, 92px) 56px; }
.footer__logo { height: 52px; width: auto; margin-bottom: 22px; }
.footer__about { max-width: 300px; margin: 0; }
.footer h4 { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: .07em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; }
.footer li { padding: 4px 0; }
.footer p { margin: 0 0 12px; }
.footer a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer__bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-block: 22px; font-size: 14px; }
.footer__social { display: flex; gap: 22px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Mobile Kontaktleiste ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  :root { --mbar-h: calc(62px + env(safe-area-inset-bottom)); }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr 1.25fr; background: var(--anthracite); border-top: 1px solid rgba(255,255,255,.1); padding-bottom: env(safe-area-inset-bottom); }
  :root[data-theme="dark"] .mbar { background: #181b1f; }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 62px; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
  .mbar a + a { border-left: 1px solid rgba(255,255,255,.12); }
  .mbar svg { width: 20px; height: 20px; fill: currentColor; }
  .mbar__cta { background: var(--orange); }
  .nav { bottom: var(--mbar-h); }
}

/* ---------- Cookie-Hinweis ---------- */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 95; max-width: 430px; background: var(--paper); color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 44px -22px rgba(0,0,0,.4); padding: 20px 22px; opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; }
.cookie.show { opacity: 1; transform: none; }
.cookie__text { font-size: 14.5px; margin: 0 0 14px; }
.cookie__text a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .cookie { left: 12px; right: 12px; bottom: calc(var(--mbar-h) + 12px); max-width: none; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(10,11,13,.95); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__img { max-width: 90vw; max-height: 86vh; object-fit: contain; }
.lightbox__close, .lightbox__nav { position: absolute; width: 50px; height: 50px; display: grid; place-items: center; background: transparent; border: 1.5px solid rgba(255,255,255,.4); border-radius: var(--radius); color: #fff; cursor: pointer; transition: border-color .2s, background-color .2s; }
.lightbox__close:hover, .lightbox__nav:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.lightbox__close svg, .lightbox__nav svg { width: 22px; height: 22px; fill: currentColor; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox__nav { width: 42px; height: 42px; top: auto; bottom: 20px; transform: none; } .lightbox__prev { left: 20px; } .lightbox__next { right: 20px; } }

/* ---------- Einblenden beim Scrollen ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; }
  .hero__media img:first-child { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}
