/* windCORES Colocation – Website. CI wie windcores.de. Design B: dunkles Petrol für Kopf, Hero und Turm; Inhalte hell und ruhig. */
:root {
  --petrol: #005471;
  --petrol-700: #00435a;
  --petrol-800: #0b3644;
  --petrol-900: #0b2630;
  --petrol-950: #071a21;
  --blue: #0082ae;
  --blue-50: #e8f4f8;
  --green: #9fba00;
  --green-700: #6f8400;
  --green-light: #cad46e;

  --bg: #ffffff;
  --bg-soft: #f2f6f8;
  --text: #1d2a30;
  --muted: #566a73;
  --on-dark: #dce9ee;
  --on-dark-muted: #a9c3cc;
  --border: #dbe4e9;
  --line-dark: rgba(255,255,255,.12);
  --shadow: 0 1px 2px rgba(0,43,58,.06), 0 8px 28px rgba(0,43,58,.08);
  --radius: 12px;
  --wrap: 1180px;
  --gutter: 20px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif; font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--petrol); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 500; color: var(--petrol); text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.9rem); font-weight: 700; letter-spacing: -.02em; }
h1 em { font-style: normal; font-weight: 300; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.5rem); font-weight: 400; letter-spacing: -.01em; }
h3, .h3 { font-size: 1.22rem; font-weight: 500; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
strong, b { font-weight: 500; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--petrol); color: #fff; padding: 10px 14px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.ico { width: 20px; height: 20px; flex: none; }
.ico-sm { width: 16px; height: 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 500; color: var(--green-700); margin: 0 0 .7em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 500; font-size: .95rem; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--green); color: var(--petrol-900); }
.btn-primary:hover { background: var(--green-light); color: var(--petrol-900); }
.btn-dark { background: var(--petrol); color: #fff; }
.btn-dark:hover { background: var(--petrol-900); color: #fff; }
.btn-ghost { border-color: currentColor; color: var(--petrol); background: transparent; }
.btn-ghost:hover { background: var(--petrol); color: #fff; border-color: var(--petrol); }
.btn-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-light:hover { background: #fff; color: var(--petrol); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none; }
.link-arrow .ico { transition: transform .15s; }
a:hover .link-arrow .ico, .link-arrow:hover .ico { transform: translateX(3px); }

/* ---------- WestfalenWIND-IT-Leiste (ganz oben, jede Seite) ---------- */
.wwbar { background: var(--petrol-950); color: var(--on-dark-muted); font-size: .82rem; border-bottom: 1px solid var(--line-dark); }
.wwbar-in { display: flex; align-items: center; gap: 16px; min-height: 36px; }
.wwbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.wwbar-firma { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wwbar-firma b { color: #fff; font-weight: 500; }
.wwbar-link { margin-left: auto; color: var(--green-light) !important; }
.wwbar-link:hover .wwbar-items { text-decoration: underline; }
.wwbar-tel { color: #fff !important; }
@media (max-width: 720px) { .wwbar-ort { display: none; } .wwbar-link { display: none !important; } .wwbar-tel { margin-left: auto; } }
@media (max-width: 440px) { .wwbar-tel span { display: none; } }

/* ---------- Header (dunkel) ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(11,38,48,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-dark); }
.header-in { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand-link { text-decoration: none; flex: none; }
.brand { display: inline-flex; align-items: flex-end; gap: 10px; }
.brand img { height: 40px; width: auto; }
.brand-suffix { font-weight: 300; font-size: 1.2rem; letter-spacing: .02em; color: #fff; line-height: 1; padding: 0 0 3px 10px; border-left: 2px solid var(--green); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav ul a { display: block; padding: 8px 11px; color: var(--on-dark); text-decoration: none; font-size: .95rem; border-radius: 8px; }
.nav ul a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav ul a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }
.btn-portal { border-color: var(--green-light); color: var(--green-light); min-height: 40px; padding: 7px 16px; }
.btn-portal:hover { background: var(--green-light); color: var(--petrol-900); }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line-dark); border-radius: 10px; background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .ico-close { display: none; }

@media (max-width: 1060px) { .nav ul a { padding: 8px 7px; font-size: .9rem; } }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  /* Mobil ohne backdrop-filter: Safari/iOS schneidet sonst das aufgeklappte Menü ab und malt den Inhalt darüber */
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #0b2630; }
  /* Menü als eigene Ebene vom Header-Unterrand bis zum Bildschirmende */
  .nav { position: fixed; z-index: 95; top: var(--nav-top, 98px); left: 0; right: 0; bottom: 0; margin: 0; background: var(--petrol-900); border-top: 1px solid var(--line-dark); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 8px var(--gutter) calc(32px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; opacity: 0; transform: translateY(-8px); visibility: hidden; pointer-events: none; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { padding: 15px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav ul a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--green); padding-left: 14px; }
  .nav .btn-portal { margin-top: 22px; min-height: 50px; }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .nav-open .anfrage-btn { display: none; }
  .nav ul li:last-child a { border-bottom: 0; }
  .nav .btn-portal { justify-content: center; width: 100%; }
  .nav-open .nav-toggle .ico-open { display: none; }
  .nav-open .nav-toggle .ico-close { display: block; }
  .nav-open { overflow: hidden; }
}
@media (max-width: 560px) {
  .brand img { height: 32px; }
  .brand-suffix { font-size: 1rem; }
  .header-in { min-height: 62px; }
}

/* ---------- Start-Hero mit Video ---------- */
.hero { background: radial-gradient(120% 90% at 85% 10%, var(--petrol-800) 0%, var(--petrol-900) 55%, var(--petrol-950) 100%); color: var(--on-dark); padding: clamp(36px, 6vw, 80px) 0 0; overflow: hidden; }
.hero-in { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1.25fr .75fr; } }
.hero h1 { color: #fff; }
.hero h1 em, .phero h1 em { color: var(--green-light); }
.hero .lead { color: var(--on-dark-muted); }
.hero .eyebrow, .phero .eyebrow, .section-dark .eyebrow { color: var(--green-light); }

.hero-video { position: relative; margin: 0; justify-self: center; width: min(100%, 360px); }
.hero-video video { width: 100%; aspect-ratio: 544 / 960; object-fit: cover; border-radius: 22px; background: var(--petrol-950); box-shadow: 0 0 0 1px var(--line-dark), 0 30px 60px rgba(0,0,0,.35); }
.hero-video figcaption { font-size: .8rem; color: var(--on-dark-muted); margin-top: 10px; text-align: center; }
@media (max-width: 899px) { .hero-video { width: min(100%, 300px); } .hero-video video { aspect-ratio: 4 / 5; } }
.video-toggle { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(7,26,33,.7); color: #fff; display: grid; place-items: center; cursor: pointer; }
.video-toggle .ico-play { display: none; }
.video-toggle.is-paused .ico-play { display: block; }
.video-toggle.is-paused .ico-pause { display: none; }

.factbar { list-style: none; margin: clamp(36px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border-top: 1px solid var(--line-dark); }
.factbar li { padding: 22px 20px 26px 0; }
.factbar li + li { border-left: 1px solid var(--line-dark); padding-left: 20px; }
@media (max-width: 860px) { .factbar li + li { border-left: 0; padding-left: 0; } .factbar li { border-bottom: 1px solid var(--line-dark); padding: 16px 0; } }
.factbar b { display: block; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 300; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.factbar span { color: var(--on-dark-muted); font-size: .9rem; }

/* ---------- Unterseiten-Hero ---------- */
.phero { background: linear-gradient(160deg, var(--petrol-900) 0%, var(--petrol-950) 100%); color: var(--on-dark); padding: clamp(32px, 5vw, 64px) 0; }
.phero-in { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .phero-in { grid-template-columns: 1.1fr .9fr; } .phero-solo { grid-template-columns: 1fr; } }
.phero h1 { color: #fff; font-size: clamp(2rem, 1.2rem + 3vw, 3.3rem); }
.phero .lead { color: var(--on-dark-muted); margin-bottom: 0; }
.phero-media { margin: 0; }
.phero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.hero-video-sm { width: min(100%, 300px); }
.hero-video-sm video { aspect-ratio: 9 / 14; }
.crumbs { display: flex; gap: 8px; font-size: .82rem; color: var(--on-dark-muted); margin-bottom: 18px; }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--petrol-900); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead, .section-dark .muted { color: var(--on-dark-muted); }
.section-head { max-width: 760px; margin-bottom: 40px; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; min-width: 0; }
.card h3, .card .h3 { margin-top: .2em; }
.card p:last-child { margin-bottom: 0; }
.card h2 .ico, .card h3 .ico { vertical-align: -3px; color: var(--blue); margin-right: 4px; }
.ci-icon { width: 52px; height: 52px; margin-bottom: 14px; }

.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 30px; margin: 0 0 .55em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2630' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
@media (min-width: 700px) { .checks-2col { columns: 2; column-gap: 32px; } .checks-2col li { break-inside: avoid; } }

/* Split: Text + Bild */
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; grid-template-columns: 1fr; }
.split > * { min-width: 0; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split-rev > :first-child { order: 2; } }
.split-media { border-radius: var(--radius); overflow: hidden; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Turm-Querschnitt ---------- */
.tower { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .tower { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; } .tower-fig { position: sticky; top: 110px; align-self: start; } }
.tower-fig svg { width: 100%; height: auto; display: block; overflow: visible; }
.tower-fig .t-ground { stroke: #3d6b7a; stroke-width: 1.5; }
.tower-fig .t-shell { fill: url(#t-glow); stroke: #3f7d92; stroke-width: 1.2; }
.tower-fig .t-inner { fill: #0c2a34; stroke: #2a5a69; stroke-width: 1; }
.tower-fig .t-lv { fill: transparent; stroke: transparent; transition: fill .3s, stroke .3s; }
.tower-fig .t-lv.on { fill: rgba(159,186,0,.14); stroke: var(--green); }
.tower-fig .t-floor { stroke: #3f7d92; stroke-width: 1.2; }
.tower-fig .t-rack rect { fill: #1d4553; stroke: #4c8ea3; stroke-width: .8; }
.tower-fig .t-rack circle { fill: #8fd0e6; }
.tower-fig .t-rack-ki rect { stroke: var(--green-light); }
.tower-fig .t-rack-ki circle { fill: var(--green-light); }
.tower-fig .t-uv rect:first-child, .tower-fig .t-lwl rect { fill: #1d4553; stroke: #4c8ea3; stroke-width: .8; }
.tower-fig .t-uv rect + rect { fill: #e6f1f4; stroke: none; }
.tower-fig .t-wea rect { fill: #1d4553; stroke: #4c8ea3; stroke-width: .8; }
.tower-fig .t-wea path { fill: none; stroke: #d4dc5a; stroke-width: 1.4; }
.tower-fig .t-lwl circle { fill: #3cc3ee; }
.tower-fig .t-solar { fill: #1f5a7a; stroke: #8fd0e6; stroke-width: 1; }
.tower-fig .t-solar-l { fill: none; stroke: #8fd0e6; stroke-width: .6; opacity: .7; }
.tower-fig .t-bat rect { fill: #1d4553; stroke: #4c8ea3; stroke-width: .8; }
.tower-fig .t-bat rect + rect { fill: var(--green-light); stroke: none; }
.tower-fig .t-gondel { fill: #e6f1f4; transition: fill .3s; }
.tower-fig .t-gondel.on { fill: var(--green-light); }
.tower-fig .t-rotor { fill: #eef6f8; transform-box: view-box; transform-origin: 230px 126px; animation: spin 9s linear infinite; }
.tower-fig .t-bg { fill: none; stroke: #2c5765; stroke-width: 1.5; stroke-linecap: round; opacity: .5; }
.tower-fig .t-mast { fill: none; stroke: #c9d6db; stroke-width: 1.4; }
.tower-fig .t-flow { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 2 6; animation: t-flow 1.1s linear infinite; }
.tower-fig .t-wind { stroke: #d4dc5a; }
.tower-fig .t-grid { stroke: #e6f1f4; opacity: .8; }
.tower-fig .t-fiber { stroke: #3cc3ee; }
@keyframes t-flow { to { stroke-dashoffset: -16; } }
@keyframes spin { to { transform: rotate(360deg); } }
.tower-fig .t-lead { stroke: #5a8796; stroke-width: 1; stroke-dasharray: 1.5 3; fill: none; }
.tower-fig .t-dot { fill: #d4dc5a; }
.tower-fig .t-eye { font-size: 11px; letter-spacing: .1em; fill: #d4dc5a; font-weight: 500; }
.tower-fig .t-txt { font-size: 14px; fill: #e6f1f4; }
.tower-fig .t-lab-fiber .t-eye { fill: #3cc3ee; }
.tower-fig .t-lab-netz .t-eye, .tower-fig .t-lab-netz .t-txt { fill: #8aa3ab; }
.tower-fig .t-lab.on .t-txt { fill: var(--green-light); }
.t-legende { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--on-dark-muted); }
.t-legende li { display: flex; align-items: center; gap: 8px; }
.t-sw { width: 22px; height: 3px; border-radius: 2px; display: inline-block; }
.t-sw-wind { background: #d4dc5a; } .t-sw-grid { background: #e6f1f4; } .t-sw-fiber { background: #3cc3ee; }
@media (max-width: 899px) { .tower-fig .t-txt { font-size: 15px; } .tower-fig .t-eye { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .tower-fig .t-rotor, .tower-fig .t-flow { animation: none; } }
.tower-steps { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.tower-steps li { border-left: 2px solid #24505e; padding: 18px 0 18px 24px; transition: border-color .3s, opacity .3s; }
@media (min-width: 760px) { .tower-steps li { padding: 9vh 0 9vh 28px; } .tower-steps li:first-child { padding-top: 0; } }
.tower-steps li.on { border-color: var(--green); }
.tower-steps .t-label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-light); font-weight: 500; }
.tower-steps h3 { font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); font-weight: 400; margin: .2em 0 .3em; }
.tower-steps p { color: var(--on-dark-muted); max-width: 52ch; margin: 0; }

/* ---------- Kacheln mit Foto ---------- */
.tile { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--border); text-decoration: none; color: var(--text); transition: transform .15s, box-shadow .15s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--text); }
.tile-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tile-body { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px 24px; flex: 1; }
.tile-body .eyebrow { margin: 0; }
.tile-body b { font-size: 1.35rem; font-weight: 500; color: var(--petrol); }
.tile-body > span:not(.eyebrow):not(.link-arrow) { color: var(--muted); }
.tile-body .link-arrow { margin-top: auto; padding-top: 8px; color: var(--blue); }

.photo-card { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-card figcaption { padding: 18px 22px 22px; color: var(--muted); }
.photo-card figcaption b { display: flex; align-items: center; gap: 8px; color: var(--petrol); font-size: 1.15rem; margin-bottom: 4px; }
.photo-card .ico { color: var(--blue); }

/* Rechenzentren */
.dc { position: relative; border-top: 4px solid var(--green); }
.dc-tag { align-self: flex-start; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; color: var(--green-700); margin-bottom: 8px; }
.dc h2 { font-size: 1.6rem; font-weight: 400; }

/* Zeitleiste */
.timeline { list-style: none; margin: 24px 0 0; padding: 0 0 0 4px; border-left: 2px solid var(--green-light); }
.timeline li { position: relative; padding: 0 0 14px 22px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--green); }
.timeline b { display: inline-block; min-width: 54px; color: var(--petrol); font-variant-numeric: tabular-nums; }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--petrol); padding-top: 16px; color: var(--muted); }
.steps li::before { content: counter(s); display: block; font-size: 2.4rem; font-weight: 300; color: var(--blue); line-height: 1; margin-bottom: 8px; }
.steps b { display: block; color: var(--petrol); font-size: 1.15rem; margin-bottom: 4px; }

/* Nachhaltigkeit: Grundsätze */
.principles article { border-top: 2px solid var(--green); padding-top: 18px; }
.p-num { font-size: .8rem; letter-spacing: .1em; color: var(--green-700); font-weight: 500; }
.principles h2 { margin-top: .3em; }

/* Netzschema */
.net { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin: 0; }
.net svg { width: 100%; height: auto; display: block; }
.net text { font-family: Roboto, system-ui, sans-serif; }

/* Referenzen */
.refs-mini { gap: 0; border-top: 1px solid var(--border); }
.ref-mini { display: flex; flex-direction: column; gap: 4px; padding: 24px 24px 24px 0; text-decoration: none; color: var(--muted); border-bottom: 1px solid var(--border); }
.ref-mini b { font-size: 1.6rem; font-weight: 500; color: var(--petrol); }
.ref-mini:hover b { color: var(--blue); }
.ref { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .ref { grid-template-columns: 300px 1fr; } }
.ref > * { min-width: 0; }
.ref-logo { background: var(--bg-soft); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 160px; }
.section-soft .ref-logo { background: #fff; }
.ref-logo strong { font-size: 1.8rem; font-weight: 500; color: var(--petrol); line-height: 1.1; }
.quote { border-left: 4px solid var(--green); padding: 4px 0 4px 20px; margin: 20px 0; font-size: 1.1rem; color: var(--petrol); font-weight: 300; }
.quote footer { font-size: .9rem; color: var(--muted); margin-top: 6px; font-weight: 400; }
.sources { font-size: .875rem; color: var(--muted); }
.sources a { word-break: break-word; }
.badge { display: inline-block; font-size: .75rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--green); color: var(--petrol-900); }

/* Ansprechpartner */
.people { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.person { display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
@media (max-width: 520px) { .person { grid-template-columns: 1fr; } }
.person-img { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; background: var(--petrol); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--green-light); }
.person-img img { width: 100%; height: 100%; object-fit: cover; }
.person h2 { font-size: 1.5rem; font-weight: 400; margin-bottom: .3em; }
.person .eyebrow { margin-bottom: .3em; }
.person-links { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.person-links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }

/* Zertifikate */
.cert { flex-direction: row; gap: 18px; align-items: flex-start; }
.cert img { width: 92px; flex: none; border-radius: 8px; border: 1px solid var(--border); background: #fff; }
@media (max-width: 420px) { .cert { flex-direction: column; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 10px; }
.section:not(.section-soft) .faq details { background: var(--bg-soft); border-color: transparent; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 500; color: var(--petrol); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { padding: 0 20px 4px; color: var(--muted); }

/* CTA */
.cta { background: var(--petrol-900); color: var(--on-dark); border-radius: calc(var(--radius) + 6px); padding: clamp(28px, 5vw, 56px); display: grid; gap: 28px; align-items: center; position: relative; overflow: hidden; }

@media (min-width: 860px) { .cta { grid-template-columns: 1.5fr 1fr; } }
.cta > * { min-width: 0; position: relative; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: var(--on-dark-muted); margin: 0; }
.cta .btn { overflow-wrap: anywhere; }
.cta-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cta-people li { display: flex; align-items: center; gap: 14px; }
.cta-people img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--green); }
.cta-people b { display: block; color: #fff; }
.cta-people span { color: var(--on-dark-muted); font-size: .92rem; }

/* Tabellen */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .95rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { background: var(--bg-soft); color: var(--petrol); font-weight: 500; }
tbody tr:last-child td { border-bottom: 0; }

/* Rechtstexte */
.prose { max-width: 780px; }
.prose h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); }
.prose h2 { font-size: 1.5rem; font-weight: 400; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.notice { background: #fff8e1; border: 1px solid #f0d98a; border-radius: 10px; padding: 14px 18px; color: #5c4700; font-size: .95rem; }

/* ---------- Footer ---------- */
.footer { background: var(--petrol-950); color: var(--on-dark-muted); padding: 56px 0 calc(24px + env(safe-area-inset-bottom)); font-size: .95rem; }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.footer-brand .brand img { height: 36px; }
.footer-brand p { margin-top: 18px; }
.footer-h { color: #fff; font-size: 1rem; font-weight: 500; margin-bottom: 12px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 8px; }
.footer-list a { display: inline-flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; border-top: 1px solid var(--line-dark); margin-top: 40px; padding-top: 20px; font-size: .85rem; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Chat (Zwei-Klick) ---------- */

/* Team (Kontaktseite) */
.team { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.member { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 22px; text-align: center; }
.member img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--green-light); }
.member h3 { margin-bottom: .15em; }
.member .role { color: var(--green-700); font-weight: 500; font-size: .92rem; margin-bottom: .6em; }
.member p:last-child { margin: 0; }

/* Serverraum-Umzug */
.section-dark a:not(.btn) { color: var(--green-light); }
.section-dark .checks li { color: var(--on-dark); }
.steps-dark li { border-color: var(--green); color: var(--on-dark-muted); }
.steps-dark li::before { color: var(--green-light); }
.steps-dark b { color: #fff; }
.steps-dark { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .steps-dark { grid-template-columns: 1fr; } }
.umzug-band { padding: clamp(40px, 5vw, 64px) 0; }
.umzug-in { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.umzug-in > div { flex: 1 1 520px; min-width: 0; }
.umzug-in h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
.umzug-in .lead { margin: 0; }
.region { border-top: 4px solid var(--blue); }

/* Footer-Hinweis Unternehmensgruppe */
.footer-note { font-size: .8rem; color: var(--on-dark-muted); margin-top: 32px; margin-bottom: 0; }

/* Turm-Ebenen: Fotos bzw. Platzhalter */
.t-foto { width: 100%; max-width: 420px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; margin-top: 12px; }
.t-platzhalter { margin-top: 12px; max-width: 420px; aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; padding: 16px; border: 2px dashed #f5c400; border-radius: 10px; color: #f5c400; font-size: .85rem; background: rgba(245,196,0,.06); }

/* Bildreihe (echte Fotos) */
.foto-reihe { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; }
.foto-reihe figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--border); }
.foto-reihe img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.foto-reihe figcaption { padding: 12px 16px 14px; font-size: .9rem; color: var(--muted); }
.foto-reihe figcaption b { display: block; color: var(--petrol); font-weight: 500; font-size: 1rem; }
@media (max-width: 899px) { .foto-reihe { grid-template-columns: 1fr; } }
.section-dark .foto-reihe figure { background: var(--petrol-900); border-color: var(--line-dark); }
.section-dark .foto-reihe figcaption { color: var(--on-dark-muted); }
.section-dark .foto-reihe figcaption b { color: #fff; }

/* Ortslisting Glasfaser */
.orte { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 899px) { .orte { grid-template-columns: 1fr; } }
.orte-kreis { background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 22px 24px; }
.orte-kreis h3 { margin: 0 0 12px; }
.orte-liste { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.orte-liste li { padding: 6px 14px; border-radius: 999px; background: #e8f4f8; color: var(--petrol); font-weight: 500; font-size: .95rem; }
.orte-kreis p { margin: 0; color: var(--muted); font-size: .92rem; }

/* KI-Racks hervorgehoben */
.ki-box { display: grid; gap: 32px; grid-template-columns: 1.1fr .9fr; align-items: center; }
@media (max-width: 899px) { .ki-box { grid-template-columns: 1fr; } }
.ki-zahl { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 8px 0 18px; }
.ki-zahl b { font-size: clamp(3rem, 8vw, 5rem); line-height: 1; font-weight: 300; color: var(--blue); }
.ki-zahl span { color: var(--muted); font-size: 1.05rem; }
.video-quer { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.video-quer video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--petrol-950); }
.video-quer figcaption, .video-hoch figcaption { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.section-dark .video-quer figcaption { color: var(--on-dark-muted); }
.video-hoch { margin: 0 auto; width: min(100%, 320px); position: relative; }
.video-hoch video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; display: block; background: var(--petrol-950); }

/* Zertifikats-Downloads */
.downloads { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .downloads { grid-template-columns: 1fr; } }
.downloads li { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; }
.downloads li span { font-weight: 500; color: var(--petrol); }
.downloads small { color: var(--muted); }
.foto-reihe-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 899px) { .foto-reihe-2 { grid-template-columns: 1fr; } }
.racks-split { grid-template-columns: 1fr auto; align-items: start; }
@media (max-width: 899px) { .racks-split { grid-template-columns: 1fr; } }

/* ---------- Anfrage-Knopf und Kontaktformular ---------- */
.anfrage-btn { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 12px 20px; border-radius: 999px; background: var(--green); color: var(--petrol-900); font-weight: 500; text-decoration: none; box-shadow: 0 6px 22px rgba(0,43,58,.28); }
.anfrage-btn:hover { background: var(--green-light); }
@media (max-width: 480px) { .anfrage-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .anfrage-btn { padding: 12px 14px; } }
.kf-split { align-items: start; }
.kf { display: grid; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.kf-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.kf label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: .95rem; color: var(--petrol); }
.kf input, .kf select, .kf textarea { font: inherit; font-weight: 400; color: var(--text); width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #b9c9d1; border-radius: 8px; background: #fff; }
.kf textarea { resize: vertical; min-height: 140px; }
.kf input:focus, .kf select:focus, .kf textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.kf [aria-invalid="true"] { border-color: #b3261e; }
.kf-err { color: #b3261e; font-weight: 400; font-size: .88rem; }
.kf-err-allg { margin: 0; padding: 10px 14px; background: #fdecea; border-radius: 8px; }
.kf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kf-hinweis { margin: 0; font-size: .88rem; color: var(--muted); }
.kf .btn { justify-self: start; }
.kf-ok { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--green); border-radius: var(--radius); padding: 24px; }
.kf-ok .ico { color: var(--green); flex: none; width: 28px; height: 28px; }
.kf-ok p { margin: .4em 0 0; }
