/* ELA-Tec – Website-Stylesheet (ohne Framework; Schrift liegt lokal, keine externen Abrufe) */

/* Manrope (SIL Open Font License, siehe assets/fonts/OFL-Manrope.txt) */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope-latin-wght.woff2") format("woff2-variations"), url("../fonts/manrope-latin-wght.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;
}

/* ---------- Farben & Grundwerte ---------- */
:root {
  --brand-red: #d72828;
  --logo-red: #ed1b24;
  --btn: #c42222;
  --btn-hover: #a91b1b;
  --navy: #13203a;
  --navy-2: #1b2b4a;

  --bg: #ffffff;
  --surface: #f4f5f7;
  --card: #ffffff;
  --ink: #13203a;
  --text: #3c4556;
  --muted: #667085;
  --line: #e3e6eb;
  --accent: #c42222;
  --logo-ink: #111111;
  --field: #ffffff;
  --shadow-sm: 0 1px 2px rgb(19 32 58 / 0.06);
  --shadow: 0 1px 2px rgb(19 32 58 / 0.05), 0 10px 30px rgb(19 32 58 / 0.08);
  --ok-bg: #e8f6ee; --ok-ink: #14532d; --ok-line: #9fd8b5;
  --err-bg: #fdecec; --err-ink: #8a1c1c; --err-line: #f2a9a9;

  --radius: 18px;
  --radius-sm: 10px;
  --header-h: 72px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Manrope", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-display: "Manrope", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c121d;
    --surface: #111a29;
    --card: #152034;
    --ink: #eef1f6;
    --text: #c4cbd7;
    --muted: #919cb0;
    --line: #233149;
    --accent: #ff6b6b;
    --logo-ink: #ffffff;
    --field: #0f1726;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.3);
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 30px rgb(0 0 0 / 0.35);
    --ok-bg: #0f2a1b; --ok-ink: #a7e9c0; --ok-line: #1f5a37;
    --err-bg: #2c1214; --err-ink: #ffb4b4; --err-line: #6a2327;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c121d;
  --surface: #111a29;
  --card: #152034;
  --ink: #eef1f6;
  --text: #c4cbd7;
  --muted: #919cb0;
  --line: #233149;
  --accent: #ff6b6b;
  --logo-ink: #ffffff;
  --field: #0f1726;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.3);
  --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 30px rgb(0 0 0 / 0.35);
  --ok-bg: #0f2a1b; --ok-ink: #a7e9c0; --ok-line: #1f5a37;
  --err-bg: #2c1214; --err-ink: #ffb4b4; --err-line: #6a2327;
  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 450 1.0625rem/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand-red); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--btn); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0 1.4em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--btn); color: #fff; }
.btn-primary:hover { background: var(--btn-hover); }
.btn-ghost { border-color: rgb(255 255 255 / 0.55); color: #fff; }
.btn-ghost:hover { background: rgb(255 255 255 / 0.12); border-color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-outline:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn svg { transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { box-shadow: 0 8px 24px -10px rgb(196 34 34 / 0.7); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo svg { width: 168px; height: auto; }
.logo-ink { fill: var(--logo-ink); }
.logo-red { fill: var(--logo-red); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a:not(.btn) {
  display: block; padding: 8px 14px; border-radius: 8px; text-decoration: none;
  color: var(--text); font-weight: 500; font-size: 0.98rem; transition: color .2s, background-color .2s;
}
.main-nav a:not(.btn):hover { color: var(--ink); background: var(--surface); }
.main-nav a[aria-current="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--brand-red); border-radius: 0; }
.main-nav .btn { margin-left: 10px; min-height: 42px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

/* Startseite: Kopfzeile liegt transparent über dem Startbild und wird beim Scrollen hell */
.has-hero .site-header { position: fixed; left: 0; right: 0; }
.has-hero .site-header:not(.is-scrolled):not(.nav-open) {
  background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; border-bottom-color: transparent;
  --logo-ink: #ffffff;
}
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .main-nav a:not(.btn) { color: rgb(255 255 255 / 0.88); }
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .main-nav a:not(.btn):hover { color: #fff; background: rgb(255 255 255 / 0.12); }
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .main-nav a[aria-current="true"] { color: #fff; }
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .nav-toggle { background: rgb(255 255 255 / 0.1); border-color: rgb(255 255 255 / 0.28); color: #fff; }
.site-header, .site-header .main-nav a, .site-header .nav-toggle { transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px var(--gutter) 20px; display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a:not(.btn) { padding: 13px 12px; font-size: 1.05rem; }
  .main-nav a[aria-current="true"] { box-shadow: inset 3px 0 0 var(--brand-red); }
  .main-nav .btn { margin: 10px 0 0; width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--navy); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
  opacity: 0; transform: scale(1);
  transition: opacity 1.4s ease, transform 0s linear 1.4s;
}
.hero-slide.is-active { opacity: 1; transform: scale(1.06); transition: opacity 1.4s ease, transform 9s ease-out; }
@media (prefers-reduced-motion: reduce) { .hero-slide, .hero-slide.is-active { transform: none; } }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: 28px; }
.hero-credit { margin: 0; font-size: 0.82rem; color: rgb(255 255 255 / 0.72); min-height: 1.4em; }
.hero-controls { display: flex; align-items: center; gap: 12px; }
.hero-controls[hidden] { display: none; }
.hero-dots { display: flex; gap: 4px; }
.hero-dots button { position: relative; width: 34px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero-dots button::before, .hero-dots button::after {
  content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px;
}
.hero-dots button::before { background: rgb(255 255 255 / 0.32); }
.hero-dots button:hover::before { background: rgb(255 255 255 / 0.6); }
.hero-dots button.is-active::after { background: #fff; transform-origin: left center; animation: hero-progress var(--hero-interval, 7s) linear forwards; }
.hero.is-paused .hero-dots button.is-active::after { animation: none; }
.hero-dots.is-compact { align-items: center; gap: 10px; }
.hero-dots .hero-step {
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.3);
  background: rgb(255 255 255 / 0.08); color: #fff; display: grid; place-items: center; transition: background-color .2s;
}
.hero-dots .hero-step:hover { background: rgb(255 255 255 / 0.2); }
.hero-dots .hero-step::before, .hero-dots .hero-step::after { content: none; }
.hero-dots .hero-step svg { width: 16px; height: 16px; }
.hero-count { min-width: 4.4em; text-align: center; font-size: 0.86rem; color: rgb(255 255 255 / 0.85); font-variant-numeric: tabular-nums; }
.hero-bar { position: relative; width: 72px; height: 3px; border-radius: 2px; background: rgb(255 255 255 / 0.3); overflow: hidden; }
.hero-bar.is-active::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left center; animation: hero-progress var(--hero-interval, 7s) linear forwards; }
.hero.is-paused .hero-bar.is-active::after { animation: none; }
@keyframes hero-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-pause {
  width: 38px; height: 38px; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.35);
  background: rgb(255 255 255 / 0.08); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s;
}
.hero-pause:hover { background: rgb(255 255 255 / 0.2); }
.hero-pause svg { width: 18px; height: 18px; grid-area: 1 / 1; }
.hero-pause .i-play, .hero.is-paused .hero-pause .i-pause { display: none; }
.hero.is-paused .hero-pause .i-play { display: block; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(10 17 32 / 0.94) 0%, rgb(10 17 32 / 0.82) 38%, rgb(10 17 32 / 0.35) 72%, rgb(10 17 32 / 0.15) 100%),
    linear-gradient(0deg, rgb(10 17 32 / 0.75) 0%, rgb(10 17 32 / 0) 35%);
}
.hero-inner { min-height: clamp(560px, 82vh, 780px); display: flex; flex-direction: column; justify-content: center; padding-block: 72px 40px; }
.has-hero .hero-inner { min-height: 100vh; min-height: 100svh; padding-top: calc(var(--header-h) + 40px); padding-bottom: 28px; }
.hero-copy { max-width: 780px; margin-block: auto; }
.hero-copy > * { animation: hero-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--brand-red); }
.hero .kicker {
  color: #fff; padding: 7px 14px 7px 12px; border-radius: 999px; letter-spacing: 0.12em;
  background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero .kicker::before { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 4px rgb(215 40 40 / 0.3); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 750; line-height: 1.04; letter-spacing: -0.035em; margin-top: 22px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: #ff5a5a; }
.hero-lead { margin-top: 20px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgb(255 255 255 / 0.86); max-width: 56ch; }
.hero-lead a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* Kennzahlen als Glasleiste */
.hero-facts {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgb(255 255 255 / 0.16); border-radius: 20px; overflow: hidden;
  background: rgb(255 255 255 / 0.07); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
}
.hero-facts li { padding: 20px 24px; }
.hero-facts li + li { border-left: 1px solid rgb(255 255 255 / 0.12); }
.hero-facts strong { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 750; line-height: 1; letter-spacing: -0.02em; color: #fff; }
.hero-facts strong sup { font-size: 0.55em; color: #ff6b6b; margin-left: 2px; }
.hero-facts span { display: block; margin-top: 8px; font-size: 0.9rem; color: rgb(255 255 255 / 0.75); }
@media (max-width: 720px) {
  .hero::before { background: linear-gradient(0deg, rgb(10 17 32 / 0.95) 0%, rgb(10 17 32 / 0.82) 55%, rgb(10 17 32 / 0.55) 100%); }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; }
  .hero-facts li { padding: 16px 18px; }
  .hero-facts li:nth-child(3) { border-left: 0; }
  .hero-facts li:nth-child(n+3) { border-top: 1px solid rgb(255 255 255 / 0.12); }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-alt { background: var(--surface); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 750; line-height: 1.06; letter-spacing: -0.03em; margin-top: 14px; text-wrap: balance; }
.section-head p { margin-top: 16px; font-size: 1.12rem; color: var(--muted); }
/* breite Bildschirme: Überschrift links, Einleitung rechts */
@media (min-width: 960px) {
  .section-head { max-width: none; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); column-gap: 72px; align-items: end; }
  .section-head > .kicker, .section-head > h2 { grid-column: 1; justify-self: start; }
  .section-head > p { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin-top: 0; }
  .contact-intro .section-head { display: block; }
  .contact-intro .section-head > p { margin-top: 16px; }
}
.section-head-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; max-width: none; }
.section-head-row > div { max-width: 720px; }

/* ---------- Leistungen (Bento-Raster: Bildflächen mit Text) ---------- */
.services { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(260px, auto); }
.services > li:first-child { grid-column: span 2; grid-row: span 2; }
.service {
  position: relative; isolation: isolate; height: 100%; min-height: 260px; border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--navy);
}
.service-img { position: absolute; inset: 0; z-index: -2; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(10 17 32 / 0.05) 15%, rgb(10 17 32 / 0.55) 55%, rgb(10 17 32 / 0.94) 100%);
}
.service:hover .service-img img { transform: scale(1.06); }
.service-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.service-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff;
  background: rgb(255 255 255 / 0.14); border: 1px solid rgb(255 255 255 / 0.22);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.service-icon svg { width: 22px; height: 22px; }
.service h3 { color: #fff; font-size: 1.22rem; font-weight: 700; }
.service p { margin-top: 6px; color: rgb(255 255 255 / 0.84); font-size: 0.95rem; }
.services > li:first-child .service-body { padding: 32px; }
.services > li:first-child .service h3, .services > li:first-child h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -0.02em; }
.services > li:first-child p { font-size: 1.05rem; max-width: 42ch; }
@media (max-width: 1040px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services > li:first-child { grid-row: span 1; }
  .services > li:first-child .service { min-height: 340px; }
}
@media (max-width: 600px) {
  .services { grid-template-columns: 1fr; grid-auto-rows: minmax(230px, auto); }
  .services > li:first-child { grid-column: auto; }
  .services > li:first-child .service-body { padding: 24px; }
}

/* ---------- Fokus: Großbauvorhaben ---------- */
.focus { position: relative; overflow: hidden; }
.focus::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-red) 14%, transparent) 0%, transparent 65%);
}
.focus-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.focus-statement h2 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); font-weight: 750; line-height: 1.05; letter-spacing: -0.035em; margin-top: 16px; text-wrap: balance; }
.focus-figure { color: var(--accent); white-space: nowrap; }
.focus-statement p { margin-top: 20px; font-size: 1.12rem; color: var(--muted); max-width: 52ch; }
.focus-statement .btn { margin-top: 28px; }
.focus-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.focus-list li {
  display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.focus-list li:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand-red) 35%, var(--line)); }
.focus-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #d72828, #a51c1c); box-shadow: 0 8px 20px -8px rgb(196 34 34 / 0.6); }
.focus-icon svg { width: 24px; height: 24px; }
.focus-list h3 { font-size: 1.12rem; font-weight: 700; }
.focus-list p { margin-top: 4px; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) { .focus-grid { grid-template-columns: 1fr; } }

/* ---------- Ablauf ---------- */
.process-band { background: var(--navy); color: rgb(255 255 255 / 0.8); }
.process-band .section-head h2 { color: #fff; }
.process-band .section-head p { color: rgb(255 255 255 / 0.7); }
.process-band .kicker { color: #ff7a7a; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.steps li {
  position: relative; padding: 28px 24px 26px; border-radius: var(--radius);
  border: 1px solid rgb(255 255 255 / 0.12); background: rgb(255 255 255 / 0.03);
  transition: border-color .3s ease, background-color .3s ease, transform .3s ease;
}
.steps li:hover { border-color: rgb(255 122 122 / 0.5); background: rgb(255 255 255 / 0.06); transform: translateY(-3px); }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero); display: block;
  font-size: 3.2rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 1.2px rgb(255 255 255 / 0.5);
}
.steps li:hover::before { -webkit-text-stroke-color: #ff7a7a; }
.steps h3 { color: #fff; font-size: 1.25rem; margin-top: 20px; }
.steps p { margin-top: 8px; font-size: 0.98rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Projekte ---------- */
.projects { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
/* Kachel: Bild füllt alles, Titel liegt unten auf einem Verlauf */
.project {
  position: relative; isolation: isolate; display: block; overflow: hidden; border-radius: var(--radius);
  text-decoration: none; color: #fff; background: var(--surface); box-shadow: var(--shadow-sm);
  transition: box-shadow .35s ease, transform .35s ease;
}
.project img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.project::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgb(8 12 22 / 0) 42%, rgb(8 12 22 / 0.85) 100%); }
.project::before {
  content: ""; position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 999px;
  background: rgb(255 255 255 / 0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313203a' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 16px no-repeat;
  opacity: 0; transform: scale(.85); transition: opacity .25s ease, transform .25s ease;
}
.project:hover, .project:focus-visible { box-shadow: var(--shadow); transform: translateY(-3px); }
.project:hover img, .project:focus-visible img { transform: scale(1.06); }
.project:hover::before, .project:focus-visible::before { opacity: 1; transform: none; }
.project-meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: block; padding: 16px 18px; }
.project-title { display: block; color: #fff; font-weight: 700; line-height: 1.25; text-shadow: 0 1px 2px rgb(0 0 0 / 0.35); }
.project-place { display: flex; align-items: center; gap: 6px; margin-top: 4px; color: rgb(255 255 255 / 0.82); font-size: 0.9rem; }
.project-place::before {
  content: ""; flex: none; width: 12px; height: 12px; background: currentColor; opacity: .8;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.more { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- Standorte ---------- */
.locations { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.location { height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.location-city { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.location-name { margin-top: 6px; font-size: 0.95rem; color: var(--muted); }
.location address { font-style: normal; margin-top: 20px; }
.contact-lines { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 0.98rem; }
.contact-lines li { display: flex; gap: 10px; align-items: center; }
.contact-lines svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.contact-lines a { text-decoration: none; color: var(--ink); font-weight: 500; }
.contact-lines a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .locations { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-intro .section-head { margin-bottom: 28px; }
.direct { display: grid; gap: 14px; }
.direct a { display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); transition: border-color .2s; }
.direct a:hover { border-color: var(--ink); }
.direct svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.direct small { display: block; color: var(--muted); font-size: 0.85rem; }
.direct strong { color: var(--ink); font-weight: 600; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.4rem; }
.field { display: grid; gap: 8px; margin-top: 20px; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--field); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand-red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-red) 18%, transparent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-note { margin-top: 18px; font-size: 0.86rem; color: var(--muted); }
.form-note a { color: var(--ink); }
.form-actions { margin-top: 22px; }
.form-actions .btn { width: 100%; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid; font-size: 0.97rem; }
.form-status[hidden] { display: none; }
.form-status.ok { background: var(--ok-bg); color: var(--ok-ink); border-color: var(--ok-line); }
.form-status.err { background: var(--err-bg); color: var(--err-ink); border-color: var(--err-line); }
.form-status a { color: inherit; font-weight: 600; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Fachbetrieb-Leiste ---------- */
.badges { padding-block: 40px; border-top: 1px solid var(--line); }
.badges-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.badges p { color: var(--muted); font-size: 0.95rem; max-width: 34ch; }
.badges ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.badges li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; }
.badges img { height: 34px; width: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgb(255 255 255 / 0.72); padding-block: 56px 28px; font-size: 0.96rem; }
.site-footer .logo { --logo-ink: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { color: #fff; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a, .linklike { color: rgb(255 255 255 / 0.85); text-decoration: none; }
.footer-grid a:hover, .linklike:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; text-align: left; }
.footer-claim { margin-top: 16px; max-width: 40ch; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 0.14); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.88rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgb(6 10 18 / 0.94); color: #fff;
}
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox::backdrop { background: rgb(6 10 18 / 0.6); }
.lightbox figure { margin: 0; min-height: 0; display: grid; place-items: center; padding: 64px 72px 8px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgb(0 0 0 / 0.5); touch-action: pan-y; user-select: none; }
.lightbox-bar { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 14px 20px 22px; text-align: center; }
.lightbox-caption strong { display: block; font-size: 1.05rem; }
.lightbox-caption span { color: rgb(255 255 255 / 0.7); font-size: 0.92rem; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.25);
  background: rgb(255 255 255 / 0.08); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s;
}
.lb-btn:hover { background: rgb(255 255 255 / 0.2); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 26px; left: 22px; font-size: 0.9rem; color: rgb(255 255 255 / 0.7); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .lightbox figure { padding: 64px 8px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
}

/* ---------- Einwilligung (Statistik) ---------- */
.consent {
  position: fixed; z-index: 80; left: 16px; bottom: 16px; width: min(440px, calc(100vw - 32px));
  background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 20px 50px rgb(0 0 0 / 0.22); padding: 22px;
}
.consent[hidden] { display: none; }
.consent h2 { font-size: 1.05rem; }
.consent p { margin-top: 8px; font-size: 0.93rem; }
.consent a { color: var(--ink); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.consent-actions .btn { min-height: 44px; padding: 0 1em; }
.btn-neutral { background: var(--ink); color: var(--bg); }
.btn-neutral:hover { opacity: .88; }

/* ---------- Textseiten (Impressum, Datenschutz) ---------- */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: clamp(48px, 7vw, 88px) clamp(32px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-top: 14px; }
.page-hero p { margin-top: 12px; color: var(--muted); }
.prose { max-width: 780px; padding-block: clamp(40px, 6vw, 72px); }
.prose h2 { font-size: 1.45rem; margin: 48px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; margin: 26px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.legal-cards { display: grid; gap: 20px; margin-top: 8px; }
.legal-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; background: var(--card); }
.legal-card h2 { margin: 0 0 12px; font-size: 1.3rem; }
.legal-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 16px 0 0; }
.legal-card dt { color: var(--muted); }
.legal-card dd { margin: 0; color: var(--ink); }
@media (max-width: 520px) { .legal-card dl { grid-template-columns: 1fr; gap: 0; } .legal-card dd { margin-bottom: 8px; } }
.consent-box { margin: 18px 0; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.consent-box p { margin: 0; }
.note-box { margin: 18px 0; padding: 16px 20px; border-left: 3px solid var(--brand-red); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.legal-card h3 { margin-top: 0; }
@media (max-width: 560px) {
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .project { border-radius: var(--radius-sm); }
  .project-meta { padding: 10px 12px; }
  .project::before { width: 32px; height: 32px; top: 8px; right: 8px; }
  .project-title { font-size: 0.95rem; }
  .project-place { font-size: 0.85rem; }
  .consent { padding: 18px; }
  .consent p { font-size: 0.88rem; }
}
.location-reg { margin-top: auto; padding-top: 16px; font-size: 0.86rem; color: var(--muted); }

/* nur ein aktuelles Bauvorhaben: Kachel doppelt so breit */
.projects > li:only-child { grid-column: span 2; }

/* ---------- Feinschliff ---------- */
.location { transition: transform .3s ease, box-shadow .3s ease; }
.location:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.form-card { border-radius: 24px; }

/* sanftes Einblenden beim Scrollen (Klasse setzt das Skript nur, wenn Bewegung erlaubt ist) */
html .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
html .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================================
   Stufe 2: moderner Feinschliff
   ========================================================================= */

/* Textkachel für Projekte ohne Bild */
.project-noimg { aspect-ratio: 4 / 3; background: radial-gradient(120% 90% at 85% 0%, #2c4068 0%, var(--navy) 58%), var(--navy); }
.project-noimg::before { display: none; }
.project-noimg-icon { position: absolute; top: 18px; left: 18px; width: 30px; height: 30px; color: rgb(255 255 255 / 0.35); }
.project-noimg:hover { transform: none; }

/* Schwebende Kopfzeile („Pille“) beim Scrollen, ab Tablet-Breite */
@media (min-width: 961px) {
  .site-header .header-inner { border: 1px solid transparent; transition: height .35s ease, width .35s ease, padding .35s ease, background-color .35s ease, box-shadow .35s ease, border-color .35s ease; }
  .site-header .logo svg { transition: width .35s ease; }
  .site-header.is-scrolled { padding-top: 10px; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; border-bottom-color: transparent; }
  .site-header.is-scrolled .header-inner {
    height: 62px; width: calc(100% - 24px); max-width: 1200px; padding-inline: 24px 10px; border-radius: 999px;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    -webkit-backdrop-filter: saturate(170%) blur(18px); backdrop-filter: saturate(170%) blur(18px);
    border-color: var(--line); box-shadow: 0 12px 34px -14px rgb(19 32 58 / 0.35);
  }
  .site-header.is-scrolled .logo svg { width: 148px; }
}

/* Laufband mit Referenzen unter dem Startbereich */
.ticker { position: relative; background: var(--navy); color: #fff; border-top: 1px solid rgb(255 255 255 / 0.08); }
.ticker-viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker var(--ticker-duration, 120s) linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track, .ticker.is-paused .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 20px 0; }
.ticker li { display: flex; align-items: center; gap: 30px; padding-right: 30px; white-space: nowrap; font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; }
.ticker li span { color: rgb(255 255 255 / 0.55); font-weight: 500; margin-left: -18px; }
.ticker li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-red); box-shadow: 0 0 0 4px rgb(215 40 40 / 0.2); }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker-toggle {
  position: absolute; right: 12px; top: 50%; z-index: 1; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.25); background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.ticker-toggle svg { width: 14px; height: 14px; grid-area: 1 / 1; }
.ticker-toggle .i-play, .ticker.is-paused .ticker-toggle .i-pause { display: none; }
.ticker.is-paused .ticker-toggle .i-play { display: block; }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker-viewport { overflow-x: auto; }
  .ticker-toggle { display: none; }
}

/* Punktraster im Fokus-Abschnitt */
.focus::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--ink) 11%, transparent) 1px, transparent 1.6px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 55% 70% at 22% 45%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 55% 70% at 22% 45%, #000 0%, transparent 75%);
}
.focus-grid { z-index: 1; }

/* Referenzen als Mosaik: erste Kachel groß */
@media (min-width: 900px) {
  #referenz-liste > li:first-child { grid-column: span 2; grid-row: span 2; }
  #referenz-liste > li:first-child .project { height: 100%; }
  #referenz-liste > li:first-child .project img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  #referenz-liste > li:first-child .project-meta { padding: 26px 28px; }
  #referenz-liste > li:first-child .project-title { font-size: 1.7rem; letter-spacing: -0.02em; }
  #referenz-liste > li:first-child .project-place { font-size: 1rem; }
}

/* Kontakt als dunkles Band */
.contact-band { background: radial-gradient(90% 120% at 100% 0%, #26385d 0%, var(--navy) 55%), var(--navy); color: rgb(255 255 255 / 0.8); }
.contact-band .section-head h2 { color: #fff; }
.contact-band .section-head p { color: rgb(255 255 255 / 0.74); }
.contact-band .kicker { color: #ff7a7a; }
.contact-band .direct a { background: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.14); }
.contact-band .direct a:hover { border-color: rgb(255 255 255 / 0.5); }
.contact-band .direct strong { color: #fff; }
.contact-band .direct small { color: rgb(255 255 255 / 0.6); }
.contact-band .direct svg { color: #ff7a7a; }
.contact-band .form-card { border-color: color-mix(in srgb, var(--line) 60%, transparent); box-shadow: 0 30px 60px -24px rgb(0 0 0 / 0.55); }

/* lange Projektnamen auf kleinen Kacheln trennen */
.project-title { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }

/* =========================================================================
   Stufe 3: eingesetzte, abgerundete Flächen und Feinschliff (gleiche Farben)
   ========================================================================= */
:root {
  --inset: 12px;
  --panel-radius: 32px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
@media (max-width: 640px) { :root { --inset: 8px; --panel-radius: 22px; } }

/* Startbild als große, abgerundete Karte */
.has-hero .hero { margin: var(--inset) var(--inset) 0; border-radius: var(--panel-radius); }
.has-hero .hero-inner { min-height: calc(100vh - var(--inset)); min-height: calc(100svh - var(--inset)); }

/* farbige Abschnitte als eingesetzte Flächen */
.section-alt, .process-band, .contact-band, .ticker, .site-footer {
  margin: var(--inset); border-radius: var(--panel-radius); overflow: hidden;
}
.ticker { border-top: 0; }
.ticker-toggle { right: 16px; }

/* dezente Körnung auf dunklen Flächen */
.process-band, .contact-band, .site-footer, .ticker { position: relative; isolation: isolate; }
.process-band::after, .contact-band::after, .site-footer::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .06; background-image: var(--grain); mix-blend-mode: overlay;
}
.process-band { background: radial-gradient(70% 90% at 0% 0%, #22365c 0%, var(--navy) 60%), var(--navy); }

/* größere Display-Schrift */
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 1; letter-spacing: -0.045em; font-weight: 800; }
.hero-copy { max-width: 900px; }
.section-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -0.04em; font-weight: 800; }
.focus-statement h2 { font-weight: 800; letter-spacing: -0.045em; }

/* Akzenttexte mit rotem Verlauf */
.hero h1 em {
  background: linear-gradient(100deg, #ff7a6b 0%, #ff4d4d 45%, #e02a2a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.focus-figure {
  background: linear-gradient(100deg, #e33a3a 0%, #b81f1f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
:root[data-theme="dark"] .focus-figure { background-image: linear-gradient(100deg, #ff7a6b, #ff4d4d); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .focus-figure { background-image: linear-gradient(100deg, #ff7a6b, #ff4d4d); } }

/* Abschnitts-Labels als Pillen */
main .section .kicker {
  padding: 6px 13px 6px 11px; border-radius: 999px; letter-spacing: 0.12em;
  background: color-mix(in srgb, var(--brand-red) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand-red) 22%, transparent);
}
main .section .kicker::before { width: 7px; height: 7px; border-radius: 50%; }
.process-band .kicker, .contact-band .kicker { background: rgb(255 255 255 / 0.07) !important; border-color: rgb(255 255 255 / 0.16) !important; }

/* Lichtschein, der dem Mauszeiger auf Karten folgt */
.spot { --mx: 50%; --my: 50%; }
@media (hover: hover) {
  .steps li.spot, .contact-band .direct a.spot { background-image: radial-gradient(420px circle at var(--mx) var(--my), rgb(255 255 255 / 0.09), transparent 45%); }
  .focus-list li.spot, .location.spot { background-image: radial-gradient(460px circle at var(--mx) var(--my), rgb(215 40 40 / 0.07), transparent 45%); }
}

/* Lesefortschritt oben */
.read-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none;
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, #b81f1f, #ff5a5a);
}

/* großer Schriftzug in der Fußzeile */
.footer-wordmark {
  margin: 40px 0 -0.16em; font-family: var(--font-display); font-weight: 800; line-height: 0.8; letter-spacing: -0.05em;
  font-size: clamp(4.2rem, 19vw, 16rem); text-align: center; white-space: nowrap; user-select: none;
  color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / 0.16);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.10), rgb(255 255 255 / 0) 85%); -webkit-background-clip: text; background-clip: text;
}
.footer-wordmark span { -webkit-text-stroke-color: rgb(255 90 90 / 0.35); }

.site-footer { padding-bottom: 0; }
.footer-wordmark { margin-bottom: -0.12em; }

/* Sprunglink sicher ausblenden, bis er per Tastatur fokussiert wird */
.skip-link { top: 12px; transform: translateY(calc(-100% - 24px)); transition: transform .2s; }
.skip-link:focus { transform: none; }
.badges { border-top: 0; }


/* ---------- Fuhrpark-Karte (im Standorte-Abschnitt), sachlich ---------- */
.fleet {
  margin-top: 28px; border-radius: 28px; overflow: hidden; color: rgb(255 255 255 / 0.78); background: var(--navy);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px 48px;
  padding: clamp(28px, 4vw, 48px);
}
.fleet .kicker { color: #ff7a7a; padding: 6px 13px 6px 11px; border-radius: 999px; background: rgb(255 255 255 / 0.07); border: 1px solid rgb(255 255 255 / 0.16); }
.fleet .kicker::before { width: 7px; height: 7px; border-radius: 50%; }
.fleet h3 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; margin-top: 16px; }
.fleet-copy p { margin-top: 12px; max-width: 48ch; }
.fleet-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fleet-facts li { padding: 4px 20px; border-left: 1px solid rgb(255 255 255 / 0.16); }
.fleet-facts strong { display: block; color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.fleet-facts span { display: block; margin-top: 6px; font-size: 0.9rem; color: rgb(255 255 255 / 0.65); }
.fleet-photo { grid-column: 1 / -1; margin: 8px 0 0; }
.fleet-photo img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 20px; }
@media (max-width: 860px) {
  .fleet { grid-template-columns: 1fr; }
  .fleet-facts li:first-child { border-left: 0; padding-left: 0; }
}
.fleet-facts { display: flex; flex-wrap: wrap; row-gap: 16px; }
.fleet-facts li { flex: 0 1 auto; }
.fleet-facts li:first-child { border-left: 0; padding-left: 0; }

/* ---------- Sprachumschalter ---------- */
.main-nav .lang-switch { display: inline-flex; align-items: center; gap: 2px; margin-left: 8px; padding: 3px; border-radius: 999px; border: 1px solid var(--line); }
.main-nav .lang-switch a {
  padding: 5px 9px !important; border-radius: 999px !important; font-size: 0.78rem !important; font-weight: 700 !important;
  letter-spacing: 0.06em; line-height: 1; color: var(--muted) !important; box-shadow: none !important;
}
.main-nav .lang-switch a:hover { color: var(--ink) !important; background: var(--surface) !important; }
.main-nav .lang-switch a[aria-current="true"] { background: var(--ink) !important; color: var(--bg) !important; }
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .lang-switch { border-color: rgb(255 255 255 / 0.3); }
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .lang-switch a { color: rgb(255 255 255 / 0.8) !important; }
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .lang-switch a:hover { color: #fff !important; background: rgb(255 255 255 / 0.12) !important; }
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .lang-switch a[aria-current="true"] { background: #fff !important; color: var(--navy) !important; }
@media (max-width: 960px) {
  .main-nav .lang-switch { margin: 12px 0 0; align-self: flex-start; }
  .main-nav .lang-switch a { padding: 9px 14px !important; font-size: 0.9rem !important; }
}

/* mittlere Breiten: Menü mit Sprachumschalter kompakter, damit alles in eine Zeile passt */
@media (min-width: 961px) and (max-width: 1240px) {
  .header-inner { gap: 12px; }
  .logo svg { width: 132px; }
  .site-header.is-scrolled .logo svg { width: 124px; }
  .main-nav ul { gap: 0; }
  .main-nav a:not(.btn) { padding: 8px 9px; font-size: 0.9rem; }
  .main-nav .lang-switch { margin-left: 4px; }
  .main-nav .lang-switch a { padding: 5px 7px !important; }
  .main-nav .btn { margin-left: 6px; padding: 0 1.05em; font-size: 0.92rem; }
  .site-header.is-scrolled .header-inner { padding-inline: 16px 8px; }
}

/* Fuhrpark-Karte: Verlauf Dunkelblau -> Hellblau (wie zuvor, auf Wunsch) */
.fleet { background: radial-gradient(80% 120% at 100% 100%, #2f4a7a 0%, var(--navy) 62%), var(--navy); }

/* Fuhrpark: Fotoreihe (1–4 Fotos, vom Pflege-Skript eingesetzt) */
.fleet-gallery { grid-column: 1 / -1; display: grid; gap: 12px; margin-top: 8px; grid-template-columns: repeat(var(--n, 1), minmax(0, 1fr)); }
.fleet-gallery[data-count="2"] { --n: 2; }
.fleet-gallery[data-count="3"] { --n: 3; }
.fleet-gallery[data-count="4"] { --n: 4; }
.fleet-gallery .fleet-photo { grid-column: auto; margin: 0; }
.fleet-gallery img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; }
.fleet-gallery[data-count="1"] img { aspect-ratio: 21 / 9; }
@media (max-width: 700px) {
  .fleet-gallery[data-count="3"], .fleet-gallery[data-count="4"] { --n: 2; }
  .fleet-gallery[data-count="2"] { --n: 1; }
}

/* =========================================================================
   Blauverlauf über den Großteil der Startseite
   Die Abschnitte in <main> bekommen dunkle Farbwerte; dahinter läuft ein
   durchgehender Verlauf von Dunkelblau zu Hellblau.
   ========================================================================= */
body.has-hero { background: #111c33; }
.has-hero main {
  --bg: #13203a;
  --surface: rgb(255 255 255 / 0.05);
  --card: rgb(255 255 255 / 0.055);
  --ink: #ffffff;
  --text: rgb(255 255 255 / 0.82);
  --muted: rgb(255 255 255 / 0.66);
  --line: rgb(255 255 255 / 0.13);
  --accent: #ff7a7a;
  --field: rgb(255 255 255 / 0.07);
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.25);
  --shadow: 0 24px 48px -24px rgb(0 0 0 / 0.6);
  --ok-bg: #0f2a1b; --ok-ink: #a7e9c0; --ok-line: #1f5a37;
  --err-bg: #2c1214; --err-ink: #ffb4b4; --err-line: #6a2327;
  color-scheme: dark;
  color: var(--text);
  display: flow-root;
  background:
    radial-gradient(55% 28% at 92% 14%, rgb(74 118 196 / 0.42), transparent 72%),
    radial-gradient(48% 22% at 4% 34%, rgb(62 104 178 / 0.34), transparent 72%),
    radial-gradient(56% 24% at 96% 58%, rgb(74 118 196 / 0.34), transparent 72%),
    radial-gradient(50% 22% at 0% 82%, rgb(62 104 178 / 0.30), transparent 72%),
    linear-gradient(180deg, #111c33 0%, #172a4d 35%, #1b3157 60%, #14223f 100%);
}
/* eingesetzte Flächen bleiben als leicht hellere Karten erkennbar */
.has-hero main .section-alt { background: linear-gradient(160deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.025)); border: 1px solid rgb(255 255 255 / 0.08); }
.has-hero main .process-band,
.has-hero main .contact-band,
.has-hero main .ticker,
.has-hero main .fleet { border: 1px solid rgb(255 255 255 / 0.08); }
.has-hero main .process-band { background: radial-gradient(70% 90% at 0% 0%, #2a4472 0%, #13203a 62%), #13203a; }
.has-hero main .contact-band { background: radial-gradient(90% 120% at 100% 0%, #2f4a7a 0%, #13203a 58%), #13203a; }
/* Karten und Felder auf Blau */
.has-hero main .location, .has-hero main .focus-list li { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.has-hero main .focus-list li:hover { border-color: rgb(255 122 122 / 0.45); }
.has-hero main .focus-figure { background-image: linear-gradient(100deg, #ff8a7a, #ff4d4d); }
.has-hero main .project { background: rgb(255 255 255 / 0.06); }
.has-hero main .btn-outline:hover { border-color: #fff; }
.has-hero main .form-card { background: rgb(13 22 40 / 0.6); }
.has-hero main .badges p { color: rgb(255 255 255 / 0.7); }
.has-hero main .badges li { border-color: transparent; }
.has-hero .site-footer { border: 1px solid rgb(255 255 255 / 0.08); }

/* =========================================================================
   Kantige, schmale Formensprache (überschreibt die runden Formen von oben)
   ========================================================================= */
:root { --radius: 4px; --radius-sm: 3px; --panel-radius: 6px; }
@media (max-width: 640px) { :root { --panel-radius: 4px; } }

/* Schaltflächen und Bedienelemente */
.btn { border-radius: 3px; min-height: 46px; letter-spacing: 0.01em; }
.nav-toggle, .hero-pause, .hero-dots .hero-step, .lb-btn, .ticker-toggle { border-radius: 3px; }
.main-nav .lang-switch { border-radius: 3px; }
.main-nav .lang-switch a { border-radius: 2px !important; }
.site-header.is-scrolled .header-inner { border-radius: 4px; }
.project::before { border-radius: 2px; }

/* Labels: eckig statt Pille, Punkt als kleines Quadrat */
.kicker::before { border-radius: 0; }
.hero .kicker, main .section .kicker, .fleet .kicker { border-radius: 2px; }
.hero .kicker::before, main .section .kicker::before, .fleet .kicker::before { width: 6px; height: 6px; border-radius: 0; box-shadow: none; }
.ticker li::after { border-radius: 0; width: 5px; height: 5px; box-shadow: none; }

/* Karten, Flächen, Bilder */
.hero-facts { border-radius: 4px; }
.fleet { border-radius: var(--panel-radius); }
.form-card { border-radius: var(--radius); }
.fleet-gallery img { border-radius: 2px; }
.fleet-facts li { border-radius: 0; }
.service-icon, .focus-icon { border-radius: 3px; }
.project, .project img, .service, .location, .focus-list li, .steps li, .legal-card, .direct a, .consent, .badges li { border-radius: var(--radius); }
.lightbox img { border-radius: 2px; }
.field input, .field textarea { border-radius: 2px; }
.form-status { border-radius: 2px; }

/* schmale Akzentlinien statt Rundungen */
.project-title { letter-spacing: -0.005em; }
.section-head h2 { letter-spacing: -0.035em; }

/* Impressum: deutlich kleinere Schrift */
.page-impressum .page-hero { padding-block: 36px 24px; }
.page-impressum .page-hero h1 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 10px; }
.page-impressum .page-hero p { font-size: 0.82rem; margin-top: 6px; }
.page-impressum .prose { font-size: 0.8rem; line-height: 1.55; padding-block: 28px 40px; }
.page-impressum .prose h2 { font-size: 0.95rem; margin: 26px 0 6px; }
.page-impressum .legal-cards { gap: 12px; }
.page-impressum .legal-card { padding: 14px 18px; }
.page-impressum .legal-card h2 { font-size: 0.95rem; margin-bottom: 6px; }
.page-impressum .legal-card dl { margin-top: 8px; gap: 2px 14px; }
.page-impressum .legal-card p, .page-impressum .prose p { margin-bottom: 8px; }
/* Impressum noch kompakter */
.page-impressum .page-hero { padding-block: 24px 16px; }
.page-impressum .page-hero h1 { font-size: 1.2rem; margin-top: 6px; }
.page-impressum .page-hero p { font-size: 0.75rem; }
.page-impressum .page-hero .kicker { font-size: 0.68rem; }
.page-impressum .prose { max-width: 1100px; font-size: 0.75rem; line-height: 1.5; padding-block: 20px 32px; }
.page-impressum .prose h2 { font-size: 0.82rem; margin: 18px 0 4px; }
.page-impressum .legal-card { padding: 12px 14px; }
.page-impressum .legal-card h2 { font-size: 0.82rem; }
.page-impressum .legal-card dl { grid-template-columns: max-content 1fr; gap: 1px 12px; }
@media (min-width: 900px) { .page-impressum .legal-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Fuhrpark-Foto: Ausschnitt und Hinweis „Symbolbild" */
.fleet-gallery .fleet-photo { position: relative; }
.fleet-gallery[data-count="1"] img { object-position: 50% 82%; }
.fleet-note {
  position: absolute; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 2px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; color: #fff; background: rgb(10 17 32 / 0.6);
}

/* ---------- Kenia: Hinweis im Startbild, Abschnitt, Standortkarte ---------- */
.hero-news {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 5px 12px 5px 5px;
  border-radius: 3px; text-decoration: none; color: #fff; font-size: 0.88rem; font-weight: 600;
  background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.22);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .2s, border-color .2s;
}
.hero-news:hover { background: rgb(255 255 255 / 0.18); border-color: rgb(255 255 255 / 0.4); }
.hero-news-tag { padding: 3px 8px; border-radius: 2px; background: var(--btn); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-news svg { width: 16px; height: 16px; transition: transform .25s; }
.hero-news:hover svg { transform: translateX(3px); }
.hero-copy > .hero-news + .kicker { margin-top: 4px; }

.kenya-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.kenya-copy h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04; margin-top: 14px; }
.kenya-copy p { margin-top: 16px; font-size: 1.1rem; color: var(--muted); max-width: 52ch; }
.kenya-copy .btn { margin-top: 26px; }
.kenya-cities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kenya-cities li {
  position: relative; overflow: hidden; padding: 28px 22px 22px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgb(255 255 255 / 0.09), rgb(255 255 255 / 0.03)); border: 1px solid var(--line);
}
.kenya-cities strong { display: block; color: var(--ink); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.kenya-cities li > span:last-child { display: block; margin-top: 6px; color: var(--muted); font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; }
/* schmale Streifen in den Farben Kenias */
.kenya-stripe { position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(180deg, #111 0 33%, #fff 33% 38%, #bb0000 38% 62%, #fff 62% 67%, #006600 67% 100%); }
@media (max-width: 900px) { .kenya-grid { grid-template-columns: 1fr; } }

.locations { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.location-new { position: relative; border-color: rgb(255 122 122 / 0.45); }
.location-badge { position: absolute; top: 16px; right: 16px; padding: 3px 8px; border-radius: 2px; background: var(--btn); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-news { display: flex; width: fit-content; max-width: 100%; }
.locations { grid-template-columns: 1fr; }
@media (min-width: 901px) { .locations { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* mit vier Karten (z. B. wieder mit Kenia): 2 bzw. 4 Spalten */
@media (min-width: 640px) { .locations:has(> li:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .locations:has(> li:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* =========================================================================
   Startseite: eckigere, schmale Schrift für Überschriften (Saira Semi Condensed, SIL OFL,
   siehe assets/fonts/OFL-Saira-Semi-Condensed.txt). Fließtext bleibt Manrope.
   ========================================================================= */
@font-face { font-family: "Saira Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/saira-semi-condensed-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Saira Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/saira-semi-condensed-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Saira Semi Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/saira-semi-condensed-latin-800.woff2") format("woff2"); }

.has-hero { --font-angular: "Saira Semi Condensed", "Manrope", "Segoe UI", system-ui, sans-serif; }
.has-hero h1, .has-hero h2, .has-hero h3,
.has-hero .hero-facts strong, .has-hero .fleet-facts strong, .has-hero .kenya-cities strong,
.has-hero .project-title, .has-hero .location-city, .has-hero .steps li::before,
.has-hero .kicker, .has-hero .btn, .has-hero .main-nav a, .has-hero .hero-news,
.has-hero .footer-grid h2, .has-hero .footer-wordmark, .has-hero .ticker li, .has-hero .hero-count {
  font-family: var(--font-angular);
}
.has-hero .hero h1 { font-size: clamp(2.8rem, 7.4vw, 6.2rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.015em; }
.has-hero .section-head h2, .has-hero .focus-statement h2, .has-hero .kenya-copy h2 { font-weight: 800; letter-spacing: -0.01em; line-height: 1.02; font-size: clamp(2.3rem, 5vw, 3.9rem); }
.has-hero h3 { letter-spacing: 0; }
.has-hero .service h3 { font-size: 1.4rem; font-weight: 700; }
.has-hero .services > li:first-child h3 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.has-hero .steps h3, .has-hero .focus-list h3 { font-size: 1.35rem; font-weight: 700; }
.has-hero .project-title { font-weight: 700; font-size: 1.12rem; letter-spacing: 0.005em; }
.has-hero .hero-facts strong, .has-hero .fleet-facts strong { font-weight: 800; letter-spacing: 0; font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.has-hero .kenya-cities strong, .has-hero .location-city { font-weight: 800; letter-spacing: 0; }
.has-hero .steps li::before { font-weight: 800; letter-spacing: 0; font-size: 3.6rem; }
.has-hero .kicker { font-weight: 700; letter-spacing: 0.16em; font-size: 0.82rem; }
.has-hero .btn { font-weight: 700; letter-spacing: 0.03em; font-size: 1.02rem; }
.has-hero .main-nav a:not(.btn) { font-weight: 600; font-size: 1.02rem; letter-spacing: 0.01em; }
.has-hero .footer-wordmark { font-weight: 800; letter-spacing: -0.01em; }
.has-hero .ticker li { font-weight: 700; font-size: 1.1rem; letter-spacing: 0.01em; }

/* Branchen-News im Laufband: festes Etikett links, Überschriften laufen durch */
.ticker-label { display: none; }
.ticker.has-news { display: flex; align-items: stretch; }
.ticker.has-news .ticker-viewport { flex: 1 1 auto; min-width: 0; }
.ticker.has-news .ticker-label {
  display: flex; flex: none; align-items: center; margin: 0; padding: 0 18px 0 20px;
  border-right: 1px solid rgb(255 255 255 / 0.1);
}
.ticker-label span {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 2px;
  background: var(--brand-red); color: #fff; font-family: var(--font-angular, inherit);
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
}
.ticker-label span::before { content: ""; width: 6px; height: 6px; background: #fff; }
.ticker.has-news ul { padding: 17px 0; }
.has-hero .ticker.has-news li { font-weight: 600; font-size: 1.02rem; letter-spacing: 0.005em; }
.ticker.has-news li a { display: inline-flex; align-items: baseline; gap: 12px; color: #fff; text-decoration: none; border-radius: 2px; }
.ticker.has-news li a:hover .news-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ticker.has-news li a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.ticker li .news-title { margin-left: 0; color: inherit; font-weight: inherit; }
.ticker li .news-source { margin-left: 0; color: rgb(255 255 255 / 0.62); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.ticker li time { color: rgb(255 255 255 / 0.55); font-weight: 500; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  /* Handy: Etikett über der Laufzeile, damit die Überschriften die volle Breite haben */
  .ticker.has-news { flex-wrap: wrap; }
  .ticker.has-news .ticker-label { flex-basis: 100%; padding: 12px 14px 0; border-right: 0; }
  .ticker.has-news .ticker-viewport { flex-basis: 100%; }
  .ticker.has-news .ticker-toggle { top: 12px; transform: none; width: 30px; height: 30px; }
  .ticker-label span { gap: 6px; padding: 5px 8px; font-size: 0.7rem; letter-spacing: 0.12em; }
  .ticker.has-news ul { padding: 12px 0 14px; }
  .has-hero .ticker.has-news li { font-size: 0.98rem; }
}
