/*
Theme Name: Home of Hightech
Description: Design von Home of Hightech (Kopf-/Fußzeile, Schriften, Farben, Gestaltung der Blöcke). Zusammen mit dem Plugin „Home of Hightech – Blöcke“ verwenden; dort unter Design → HoH-Seiten die Seiten anlegen.
Version: 2.3.2
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: hoh
*/

/* ACHTUNG: style.css wird von tools/sync-static.php erzeugt (00-kopf.css + statisches style.css + alt.css + 90-wordpress.css).
   Nicht direkt bearbeiten: Design-Änderungen in hoh-website-static, WordPress-Ergänzungen in css/90-wordpress.css. */

/* Barlow Condensed lokal (SIL Open Font License, siehe fonts/OFL.txt) – keine Verbindung zu Google */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/barlow-condensed-400.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/barlow-condensed-500.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlow-condensed-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/barlow-condensed-700.woff2) format("woff2"); }


/* HoH Landingpages – gemeinsames Stylesheet (Mittelstand + Systemhäuser)
   Layout-Konzept: Industrie-Nüchternheit, Rack-Motiv (19-Zoll-Einheiten) im Hero,
   Vorteile als Listen mit harten Linien statt Karten, dunkle Bänder für Hero, Kernbotschaft, Kontakt.
   Styleguide: #343a40 / #f3f3f3 / #3f71b3, Barlow Condensed (Fallback für Eurostile LT Std). */
:root {
  --bg: #f3f3f3;
  --bg-alt: #e8eaec;
  --surface: #ffffff;
  --ink: #343a40;
  --ink-strong: #1f2328;
  --muted: #565e66;
  --line: #cdd2d7;
  --blue-text: #2f5f9c;
  --blue-btn: #3f71b3;
  --on-blue: #ffffff;
  --band: #343a40;
  --band-deep: #2a2f34;
  --band-unit: #3d444b;
  --band-ink: #f3f3f3;
  --band-muted: #b9c0c7;
  --band-line: #4d555d;
  --band-blue: #8fb2e3;
  /* Styleguide: H1 Eurostile Bold 35pt, H2 Eurostile Bold Condensed 24pt, H3 Barlow Condensed Semibold 16pt, Copy Barlow Condensed Regular 12pt */
  --fs-h1: 35pt; --fs-h2: 24pt; --fs-h3: 16pt; --fs-body: 12pt; --fs-lead: 14pt;
  --font: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #181b1f; --bg-alt: #1f2328; --surface: #24292e;
    --ink: #e4e7ea; --ink-strong: #ffffff; --muted: #a3abb3; --line: #394047;
    --blue-text: #8fb2e3;
    --band: #101316; --band-deep: #0c0e10; --band-unit: #1d2227; --band-line: #2f363c;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #181b1f; --bg-alt: #1f2328; --surface: #24292e;
  --ink: #e4e7ea; --ink-strong: #ffffff; --muted: #a3abb3; --line: #394047;
  --blue-text: #8fb2e3;
  --band: #101316; --band-deep: #0c0e10; --band-unit: #1d2227; --band-line: #2f363c;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--blue-text); }
:focus-visible { outline: 3px solid var(--band-blue); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }

h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; color: var(--ink-strong); }
h1 { font-size: var(--fs-h1); line-height: 1.08; text-transform: uppercase; letter-spacing: .005em; }
h2 { font-size: var(--fs-h2); line-height: 1.1; text-transform: uppercase; }
h3 { font-size: var(--fs-h3); line-height: 1.2; font-weight: 600; }
p { margin: 0; }
.eyebrow {
  font-size: var(--fs-body); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-text);
}
.lead { font-size: var(--fs-lead); line-height: 1.4; max-width: 44ch; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: var(--band); color: var(--band-ink);
  border-bottom: 1px solid var(--band-line);
}
.site-header .bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--band-ink); text-decoration: none; }
.mark { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; font-size: 1.7rem; line-height: 1; }
.mark i { width: 3px; height: 1.5rem; background: var(--band-blue); display: inline-block; }
.brand-name { font-size: .95rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center; }
.site-header nav a {
  color: var(--band-muted); text-decoration: none; font-weight: 600; font-size: var(--fs-body);
  letter-spacing: .08em; text-transform: uppercase; padding-block: 4px; border-bottom: 2px solid transparent;
}
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--band-ink); border-bottom-color: var(--band-blue); }

/* ---------- Hero ---------- */
.hero { background: var(--band); color: var(--band-ink); padding-block: 56px 64px; position: relative; overflow: hidden; }
.hero::after { /* feines Raster, nur Atmosphäre */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: linear-gradient(90deg, var(--band-line) 1px, transparent 1px) 0 0 / 64px 100%;
  mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); } }
.hero h1 { color: var(--band-ink); margin-block: 14px 22px; }
.hero .eyebrow { color: var(--band-blue); }
.hero .lead { color: var(--band-muted); margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: .62em 1.25em; font: inherit; font-weight: 700; font-size: var(--fs-body);
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--blue-btn); color: var(--on-blue); border-color: var(--blue-btn); }
.btn-primary:hover { background: #4d80c4; border-color: #4d80c4; }
.btn-ghost { color: var(--band-ink); border-color: var(--band-muted); background: transparent; }
.btn-ghost:hover { border-color: var(--band-ink); background: rgba(255,255,255,.06); }

/* Rack-Motiv */
.rack-wrap { justify-self: center; width: 100%; max-width: 290px; }
.rack {
  position: relative; display: grid; gap: 6px; padding: 14px 26px;
  background: var(--band-deep); border: 2px solid var(--band-line);
}
.rack::before, .rack::after {
  content: ""; position: absolute; top: 10px; bottom: 10px; width: 8px;
  background: radial-gradient(circle, var(--band-line) 2px, transparent 2.6px) 0 0 / 8px 20px repeat-y;
}
.rack::before { left: 8px; } .rack::after { right: 8px; }
.unit { display: flex; align-items: center; gap: 9px; height: 36px; padding-inline: 10px; background: var(--band-unit); border: 1px solid var(--band-line); }
.unit .vent { flex: 1; height: 12px; background: repeating-linear-gradient(90deg, var(--band-line) 0 2px, transparent 2px 7px); }
.unit.tall { height: 56px; }
.led { width: 7px; height: 7px; background: var(--band-blue); flex: none; }
.led.off { background: var(--band-line); }
.led.blink { animation: blink 2.4s steps(1) infinite; }
.led.blink.b2 { animation-delay: .8s; } .led.blink.b3 { animation-delay: 1.5s; }
@keyframes blink { 0%, 70% { opacity: 1; } 71%, 100% { opacity: .25; } }
.rack-cap { margin-top: 10px; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: var(--band-muted); text-align: center; }

/* ---------- Überblick ---------- */
.glance { background: var(--surface); border-bottom: 1px solid var(--line); }
.glance h2 { font-size: 1rem; letter-spacing: .14em; color: var(--muted); font-weight: 600; padding-top: 22px; }
.glance ul { list-style: none; margin: 0; padding: 14px 0 26px; display: grid; gap: 0; }
@media (min-width: 800px) { .glance ul { grid-template-columns: repeat(3, 1fr); } .glance li + li { border-left: 1px solid var(--line); padding-left: 28px; } .glance li { padding-right: 28px; } }
.glance li { font-size: var(--fs-lead); line-height: 1.35; padding-block: 10px; color: var(--ink-strong); font-weight: 500; }
@media (max-width: 799px) { .glance li + li { border-top: 1px solid var(--line); } }

/* ---------- Sektionen ---------- */
section { padding-block: 72px; }
.sec-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 760px; }
.sec-head p { color: var(--muted); font-size: var(--fs-lead); max-width: 56ch; }
.alt { background: var(--bg-alt); }

.benefits { display: grid; gap: 0 56px; }
@media (min-width: 800px) { .benefits { grid-template-columns: 1fr 1fr; } }
.benefit { border-top: 2px solid var(--ink); padding: 18px 0 34px; display: grid; gap: 8px; align-content: start; }
.benefit p { color: var(--muted); max-width: 40ch; }
.benefits.three { }
@media (min-width: 900px) { .benefits.three { grid-template-columns: repeat(3, 1fr); } }

.statement { background: var(--band); color: var(--band-ink); padding-block: 64px; }
.statement .wrap { display: grid; gap: 14px; }
.statement h2 { color: var(--band-ink); }
.statement p { color: var(--band-muted); font-size: var(--fs-lead); max-width: 56ch; }
.statement .eyebrow { color: var(--band-blue); }
.results { display: grid; gap: 0; margin-top: 18px; }
@media (min-width: 800px) { .results { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.results div { border-top: 2px solid var(--band-blue); padding-top: 12px; font-size: var(--fs-h2); font-weight: 600; line-height: 1.1; color: var(--band-ink); margin-top: 18px; }

/* Rollen-Diagramm */
.tiers { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
@media (min-width: 860px) { .tiers { grid-template-columns: 1fr 44px 1fr 44px 1fr; align-items: stretch; } }
.tier { background: var(--surface); border: 1px solid var(--line); padding: 22px 22px 24px; display: grid; gap: 6px; align-content: start; }
.tier .eyebrow { font-size: .85rem; }
.tier p { color: var(--muted); }
.tier.home { background: var(--band); border-color: var(--band); }
.tier.home h3 { color: var(--band-ink); } .tier.home p { color: var(--band-muted); } .tier.home .eyebrow { color: var(--band-blue); }
.arrow { display: grid; place-items: center; color: var(--blue-text); font-size: 1.8rem; font-weight: 700; padding-block: 6px; }
.arrow::before { content: "↓"; }
@media (min-width: 860px) { .arrow::before { content: "→"; } }

.services { display: grid; gap: 0; }
@media (min-width: 800px) { .services { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.service { border-top: 2px solid var(--ink); padding: 16px 0 28px; display: grid; gap: 6px; align-content: start; }
.service p { color: var(--muted); }

/* MIT */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.step { border-top: 2px solid var(--blue-btn); padding: 16px 0 26px; display: grid; gap: 6px; counter-increment: step; align-content: start; }
.step .eyebrow::before { content: "Schritt " counter(step); }
.step p { color: var(--muted); }

/* Referenz Ketsch 1 (optional) */
.ref .box { border: 1px dashed var(--muted); padding: 28px; display: grid; gap: 18px; background: var(--surface); }
.ref .tag { justify-self: start; font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 3px 10px; border: 1px solid var(--ink); color: var(--ink-strong); }
.status { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.status li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; padding: 12px 0; border-top: 1px solid var(--line); }
.chip { font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 2px 10px; border: 1px solid var(--blue-text); color: var(--blue-text); white-space: nowrap; }
.chip.done { background: var(--blue-btn); color: var(--on-blue); border-color: var(--blue-btn); }
.ref small { color: var(--muted); font-size: 1rem; }

/* FAQ */
.faq-list { display: grid; gap: 0; max-width: 820px; }
.faq-list details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-size: var(--fs-h3); font-weight: 600; color: var(--ink-strong); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--blue-text); font-weight: 700; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding-top: 10px; color: var(--muted); max-width: 62ch; }

/* Kontakt */
.contact { background: var(--band); color: var(--band-ink); }
.contact .wrap { display: grid; gap: 44px; }
@media (min-width: 900px) { .contact .wrap { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; } }
.contact h2 { color: var(--band-ink); }
.contact .eyebrow { color: var(--band-blue); }
.contact .intro { display: grid; gap: 16px; align-content: start; }
.contact .intro p { color: var(--band-muted); font-size: var(--fs-lead); }
.person { border-top: 2px solid var(--band-blue); padding-top: 14px; display: grid; gap: 2px; font-size: var(--fs-body); }
.person strong { font-size: var(--fs-h3); font-weight: 700; color: var(--band-ink); }
.person span { color: var(--band-muted); }
.person a { color: var(--band-ink); text-decoration-color: var(--band-blue); text-underline-offset: 3px; }
form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .95rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--band-muted); }
.field input, .field textarea {
  font: inherit; font-size: var(--fs-body); color: var(--band-ink); background: var(--band-deep);
  border: 1px solid var(--band-line); padding: 12px 14px; width: 100%; border-radius: 0;
}
.field input:focus, .field textarea:focus { border-color: var(--band-blue); outline: none; box-shadow: 0 0 0 2px var(--band-blue); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 1rem; color: var(--band-muted); min-height: 1.4em; }
.two { display: grid; gap: 16px; }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }

/* Footer */
.site-footer { background: var(--band-deep); color: var(--band-muted); padding-block: 40px; border-top: 1px solid var(--band-line); font-size: var(--fs-body); }
.site-footer .wrap { display: grid; gap: 28px; }
@media (min-width: 800px) { .site-footer .wrap { grid-template-columns: 1.2fr 1fr 1fr; } }
.site-footer strong { color: var(--band-ink); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 4px; }
.site-footer a { color: var(--band-muted); text-underline-offset: 3px; }
.site-footer a:hover { color: var(--band-ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .led.blink { animation: none; }
  .btn { transition: none; }
}

/* Hero-Motiv Mittelstand: Dreiklang der Leitbotschaft */
.pillars { display: grid; width: 100%; max-width: 340px; justify-self: center; }
.pillar { border-top: 2px solid var(--band-blue); padding: 14px 0 20px; display: grid; gap: 2px; }
.pillar strong { font-size: var(--fs-h2); line-height: 1; text-transform: uppercase; font-weight: 700; color: var(--band-ink); }
.pillar span { color: var(--band-muted); }

/* Originallogo (SVG inline, folgt der Textfarbe des Headers: weiß auf dunkel) */
.logo { height: 58px; width: auto; display: block; fill: currentColor; }
.site-header .bar { padding-block: 8px; }
.brand { color: var(--band-ink); }

/* MIT-Methode als eigenständiger Block */
.mit-box { background: var(--surface); border: 2px solid var(--ink); padding: 32px 22px 28px; display: grid; gap: 14px; }
@media (min-width: 720px) { .mit-box { padding: 48px 48px 36px; } }
.mit-lead { font-size: var(--fs-lead); max-width: 60ch; color: var(--muted); }
.eq { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-block: 10px 22px; }
.eq span { font-size: var(--fs-h2); font-weight: 700; text-transform: uppercase; line-height: 1; padding: 10px 16px; border: 2px solid var(--ink); color: var(--ink-strong); }
.eq span.op { border: 0; padding: 0; color: var(--blue-text); }
.eq span.res { background: var(--blue-btn); border-color: var(--blue-btn); color: var(--on-blue); }

/* MIT-Block: Erklärung */
.mit-lead strong { color: var(--ink-strong); font-weight: 600; }
.mit-sub { margin-top: 14px; color: var(--ink-strong); }
.cwd { display: grid; gap: 0; }
@media (min-width: 720px) { .cwd { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.cwd div { border-top: 1px solid var(--line); padding-block: 10px 14px; display: grid; gap: 2px; align-content: start; }
.cwd strong { font-size: var(--fs-h2); text-transform: uppercase; line-height: 1; color: var(--blue-text); font-weight: 700; }
.cwd span { color: var(--muted); }
.mit-result { border-top: 2px solid var(--ink); padding-top: 16px; margin-top: 8px; font-size: var(--fs-lead); max-width: 62ch; }
.mit-result strong { color: var(--ink-strong); }

/* Plexus-Wolke (Systemhäuser-Hero) */
.plexus { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; z-index: 0; }
.cloud-space { min-height: 0; }
@media (min-width: 900px) { .cloud-space { min-height: 300px; } }
@media (max-width: 899px) { .plexus { opacity: .4; } .cloud-space { display: none; } }
/* Lesbarkeit, wenn die Wolke in den Text läuft */
.plexus ~ .wrap h1, .plexus ~ .wrap .lead, .plexus ~ .wrap .eyebrow { text-shadow: 0 0 14px var(--band), 0 0 28px var(--band); }

/* ---------- Startseite ---------- */
.tiles { display: grid; gap: 0 40px; }
@media (min-width: 860px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { border-top: 2px solid var(--ink); padding: 18px 0 30px; display: grid; gap: 10px; align-content: start; text-decoration: none; color: inherit; }
.tile .eyebrow { margin: 0; }
.tile h3 { color: var(--ink-strong); }
.tile p { color: var(--muted); max-width: 38ch; margin: 0; }
.tile .more { color: var(--blue-text); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 1rem; margin-top: 4px; }
.tile .more::after { content: " →"; }
.tile:hover { border-top-color: var(--blue-btn); }
.tile:hover h3 { color: var(--blue-text); }
.team { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 32px; }
@media (min-width: 640px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .team { grid-template-columns: repeat(3, 1fr); } }
.member { display: grid; grid-template-columns: 64px 1fr; gap: 4px 16px; align-items: center; border-top: 1px solid var(--line); padding: 18px 0; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--band); color: var(--band-ink); display: grid; place-items: center; font-size: var(--fs-h3); font-weight: 700; letter-spacing: .06em; grid-row: span 3; }
.member strong { font-size: var(--fs-h3); color: var(--ink-strong); line-height: 1.2; align-self: end; }
.member span { color: var(--muted); }
.member a { overflow-wrap: anywhere; }
.member .avatar { color: var(--band-ink); font-size: var(--fs-h3); }

/* ---------- Farbstreifen nach Visitenkarte (Dunkelgrau, Blau, Hellgrau, schräg) ---------- */
.stripe {
  --s-dark: #2a3038; --s-blue: #456db9; --s-light: #f0f0ee; --s-gap: #ffffff;
  height: 22px;
  background: linear-gradient(146deg,
    var(--s-dark) 0 48.5%, var(--s-gap) 48.5% 52%,
    var(--s-blue) 52% 66.5%, var(--s-gap) 66.5% 70%,
    var(--s-light) 70% 85%, var(--s-gap) 85% 88.5%,
    var(--s-dark) 88.5% 100%);
}
.site-footer { padding-block: 0 40px; }
.site-footer .stripe { margin-bottom: 40px; }
/* Test im Kopf: dünner Streifen an der Unterkante, Lücken transparent */
.site-header .stripe { height: 8px; --s-gap: transparent; --s-dark: #23282e; position: absolute; left: 0; right: 0; bottom: -1px; }
.site-footer .stripe { height: 26px; --s-dark: #464e56; }

/* ---------- Kopfzeile: bleibt stehen, hell und leicht transparent (Glas), schrumpft beim Scrollen ---------- */
.site-header { background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  color: var(--ink-strong); border-bottom: 0; transition: box-shadow .25s ease, background .25s ease; }
.site-header .bar { transition: padding .25s ease; padding-block: 10px; }
.site-header .logo { transition: height .25s ease; color: #1f2328; }
.brand { color: #1f2328; }
.site-header nav a { color: var(--ink); }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--ink-strong); border-bottom-color: var(--blue-btn); }
.site-header .stripe { height: 6px; --s-dark: #2a3038; --s-light: #c4cad1; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(20,24,28,.16); }
.site-header.is-scrolled .bar { padding-block: 4px; }
.site-header.is-scrolled .logo { height: 38px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-header { background: rgba(16,19,22,.8); }
  :root:not([data-theme="light"]) .site-header .logo, :root:not([data-theme="light"]) .brand { color: #f3f3f3; }
  :root:not([data-theme="light"]) .site-header nav a { color: var(--band-muted); }
  :root:not([data-theme="light"]) .site-header nav a:hover, :root:not([data-theme="light"]) .site-header nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--band-blue); }
  :root:not([data-theme="light"]) .site-header .stripe { --s-dark: #3d444b; --s-light: #f0f0ee; }
}
:root[data-theme="dark"] .site-header { background: rgba(16,19,22,.8); }
:root[data-theme="dark"] .site-header .logo, :root[data-theme="dark"] .brand { color: #f3f3f3; }
:root[data-theme="dark"] .site-header nav a { color: var(--band-muted); }
:root[data-theme="dark"] .site-header .stripe { --s-dark: #3d444b; --s-light: #f0f0ee; }
@media (prefers-reduced-motion: reduce) { .site-header, .site-header .bar, .site-header .logo { transition: none; } }

/* Logo größer, Hero höher für die Karte */
.logo { height: 80px; }
.site-header.is-scrolled .logo { height: 48px; }
@media (max-width: 719px) { .logo { height: 60px; } .site-header.is-scrolled .logo { height: 40px; } }
@media (min-width: 900px) { .cloud-space { min-height: 460px; } }

/* Mobil: lange Wörter und Buttons dürfen nicht über den Rand laufen */
@media (max-width: 480px) { h1 { font-size: 21pt; overflow-wrap: anywhere; hyphens: auto; } .cta-row { flex-wrap: wrap; } }

/* Kopfzeile: größere Schrift im Menü */
.site-header nav a { font-size: 15pt; letter-spacing: .06em; }
.site-header nav { gap: 4px 28px; }
@media (max-width: 719px) { .site-header nav a { font-size: 12.5pt; letter-spacing: .04em; } .site-header nav { gap: 2px 18px; } }

/* Kopfzeile: mehr Luft zwischen Logo und Farbstreifen, auch im verkleinerten Zustand */
.site-header .bar { padding-block: 10px 18px; }
.site-header.is-scrolled .bar { padding-block: 10px 18px; }
@media (max-width: 719px) { .site-header .bar, .site-header.is-scrolled .bar { padding-block: 8px 16px; } }

/* ---------- Rollen-Diagramm: ein gemeinsamer Rahmen mit durchgehender Linie statt Pfeilen ---------- */
.tiers { padding: 34px 0 0; position: relative; background: var(--surface); border: 1px solid var(--line); }
.tiers::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 2px; background: linear-gradient(90deg, var(--ink) 0, var(--blue-btn) 100%); }
.tiers::after { content: ""; position: absolute; top: 12px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--blue-btn); box-shadow: 0 0 14px 4px rgba(63,113,179,.55); animation: rail-h 6s ease-in-out infinite; }
.tier { background: transparent; border: 0; border-top: 1px solid var(--line); padding: 22px 22px 26px; position: relative; }
.tier::before { content: ""; position: absolute; top: -24px; left: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--blue-btn); }
.tier.home { background: var(--band); border-top-color: var(--band); }
.tier.home::before { background: var(--ink); border-color: var(--ink); }
@media (min-width: 860px) {
  .tiers { grid-template-columns: repeat(3, 1fr); }
  .tier + .tier { border-left: 1px solid var(--line); }
}
@keyframes rail-h { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
@keyframes rail-v { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: calc(100% - 10px); opacity: 0; } }
@media (max-width: 859px) {
  .tiers { padding: 0 0 0 38px; }
  .tiers::before { left: 17px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--ink) 0, var(--blue-btn) 100%); }
  .tiers::after { left: 13px; top: 0; animation-name: rail-v; }
  .tier { border-top: 1px solid var(--line); }
  .tier:first-child { border-top: 0; }
  .tier::before { top: 24px; left: -28px; }
}
@media (prefers-reduced-motion: reduce) { .tiers::after { animation: none; display: none; } }

/* Mittelstand: wichtigster Vorteil groß, darunter die weiteren */
.benefit-lead { background: var(--band); color: var(--band-ink); padding: 32px 28px 34px; display: grid; gap: 10px; margin-bottom: 36px; border-left: 6px solid var(--blue-btn); }
.benefit-lead .eyebrow { color: var(--band-blue); margin: 0; }
.benefit-lead h3 { color: var(--band-ink); font-size: var(--fs-h2); line-height: 1.05; text-transform: uppercase; }
.benefit-lead p:last-child { color: var(--band-muted); font-size: var(--fs-lead); max-width: 52ch; margin: 0; }
@media (min-width: 800px) { .benefit-lead { padding: 40px 44px 44px; } }

/* ---------- Investorenbereich ---------- */
.subnav { background: var(--surface); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 4px 26px; overflow-x: auto; scrollbar-width: thin; }
.subnav a { white-space: nowrap; padding: 12px 0 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; letter-spacing: .04em; border-bottom: 3px solid transparent; }
.subnav a:hover { color: var(--blue-text); }
.subnav a[aria-current="page"] { color: var(--ink-strong); border-bottom-color: var(--blue-btn); }
.prose { max-width: 70ch; display: grid; gap: 16px; }
.prose p { margin: 0; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink); }
.tiles-4 { gap: 0 32px; }
@media (min-width: 860px) { .tiles-4 { grid-template-columns: repeat(4, 1fr); } }
.coming { display: inline-block; margin-left: 14px; vertical-align: middle; font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 3px 10px; border: 1px solid var(--band-blue); color: var(--band-blue); }
.legal { background: var(--bg-alt); padding-block: 40px; border-top: 1px solid var(--line); }
.legal h2 { font-size: var(--fs-h3); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.legal p { font-size: 1rem; line-height: 1.5; color: var(--muted); max-width: 110ch; margin: 0 0 10px; }
@media (max-width: 480px) { h2 { font-size: 20pt; overflow-wrap: anywhere; hyphens: auto; } }

/* ---------- Kopfzeile: Unterpunkte bei Investoren ---------- */
.has-sub { position: relative; display: flex; align-items: center; gap: 0; padding-bottom: 20px; margin-bottom: -20px; padding-top: 6px; margin-top: -6px; }
.sub-toggle { background: none; border: 0; cursor: pointer; width: 26px; height: 26px; padding: 0; margin-left: 2px; color: inherit; display: grid; place-items: center; }
.sub-toggle::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease; }
.has-sub.open .sub-toggle::before { transform: rotate(225deg) translate(-2px, -2px); }
.submenu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 320px; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--blue-btn); box-shadow: 0 14px 34px rgba(20,24,28,.22); padding: 6px 0; z-index: 30; }
.site-header nav .submenu a { display: block; padding: 11px 20px; font-size: 13pt; letter-spacing: .02em; text-transform: none; font-weight: 600; color: var(--ink); border-bottom: 0; }
.site-header nav .submenu a:hover { background: var(--bg-alt); color: var(--blue-text); }
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.open .submenu { display: flex; }
@media (max-width: 719px) {
  .has-sub { flex-wrap: wrap; padding: 0; margin: 0; }
  .submenu { position: static; transform: none; min-width: 0; width: 100%; box-shadow: none; }
  .has-sub:hover .submenu, .has-sub:focus-within .submenu { display: none; }
  .has-sub.open .submenu { display: flex; }
  .site-header nav .submenu a { font-size: 12.5pt; }
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-header nav .submenu a { color: var(--ink); } }

/* Unterpunkte: kleinere Schrift, kein Zeilenumbruch */
.site-header nav .submenu a { font-size: 12pt; white-space: nowrap; letter-spacing: .01em; padding: 10px 20px; }
.submenu { min-width: 0; }
@media (max-width: 719px) { .site-header nav .submenu a { font-size: 10.5pt; padding: 10px 14px; letter-spacing: 0; } }
@media (max-width: 370px) { .site-header nav .submenu a { white-space: normal; } }

/* MIT-Block 07.10.2026: kompakter und ruhiger */
.mit-box { border: 1px solid var(--line); background: var(--surface); padding: 28px 22px 24px; gap: 12px; }
@media (min-width: 720px) { .mit-box { padding: 36px 40px 28px; } }
.mit-lead { font-size: 1rem; }
.eq { margin-block: 2px 4px; gap: 8px 10px; }
.eq span { font-size: var(--fs-h3); padding: 6px 12px; border: 1px solid var(--line); font-weight: 600; }
.eq span.op { border: 0; padding: 0 2px; }
.eq span.res { background: transparent; color: var(--blue-text); border-color: var(--blue-text); }
.cwd div { border-top: 1px solid var(--line); padding-block: 8px 10px; }
.cwd strong { font-size: var(--fs-h3); }
.steps { margin-top: 4px; }
.step { border-top: 1px solid var(--line); padding: 10px 0 12px; gap: 2px; }
.step h3 { font-size: var(--fs-h3); }
.step .eyebrow { display: none; }
.mit-result { border-top: 1px solid var(--line); font-size: 1rem; padding-top: 12px; margin-top: 4px; }

/* MIT-Block 07.10.2026 (2): Mensch + Projekt = MITeinander, volle Breite */
.mit-lead { max-width: none; }
.mit-grid { display: grid; gap: 10px; align-items: stretch; margin-top: 6px; }
@media (min-width: 800px) { .mit-grid { grid-template-columns: 1fr auto 1fr; gap: 18px; } }
.mit-col { border: 1px solid var(--line); padding: 18px 20px 16px; display: grid; gap: 8px; align-content: start; }
.mit-col .eyebrow { margin: 0; }
.mit-col h3 { color: var(--ink-strong); }
.mit-plus { font-size: var(--fs-h2); font-weight: 700; color: var(--blue-text); align-self: center; text-align: center; line-height: 1; }
.cwd2, .steps2 { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.cwd2 li, .steps2 li { border-top: 1px solid var(--line); padding-block: 8px; display: grid; gap: 1px; }
.cwd2 strong { font-size: var(--fs-h3); text-transform: uppercase; color: var(--blue-text); }
.steps2 { counter-reset: s; }
.steps2 li { counter-increment: s; }
.steps2 strong { font-size: var(--fs-h3); color: var(--ink-strong); }
.steps2 strong::before { content: counter(s) ". "; color: var(--blue-text); }
.cwd2 span, .steps2 span { color: var(--muted); }
.mit-merge { border: 1px solid var(--blue-text); padding: 14px 20px; display: grid; gap: 6px; align-items: center; margin-top: 4px; }
@media (min-width: 800px) { .mit-merge { grid-template-columns: auto 1fr; gap: 24px; } }
.eqres { font-size: var(--fs-h2); font-weight: 700; text-transform: uppercase; line-height: 1; color: var(--blue-text); }
.mit-merge p { margin: 0; }
.mit-merge strong { color: var(--ink-strong); }
.mit-col h3 { max-width: none; }
@media (min-width: 800px) { .services-4 { grid-template-columns: repeat(4, 1fr); gap: 22px; } }

/* Smartphone: Menü als Burger-Symbol (drei Striche) zum Aufklappen, 07.10.2026 */
.nav-toggle { display: none; }
@media (max-width: 719px) {
  .site-header .bar { flex-wrap: wrap; align-items: center; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 46px; height: 46px; padding: 0; background: transparent; border: 1px solid var(--line); border-radius: 2px; color: var(--ink-strong); cursor: pointer; }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - 130px); overflow-y: auto; margin-top: 6px; }
  .site-header.nav-open nav { display: flex; }
  .site-header nav > a, .site-header nav > .has-sub > a:first-child { padding: 13px 2px; font-size: 14pt; border-bottom: 1px solid var(--line); }
  .site-header nav > .has-sub { border-bottom: 0; }
  .site-header nav > .has-sub > a:first-child { flex: 1; }
  .site-header nav .submenu { border-top-width: 1px; }
}
@media (max-width: 719px) and (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nav-toggle { color: #f3f3f3; border-color: #4a525a; } }
@media (max-width: 719px) { :root[data-theme="dark"] .nav-toggle { color: #f3f3f3; border-color: #4a525a; } }

/* Disclaimer zentral auf der Investoren-Hauptseite, Verweis auf den Unterseiten (07.10.2026) */
.legal .legal-scope { color: var(--ink); }
.legal-ref { padding-block: 22px; }
.legal-ref p { margin: 0; }
.legal-ref a { color: var(--blue-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Smartphone-Handhabung 07.10.2026: Tippflächen mind. 44 px, Skip-Link, Fokus */
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--blue-btn); color: var(--on-blue); padding: 12px 18px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 8px; }
main:focus { outline: none; }
a, button, input, textarea, select { touch-action: manipulation; }
html { -webkit-tap-highlight-color: rgba(63,113,179,.25); }
.site-footer a.tap { display: flex; align-items: center; min-height: 44px; }
.member a, .person a { display: inline-flex; align-items: center; min-height: 44px; }
.btn { min-height: 48px; }
.field input, .field textarea { min-height: 48px; font-size: max(16px, var(--fs-body)); }
.field textarea { min-height: 140px; }
.site-header nav .submenu a { min-height: 44px; display: flex; align-items: center; }
.subnav a { min-height: 44px; display: inline-flex; align-items: center; padding-block: 0; }
.tile .more { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 719px) { .site-footer .wrap { gap: 18px; } }

/* Überlauf-Korrektur Ergebnis-Block (Systemhäuser) + kleine Tippflächen, 07.10.2026 */
.results div { font-size: clamp(1.1rem, 2.3vw, var(--fs-h2)); overflow-wrap: break-word; hyphens: auto; min-width: 0; }
.legal-ref a { display: inline-flex; align-items: center; min-height: 44px; }
.sub-toggle { min-width: 40px; min-height: 40px; }
.benefit-lead h3, .benefit-lead p { overflow-wrap: break-word; hyphens: auto; min-width: 0; }
@media (max-width: 400px) { .benefit-lead { padding: 24px 18px 26px; } .benefit-lead h3 { font-size: 1.25rem; } }

/* Startseite 08.10.2026: Zielgruppen-Kacheln, Hauptbereiche groß, Subline zurückgenommen */
.tiles-main { gap: 0 44px; }
.tiles-main .tile { gap: 12px; padding: 22px 0 34px; }
.tile-title { font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.05; text-transform: uppercase; letter-spacing: .02em; color: var(--ink-strong); margin: 0; }
.tile .tile-sub { font-size: 1rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-text); margin: 0; max-width: none; }
.tile .tile-text { font-size: var(--fs-lead); line-height: 1.45; color: var(--muted); max-width: 36ch; margin: 0; }
.tile .more { font-size: 1.1rem; }
.tier h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.1; }
.tier p:not(.eyebrow) { font-size: 1rem; }

/* Startseite 08.10.2026: Kachel-Titel blau, Sublines dunkel */
.tile-title { color: var(--blue-text); }
.tile .tile-sub { color: var(--ink-strong); }
.tile:hover .tile-title { color: var(--ink-strong); }
.tile .tile-title { color: var(--blue-text); font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.tile:hover .tile-title { color: var(--ink-strong); }

/* Kontaktblock hell und freundlich (08.10.2026): helles Blaugrau aus der CI, dunkler Text; im Dunkelmodus wie bisher dunkel */
.contact {
  --band: #e3ebf6; --band-deep: #ffffff; --band-ink: #1f2328; --band-muted: #424a52; --band-line: #b7c7de; --band-blue: #3f71b3;
  background: var(--band); color: var(--band-ink); border-top: 1px solid #cfdbec;
}
.contact .eyebrow { color: var(--blue-text); }
.contact .field input, .contact .field textarea { background: #ffffff; color: #1f2328; border-color: #b7c7de; }
.contact .field input:focus, .contact .field textarea:focus { border-color: #3f71b3; box-shadow: 0 0 0 2px #3f71b3; }
.contact .form-note { color: #424a52; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .contact { --band: #101316; --band-deep: #0c0e10; --band-ink: #f3f3f3; --band-muted: #b9c0c7; --band-line: #2f363c; --band-blue: #8fb2e3; border-top: 0; }
  :root:not([data-theme="light"]) .contact .eyebrow { color: #8fb2e3; }
  :root:not([data-theme="light"]) .contact .field input, :root:not([data-theme="light"]) .contact .field textarea { background: #0c0e10; color: #f3f3f3; border-color: #2f363c; }
}
:root[data-theme="dark"] .contact { --band: #101316; --band-deep: #0c0e10; --band-ink: #f3f3f3; --band-muted: #b9c0c7; --band-line: #2f363c; --band-blue: #8fb2e3; border-top: 0; }
:root[data-theme="dark"] .contact .eyebrow { color: #8fb2e3; }
:root[data-theme="dark"] .contact .field input, :root[data-theme="dark"] .contact .field textarea { background: #0c0e10; color: #f3f3f3; border-color: #2f363c; }
.contact .intro .eyebrow { color: var(--blue-text); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .contact .intro .eyebrow { color: #8fb2e3; } }
:root[data-theme="dark"] .contact .intro .eyebrow { color: #8fb2e3; }

/* Smartphone, heller Modus: Hero und Fußzeile bleiben CI-Grau, Hervorhebungen hellblau */
@media (max-width: 719px) {
  .statement, .benefit-lead, .tier.home {
    --band: #e3ebf6; --band-deep: #d6e2f3; --band-unit: #ffffff; --band-ink: #1f2328; --band-muted: #424a52; --band-line: #b7c7de; --band-blue: #3f71b3;
  }
}
@media (max-width: 719px) and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .statement, :root:not([data-theme="light"]) .benefit-lead, :root:not([data-theme="light"]) .tier.home {
    --band: #101316; --band-deep: #0c0e10; --band-unit: #1d2227; --band-ink: #f3f3f3; --band-muted: #b9c0c7; --band-line: #2f363c; --band-blue: #8fb2e3;
  }
}
@media (max-width: 719px) {
  :root[data-theme="dark"] .statement, :root[data-theme="dark"] .benefit-lead, :root[data-theme="dark"] .tier.home {
    --band: #101316; --band-deep: #0c0e10; --band-unit: #1d2227; --band-ink: #f3f3f3; --band-muted: #b9c0c7; --band-line: #2f363c; --band-blue: #8fb2e3;
  }
}

/* Alternative Bildwelt: Design-Anlehnung an den Entwurf der Werbeagentur (Vollbild-Fotos, Kachel-Raster Blau/Hellgrau/Dunkelgrau),
   Inhalte und Struktur unverändert aus dem Bauskript. Liegt als Zusatz über ../style.css, nichts im Original geändert. */

/* ---------- Hero mit Foto ---------- */
.hero-photo { min-height: 560px; display: grid; align-items: center; padding-block: 72px 80px;
  background: var(--hero-grad), var(--hero-img) center / cover no-repeat; }
.hero-photo::after { display: none; }
.hero-photo.light {
  --band: #f3f6fa; --band-deep: #e3ebf6; --band-unit: #ffffff; --band-ink: #1f2328; --band-muted: #343a40; --band-line: #b7c7de; --band-blue: #2f5f9c;
  --hero-grad: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 38%, rgba(255,255,255,.62) 70%, rgba(255,255,255,.55) 100%);
}
.hero-photo.dark { --hero-grad: linear-gradient(90deg, rgba(42,47,52,.96) 0%, rgba(42,47,52,.88) 40%, rgba(42,47,52,.78) 72%, rgba(42,47,52,.72) 100%); }
.hero-photo.light .plexus { filter: invert(1) hue-rotate(180deg) saturate(2.6) contrast(1.35) brightness(.95) drop-shadow(0 0 3px rgba(30,110,255,.95)) drop-shadow(0 0 14px rgba(30,120,255,.75)) drop-shadow(0 0 34px rgba(60,150,255,.5)); }
.hero-photo h1 { max-width: 24ch; }
.hero-photo .lead { max-width: 46ch; font-size: var(--fs-lead); }
.hero-photo.light .btn-ghost { border-color: #343a40; color: #1f2328; }
.hero-photo.light .btn-ghost:hover { background: rgba(52,58,64,.08); border-color: #1f2328; }
@media (max-width: 899px) {
  .hero-photo { min-height: 0; padding-block: 48px 56px; }
  .hero-photo.light { --hero-grad: linear-gradient(180deg, rgba(255,255,255,.93), rgba(255,255,255,.88)); }
  .hero-photo.dark { --hero-grad: linear-gradient(180deg, rgba(42,47,52,.93), rgba(42,47,52,.88)); }
  .hero-photo h1 { max-width: none; }
}
/* Dunkelmodus des Geräts: helle Foto-Heros werden dunkel überlagert */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-photo.light {
    --band: #101316; --band-deep: #0c0e10; --band-unit: #1d2227; --band-ink: #f3f3f3; --band-muted: #d5dae0; --band-line: #2f363c; --band-blue: #8fb2e3;
    --hero-grad: linear-gradient(90deg, rgba(16,19,22,.95) 0%, rgba(16,19,22,.86) 40%, rgba(16,19,22,.55) 100%);
  }
  :root:not([data-theme="light"]) .hero-photo.light .plexus { filter: none; }
  :root:not([data-theme="light"]) .hero-photo.light .btn-ghost { border-color: var(--band-muted); color: var(--band-ink); }
}
:root[data-theme="dark"] .hero-photo.light {
  --band: #101316; --band-deep: #0c0e10; --band-unit: #1d2227; --band-ink: #f3f3f3; --band-muted: #d5dae0; --band-line: #2f363c; --band-blue: #8fb2e3;
  --hero-grad: linear-gradient(90deg, rgba(16,19,22,.95) 0%, rgba(16,19,22,.86) 40%, rgba(16,19,22,.55) 100%);
}
:root[data-theme="dark"] .hero-photo.light .plexus { filter: none; }
:root[data-theme="dark"] .hero-photo.light .btn-ghost { border-color: var(--band-muted); color: var(--band-ink); }

/* ---------- Kachel-Raster Blau / Hellgrau / Dunkelgrau ---------- */
.tiles-main { gap: 24px; }
.tiles-main .tile { border-top: 0; padding: 32px 30px 36px; box-shadow: 0 10px 28px rgba(31,35,40,.10); transition: transform .18s ease, box-shadow .18s ease; min-height: 100%; }
.tiles-main .tile:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(31,35,40,.18); }
.tiles-main .tile:nth-child(1) { background: #3f71b3; }
.tiles-main .tile:nth-child(2) { background: var(--surface); }
.tiles-main .tile:nth-child(3) { background: #343a40; }
.tiles-main .tile:nth-child(1) .tile-title, .tiles-main .tile:nth-child(3) .tile-title,
.tiles-main .tile:nth-child(1):hover .tile-title, .tiles-main .tile:nth-child(3):hover .tile-title { color: #fff; }
.tiles-main .tile:nth-child(1) .tile-sub, .tiles-main .tile:nth-child(1) .tile-text, .tiles-main .tile:nth-child(1) .more { color: #fff; }
.tiles-main .tile:nth-child(3) .tile-sub { color: #8fb2e3; }
.tiles-main .tile:nth-child(3) .tile-text { color: #d5dae0; }
.tiles-main .tile:nth-child(3) .more { color: #fff; }
.tiles-main .tile:nth-child(1) .tile-text { opacity: .96; }
.tiles-main .tile:nth-child(2) .tile-title { color: var(--blue-text); }
.tiles-main .tile::before { content: ""; width: 44px; height: 4px; background: currentColor; opacity: .55; margin-bottom: 4px; }
.tiles-main .tile:nth-child(1)::before, .tiles-main .tile:nth-child(3)::before { color: #fff; }
.tiles-main .tile:nth-child(2)::before { color: var(--blue-btn); }

/* ---------- Foto-Bänder und Bild-Text-Wechsel ---------- */
.photo-band { position: relative; height: clamp(190px, 28vw, 360px); background: var(--pb) var(--pbpos, center) / cover no-repeat; padding: 0; }
.photo-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, #343a40 0 34%, #3f71b3 34% 67%, #c9ced3 67%); }
.split { position: relative; }
.split-photo { position: absolute; inset: 0 auto 0 0; width: 34%; background: var(--split-img) center / cover no-repeat; }
.split-photo::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, #343a40 0 34%, #3f71b3 34% 67%, #c9ced3 67%); }
.split > .wrap { max-width: none; width: auto; margin-left: 34%; margin-right: 0; padding-inline: clamp(28px, 4vw, 64px) clamp(20px, 5vw, 80px); }
@media (max-width: 899px) {
  .split-photo { position: relative; width: 100%; height: 200px; }
  .split-photo::after { top: auto; left: 0; width: auto; height: 6px; background: linear-gradient(90deg, #343a40 0 34%, #3f71b3 34% 67%, #c9ced3 67%); }
  .split > .wrap { margin-left: 0; padding-inline: 20px; }
  .split { padding-top: 0; }
  .split .sec-head { padding-top: 40px; }
}

/* ---------- Kontakt auf dunklem Rack-Foto ---------- */
.contact-photo { background: linear-gradient(rgba(20,24,28,.45), rgba(20,24,28,.55)), var(--bg-img) center / cover no-repeat; border-top: 0; padding-block: 80px; }
.contact-photo > .wrap { background: var(--band); background: color-mix(in srgb, var(--band) 95%, transparent);
  padding: clamp(24px, 4vw, 52px); box-shadow: 0 18px 50px rgba(0,0,0,.35); border-top: 6px solid #3f71b3; }
@media (max-width: 719px) { .contact-photo { padding-block: 32px; } .contact-photo > .wrap { margin-inline: 12px; width: auto; } }

/* ---------- Kopfzeile beim Scrollen transparenter (Hintergrundbild scheint durch) ---------- */
.site-header.is-scrolled { background: rgba(255,255,255,.58); -webkit-backdrop-filter: blur(8px) saturate(1.5); backdrop-filter: blur(8px) saturate(1.5); }
.site-header.is-scrolled.nav-open { background: rgba(255,255,255,.96); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-header.is-scrolled { background: rgba(16,19,22,.55); }
  :root:not([data-theme="light"]) .site-header.is-scrolled.nav-open { background: rgba(16,19,22,.96); }
}
:root[data-theme="dark"] .site-header.is-scrolled { background: rgba(16,19,22,.55); }
:root[data-theme="dark"] .site-header.is-scrolled.nav-open { background: rgba(16,19,22,.96); }

/* ---------- Startseite: Kopfzeile ins Hero-Bild integriert, die "offizielle" Kopfzeile entsteht erst beim Scrollen ---------- */
.site-header.header-over { position: fixed; top: 0; left: 0; right: 0; }
.site-header.header-over:not(.is-scrolled):not(.nav-open) {
  background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none;
}
.site-header.header-over .stripe { transition: opacity .3s ease; }
.site-header.header-over:not(.is-scrolled):not(.nav-open) .stripe { opacity: 0; }
html .site-header.header-over:not(.is-scrolled):not(.nav-open) .logo,
html .site-header.header-over:not(.is-scrolled):not(.nav-open) .brand { color: #fff !important; }
html .site-header.header-over:not(.is-scrolled):not(.nav-open) nav > a,
html .site-header.header-over:not(.is-scrolled):not(.nav-open) nav .has-sub > a,
html .site-header.header-over:not(.is-scrolled):not(.nav-open) .sub-toggle { color: #fff !important; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
html .site-header.header-over:not(.is-scrolled):not(.nav-open) nav > a:hover,
html .site-header.header-over:not(.is-scrolled):not(.nav-open) nav > a[aria-current="page"] { border-bottom-color: #8fb2e3; }
html .site-header.header-over:not(.is-scrolled):not(.nav-open) .nav-toggle { color: #fff !important; border-color: rgba(255,255,255,.6) !important; }
.hero-over { padding-top: 168px; }
@media (max-width: 899px) { .hero-over { padding-top: 120px; } }
.hero-over .plexus { top: 96px; height: calc(100% - 96px); }
html { scroll-padding-top: 96px; }

/* ---------- Symmetrie: gleiche Höhen, "Mehr erfahren" auf einer Linie, gleiche Abstände ---------- */
.tile { display: flex; flex-direction: column; gap: 10px; }
.tile .more { margin-top: auto; }
.tile .tile-text { margin-bottom: 14px; }
@media (min-width: 860px) {
  .tiles-main .tile-sub { line-height: 1.5; min-height: 3em; }
  .tiles-main .tile-title { min-height: 1.1em; }
  .tier h3 { min-height: 2.2em; display: flex; align-items: flex-start; }
  .tier p:not(.eyebrow) { min-height: 6.4em; }
}
.team .member { align-items: start; align-content: start; grid-template-rows: auto minmax(2.9em, auto) auto; }
.team .member .avatar { align-self: start; }
.team .member strong { align-self: start; }
.team .member a { align-items: flex-start; padding-top: 6px; }

/* ---------- Kopfzeile bleibt immer wie am Seitenanfang: transparent, weiße Schrift, keine Trennlinie, kein graues Band ---------- */
html .site-header.header-over:not(.nav-open),
html .site-header.header-over.is-scrolled:not(.nav-open) {
  background: linear-gradient(180deg, rgba(20,24,28,.58) 0%, rgba(20,24,28,.28) 62%, rgba(20,24,28,0) 100%);
  -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; border: 0;
}
html .site-header.header-over:not(.nav-open) .stripe { display: none !important; }
html .site-header.header-over:not(.nav-open) .logo,
html .site-header.header-over:not(.nav-open) .brand { color: #fff !important; }
html .site-header.header-over:not(.nav-open) nav > a,
html .site-header.header-over:not(.nav-open) nav .has-sub > a,
html .site-header.header-over:not(.nav-open) .sub-toggle { color: #fff !important; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
html .site-header.header-over:not(.nav-open) nav > a:hover,
html .site-header.header-over:not(.nav-open) nav > a[aria-current="page"] { border-bottom-color: #8fb2e3; }
html .site-header.header-over:not(.nav-open) .nav-toggle { color: #fff !important; border-color: rgba(255,255,255,.6) !important; }
/* geöffnetes Smartphone-Menü ohne Trennlinie */
.site-header.header-over.nav-open .stripe { display: none; }
/* weiche Unschärfe unter der transparenten Kopfzeile, damit durchlaufender Inhalt nicht mit dem Menü kollidiert (ohne harte Kante) */
.site-header.header-over:not(.nav-open)::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: -18px; z-index: -1; pointer-events: none;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
}
html .site-header.header-over:not(.nav-open),
html .site-header.header-over.is-scrolled:not(.nav-open) { background: linear-gradient(180deg, rgba(20,24,28,.72) 0%, rgba(20,24,28,.45) 65%, rgba(20,24,28,0) 100%); }

/* ---------- Hero-/Foto-Hintergründe (statisch, ohne Parallaxe) ---------- */
.hero-photo { background-image: var(--hero-grad), var(--hero-img); background-size: 100% 100%, cover;
  background-position: 0 0, center; background-repeat: no-repeat; }
.photo-band { background-image: var(--pb); background-size: cover; background-repeat: no-repeat; background-position: var(--pbx, center) var(--pby, 50%); }
.contact-photo { background-image: linear-gradient(rgba(20,24,28,.45), rgba(20,24,28,.55)), var(--bg-img); background-size: 100% 100%, cover;
  background-position: 0 0, center; background-repeat: no-repeat; }
.split-photo { background-size: cover; background-position: center; background-repeat: no-repeat; }

/* Barrierefreiheit (12.10.2026): Kontrast im dunklen Hero */
.hero-photo.dark .eyebrow { color: #b9d1f0; }
.hero-photo.dark .lead { color: #f3f3f3; text-shadow: 0 1px 8px rgba(0,0,0,.55); }
@media (max-width: 719px) {
  .hero-photo .plexus { opacity: .55; }
}

/* ---------- Kopfzeile klar statt verschwommen (12.10.2026): oben transparent, beim Scrollen klare graue Leiste (CI-Grau, leicht transparent), kein Blur, kein Streifen ---------- */
html .site-header.header-over:not(.nav-open),
html .site-header.header-over.is-scrolled:not(.nav-open) {
  -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; box-shadow: none;
  transition: background-color .3s ease, box-shadow .3s ease;
}
html .site-header.header-over:not(.is-scrolled):not(.nav-open) { background: transparent; }
html .site-header.header-over.is-scrolled:not(.nav-open) { background: rgba(52,58,64,.93); box-shadow: 0 2px 14px rgba(0,0,0,.25); }
.site-header.header-over:not(.nav-open)::before { display: none; }
@media (prefers-reduced-motion: reduce) { html .site-header.header-over { transition: none; } }

/* ---------- Rechtsseiten (Impressum, Datenschutz) und Formular-Hinweis ---------- */
.legal-page { padding-block: 48px 72px; }
.legal-text { max-width: 78ch; }
.legal-text h2 { font-size: var(--fs-h3); letter-spacing: .06em; text-transform: uppercase; margin: 22px 0 -4px; }
.legal-text h3 { font-size: 1.05rem; margin: 12px 0 -6px; }
.legal-text p { font-size: 1.0625rem; line-height: 1.55; }
.legal-text .stand { color: var(--muted); font-size: .95rem; }
.legal-text a { color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; }
.draft-note { background: #fff4c2; color: #3a2f00 !important; border-left: 5px solid #c9a100; padding: 12px 16px; font-size: .95rem !important; }
mark.open { background: #fff1a8; color: #1f2328; padding: 0 4px; }
.form-privacy { font-size: .95rem; margin: 0; }
.form-privacy a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .draft-note { background: #3a3200; color: #fff1a8 !important; } }
:root[data-theme="dark"] .draft-note { background: #3a3200; color: #fff1a8 !important; }
body:has(.legal-page) .hero-photo { min-height: 0; padding-block: 150px 48px; }
@media (max-width: 899px) { body:has(.legal-page) .hero-photo { padding-block: 110px 32px; } }

/* Ansprechpartner in den Angebots-Kacheln (Investoren-Übersicht, wie im Flyer) */
.tile-contact { font-size: .9rem; line-height: 1.45; margin-top: auto; margin-bottom: 14px; opacity: .92; }
.tile-contact .nowrap { white-space: nowrap; }
.tile-contact + .more { margin-top: 0; }

/* ---------- Bilder als <img> (Alt-Text, Bildsuche): Foto unten, Verlauf darüber, Inhalt oben ---------- */
.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo, .contact-photo { position: relative; isolation: isolate; overflow: hidden; background: none; }
.hero-photo > .cover, .contact-photo > .cover { z-index: -2; }
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-grad); pointer-events: none; }
.contact-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(20,24,28,.45), rgba(20,24,28,.55)); pointer-events: none; }
.photo-band { background: none; overflow: hidden; }
.photo-band > .cover { z-index: 0; }
.split-photo { background: none; overflow: hidden; }
.split-photo > .cover { z-index: 0; }

/* ---------- Kontaktformular mit Rückmeldung ---------- */
.contact .req-note { font-size: .92rem; margin: 0; color: var(--band-muted); }
.contact .err { margin: 4px 0 0; font-size: .95rem; font-weight: 600; color: #a8200d; }
.contact .field input[aria-invalid="true"], .contact .field textarea[aria-invalid="true"] { border-color: #a8200d; box-shadow: 0 0 0 2px #a8200d; }
.form-error { background: #fdecea; color: #7a1c10; border-left: 5px solid #a8200d; padding: 12px 16px; font-weight: 600; }
.form-error a { color: inherit; text-decoration: underline; }
.form-error:focus, .form-success:focus { outline: 3px solid #3f71b3; outline-offset: 2px; }
.form-success { background: #e8f3ea; color: #14421f; border-left: 5px solid #2d7a3e; padding: 22px 22px; display: grid; gap: 8px; }
.form-success h3 { margin: 0; color: inherit; }
.form-success p { margin: 0; }
.form-success .preview-hint { font-size: .92rem; font-style: italic; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .contact .err { color: #ffb4a8; }
  :root:not([data-theme="light"]) .contact .field input[aria-invalid="true"], :root:not([data-theme="light"]) .contact .field textarea[aria-invalid="true"] { border-color: #ffb4a8; box-shadow: 0 0 0 2px #ffb4a8; }
  :root:not([data-theme="light"]) .form-error { background: #3a1511; color: #ffd9d2; }
  :root:not([data-theme="light"]) .form-success { background: #12301a; color: #cdeed6; }
}
:root[data-theme="dark"] .contact .err { color: #ffb4a8; }
:root[data-theme="dark"] .form-error { background: #3a1511; color: #ffd9d2; }
:root[data-theme="dark"] .form-success { background: #12301a; color: #cdeed6; }

/* ---------- Fester Button am Smartphone ---------- */
.sticky-cta { display: none; }
@media (max-width: 719px) {
  .sticky-cta { display: flex; align-items: center; justify-content: center; position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    min-height: 52px; border-radius: 6px; background: #3f71b3; color: #fff; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; font-size: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.35); transform: translateY(160%); transition: transform .3s ease; pointer-events: none; }
  .sticky-cta.show { transform: none; pointer-events: auto; }
  .sticky-cta:active { background: #335d96; }
  body:has(.sticky-cta) { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* ---------- WordPress-Ergänzungen ---------- */
/* Admin-Leiste (eingeloggt) nicht vom fixierten Kopf überdecken */
.admin-bar .site-header, .admin-bar .site-header.header-over { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header, .admin-bar .site-header.header-over { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header.header-over { top: 0; } }

/* Kontaktformular: Honeypot sicher verstecken, Button während des Sendens (Fehler/Erfolg gestaltet die statische Seite) */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hoh-contact button[disabled] { opacity: .6; cursor: progress; }

/* Normale WordPress-Seiten (z. B. Impressum, Datenschutz) im selben Look */
.page-default { padding-block: 56px 80px; }
.page-default h1 { margin-bottom: 28px; }
.page-default .prose { max-width: 75ch; }
.page-default .prose h2 { font-size: 18pt; margin-top: 18px; }
.page-default .prose h3 { margin-top: 10px; }
.page-default .prose ul, .page-default .prose ol { margin: 0; padding-left: 1.3em; font-size: var(--fs-lead); }

/* ---------- Blöcke (Plugin „Home of Hightech – Blöcke“) ---------- */
/* Landingpages: Blöcke ohne eigenen Abschnitt (z. B. ein loser Absatz) bekommen die normale Inhaltsbreite */
.hoh-landing > :not(section):not(nav):not(.photo-band):not(script) { width: 100%; max-width: 1120px; margin: 24px auto; padding-inline: 16px; }
@media (min-width: 720px) { .hoh-landing > :not(section):not(nav):not(.photo-band):not(script) { padding-inline: 32px; } }

/* WordPress-Buttons im HoH-Stil (Standard = blau gefüllt, Stil „Umriss“ = .btn-ghost) */
.wp-block-buttons.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-button .wp-block-button__link {
  display: inline-flex; align-items: center; min-height: 48px; padding: .62em 1.25em; border-radius: 0;
  font: inherit; font-weight: 700; font-size: var(--fs-body); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  border: 2px solid var(--blue-btn); background: var(--blue-btn); color: var(--on-blue); transition: background .15s, color .15s, border-color .15s;
}
.wp-block-button .wp-block-button__link:hover { background: #4d80c4; border-color: #4d80c4; color: var(--on-blue); }
.wp-block-button.is-style-ghost .wp-block-button__link { background: transparent; color: var(--band-ink); border-color: var(--band-muted); }
.wp-block-button.is-style-ghost .wp-block-button__link:hover { background: rgba(255,255,255,.06); border-color: var(--band-ink); }
/* Umriss-Button auf hellem Grund */
section:not(.hero):not(.statement):not(.contact) .is-style-ghost .wp-block-button__link,
.hero-photo.light .is-style-ghost .wp-block-button__link { color: var(--ink-strong); border-color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .wp-block-button .wp-block-button__link { transition: none; } }

/* Absatz-Variante „Hinweis (klein)“ */
p.note { color: var(--muted); font-size: 1rem; max-width: 62ch; }

/* Abstände zwischen Bausteinen in einem Abschnitt (Abschnittskopf → Inhalt ist bereits geregelt) */
.wrap > .prose + .tiles, .wrap > .prose + .benefits, .wrap > .prose + .services, .wrap > .tiles + .prose,
.wrap > .benefits + .prose, .wrap > .services + .prose, .wrap > .prose + .faq-list { margin-top: 32px; }
.wrap > .wp-block-buttons, .prose + .wp-block-buttons { margin-top: 24px; }
.statement .results { margin-top: 18px; }

/* FAQ: WordPress-Block „Details“ */
.faq-list .wp-block-details { margin: 0; }
.faq-list details > :not(summary) { padding-top: 10px; color: var(--muted); max-width: 62ch; }

/* Team: Foto statt Initialen */
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Ergebnis-Zeile (MIT) mit mehreren Absätzen */
.mit-merge > div { display: grid; gap: 8px; }
