/* Elektrotechnik Krainer (Demo): technisch, klar, selbstbewusst.
   Graphit + Weiß, ein elektrisches Gelb als Akzent (nur als Fläche oder auf Dunkel,
   nie als Text auf Hell). Space Grotesk für Überschriften, IBM Plex Sans für Text.
   Motiv: feines Raster wie auf Schaltplänen, Monospace-Zahlen, klare Karten. */

@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url("/demo/fonts/space-grotesk-500.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url("/demo/fonts/space-grotesk-700.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url("/demo/fonts/ibm-plex-sans-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url("/demo/fonts/ibm-plex-sans-600.woff2") format("woff2"); }

:root {
  --graphite: #16181c; --graphite-2: #1e2126; --graphite-3: #2a2e35; --night: #0e1013;
  --volt: #ffd23f; --volt-deep: #f5c400; --volt-soft: #fff3c7;
  --live: #3ddc84; --alarm: #ff6b5e;
  --bg: #ffffff; --surface: #f2f3f1; --tint: #f4f5f2; --ink: #16181c; --muted: #4b5159; --line: #d6d9dc;
  --accent: #16181c; --on-accent: #ffd23f; --accent-soft: #ffeaa0;
  --grid: rgb(22 24 28 / .055);
  --head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --r: 4px; --maxw: 76rem;
}
body { font-size: 1.0625rem; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.02em; }
::selection { background: var(--volt); color: var(--graphite); }

/* Dunkle Flächen: gleiche Variablen, andere Werte. Kit-Bausteine passen sich an. */
.ek-dark, .ek-strip, .sh--dark, .ek-hero, .ek-page-hero, .ek-section--dark, .ek-cta, .sf--dark, .ek-calc__out, .ek-emerg, .ek-board {
  --bg: var(--graphite); --surface: var(--graphite-2); --ink: #f3f4f1; --muted: #b0b6be; --line: #3a3f47;
  --accent: var(--volt); --on-accent: var(--graphite); --accent-soft: rgb(255 210 63 / .25);
  --grid: rgb(255 255 255 / .045);
  background-color: var(--bg); color: var(--ink);
}
.ek-card--light { --bg: #fff; --surface: var(--surface-l, #f2f3f1); --ink: #16181c; --muted: #4b5159; --line: #d6d9dc;
  --accent: #16181c; --on-accent: #ffd23f; --accent-soft: #ffeaa0; background: var(--bg); color: var(--ink); }

.ek-grid { background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 40px 40px; background-position: -1px -1px; }
.ek-wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 40em) { .ek-wrap { padding-inline: 2rem; } }
.ek-mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.ek-label { display: flex; align-items: center; gap: .55rem; font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.ek-label::before { content: ""; width: .6rem; height: .6rem; flex: none; background: var(--volt); outline: 1px solid var(--ink); outline-offset: -1px; }
.ek-h2 { font-size: clamp(1.75rem, 4.4vw, 2.75rem); line-height: 1.08; }
.ek-h3 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
.ek-mini { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.ek-small { font-size: .9rem; color: var(--muted); }
.ek-hint { font-size: .85rem; color: var(--muted); }
.ek-lead { font-size: 1.2rem; line-height: 1.5; }
.ek-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--volt-deep); text-underline-offset: .3em; }
.ek-link:hover { text-decoration-color: currentColor; }
.ek-section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.ek-section--tight { padding-block: 2.5rem clamp(3.5rem, 8vw, 6rem); }
.ek-section--tint { background: var(--tint); }
.ek-head { max-width: 42rem; margin-bottom: 2.25rem; display: grid; gap: .9rem; }
.ek-head .ek-label { margin-bottom: 0; }
.ek-head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; }
.ek-head--row .ek-label { margin-bottom: .9rem; }

/* ---------- Buttons */
.btn { border-radius: 3px; font-family: var(--head); font-weight: 700; letter-spacing: .005em; }
.btn--volt { background: var(--volt); border-color: var(--volt); color: var(--graphite); }
.btn--volt:hover { background: var(--volt-deep); border-color: var(--volt-deep); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--bg); }
.btn--ghost { border-color: var(--line); }

/* ---------- Status */
.ek-live { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; }
.ek-live::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgb(61 220 132 / .6); animation: ek-pulse 2s infinite; flex: none; }
@keyframes ek-pulse { 70% { box-shadow: 0 0 0 .55em rgb(61 220 132 / 0); } 100% { box-shadow: 0 0 0 0 rgb(61 220 132 / 0); } }
.ek-strip .open-status[data-state="closed"]::before, .ek-board .open-status[data-state="closed"]::before, .ek-dark .open-status[data-state="closed"]::before { background: var(--alarm); }
.ek-strip .open-status[data-state="open"]::before, .ek-board .open-status[data-state="open"]::before { background: var(--live); }
.ek-bolt-sm { display: inline-block; width: .62em; height: 1em; background: currentColor; clip-path: polygon(62% 0, 0 58%, 42% 58%, 30% 100%, 100% 38%, 56% 38%); flex: none; }

/* ---------- Statusleiste über dem Kopf */
.ek-strip { background: var(--night); font-size: .82rem; border-bottom: 1px solid #23272d; }
.ek-strip__in { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.5rem; max-width: var(--maxw); margin-inline: auto; padding: .5rem 1rem; }
@media (min-width: 40em) { .ek-strip__in { padding-inline: 2rem; } }
.ek-strip__item { display: flex; align-items: center; gap: .6rem; }
.ek-strip__k { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ek-strip .open-status { font-size: .82rem; }
.ek-strip__call { display: none; align-items: center; gap: .45rem; margin-left: auto; padding: .3rem .75rem; border-radius: 3px; background: var(--volt); color: var(--graphite); font-family: var(--head); font-weight: 700; text-decoration: none; }
.ek-strip__call:hover { background: var(--volt-deep); }
@media (min-width: 48em) { .ek-strip__call { display: inline-flex; } }

/* ---------- Kopfzeile */
.sh--dark { background: var(--graphite); border-bottom: 1px solid var(--line); }
.sh__in { padding-inline: 1rem; }
@media (min-width: 40em) { .sh__in { padding-inline: 2rem; } }
.sh__logo { gap: .7rem; }
.ek-mark { width: 2.4rem; height: 2.4rem; flex: none; }
.ek-wordmark { display: grid; line-height: 1; font-family: var(--head); }
.ek-wordmark__a { font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.ek-wordmark__b { font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; }
.sh__nav li a { font-family: var(--head); font-weight: 500; }
.sh__cta { background: var(--volt); border-color: var(--volt); color: var(--graphite); min-height: 2.6rem; padding-block: .5em; }
.sh__cta:hover { background: var(--volt-deep); border-color: var(--volt-deep); }
@media (min-width: 60em) { .sh__nav a[aria-current="page"] { text-decoration-color: var(--volt); } }

/* ---------- Mobiler Notruf-Button */
.ek-fab { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; display: inline-flex; align-items: center; gap: .5rem; min-height: 3.1rem; padding: .7rem 1.15rem; border-radius: 99px;
  background: var(--volt); color: var(--graphite); font-family: var(--head); font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px rgb(14 16 19 / .35), 0 0 0 2px var(--graphite); }
.ek-fab:focus-visible { outline: 3px solid var(--graphite); outline-offset: 3px; }
@media (min-width: 48em) { .ek-fab { display: none; } }

/* ---------- Hero */
.ek-hero { border-bottom: 1px solid var(--line); }
.ek-hero__in { display: grid; gap: 2.5rem; padding-block: 2.75rem 3rem; }
@media (min-width: 60em) { .ek-hero__in { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 4rem; padding-block: 5rem; } }
.ek-hero .ek-label::before, .ek-page-hero .ek-label::before, .ek-section--dark .ek-label::before, .ek-cta .ek-label::before { outline: 0; }
.ek-hero__h { font-size: clamp(2.4rem, 7.4vw, 4.6rem); line-height: 1; letter-spacing: -.035em; margin-bottom: 1.4rem; }
.ek-hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 34rem; }
.ek-hero__act { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.ek-hero__media { position: relative; padding-bottom: 4.5rem; }
@media (min-width: 60em) { .ek-hero__media { padding-bottom: 3rem; } }
.ek-hero__media > img, .ek-hero__media > .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.ek-hero__media::before, .ek-hero__media::after { content: ""; position: absolute; width: 1.5rem; height: 1.5rem; border: 2px solid var(--volt); pointer-events: none; }
.ek-hero__media::before { top: -.6rem; left: -.6rem; border-right: 0; border-bottom: 0; }
.ek-hero__media::after { top: -.6rem; right: -.6rem; border-left: 0; border-bottom: 0; }
.ek-board { position: absolute; left: 1rem; right: 1rem; bottom: 0; padding: 1rem 1.1rem; border: 1px solid var(--line); border-top: 3px solid var(--volt); box-shadow: 0 20px 40px rgb(0 0 0 / .35); }
@media (min-width: 40em) { .ek-board { left: auto; right: -1rem; width: 21rem; } }
.ek-board__h { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.ek-board dl { display: grid; }
.ek-board dl > div { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .45rem 0; border-top: 1px dashed var(--line); font-size: .88rem; }
.ek-board dt { color: var(--muted); }
.ek-board dd { text-align: right; }
.ek-board .open-status { font-size: .88rem; }

/* ---------- Zahlen */
.ek-facts { border-bottom: 1px solid var(--line); }
.ek-facts__in { display: grid; grid-template-columns: 1fr 1fr; }
@media (min-width: 60em) { .ek-facts__in { grid-template-columns: repeat(4, 1fr); } }
.ek-facts p { display: grid; gap: .35rem; align-content: start; padding: 1.6rem 1rem 1.6rem 0; }
.ek-facts p:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--line); }
.ek-facts p:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
@media (min-width: 60em) {
  .ek-facts p { padding: 2.2rem 1.25rem; border-bottom: 0 !important; }
  .ek-facts p + p { border-left: 1px solid var(--line); }
  .ek-facts p:first-child { padding-left: 0; }
}
.ek-facts strong { font-family: var(--head); font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.ek-facts span { font-size: .9rem; color: var(--muted); max-width: 16rem; }

/* ---------- Service-Finder */
.ek-split { display: grid; gap: 2rem; }
@media (min-width: 60em) { .ek-split { grid-template-columns: 1fr 1.35fr; gap: 4rem; align-items: start; } .ek-split .ek-head { position: sticky; top: 5rem; } }
.ek-section--dark .ek-head p:not(.ek-label) { color: var(--muted); }
.ek-section--dark a:not(.btn) { color: var(--volt); }
.ek-section--dark .ek-card--light a:not(.btn) { color: var(--ink); }
.ek-card { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.1rem, 3vw, 2rem); background: var(--bg); }
.ek-card--light { border-color: transparent; box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 30px 60px rgb(0 0 0 / .35); }
.wiz-step legend { font-size: clamp(1.25rem, 3vw, 1.5rem); }
.opt { border-radius: 3px; }
.opt__name { font-family: var(--head); font-weight: 700; }
.opt:has(input:checked) { background: var(--volt-soft); }
.opt:has(input:checked)::after { color: var(--volt); }
.wiz__bar { height: 4px; border-radius: 0; }
.wiz__bar::after { background: var(--volt-deep); }
.wiz__progress { font-family: var(--mono); font-weight: 400; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; }
.ek-results { gap: 0; }
.ek-result { display: grid; gap: .9rem; padding: 1.4rem; border: 1px solid var(--line); border-top: 4px solid var(--volt); border-radius: 3px; background: var(--tint); }
.ek-result--alert { border-top-color: #c62a1c; background: #fff6f4; }
.ek-result__tag { font-family: var(--mono); font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.ek-result__h { font-family: var(--head); font-size: clamp(1.35rem, 3.4vw, 1.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.ek-result__tips, .ek-ticks { list-style: none; padding: 0; display: grid; gap: .5rem; }
.ek-result__tips li, .ek-ticks li { position: relative; padding-left: 1.6rem; font-size: .95rem; }
.ek-result__tips li::before, .ek-ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: .75rem; height: .4rem; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.ek-result__act { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: .3rem; }
.ek-finder .ek-restart { margin-left: auto; }

/* ---------- Leistungs-Karten */
.ek-services { list-style: none; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 40em) { .ek-services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 60em) { .ek-services { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.ek-service a { display: grid; height: 100%; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; background: var(--bg); transition: border-color .2s, transform .2s; }
.ek-service a:hover { border-color: var(--ink); transform: translateY(-2px); }
.ek-service__img { overflow: hidden; border-bottom: 1px solid var(--line); }
.ek-service__img img, .ek-service__img .ph { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.ek-service a:hover img { transform: scale(1.04); }
.ek-service__body { position: relative; display: grid; gap: .5rem; padding: 1.25rem 1.25rem 1.5rem; }
.ek-service__no { position: absolute; top: -1.05rem; right: 1rem; padding: .25rem .5rem; background: var(--volt); color: var(--graphite); font-family: var(--mono); font-size: .8rem; font-weight: 700; border: 1px solid var(--graphite); }
.ek-service h3 { font-size: 1.3rem; }
.ek-service p { color: var(--muted); font-size: .97rem; }

/* ---------- PV-Teaser, Spezifikationen */
.ek-pvteaser { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 60em) { .ek-pvteaser { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.ek-pvteaser > div:last-child { display: grid; gap: 1rem; justify-items: start; }
.ek-pvteaser__img img, .ek-pvteaser__img .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.ek-spec { display: grid; width: 100%; margin: .4rem 0 .6rem; }
.ek-spec > div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-top: 1px dashed var(--line); }
.ek-spec > div:last-child { border-bottom: 1px dashed var(--line); }
.ek-spec dt { color: var(--muted); }
.ek-spec dd { font-weight: 600; text-align: right; }

/* ---------- Ablauf */
.ek-steps { list-style: none; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: st; }
@media (min-width: 40em) { .ek-steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 60em) { .ek-steps { grid-template-columns: repeat(4, 1fr); } }
.ek-steps li { counter-increment: st; display: grid; gap: .5rem; align-content: start; padding: 1.5rem 1.25rem 1.75rem; background: var(--bg); }
.ek-section--tint .ek-steps li { background: var(--tint); }
.ek-steps li::before { content: "0" counter(st); justify-self: start; margin-bottom: .6rem; padding: .2rem .45rem; font-family: var(--mono); font-size: .85rem; font-weight: 700; background: var(--graphite); color: var(--volt); }
.ek-steps h3 { font-size: 1.2rem; }
.ek-steps p { color: var(--muted); font-size: .95rem; }

/* ---------- CTA */
.ek-cta { padding-block: clamp(3.5rem, 8vw, 5.5rem); border-top: 3px solid var(--volt); }
.ek-cta__in { display: grid; gap: 1.75rem; }
@media (min-width: 60em) { .ek-cta__in { grid-template-columns: 1.4fr 1fr; align-items: center; } }
.ek-cta p { color: var(--muted); margin-top: .75rem; max-width: 36rem; }
.ek-cta__act { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 60em) { .ek-cta__act { justify-content: flex-end; } }

/* ---------- Unterseiten-Kopf */
.ek-page-hero { padding-block: clamp(2.75rem, 7vw, 5rem); border-bottom: 1px solid var(--line); }
.ek-page-hero h1 { font-size: clamp(2.1rem, 6vw, 3.8rem); line-height: 1.02; letter-spacing: -.035em; max-width: 20ch; }
.ek-page-hero p:not(.ek-label) { margin-top: 1.1rem; color: var(--muted); max-width: 40rem; font-size: 1.1rem; }
.ek-page-hero .btn { margin-top: 1.6rem; }
.ek-page-hero__split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 60em) { .ek-page-hero__split { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }
.ek-page-hero__split img, .ek-page-hero__split .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }

/* ---------- Leistungen */
.ek-filter { display: grid; gap: .7rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.ek-filter__q { font-family: var(--head); font-weight: 700; font-size: 1.1rem; }
.chip { border-radius: 3px; font-family: var(--head); font-weight: 500; }
.chip[aria-pressed="true"] { background: var(--graphite); border-color: var(--graphite); color: var(--volt); }
.ek-toc ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin-bottom: 2.5rem; }
.ek-toc a { font-size: .95rem; text-decoration: none; border-bottom: 2px solid var(--volt-deep); }
.ek-toc a:hover { border-color: var(--ink); }
.ek-toc .ek-mono { color: var(--muted); font-size: .85rem; }
.ek-svc-list { display: grid; gap: 1.5rem; }
.ek-svc { display: grid; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; scroll-margin-top: 4rem; }
@media (min-width: 60em) {
  .ek-svc { grid-template-columns: 1fr 1.2fr; }
  .ek-svc:nth-of-type(even) .ek-svc__img { order: 2; }
}
.ek-svc__img img, .ek-svc__img .ph { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (min-width: 60em) { .ek-svc__img img, .ek-svc__img .ph { aspect-ratio: auto; min-height: 100%; } }
.ek-svc__body { display: grid; gap: .9rem; align-content: start; justify-items: start; padding: clamp(1.25rem, 3vw, 2.25rem); }
.ek-svc__body > p:not(.ek-label) { color: var(--muted); }
.ek-svc__body .ek-label { margin-bottom: 0; }
.ek-svc__body .ek-mini { margin-top: .4rem; }
.ek-prices { width: 100%; border-collapse: collapse; font-size: .95rem; margin-bottom: .5rem; }
.ek-prices caption { text-align: left; padding-bottom: .4rem; }
.ek-prices th, .ek-prices td { padding: .55rem 0; border-top: 1px dashed var(--line); vertical-align: top; }
.ek-prices tr:last-child th, .ek-prices tr:last-child td { border-bottom: 1px dashed var(--line); }
.ek-prices th { font-weight: 400; text-align: left; padding-right: 1rem; }
.ek-prices td { text-align: right; font-family: var(--mono); font-weight: 700; white-space: nowrap; }

/* ---------- FAQ */
.ek-faq-wrap { display: grid; gap: 1rem; }
@media (min-width: 60em) { .ek-faq-wrap { grid-template-columns: 1fr 1.6fr; gap: 4rem; } }
.ek-faq details { border-top: 1px solid var(--line); }
.ek-faq details:last-child { border-bottom: 1px solid var(--line); }
.ek-faq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; cursor: pointer; font-family: var(--head); font-weight: 700; font-size: 1.1rem; list-style: none; }
.ek-faq summary::-webkit-details-marker { display: none; }
.ek-faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border: 1px solid var(--ink); font-family: var(--mono); font-weight: 400; line-height: 1; transition: transform .2s; }
.ek-faq details[open] summary::after { content: "–"; background: var(--volt); }
.ek-faq details p { padding-bottom: 1.25rem; color: var(--muted); max-width: 44rem; }

/* ---------- PV-Rechner */
#rechner { scroll-margin-top: 3rem; }
.ek-calc { display: grid; border: 1px solid var(--graphite); border-radius: var(--r); overflow: hidden; }
@media (min-width: 60em) { .ek-calc { grid-template-columns: 1fr 1fr; } }
.ek-calc__in { display: grid; gap: 1.6rem; align-content: start; padding: clamp(1.25rem, 3vw, 2.25rem); }
.range__head label { font-family: var(--head); font-weight: 700; }
.range__val { font-family: var(--mono); }
.range input { cursor: pointer; }
.ek-calc__mode { border: 0; padding: 0; min-width: 0; display: grid; gap: .5rem; }
.ek-calc__mode legend { font-family: var(--head); font-weight: 700; padding: 0; margin-bottom: .5rem; }
.ek-seg { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--graphite); border-radius: 3px; overflow: hidden; }
.ek-seg label { position: relative; cursor: pointer; }
.ek-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ek-seg span { display: grid; place-items: center; min-height: 2.75rem; padding: .4rem .6rem; text-align: center; font-size: .92rem; font-weight: 600; }
.ek-seg label + label span { border-left: 1.5px solid var(--graphite); }
.ek-seg input:checked + span { background: var(--graphite); color: var(--volt); }
.ek-seg input:focus-visible + span { outline: 3px solid var(--volt-deep); outline-offset: -5px; }
.ek-calc__bat { padding: 1rem; border: 1.5px solid var(--line); border-radius: 3px; cursor: pointer; }
.ek-calc__bat:has(input:checked) { border-color: var(--graphite); background: var(--volt-soft); }
.ek-calc__out { display: grid; gap: 1.1rem; align-content: start; padding: clamp(1.25rem, 3vw, 2.25rem); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; }
.ek-calc__badge { justify-self: start; padding: .25rem .6rem; border: 1px solid var(--volt); color: var(--volt); font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.ek-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ek-kpis p { display: grid; gap: .3rem; padding: 1rem .9rem; background: var(--graphite); }
.ek-kpis span { font-size: .8rem; color: var(--muted); }
.ek-kpis strong { font-family: var(--mono); font-size: clamp(1.2rem, 3.4vw, 1.6rem); color: var(--volt); font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1.1; }
.ek-split-bar { display: flex; height: .9rem; border: 1px solid var(--line); }
.ek-split-bar span { display: block; transition: width .3s; }
.ek-split-bar [data-pv-bar="self"] { background: var(--volt); width: 30%; }
.ek-split-bar [data-pv-bar="grid"] { background: repeating-linear-gradient(135deg, #59606a 0 4px, #3a3f47 4px 8px); width: 70%; }
.ek-split-legend { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .8rem; color: var(--muted); margin-top: -.5rem; }
.ek-dot { display: inline-block; width: .7rem; height: .7rem; }
.ek-dot--self { background: var(--volt); }
.ek-dot--grid { background: #59606a; margin-left: .6rem; }
.ek-spec--out dd { font-family: var(--mono); font-weight: 400; }
.ek-calc__note { font-size: .78rem; color: var(--muted); line-height: 1.5; }
.ek-calc__out .btn { justify-self: start; }

/* ---------- Über uns */
.ek-story { display: grid; gap: 2rem; }
@media (min-width: 60em) { .ek-story { grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: start; } }
.ek-story > div { display: grid; gap: 1.1rem; }
.ek-story > div p:not(.ek-lead) { color: var(--muted); }
.ek-story img, .ek-story .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.ek-oncall { border: 1px solid var(--line); border-top: 3px solid var(--volt); border-radius: var(--r); background: var(--graphite-2); }
.ek-oncall__now { display: grid; gap: .4rem; padding: 1.5rem; border-bottom: 1px solid var(--line); }
.ek-oncall__now strong { font-family: var(--head); font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.05; letter-spacing: -.02em; }
.ek-oncall__now .ek-mono { color: var(--muted); font-size: .85rem; }
.ek-oncall__plan { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ek-oncall__plan th { padding: .7rem 1.5rem; text-align: left; font-family: var(--mono); font-weight: 400; font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.ek-oncall__plan td { padding: .75rem 1.5rem; border-top: 1px dashed var(--line); }
.ek-oncall__plan td:first-child { font-family: var(--mono); font-size: .88rem; color: var(--muted); }
.ek-oncall__plan tr.is-now td { color: var(--ink); font-weight: 600; box-shadow: inset 0 0 0 0 transparent; }
.ek-oncall__plan tr.is-now td:first-child { box-shadow: inset 4px 0 0 var(--volt); }
.ek-timeline { list-style: none; padding: 0; display: grid; border-left: 2px solid var(--graphite); }
.ek-timeline li { position: relative; display: grid; gap: .3rem; padding: 0 0 1.75rem 1.5rem; }
@media (min-width: 40em) { .ek-timeline li { grid-template-columns: 5rem 1fr; gap: 1.5rem; } }
.ek-timeline li::before { content: ""; position: absolute; left: -.45rem; top: .35rem; width: .8rem; height: .8rem; background: var(--volt); border: 2px solid var(--graphite); }
.ek-timeline b { font-family: var(--mono); font-size: 1.1rem; }
.ek-timeline h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.ek-timeline p { color: var(--muted); }
.ek-team { list-style: none; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 2rem; }
@media (min-width: 40em) { .ek-team { grid-template-columns: 1fr 1fr; } }
@media (min-width: 60em) { .ek-team { grid-template-columns: repeat(4, 1fr); } }
.ek-team li { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem; background: var(--bg); }
.ek-team li > span:last-child { display: grid; gap: .15rem; }
.ek-team b { font-family: var(--head); }
.ek-team li > span:last-child > span:not(.ek-team__tag) { font-size: .88rem; color: var(--muted); }
.ek-team__av { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none; background: var(--graphite); color: var(--volt); font-family: var(--mono); font-weight: 700; font-size: .9rem; }
.ek-team__tag { justify-self: start; margin-top: .3rem; padding: .1rem .45rem; background: var(--volt); color: var(--graphite); font-size: .72rem; font-weight: 600; }
.ek-duo { display: grid; gap: 1rem; }
@media (min-width: 40em) { .ek-duo { grid-template-columns: 1fr 1fr; } }
.ek-duo img, .ek-duo .ph { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }

/* ---------- Kontakt */
.ek-contact { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 6vw, 4rem); }
@media (min-width: 60em) { .ek-contact { grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: start; } }
.ek-form { display: grid; gap: 1.75rem; }
.ek-fs { border: 0; padding: 0; min-width: 0; display: grid; gap: .8rem; }
.ek-fs legend { font-family: var(--head); font-weight: 700; font-size: 1.25rem; padding: 0; margin-bottom: .8rem; }
.ek-chip { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.ek-chip input { position: absolute; opacity: 0; pointer-events: none; }
.ek-chip:has(input:checked) { background: var(--graphite); border-color: var(--graphite); color: var(--volt); }
.ek-chip:has(input:checked) span::before { content: "✓ "; }
.ek-chip:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.ek-opts-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr)); }
.ek-alert { display: grid; gap: .8rem; justify-items: start; padding: 1rem 1.1rem; border: 2px solid var(--graphite); border-left-width: 6px; background: var(--volt-soft); }
.ek-upload { display: grid; gap: .5rem; padding: 1rem; border: 1.5px dashed var(--line); border-radius: 3px; }
.ek-upload label { display: grid; gap: .15rem; }
.ek-upload__t { font-weight: 600; }
.ek-upload__d { font-size: .85rem; color: var(--muted); }
.ek-upload input { font-size: .9rem; max-width: 100%; }
.ek-upload input::file-selector-button { margin-right: .8rem; padding: .55rem .9rem; border: 1.5px solid var(--graphite); border-radius: 3px; background: #fff; font-family: var(--head); font-weight: 700; cursor: pointer; }
.ek-upload input::file-selector-button:hover { background: var(--volt); }
.ek-thumbs { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(5rem, 1fr)); gap: .5rem; }
.ek-thumbs:empty { display: none; }
.ek-thumbs li { display: grid; gap: .25rem; font-size: .72rem; color: var(--muted); word-break: break-all; }
.ek-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); }
.ek-submit { justify-self: start; min-width: 12rem; }
.ek-aside { display: grid; gap: 1rem; }
.ek-emerg { display: grid; gap: .8rem; padding: 1.5rem; border-radius: var(--r); border-top: 3px solid var(--volt); }
.ek-emerg .ek-label { margin-bottom: 0; }
.ek-emerg .ek-label::before { outline: 0; }
.ek-emerg__h { font-family: var(--head); font-size: 1.3rem; }
.ek-emerg__btn { font-size: 1.15rem; min-height: 3.4rem; }
.ek-emerg a:not(.btn) { color: var(--volt); }
.ek-office { display: grid; gap: .6rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r); }
.ek-office .ek-mini { margin-top: .5rem; }
.ek-office .ek-mini:first-child { margin-top: 0; }
.form-done { text-align: left; background: var(--tint); }

/* ---------- Fußzeile */
.sf--dark { margin-top: 0; background: var(--night); border-top: 3px solid var(--volt); }
.sf--dark .sf__name { font-family: var(--head); }
.sf--dark a { color: var(--ink); text-decoration-color: var(--volt); text-underline-offset: .25em; }
.sf--dark .sf__h { font-family: var(--mono); font-weight: 400; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sf--dark .hours tr.is-today { color: var(--volt); }
.sf--dark .sf__legal { border-color: var(--line); }
.legal { background: var(--bg); }
