/* b5t it & security – Stylesheet
   Markenfarben: Dunkelorange #C2410C · Nachtblau #0F172A · Schiefergrau #475569 · Orange hell #F97316 (nur auf Dunkel)
   Schriften: Red Hat Display (Überschriften), Red Hat Text (Fließtext) – selbst gehostet, keine externen Requests. */

@font-face { font-family: "Red Hat Display"; src: url("../fonts/RedHatDisplay-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Red Hat Display"; src: url("../fonts/RedHatDisplay-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Red Hat Text"; src: url("../fonts/RedHatText-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Red Hat Text"; src: url("../fonts/RedHatText-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Red Hat Text"; src: url("../fonts/RedHatText-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Farben & Tokens ---------- */
:root {
  --navy: #0F172A;
  --orange-d: #C2410C;
  --orange-h: #F97316;
  --slate: #475569;

  --bg: #F8FAFC;
  --bg-alt: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F1F5F9;
  --text: #0F172A;
  --muted: #475569;
  --line: #E2E8F0;
  --line-strong: #CBD5E1;
  --accent: #C2410C;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(194, 65, 12, .08);
  --grid-line: rgba(15, 23, 42, .045);
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px -12px rgba(15, 23, 42, .15);

  --font-head: "Red Hat Display", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-text: "Red Hat Text", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --radius: 14px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1222; --bg-alt: #0F172A; --surface: #111A2E; --surface-2: #16213A;
    --text: #F8FAFC; --muted: #94A3B8; --line: #1E293B; --line-strong: #334155;
    --accent: #F97316; --accent-ink: #0F172A; --accent-soft: rgba(249, 115, 22, .10);
    --grid-line: rgba(248, 250, 252, .035);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -16px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B1222; --bg-alt: #0F172A; --surface: #111A2E; --surface-2: #16213A;
  --text: #F8FAFC; --muted: #94A3B8; --line: #1E293B; --line-strong: #334155;
  --accent: #F97316; --accent-ink: #0F172A; --accent-soft: rgba(249, 115, 22, .10);
  --grid-line: rgba(248, 250, 252, .035);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -16px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-text); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: .2em; text-decoration-thickness: 2px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-weight: 900; font-size: clamp(2.4rem, 6.2vw, 4.6rem); }
h2 { font-weight: 900; font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Unterstrich-Motiv aus der Marke: "leistungen_" */
.eyebrow {
  display: inline-flex; align-items: center; gap: .1em;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  color: var(--accent); margin-bottom: .9rem; text-transform: lowercase;
}
.eyebrow::after { content: "_"; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; padding: .85em 1.35em;
  border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { color: var(--accent-ink); filter: brightness(1.08); }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light { display: none; }
  :root:not([data-theme="light"]) .logo-dark { display: block; }
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; padding: .45em .8em; border-radius: 8px; font-weight: 500; font-size: .98rem; }
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav .nav-cta { background: var(--accent); color: var(--accent-ink); font-family: var(--font-head); font-weight: 700; margin-left: 6px; }
.nav .nav-cta:hover { background: var(--accent); color: var(--accent-ink); filter: brightness(1.08); }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer;
}
.icon-btn:hover { border-color: var(--line-strong); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
.header-tools { display: flex; align-items: center; gap: 8px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute; right: 0; top: 50px; width: min(280px, 86vw); padding: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; gap: 2px;
}
.menu-panel a { text-decoration: none; padding: .7em .9em; border-radius: 8px; font-weight: 500; }
.menu-panel a:hover { background: var(--surface-2); color: var(--text); }
@media (max-width: 860px) {
  .nav { display: none; }
  .menu { display: block; }
  .brand img { height: 34px; }
}

/* ---------- Hero mit Fotos + virtuellem Gitter ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #F8FAFC; background: var(--navy);
  min-height: min(92svh, 920px); display: flex; align-items: flex-end;
}
.hero-slides { position: absolute; inset: 0; z-index: -3; margin: 0; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 9s ease-out; }
.slide.is-active img { transform: scale(1); }
/* Fokuspunkte für schmale Bildschirme */
.s-hochkar img { object-position: 55% 50%; }
.s-casablanca img { object-position: 45% 50%; }
.s-semmering img { object-position: 40% 50%; }
.s-bohinj img { object-position: 50% 50%; }
.s-sahara img { object-position: 50% 50%; }
.s-gesaeuse img { object-position: 60% 50%; }
.s-sonnenblumen img { object-position: 50% 50%; }
.s-wachau img { object-position: 62% 50%; }
.s-stromboli img { object-position: 48% 50%; }
.s-kappadokien img { object-position: 55% 50%; }
/* Horizont je Foto (Fluchtpunkt des Gitters) */
.hero { --horizon: 50%; }
.hero[data-slide="hochkar"] { --horizon: 52%; }
.hero[data-slide="casablanca"] { --horizon: 42%; }
.hero[data-slide="semmering"] { --horizon: 40%; }
.hero[data-slide="bohinj"] { --horizon: 60%; }
.hero[data-slide="sahara"] { --horizon: 49%; }
.hero[data-slide="gesaeuse"] { --horizon: 75%; }
.hero[data-slide="sonnenblumen"] { --horizon: 56%; }
.hero[data-slide="wachau"] { --horizon: 50%; }
.hero[data-slide="stromboli"] { --horizon: 66%; }
.hero[data-slide="kappadokien"] { --horizon: 51%; }

.hero-shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, .78) 0%, rgba(15, 23, 42, .35) 45%, rgba(15, 23, 42, 0) 75%),
    linear-gradient(180deg, rgba(15, 23, 42, .35) 0%, rgba(15, 23, 42, .05) 35%, rgba(15, 23, 42, .85) 100%);
}
.hero-grid {
  position: absolute; inset: 0; bottom: calc(100% - var(--horizon)); z-index: -1; pointer-events: none;
  transition: bottom 1.6s ease;
  background-image:
    linear-gradient(to right, rgba(248, 250, 252, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(248, 250, 252, .07) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .75) 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .75) 70%, transparent 100%);
}
.hero-floor {
  position: absolute; left: -10%; right: -10%; bottom: 0; top: var(--horizon); z-index: -1;
  width: 120%; height: calc(100% - var(--horizon)); color: var(--orange-h); pointer-events: none;
  transition: top 1.6s ease, height 1.6s ease;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%, rgba(0, 0, 0, .55) 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 45%, rgba(0, 0, 0, .55) 100%);
}
.hero-floor path { fill: none; stroke: currentColor; stroke-width: 1; stroke-opacity: .5; vector-effect: non-scaling-stroke; }
.hero-horizon {
  position: absolute; left: 0; right: 0; top: var(--horizon); height: 1px; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, .8) 30%, rgba(249, 115, 22, .8) 70%, transparent);
  box-shadow: 0 0 18px 2px rgba(249, 115, 22, .45); transition: top 1.6s ease;
}
/* Gitter leuchtet rund um den Mauszeiger: orange Kopie von Raster und Boden, nur im Lichtkegel sichtbar */
.hero-hot {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .45s ease;
  -webkit-mask-image: radial-gradient(circle 240px at var(--mx, -999px) var(--my, -999px), #000 0%, rgba(0, 0, 0, .45) 40%, transparent 100%);
  mask-image: radial-gradient(circle 240px at var(--mx, -999px) var(--my, -999px), #000 0%, rgba(0, 0, 0, .45) 40%, transparent 100%);
}
.hero.is-glowing .hero-hot { opacity: 1; }
.hot-grid {
  position: absolute; inset: 0; bottom: calc(100% - var(--horizon)); transition: bottom 1.6s ease;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 75%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 75%, transparent 100%);
  background-image:
    linear-gradient(to right, rgba(249, 115, 22, .85) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(249, 115, 22, .85) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
}
.hero-floor.hot path { stroke-opacity: 1; stroke-width: 2; }
.hero-nodes { position: absolute; right: 6%; top: 14%; width: min(34vw, 380px); z-index: -1; pointer-events: none; opacity: .9; }
.hero-nodes line { stroke: rgba(248, 250, 252, .35); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero-nodes rect { fill: var(--orange-h); }
.hero-nodes .pulse { transform-box: fill-box; transform-origin: center; animation: pulse 3.2s ease-in-out infinite; }
.hero-nodes .pulse:nth-of-type(2) { animation-delay: 1.1s; }
.hero-nodes .pulse:nth-of-type(3) { animation-delay: 2.2s; }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

.hero-content { padding: clamp(110px, 16vh, 180px) 0 clamp(48px, 9vh, 96px); }
.hero .eyebrow { color: var(--orange-h); }
.hero h1 { max-width: 15ch; min-height: 2.16em; display: flex; align-items: flex-end; text-wrap: balance; }  /* Platz für 2 Zeilen: kein Springen beim Wechsel */
.hero h1 .slogan { display: block; transition: opacity .45s ease, transform .45s ease; }
.hero h1 .slogan.is-swapping { opacity: 0; transform: translateY(8px); }
.hero h1 .accent { color: var(--orange-h); }
.hero .lead { color: rgba(248, 250, 252, .86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .btn-primary { background: var(--orange-h); color: var(--navy); }
.hero .btn-ghost { color: #F8FAFC; }
.hero .btn-ghost:hover { color: var(--orange-h); }
.hero-meta {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(40px, 8vh, 80px); padding-top: 18px; border-top: 1px solid rgba(248, 250, 252, .16);
  font-size: .9rem; color: rgba(248, 250, 252, .72);
}
.hero-caption { display: inline-flex; align-items: center; gap: .5em; min-height: 1.5em; }
.hero-caption svg { width: 16px; height: 16px; color: var(--orange-h); flex-shrink: 0; }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button {
  width: 28px; height: 4px; padding: 0; border: 0; border-radius: 4px; cursor: pointer;
  background: rgba(248, 250, 252, .3); transition: background .3s, width .3s;
}
.hero-dots button[aria-current="true"] { background: var(--orange-h); width: 44px; }
@media (max-width: 600px) { .hero-dots { gap: 6px; } .hero-dots button { width: 18px; } .hero-dots button[aria-current="true"] { width: 30px; } }
/* Gitter-Raster auf Bildstreifen (Rechenzentrum) wiederverwendet */
.gridded { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius); background: var(--navy); }
.gridded img { width: 100%; height: 100%; object-fit: cover; }
.gridded::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(248, 250, 252, .09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(248, 250, 252, .09) 1px, transparent 1px);
  background-size: 48px 48px;
}
.gridded::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 40%, rgba(15, 23, 42, .75) 100%);
}
.glow-layer {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .45s ease;
  background-image:
    linear-gradient(to right, rgba(249, 115, 22, .9) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(249, 115, 22, .9) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(circle 170px at var(--mx, -999px) var(--my, -999px), #000 0%, rgba(0, 0, 0, .4) 40%, transparent 100%);
  mask-image: radial-gradient(circle 170px at var(--mx, -999px) var(--my, -999px), #000 0%, rgba(0, 0, 0, .4) 40%, transparent 100%);
}
.is-glowing > .glow-layer { opacity: 1; }
.gridded figcaption {
  position: absolute; left: 16px; bottom: 14px; z-index: 3; color: rgba(248, 250, 252, .85);
  font-size: .85rem; display: inline-flex; align-items: center; gap: .45em;
}
.gridded figcaption svg { width: 15px; height: 15px; color: var(--orange-h); }

/* ---------- Sektionen ---------- */
.section { padding: clamp(72px, 11vw, 128px) 0; position: relative; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-grid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, var(--grid-line) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 80% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 80% 0%, #000 0%, transparent 70%);
}
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); position: relative; }
.section-head p { color: var(--muted); font-size: 1.12rem; }

/* Leistungen */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 18px; position: relative; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 24px; box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.card::after {
  content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 3px;
  background: var(--accent); border-radius: 0 0 3px 3px; transform: scaleX(.18); transform-origin: left; transition: transform .35s ease;
}
.card:hover::after { transform: scaleX(1); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--accent-soft); color: var(--accent);
}
.card-icon svg { width: 26px; height: 26px; }
.card p { color: var(--muted); }
.card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .97rem; }
.card li { padding-left: 1.3em; position: relative; }
.card li::before { content: "_"; position: absolute; left: 0; top: -.05em; color: var(--accent); font-family: var(--font-head); font-weight: 900; }
.card-media { margin: -28px -26px 22px; aspect-ratio: 16 / 9; }  /* optional: Foto oben in einer Karte */
.note {
  margin-top: 26px; padding: 18px 22px; border-radius: var(--radius); border: 1px dashed var(--line-strong);
  color: var(--muted); display: flex; gap: 14px; align-items: flex-start; position: relative;
}
.note svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* Rechenzentrum */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split .gridded { aspect-ratio: 4 / 3.4; }
.features { display: grid; gap: 14px; margin-top: 26px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .card-icon { width: 42px; height: 42px; margin: 0; flex-shrink: 0; }
.feature .card-icon svg { width: 22px; height: 22px; }
.feature strong { display: block; font-family: var(--font-head); font-size: 1.08rem; }
.feature span { color: var(--muted); font-size: .98rem; }

/* Erfahrung */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.stat { padding: 28px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-head); font-weight: 900; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1; color: var(--accent); letter-spacing: -.03em; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: .95rem; line-height: 1.4; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } .stat { border-right: 0; border-bottom: 1px solid var(--line); } .stat:last-child { border-bottom: 0; } }
.cases { margin-top: 26px; }
.case h3 { font-size: 1.15rem; }
.case .tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.quotes { margin-top: 26px; }
.quote blockquote { margin: 0 0 16px; font-size: 1.08rem; }
.quote figcaption { color: var(--muted); font-size: .92rem; }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; padding: 22px 0 0; border-top: 2px solid var(--line-strong); position: relative; }
.steps li::before {
  content: "0" counter(step) "_"; display: block; font-family: var(--font-head); font-weight: 900; font-size: 1.6rem; color: var(--accent); margin-bottom: 8px;
}
.steps li::after { content: ""; position: absolute; top: -2px; left: 0; width: 44px; height: 2px; background: var(--accent); }
.steps strong { font-family: var(--font-head); font-size: 1.15rem; display: block; margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: .98rem; }

/* Über uns / Team – weitere Personen einfach als <article class="person"> ergänzen */
.team { display: grid; gap: 22px; }
.person {
  display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: clamp(22px, 4vw, 48px);
  background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow);
}
@media (max-width: 820px) { .person { grid-template-columns: 1fr; } }
.person-photo { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius); }
.person-photo img { object-position: 50% 25%; }
.person h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 900; margin-bottom: 4px; }
.person .role { color: var(--accent); font-family: var(--font-head); font-weight: 700; margin-bottom: 18px; }
.person .bio { color: var(--muted); }
.timeline { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .97rem; }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline time { font-family: var(--font-head); font-weight: 700; color: var(--accent); white-space: nowrap; }
@media (max-width: 480px) { .timeline li { grid-template-columns: 1fr; gap: 0; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.chips li { padding: .35em .8em; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .88rem; font-weight: 500; }
.person-links { display: flex; flex-wrap: wrap; gap: 10px; }
.person-links a { font-size: .95rem; padding: .55em 1em; }
.team-note { color: var(--muted); font-size: .97rem; margin-top: 18px; }

/* Kontakt */
.contact {
  position: relative; overflow: hidden; isolation: isolate; border-radius: calc(var(--radius) + 8px);
  background: var(--navy); color: #F8FAFC; padding: clamp(32px, 6vw, 72px); border: 1px solid var(--line-strong);
}
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(to right, rgba(248, 250, 252, .06) 1px, transparent 1px), linear-gradient(to bottom, rgba(248, 250, 252, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 100% 100%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 100% 100%, #000, transparent 70%);
}
.contact::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; bottom: -260px; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, .35), transparent 65%);
}
.contact .glow-layer { z-index: -1; }
.contact .eyebrow { color: var(--orange-h); }
.contact p { color: rgba(248, 250, 252, .8); max-width: 58ch; font-size: 1.1rem; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; margin-top: 30px; }
.contact-tile {
  display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--radius);
  background: rgba(248, 250, 252, .05); border: 1px solid rgba(248, 250, 252, .12); text-decoration: none; color: #F8FAFC;
  transition: border-color .2s, background .2s;
}
a.contact-tile:hover { border-color: var(--orange-h); background: rgba(249, 115, 22, .08); color: #F8FAFC; }
.contact-tile svg { width: 24px; height: 24px; color: var(--orange-h); flex-shrink: 0; }
.contact-tile small { display: block; color: rgba(248, 250, 252, .6); font-size: .82rem; }
.contact-tile b { font-family: var(--font-head); font-size: 1.05rem; word-break: break-word; }
.contact .btn-primary { background: var(--orange-h); color: var(--navy); margin-top: 30px; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--line); background: var(--bg-alt); font-size: .95rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand img { height: 36px; margin-bottom: 14px; }
.site-footer h4 { font-family: var(--font-head); color: var(--text); margin: 0 0 12px; font-size: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .88rem; }

/* ---------- Rechtstexte / Unterseiten ---------- */
.page-head { padding: clamp(56px, 9vw, 104px) 0 clamp(24px, 4vw, 40px); position: relative; }
.prose { padding-bottom: clamp(64px, 9vw, 112px); }
.prose > * { max-width: 760px; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 700; margin-top: 2.2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; margin: 0 0 1em; }
.prose dt { font-weight: 700; }
.prose dd { margin: 0; }
@media (max-width: 560px) { .prose dl { grid-template-columns: 1fr; } .prose dd { margin-bottom: 10px; } }
.big-404 { font-family: var(--font-head); font-weight: 900; font-size: clamp(5rem, 18vw, 11rem); line-height: .9; color: var(--accent); margin: 0 0 .1em; }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .slide img { transform: none; }
}
