/* ==========================================================================
   Elektrotechnik Rabenschlag – Relaunch 2026
   Tokens · Basis · Komponenten · Seiten · Animationen
   ========================================================================== */

@font-face { font-family: "Geist"; src: url("../fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  /* Marke: Teal (Bestand #17BC9C) – überarbeitet in eine abgestufte Skala */
  --teal: #17BC9C;
  --teal-hi: #3DD9B6;
  --teal-glow: rgba(23, 188, 156, .45);
  --teal-deep: #0A7462;      /* Text/Links auf Hell (Kontrast 5.4:1) */
  --teal-deeper: #075A4C;
  --teal-tint: #E1F5EF;
  --teal-on-dark: #8EEBD5;

  /* Akzent aus dem Logo (Gelb) – nur für „Strom“-Details */
  --volt: #F4B83A;

  /* Graphit, leicht ins Grün-Blaue gezogen */
  --ink: #0E1314;
  --ink-2: #151C1E;
  --ink-3: #1D2628;
  --ink-line: rgba(255, 255, 255, .09);

  --paper: #F2F5F3;
  --paper-2: #E9EEEB;
  --card: #FFFFFF;
  --line: #DFE5E2;
  --field: #CBD3CF;

  --text: #0E1314;
  --text-2: #45504D;
  --text-3: #64706C;
  --on-dark: #A6B1AD;
  --on-dark-2: #85908C;

  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-sm: 12px; --r-md: 20px; --r-lg: 28px; --r-xl: 32px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --shadow: 0 24px 60px -28px rgba(14, 19, 20, .35);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--teal-deep); text-underline-offset: 3px; }
a:hover { color: var(--teal-deeper); }
h1, h2, h3, p { margin: 0; }
input, select, textarea, button { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--teal); color: var(--ink); }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--teal); color: var(--ink); padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }
.wrap { max-width: var(--max); margin: 0 auto; }
.section { padding: clamp(72px, 9vw, 128px) var(--gutter); }
.section-tight { padding-top: 0; }

/* Scroll-Fortschritt */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, var(--teal), var(--teal-hi) 80%, var(--volt)); pointer-events: none; }

/* ---------- Typo ---------- */
.h1 { font-size: clamp(44px, 6.4vw, 96px); line-height: .96; font-weight: 600; letter-spacing: -.048em; }
.h2 { font-size: clamp(36px, 4.4vw, 62px); line-height: 1; font-weight: 600; letter-spacing: -.04em; }
.h2-sm { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.02; font-weight: 600; letter-spacing: -.035em; }
.h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.1; font-weight: 600; letter-spacing: -.03em; }
.lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--text-2); }
.muted { color: #8C9692; }
.accent { color: var(--teal); }
.grad-text { background: linear-gradient(100deg, var(--teal) 10%, var(--teal-hi) 50%, var(--teal) 90%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; color: var(--teal-deep); padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--teal-tint); }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 99px; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: ping 2.4s var(--ease) infinite; }
.eyebrow-dark { color: var(--teal-on-dark); background: rgba(23, 188, 156, .12); }
.eyebrow-ink { color: var(--ink); background: rgba(14, 19, 20, .1); }

.sec-head { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: end; justify-content: space-between; margin-bottom: clamp(32px, 4vw, 48px); }
.sec-head > div { flex: 1 1 520px; min-width: 0; }
.sec-head .h2 { margin-top: 18px; }
.sec-head > p { flex: 1 1 340px; max-width: 440px; font-size: 17px; color: var(--text-2); }

/* ---------- Buttons ---------- */
.btn { --bh: 56px; position: relative; display: inline-flex; align-items: center; gap: 12px; height: var(--bh); padding: 0 8px 0 24px; border-radius: 999px; border: 0; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; isolation: isolate; overflow: hidden; transition: color .3s var(--ease), background-color .3s, transform .35s var(--ease), box-shadow .3s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn-dot { width: 40px; height: 40px; flex-shrink: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; transition: transform .45s var(--ease), background-color .3s, color .3s; }
.btn:hover .btn-dot { transform: rotate(45deg); }
.btn-teal { background: var(--teal); color: var(--ink); box-shadow: 0 10px 30px -12px var(--teal-glow); }
.btn-teal::before { background: var(--teal-hi); }
.btn-teal:hover { color: var(--ink); box-shadow: 0 16px 40px -12px var(--teal-glow); }
.btn-teal .btn-dot { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark::before { background: #000; }
.btn-dark:hover { color: #fff; }
.btn-dark .btn-dot { background: var(--teal); color: var(--ink); }
.btn-line { padding: 0 24px; border: 1px solid rgba(255,255,255,.22); color: #E4E8E6; background: transparent; font-weight: 500; }
.btn-line::before { background: rgba(255,255,255,.08); }
.btn-line:hover { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-line .ico { color: var(--teal); }
.btn-outline-ink { padding: 0 24px; border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline-ink::before { background: var(--ink); }
.btn-outline-ink:hover { color: #fff; }
.btn-sm { --bh: 48px; font-size: 15px; padding-left: 20px; }
.btn-sm .btn-dot { width: 34px; height: 34px; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn-dot .ico { opacity: 0; }
.btn.is-loading .btn-dot::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 99px; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.btn-dot { position: relative; }

/* ---------- Icons ---------- */
.ico { flex-shrink: 0; overflow: visible; }
.ico .n { fill: var(--node, currentColor); stroke: none; }
.ico .n-stroke { stroke: var(--node, currentColor); }
.ico .needle { transform-origin: 12px 15.2px; transition: transform .8s var(--ease); }
.ico .spin { transform-origin: 12px 12px; }
.ico .hand { transform-origin: 12px 12px; }
.ico .blink { animation: blink 2.6s steps(1) infinite; }
.tile { width: 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--teal-tint); color: var(--teal-deep); --node: var(--teal); transition: transform .5s var(--ease); }
.tile-sm { width: 44px; height: 44px; border-radius: 12px; }
.tile-teal { background: var(--teal); color: var(--ink); --node: var(--ink); }
.tile-ink { background: var(--ink); color: var(--teal); --node: var(--volt); }
.tile-white { background: #fff; color: var(--teal-deep); }
.tile-glass { background: rgba(23,188,156,.14); color: var(--teal); --node: var(--volt); }

/* Hover-Mikroanimationen der Icons */
.hov:hover .ico .spin, .tile:hover .ico .spin { animation: spin 3s linear infinite; }
.hov:hover .ico .needle { transform: rotate(-70deg); }
.hov:hover .tile { transform: rotate(-6deg) scale(1.06); }

/* Zeichen-Animation (pathLength=1) – wird beim Einblenden ausgelöst */
.js [data-reveal] .ico:not(.nd) path, .js [data-reveal] .ico:not(.nd) circle:not(.n), .js [data-reveal] .ico:not(.nd) rect { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js [data-reveal].in .ico:not(.nd) path, .js [data-reveal].in .ico:not(.nd) circle:not(.n), .js [data-reveal].in .ico:not(.nd) rect { animation: draw 1.4s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 90ms + 150ms); }
.js [data-reveal] .ico:not(.nd) .n { transform-box: fill-box; transform-origin: center; transform: scale(0); }
.js [data-reveal].in .ico:not(.nd) .n { animation: pop .6s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 90ms + 700ms); }
.js [data-reveal].in .ico .n.blink { animation: pop .6s var(--ease) forwards, blink 2.6s steps(1) 1.6s infinite; animation-delay: calc(var(--d, 0) * 90ms + 700ms), 1.6s; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 14px clamp(12px, 2vw, 24px); transition: padding .4s var(--ease); }
.site-header-inner { max-width: 1360px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px; border-radius: 999px; border: 1px solid transparent; transition: background-color .4s, border-color .4s, box-shadow .4s, backdrop-filter .4s; }
.is-scrolled .site-header { padding-top: 10px; }
.is-scrolled .site-header-inner { background: rgba(14, 19, 20, .72); border-color: rgba(255,255,255,.08); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 20px 50px -24px rgba(0,0,0,.6); }
.is-hidden-header .site-header { transform: translateY(-120%); }
.site-header { transition: transform .45s var(--ease), padding .4s var(--ease); }
.logo { display: inline-flex; align-items: center; padding: 4px 8px 4px 10px; flex-shrink: 0; transition: transform .5s var(--ease), filter .5s; }
.logo:hover { transform: translateY(-1px) scale(1.03); filter: drop-shadow(0 0 14px rgba(244,184,58,.35)); }
.logo img { height: 50px; width: auto; }
.navpill { position: relative; display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); font-size: 15px; }
.navpill-indicator { position: absolute; top: 5px; left: 0; height: calc(100% - 10px); width: 0; border-radius: 999px; background: rgba(255,255,255,.1); opacity: 0; transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s; pointer-events: none; }
.nl { position: relative; z-index: 1; color: #D9DEDB; text-decoration: none; padding: 9px 16px; border-radius: 999px; transition: color .2s, background-color .3s; }
.nl:hover { color: #fff; }
.nl.on { background: #fff; color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 999px; border: 0; background: rgba(255,255,255,.08); position: relative; z-index: 70; transition: background-color .3s; }
.burger span { position: absolute; left: 14px; height: 1.75px; border-radius: 2px; background: #fff; transition: transform .5s var(--ease), width .4s var(--ease), top .4s var(--ease), background-color .3s; }
.burger span:nth-child(1) { top: 19px; width: 20px; }
.burger span:nth-child(2) { top: 27px; width: 13px; }
.burger[aria-expanded="true"] { background: #fff; }
.burger[aria-expanded="true"] span { background: var(--ink); top: 23px; width: 20px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: rotate(-45deg); }

/* ---------- Mobilmenü ---------- */
.mnav { position: fixed; inset: 0; z-index: 45; background: var(--ink); color: #fff; padding: 92px 16px 16px; overflow-y: auto; clip-path: circle(0 at calc(100% - 44px) 44px); transition: clip-path .7s var(--ease-io), visibility 0s .7s; visibility: hidden; }
.mnav[hidden] { display: block; }
.mnav.open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; transition: clip-path .8s var(--ease-io); }
.mnav-inner { max-width: 560px; margin: 0 auto; min-height: 100%; display: flex; flex-direction: column; }
.mnav-label { font-size: 12px; color: var(--on-dark-2); margin-bottom: 10px; }
.mnav-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mnav-tile { border-radius: 18px; background: rgba(255,255,255,.06); padding: 14px 12px; color: #fff; text-decoration: none; display: flex; flex-direction: column; gap: 18px; min-height: 104px; font-size: 13.5px; font-weight: 600; line-height: 1.2; hyphens: auto; }
.mnav-tile .ico { color: var(--teal); --node: var(--volt); }
.mnav-tile.on, .mnav-tile:hover { background: var(--teal); color: var(--ink); }
.mnav-tile.on .ico, .mnav-tile:hover .ico { color: var(--ink); --node: var(--ink); }
.mnav-list { list-style: none; margin: 24px 0 0; padding: 0; }
.mnav-list a { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid var(--ink-line); color: #fff; text-decoration: none; font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.mnav-list a .ico { color: var(--on-dark-2); transition: transform .4s var(--ease), color .3s; }
.mnav-list a:hover .ico { transform: rotate(45deg); color: var(--teal); }
.badge { font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: 0; padding: 4px 9px; border-radius: 999px; background: rgba(23,188,156,.16); color: var(--teal-on-dark); vertical-align: middle; }
.mnav-call { margin-top: auto; display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 22px; background: var(--teal); color: var(--ink); text-decoration: none; }
.mnav-call .grow { flex: 1; }
.mnav-call small { display: block; font-size: 12.5px; font-weight: 500; }
.mnav-call strong { display: block; font-size: 19px; letter-spacing: -.01em; }
.mnav-hours { padding: 12px 6px 4px; font-size: 11.5px; color: var(--on-dark-2); text-align: center; }
.mnav-tile, .mnav-list li, .mnav-call { opacity: 0; transform: translateY(24px); }
.mnav.open .mnav-tile, .mnav.open .mnav-list li, .mnav.open .mnav-call { opacity: 1; transform: none; transition: opacity .5s, transform .7s var(--ease); transition-delay: calc(var(--i) * 55ms + 250ms); }
.menu-open { overflow: hidden; }
.avatar { width: 48px; height: 48px; flex-shrink: 0; border-radius: 999px; background: var(--ink); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; padding: 104px clamp(12px, 2vw, 24px) 0; overflow: hidden; isolation: isolate; }
.hero-inner { max-width: 1360px; margin: 0 auto; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000 20%, transparent 75%); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; left: -300px; top: -420px; border-radius: 50%; background: radial-gradient(circle, rgba(23,188,156,.22), transparent 60%); filter: blur(10px); animation: drift 18s ease-in-out infinite alternate; pointer-events: none; }
.circuit { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.6) 45%, transparent 75%); -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.6) 45%, transparent 75%); }
.circuit .trace { fill: none; stroke: rgba(255,255,255,.06); stroke-width: 1.2; }
.circuit .pulse { fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: .06 .94; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px var(--teal)); animation: current var(--d) linear infinite; animation-delay: var(--delay); }
.circuit .node { fill: var(--ink); stroke: rgba(23,188,156,.6); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: nodepulse 3.2s ease-in-out infinite; animation-delay: var(--delay); }
.circuit .node-volt { stroke: var(--volt); }

.hero-grid { display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 64px); align-items: stretch; padding: clamp(40px, 6vw, 88px) clamp(4px, 2vw, 24px) clamp(40px, 5vw, 64px); }
.hero-copy { flex: 1.15 1 540px; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.hero-copy .h1 { margin-top: 28px; }
.hero-copy .lead { margin-top: 28px; max-width: 560px; color: var(--on-dark); }
.hero-ctas { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.live-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(23,188,156,.1); border: 1px solid rgba(23,188,156,.35); color: var(--teal-on-dark); font-size: 13.5px; font-weight: 500; }
.live-dot { width: 8px; height: 8px; border-radius: 99px; background: var(--teal); animation: livepulse 2.4s infinite; }

.hero-media { flex: 1 1 420px; min-width: 0; position: relative; min-height: 580px; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-3); }
.hero-media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.hero-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 60%; background: linear-gradient(to top, rgba(14,19,20,.9), transparent); pointer-events: none; }
.tag { position: absolute; z-index: 2; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(14,19,20,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 12.5px; color: #E4E8E6; }
.tag .mono { color: var(--teal); }
.scanline { position: absolute; z-index: 1; left: 0; right: 0; height: 120px; top: -120px; background: linear-gradient(to bottom, transparent, rgba(23,188,156,.18), transparent); animation: scan 6s var(--ease-io) infinite; pointer-events: none; mix-blend-mode: screen; }
.hero-chips { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.float-chip { flex: 1 1 180px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); color: var(--text); animation: bob 6s ease-in-out infinite; }
.float-chip:nth-child(2) { animation-delay: -3s; }
.float-chip strong { display: block; font-size: 15px; font-weight: 600; }
.float-chip small { display: block; font-size: 13px; color: var(--text-3); }

.stats { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--ink-line); }
.stats > div { padding: 28px clamp(4px, 2vw, 24px); position: relative; }
.stats > div + div::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--ink-line); }
.stats dt { font-size: 13.5px; color: var(--on-dark-2); }
.stats dd { margin: 6px 0 0; font-size: clamp(28px, 2.6vw, 38px); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stats dd small { font-size: .5em; color: var(--teal); margin-left: 4px; letter-spacing: 0; }

/* Lauftext-Band */
.marquee { background: var(--teal); color: var(--ink); overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg) scale(1.02); margin: -8px 0 0; position: relative; z-index: 2; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.marquee .ico { color: var(--ink); --node: var(--ink); }

/* ---------- Karten / Bento ---------- */
.card { position: relative; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.spot { --mx: 50%; --my: 50%; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(23,188,156,.16), transparent 45%); transition: opacity .4s; z-index: 0; }
.spot:hover::after { opacity: 1; }
.go { width: 46px; height: 46px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: #EEF1EF; color: var(--ink); transition: transform .5s var(--ease), background-color .3s, color .3s; }
.card:hover .go, .hov:hover .go { transform: rotate(-45deg); background: var(--teal); color: var(--ink); }

.bento { display: flex; flex-wrap: wrap; gap: 16px; }
.bento-big { flex: 1.35 1 520px; min-width: 0; min-height: 620px; overflow: hidden; border-radius: var(--r-lg); background: var(--ink-3); color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; }
.bento-big:hover { color: #fff; }
.bento-big { isolation: isolate; }
.bento-big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.bento-big:hover img { transform: scale(1.05); }
.bento-big::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(14,19,20,.96) 0%, rgba(14,19,20,.78) 38%, rgba(14,19,20,.25) 70%, rgba(14,19,20,.15) 100%); }
.bento-big > *:not(img) { position: relative; z-index: 1; }
.bento-big .go { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px); }
.bento-big h3 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1; font-weight: 600; letter-spacing: -.035em; }
.bento-big p { margin-top: 14px; max-width: 480px; font-size: 16.5px; color: #D3D9D6; }
.bento-col { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.bento-card { flex: 1; overflow: hidden; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); color: var(--text); text-decoration: none; padding: 28px; display: flex; flex-direction: column; }
.bento-card:hover { color: var(--text); }
.bento-card > * { position: relative; z-index: 1; }
.bento-card h3 { margin-top: 28px; font-size: 28px; line-height: 1.05; font-weight: 600; letter-spacing: -.03em; }
.bento-card p { margin-top: 12px; color: var(--text-2); }
.bento-teal { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.bento-teal:hover { color: var(--ink); }
.bento-teal p { color: #0F2E28; }
.bento-teal .go { background: rgba(14,19,20,.12); }
.bento-teal.spot::after { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.3), transparent 45%); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.pills { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 13.5px; backdrop-filter: blur(6px); }
.pill-light { background: rgba(255,255,255,.08); color: #D3D9D6; }

/* ---------- Ablauf: geführter Prozess + Hauptschalter ---------- */
.panel { max-width: var(--max); margin: 0 auto; border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); padding: clamp(28px, 4vw, 56px); position: relative; overflow: hidden; }

.proc { --tile: 60px; --gap: 24px; position: relative; margin-top: 8px; }
.proc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); position: relative; z-index: 1; }
.proc-line { position: absolute; z-index: 0; top: calc(var(--tile) / 2 - 1px); left: calc(var(--tile) / 2); right: calc((100% - 4 * var(--gap)) / 5 - var(--tile) / 2); height: 2px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.proc-fill { position: absolute; left: 0; top: 0; height: 100%; width: calc(var(--p, 0) * 100%); border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--teal-hi)); box-shadow: 0 0 12px var(--teal-glow); }
.proc-head { position: absolute; right: -7px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); box-shadow: 0 0 0 6px rgba(23,188,156,.18), 0 0 22px var(--teal); opacity: calc(var(--p, 0) * 20); }

.proc-step { display: flex; flex-direction: column; align-items: flex-start; }
.proc-tile { position: relative; width: var(--tile); height: var(--tile); border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1.5px solid var(--line); color: #9AA5A1; --node: #C4CCC8; transition: background-color .6s, border-color .6s, color .6s, transform .7s var(--ease), box-shadow .6s; }
.proc-tile .ico path, .proc-tile .ico circle:not(.n), .proc-tile .ico rect { stroke-dasharray: 1; stroke-dashoffset: 0; }
.proc-step.on .proc-tile { background: var(--teal); border-color: var(--teal); color: var(--ink); --node: var(--ink); transform: scale(1.06); box-shadow: 0 12px 30px -10px var(--teal-glow); }
.proc-step.on .proc-tile .ico path, .proc-step.on .proc-tile .ico circle:not(.n), .proc-step.on .proc-tile .ico rect { animation: draw 1.1s var(--ease) both; }
.proc-ping { position: absolute; inset: -2px; border-radius: inherit; border: 2px solid var(--teal); opacity: 0; pointer-events: none; }
.proc-step.on .proc-ping { animation: tileping 1.1s var(--ease) 1; }
.proc-num { margin-top: 20px; font-family: var(--mono); font-size: 12.5px; color: #8C9692; transition: color .5s; }
.proc-step.on .proc-num { color: var(--teal-deep); }
.proc-title { margin-top: 6px; font-size: 18px; line-height: 1.25; font-weight: 600; letter-spacing: -.015em; color: #8C9692; transition: color .5s; }
.proc-step.on .proc-title { color: var(--text); }
.proc-text { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--text-2); opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease) .15s, transform .8s var(--ease) .15s; }
.proc-step.on .proc-text { opacity: 1; transform: none; }

/* Strom fließt, sobald eingeschaltet */
.powered .proc-fill { background: repeating-linear-gradient(90deg, var(--teal) 0 18px, var(--teal-hi) 18px 26px, var(--volt) 26px 30px, var(--teal) 30px 48px); background-size: 48px 100%; animation: flow .6s linear infinite; }
.powered .proc-head { background: var(--volt); border-color: var(--volt); box-shadow: 0 0 0 6px rgba(244,184,58,.2), 0 0 26px var(--volt); }
.powered .proc-tile { animation: glowpulse 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * 160ms); }

/* Hauptschalter-Feld */
.power { position: relative; isolation: isolate; overflow: hidden; margin-top: clamp(40px, 5vw, 64px); border-radius: var(--r-lg); background: var(--ink); color: #fff; padding: clamp(28px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 48px; transition: color .8s var(--ease) .25s, box-shadow .8s; }
.power::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 32px 32px; transition: opacity .8s; }
.power-light { position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at var(--sx, 80%) var(--sy, 50%), #FFFFFF 0%, #F0FBF7 30%, #D6F3EA 62%, #B5EBDB 100%); clip-path: circle(0 at var(--sx, 80%) var(--sy, 50%)); transition: clip-path 1.4s var(--ease-io) .15s; }
.power.on .power-light { clip-path: circle(150% at var(--sx, 80%) var(--sy, 50%)); }
.power.on { color: var(--ink); box-shadow: 0 30px 80px -30px var(--teal-glow), 0 0 0 1px rgba(23,188,156,.35); }
.power.on::before { opacity: .0; }

.power-copy { flex: 1 1 420px; min-width: 0; position: relative; }
.power-num { margin-top: 0; color: var(--teal); }
.power.on .power-num { color: var(--teal-deep); }
.power-title { margin-top: 12px; font-size: clamp(32px, 3.8vw, 54px); line-height: 1; font-weight: 600; letter-spacing: -.04em; }
.power-text { margin-top: 16px; max-width: 520px; font-size: 17px; line-height: 1.6; color: var(--on-dark); transition: color .8s .25s; }
.power.on .power-text { color: var(--text-2); }
.t-on { display: none; }
.power.on .t-off { display: none; }
.power.on .t-on { display: inline; animation: fadeup .8s var(--ease) both .35s; }
.leds { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.leds li { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: 13.5px; font-family: var(--mono); color: var(--on-dark); transition: background-color .6s, border-color .6s, color .6s; }
.leds span { width: 10px; height: 10px; border-radius: 50%; background: #3A4446; box-shadow: inset 0 1px 2px rgba(0,0,0,.5); transition: background-color .3s, box-shadow .3s; }
.power.on .leds li { background: #fff; border-color: rgba(23,188,156,.35); color: var(--ink); }
.power.on .leds li span { background: var(--teal); box-shadow: 0 0 0 3px rgba(23,188,156,.2), 0 0 12px var(--teal); }
.power.on .leds li:nth-child(1), .power.on .leds li:nth-child(1) span { transition-delay: .5s; }
.power.on .leds li:nth-child(2), .power.on .leds li:nth-child(2) span { transition-delay: .8s; }
.power.on .leds li:nth-child(3), .power.on .leds li:nth-child(3) span { transition-delay: 1.1s; }
.power-cta { margin-top: 28px; display: none; }
.power.on .power-cta { display: block; animation: fadeup .8s var(--ease) both 1.2s; }

.power-switch { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-inline: auto; }
.mainswitch { width: clamp(170px, 18vw, 220px); aspect-ratio: 1; padding: 0; border: 0; background: none; border-radius: 26px; cursor: pointer; position: relative; filter: drop-shadow(0 22px 40px rgba(0,0,0,.45)); transition: transform .4s var(--ease), filter .6s; }
.mainswitch:hover { transform: translateY(-3px) scale(1.02); }
.mainswitch:active { transform: scale(.98); }
.mainswitch::before { content: ""; position: absolute; inset: -14px; border-radius: 34px; border: 2px solid rgba(244,184,58,.55); animation: hintring 2.2s var(--ease) infinite; pointer-events: none; }
.power.on .mainswitch::before { display: none; }
.power.on .mainswitch { filter: drop-shadow(0 20px 40px rgba(10,116,98,.35)); }
.mainswitch svg { width: 100%; height: 100%; display: block; overflow: visible; }
.ms-plate { fill: #F4B83A; stroke: #C98F14; stroke-width: 3; }
.ms-ring { fill: none; stroke: #1A1A1A; stroke-width: 3; stroke-dasharray: 4 7; }
.ms-lbl { font: 700 26px/1 var(--font); fill: #1A1A1A; }
.ms-handle { transform-origin: 100px 100px; transform: rotate(0deg); transition: transform .55s cubic-bezier(.5, -.4, .3, 1.5); }
.ms-handle rect:first-child, .ms-handle circle { fill: #D62B2B; stroke: #8E1515; stroke-width: 3; }
.ms-grip { fill: #F06A6A; stroke: none; }
.mainswitch:hover .ms-handle { transform: rotate(8deg); }
.power.on .ms-handle, .power.on .mainswitch:hover .ms-handle { transform: rotate(90deg); }
.power-hint { font-size: 13px; color: var(--volt); display: inline-flex; align-items: center; gap: 8px; }
.power-hint .t-off::before { content: "↻ "; }
.power.on .power-hint { color: var(--teal-deep); }
.power-spark { position: absolute; width: 4px; height: 26px; border-radius: 4px; background: var(--volt); pointer-events: none; z-index: 2; animation: spark .8s var(--ease) forwards; }

@keyframes tileping { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes flow { to { background-position: 48px 0; } }
@keyframes glowpulse { 0%, 100% { box-shadow: 0 12px 30px -10px var(--teal-glow); } 50% { box-shadow: 0 0 0 6px rgba(23,188,156,.18), 0 12px 34px -6px var(--teal-glow); } }
@keyframes hintring { 0% { opacity: .9; transform: scale(.96); } 100% { opacity: 0; transform: scale(1.12); } }
@keyframes spark { 0% { opacity: 1; transform: rotate(var(--a)) translateY(-70px) scaleY(.3); } 60% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-150px) scaleY(1); } }

@media (max-width: 900px) {
  .proc-steps { grid-template-columns: 1fr; gap: 28px; }
  .proc-step { display: grid; grid-template-columns: var(--tile) 1fr; column-gap: 18px; align-items: start; }
  .proc-tile { grid-row: span 3; }
  .proc-num { margin-top: 2px; }
  .proc-line { top: calc(var(--tile) / 2); bottom: calc(var(--tile) / 2); left: calc(var(--tile) / 2 - 1px); right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); }
  .proc-fill { width: 100%; height: calc(var(--p, 0) * 100%); }
  .proc-head { right: auto; left: 50%; top: auto; bottom: -7px; margin: 0 0 0 -7px; }
  .powered .proc-fill { background: repeating-linear-gradient(180deg, var(--teal) 0 18px, var(--teal-hi) 18px 26px, var(--volt) 26px 30px, var(--teal) 30px 48px); background-size: 100% 48px; animation: flowv .6s linear infinite; }
  .power-switch { order: -1; }
}
@keyframes flowv { to { background-position: 0 48px; } }

/* ---------- Unternehmen ---------- */
.about { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-media { flex: 1 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.about-copy { flex: 1 1 440px; min-width: 0; }
.about-copy .h2 { margin-top: 18px; }
.about-copy .lead { margin-top: 24px; }
.media { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--paper-2); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-tall { grid-row: span 2; min-height: 560px; }
.media-sq { height: 274px; }
.innung { height: 274px; border-radius: var(--r-lg); background: var(--ink); color: #fff; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.innung::after { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; bottom: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(23,188,156,.35), transparent 65%); animation: breathe 5s ease-in-out infinite; }
.innung strong { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.innung small { display: block; margin-top: 4px; font-size: 14px; color: var(--on-dark); }
.facts { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fact { border-radius: 18px; background: var(--card); border: 1px solid var(--line); padding: 18px; transition: border-color .3s, transform .4s var(--ease); }
.fact:hover { border-color: var(--teal); transform: translateY(-2px); }
.fact small { display: block; font-size: 13px; color: var(--text-3); }
.fact strong { display: block; margin-top: 4px; font-size: 17px; font-weight: 600; }

/* ---------- Projekte ---------- */
.band { background: var(--card); border-block: 1px solid var(--line); }
.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.project { border-radius: 24px; background: var(--paper); padding: 24px; display: flex; flex-direction: column; gap: 18px; min-height: 290px; overflow: hidden; }
.project > * { position: relative; z-index: 1; }
.project h3 { font-size: 21px; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; }
.project p { margin-top: auto; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.project .client { font-family: var(--mono); font-size: 12.5px; color: var(--text-3); }
.project .cat { padding: 6px 12px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.project .cat .ico { color: var(--teal-deep); --node: var(--teal); }
.project .pnum { font-family: var(--mono); font-size: 12.5px; color: #8C9692; }
.project-dark { background: var(--ink); color: #fff; }
.project-dark p { color: var(--on-dark); }
.project-dark .client { color: var(--on-dark-2); }
.project-dark .cat { background: rgba(255,255,255,.1); }
.project-dark .cat .ico { color: var(--teal); }
.partners { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.partners > span { font-size: 14px; color: var(--text-3); }
.partners div { display: flex; flex-wrap: wrap; gap: 10px; }
.ph-chip { padding: 12px 20px; border-radius: 999px; border: 1px dashed #B9C0BC; font-size: 14px; font-weight: 500; color: var(--text-3); }

/* ---------- Karriere-Teaser ---------- */
.career { max-width: var(--max); margin: 0 auto; border-radius: var(--r-xl); background: var(--ink); color: #fff; overflow: hidden; display: flex; flex-wrap: wrap; position: relative; isolation: isolate; }
.career::before { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; right: -260px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(23,188,156,.18), transparent 60%); animation: drift 16s ease-in-out infinite alternate-reverse; }
.career-copy { flex: 1 1 440px; min-width: 0; padding: clamp(28px, 4vw, 56px); }
.career-copy .h2 { margin-top: 18px; font-size: clamp(34px, 4vw, 56px); }
.career-copy p { margin-top: 20px; max-width: 460px; font-size: 17px; color: var(--on-dark); }
.career-jobs { flex: 1.1 1 480px; min-width: 0; padding: clamp(16px, 2vw, 24px); display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.job { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px; border-radius: 20px; color: #fff; text-decoration: none; position: relative; transition: background-color .3s, padding .4s var(--ease); }
.job + .job::before { content: ""; position: absolute; left: 20px; right: 20px; top: -2px; height: 1px; background: var(--ink-line); }
.job:hover { background: rgba(255,255,255,.06); color: #fff; padding-left: 28px; }
.job .tile { background: rgba(23,188,156,.12); color: var(--teal); --node: var(--volt); }
.job-main { display: flex; align-items: center; gap: 16px; }
.job strong { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.job small { display: block; margin-top: 2px; font-size: 14.5px; color: var(--on-dark-2); }
.job .go { background: rgba(255,255,255,.1); color: #fff; }
.job:hover .go { transform: rotate(-45deg); background: var(--teal); color: var(--ink); }

/* ---------- Kontakt ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 16px; }
.contact-card { flex: 1 1 380px; min-width: 0; border-radius: var(--r-xl); background: var(--teal); color: var(--ink); padding: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; position: relative; overflow: hidden; isolation: isolate; }
.contact-card::after { content: ""; position: absolute; z-index: -1; inset: auto -30% -40% auto; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.35), transparent 60%); animation: breathe 6s ease-in-out infinite; }
.contact-card .eyebrow { align-self: flex-start; }
.contact-card .h2 { margin-top: 18px; font-size: clamp(34px, 4vw, 56px); }
.person { margin-top: 32px; display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 22px; background: var(--ink); color: #fff; text-decoration: none; transition: transform .4s var(--ease); }
.person:hover { color: #fff; transform: scale(1.015); }
.person .avatar { width: 52px; height: 52px; background: var(--teal); color: var(--ink); font-size: 17px; }
.person small { display: block; font-size: 13.5px; color: var(--on-dark); }
.person strong { display: block; margin-top: 2px; font-size: 20px; font-weight: 600; }
.person-go { margin-left: auto; width: 44px; height: 44px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; }
.person:hover .person-go { animation: ring .9s ease-in-out; }
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 2px; font-size: 15.5px; font-weight: 500; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(14,19,20,.14); }
.contact-list li:last-child { border: 0; }
.contact-list a { color: var(--ink); text-decoration: none; word-break: break-all; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .4s var(--ease); }
.contact-list a:hover { background-size: 100% 1.5px; }

/* ---------- Formulare ---------- */
.card-form { flex: 1.4 1 520px; min-width: 0; border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); padding: clamp(28px, 3.5vw, 48px); position: relative; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; align-content: start; }
.form > * { min-width: 0; }
.span-2, .form-head, .form-success { grid-column: 1 / -1; }
.form-head { margin-bottom: 4px; }
.form-head p { margin-top: 6px; font-size: 15px; color: var(--text-3); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label { font-size: 14px; font-weight: 500; }
.fld { width: 100%; height: 54px; padding: 0 16px; border: 1px solid var(--field); border-radius: var(--r-sm); background: var(--paper); color: var(--text); transition: border-color .2s, background-color .2s, box-shadow .3s; }
.fld:hover { border-color: #A9B4AF; }
.fld:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(23,188,156,.16); }
textarea.fld { height: auto; padding: 14px 16px; resize: vertical; min-height: 140px; }
select.fld { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%230A7462' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field.invalid .fld, .field.invalid .drop { border-color: #C2410C; background-color: #FFF7F3; }
.err { font-size: 13px; color: #B3370A; min-height: 0; }
.err:empty { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--field); background: #fff; font-size: 14.5px; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; animation: chipin .4s var(--ease); }
.chip input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 3px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text-2); cursor: pointer; }
.check input { position: absolute; opacity: 0; }
.check-box { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; border-radius: 7px; border: 1.5px solid var(--field); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); transition: background-color .25s, border-color .25s; }
.check-box .ico { stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .35s var(--ease); }
.check-box .ico path { stroke-dasharray: 1; stroke-dashoffset: inherit; }
.check input:checked + .check-box { background: var(--teal); border-color: var(--teal); }
.check input:checked + .check-box .ico { stroke-dashoffset: 0; }
.check input:focus-visible + .check-box { outline: 2px solid var(--teal); outline-offset: 3px; }
.field.invalid .check-box { border-color: #C2410C; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; }
.form-status { font-size: 14px; color: #B3370A; }
.form-status.ok { color: var(--teal-deep); }

.drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px; border: 1.5px dashed #BAC3BF; background: var(--paper); cursor: pointer; font-size: 14px; transition: border-color .25s, background-color .25s, transform .3s var(--ease); }
.drop:hover, .drop.drag { border-color: var(--teal); background: #EEFAF6; }
.drop.drag { transform: scale(1.015); }
.drop.drag .tile { animation: bounce .8s var(--ease) infinite; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop strong { display: block; font-weight: 600; }
.drop small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-3); }
.files { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.files li { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 12px; border-radius: 12px; background: var(--teal-tint); font-size: 13.5px; animation: slidein .4s var(--ease); }
.files li .ico { color: var(--teal-deep); }
.files li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.files li small { color: var(--text-3); font-family: var(--mono); font-size: 12px; }
.files button { border: 0; background: transparent; width: 30px; height: 30px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; color: var(--text-2); }
.files button:hover { background: rgba(14,19,20,.08); }

.form-success { text-align: center; padding: 40px 12px; }
.form-success[hidden] { display: none; }
.form.sent > *:not(.form-success) { display: none; }
.form.sent .form-success { animation: fadeup .7s var(--ease); }
.success-mark { width: 88px; height: 88px; margin: 0 auto 24px; }
.success-mark svg { width: 100%; height: 100%; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.success-mark circle { stroke: var(--teal); stroke-dasharray: 160; stroke-dashoffset: 160; animation: stroke .8s var(--ease) forwards; fill: var(--teal-tint); }
.success-mark path { stroke: var(--teal-deep); stroke-dasharray: 40; stroke-dashoffset: 40; animation: stroke .5s var(--ease) .6s forwards; }
.form-success p { margin: 10px auto 0; max-width: 420px; color: var(--text-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #D3D9D6; padding: 0 clamp(12px, 2vw, 24px); position: relative; overflow: hidden; }
.footer-grid { padding: 80px clamp(4px, 2vw, 24px) 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.logo-footer { padding-left: 0; }
.logo-footer img { height: 48px; }
.footer-claim { margin-top: 20px; font-size: 14px; line-height: 1.6; color: var(--on-dark); max-width: 300px; }
.footer-h { font-size: 13px; color: var(--on-dark-2); margin-bottom: 16px; font-family: var(--mono); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.site-footer nav a, .site-footer address a { color: #fff; text-decoration: none; background: linear-gradient(var(--teal), var(--teal)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease), color .3s; }
.site-footer nav a:hover, .site-footer address a:hover { background-size: 100% 1px; color: var(--teal-on-dark); }
.site-footer address { font-style: normal; font-size: 15px; line-height: 1.75; color: #fff; }
.site-footer .footer-mail { color: var(--teal); word-break: break-all; }
.footer-bottom { padding: 48px clamp(4px, 2vw, 24px) 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; }
.footer-word { display: flex; font-size: clamp(56px, 12vw, 176px); line-height: .8; font-weight: 700; letter-spacing: -.06em; color: #1A2224; overflow: hidden; padding-bottom: .06em; }
.footer-word span { display: inline-block; transition: color .3s; }
.footer-word span:hover { color: var(--teal); transition: color 0s; }
.js .footer-word span { transform: translateY(105%); }
.js .footer-word.in span { transform: none; transition: transform 1s var(--ease), color .6s; transition-delay: calc(var(--i) * 45ms), 0s; }
.footer-legal { display: flex; align-items: center; gap: 22px; font-size: 13.5px; color: var(--on-dark-2); }
.footer-legal a { color: var(--on-dark); text-decoration: none; }
.footer-legal a:hover { color: #fff; }
.totop { width: 40px; height: 40px; border-radius: 99px; border: 1px solid var(--ink-line); display: inline-flex; align-items: center; justify-content: center; transform: rotate(-45deg); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.totop:hover { background: var(--teal); color: var(--ink) !important; transform: rotate(-45deg) translate(2px, -2px); }

/* Mobile Kontakt-Dock */
.dock { display: none; position: fixed; z-index: 40; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); gap: 8px; padding: 6px; border-radius: 999px; background: rgba(14,19,20,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 40px -16px rgba(0,0,0,.5); transform: translateY(140%); transition: transform .6s var(--ease); }
.dock.show { transform: none; }
.dock a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 15px; }
.dock-call { background: var(--teal); color: var(--ink); }
.dock-mail { color: #fff; background: rgba(255,255,255,.08); }
.dock-call:hover { color: var(--ink); }
.dock-mail:hover { color: #fff; }

/* ---------- Unterseiten ---------- */
.crumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #8C9692; }
.crumbs a { color: var(--on-dark); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs li:last-child { color: #fff; }
.hero-sub .hero-copy .tile { margin-top: 36px; width: 68px; height: 68px; border-radius: 20px; }
.hero-sub .h1 { margin-top: 24px; font-size: clamp(42px, 5.4vw, 84px); hyphens: auto; overflow-wrap: break-word; line-height: .94; letter-spacing: -.05em; }
.hero-sub .claim { margin-top: 16px; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; font-weight: 500; letter-spacing: -.02em; color: var(--teal); }
.hero-sub .lead { margin-top: 24px; }
.hero-sub .hero-media { min-height: 540px; }
.hero-sub .hero-grid { padding-bottom: clamp(48px, 6vw, 88px); }

.offer { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.offer-card { border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); padding: 32px; overflow: hidden; }
.offer-card > * { position: relative; z-index: 1; }
.offer-card h3 { margin-top: 28px; font-size: 26px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.offer-card p { margin-top: 12px; font-size: 16.5px; color: var(--text-2); }
.offer-card.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.offer-card.dark p { color: var(--on-dark); }
.areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.area { border-radius: var(--r-md); background: var(--paper); padding: 20px; display: flex; flex-direction: column; gap: 24px; font-size: 17px; font-weight: 600; transition: background-color .4s, transform .4s var(--ease); }
.area:hover { background: var(--teal-tint); transform: translateY(-3px); }
.area:hover .tile { background: var(--teal); color: var(--ink); --node: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.gallery figure { margin: 0; height: 440px; }
.gallery figure img { transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; z-index: 1; padding: 6px 12px; border-radius: 999px; background: rgba(14,19,20,.6); backdrop-filter: blur(8px); color: #fff; font-size: 12.5px; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); }
.gallery figure:hover figcaption { opacity: 1; transform: none; }
.cta { max-width: var(--max); margin: 0 auto; border-radius: var(--r-xl); background: var(--teal); color: var(--ink); padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgba(14,19,20,.12) 1.2px, transparent 1.2px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 70%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); }
.cta > div:first-child { flex: 1 1 520px; min-width: 0; }
.cta p { margin-top: 16px; font-size: 18px; max-width: 540px; color: #0F2E28; }
.cta .btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Karriere */
.positions { display: grid; gap: 10px; }
.position { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 20px 20px 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.position:hover { color: var(--text); border-color: var(--teal); transform: translateX(6px); box-shadow: var(--shadow); }
.position strong { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.position small { display: block; margin-top: 2px; font-size: 14px; color: var(--text-3); }
.position .job-main { gap: 18px; }
.split { display: flex; flex-wrap: wrap; gap: 16px; }
.split > :first-child { flex: 1.3 1 540px; min-width: 0; }
.split > :last-child { flex: 1 1 380px; min-width: 0; }
.photo-slot { min-height: 520px; }
.photo-slot .tag { top: auto; bottom: 18px; }
.lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.list-card { border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); padding: 32px; }
.list-card h3 { margin: 10px 0 22px; font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.list-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; color: var(--text-2); }
.list-card li { display: flex; gap: 12px; align-items: flex-start; }
.list-card .tick { width: 24px; height: 24px; border-radius: 99px; background: var(--teal-tint); color: var(--teal-deep); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.list-card.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.list-card.dark ul { color: #D3D9D6; }
.list-card.dark li > .ico { color: var(--teal); --node: var(--volt); }

/* Rechtstexte */
.legal { max-width: 860px; margin: 0 auto; }
.legal-body { border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); padding: clamp(28px, 5vw, 64px); }
.legal-body h2 { margin: 48px 0 14px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { margin: 32px 0 10px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.legal-body h4 { margin: 24px 0 8px; font-size: 17px; font-weight: 600; }
.legal-body p, .legal-body li { color: var(--text-2); font-size: 16px; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { padding-left: 20px; }
.legal-body .toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.legal-body .toc a { font-size: 13.5px; padding: 7px 13px; border-radius: 999px; background: var(--paper); text-decoration: none; color: var(--text); }
.legal-body .toc a:hover { background: var(--teal-tint); color: var(--teal-deep); }
.credits { font-size: 14px; }
.hero-legal .hero-grid { padding-bottom: clamp(40px, 5vw, 64px); }

/* Status-Seiten */
.status { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px 16px 80px; }
.status .h1 { font-size: clamp(40px, 6vw, 80px); margin-top: 28px; }
.status .lead { margin: 20px auto 0; max-width: 560px; color: var(--on-dark); }
.status .hero-ctas { justify-content: center; }
.status .success-mark { width: 112px; height: 112px; }
.status .success-mark circle { fill: rgba(23,188,156,.12); }
.status .success-mark path { stroke: var(--teal); }

/* ---------- Reveal-Animationen ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="left"] { transform: translateX(-36px); }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round var(--r-lg)); transition: clip-path 1.3s var(--ease-io); transition-delay: calc(var(--d, 0) * 120ms); }
.js [data-reveal="clip"].in { clip-path: inset(0 0 0 0 round var(--r-lg)); }
.js [data-reveal="clip"] img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
.js [data-reveal="clip"].in img { transform: scale(1); }
.js .footer-word[data-reveal] { opacity: 1; transform: none; }

/* Wort-für-Wort-Einblendung der Headlines */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 60ms + 120ms); }
.split-words.in .w > span { transform: none; }

/* Magnet-Buttons */
.mag { transform: translate(var(--tx, 0), var(--ty, 0)); }

/* ---------- Keyframes ---------- */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.5); } 100% { transform: scale(1); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 currentColor; } 80%, 100% { box-shadow: 0 0 0 6px transparent; } }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(23,188,156,.55); } 70% { box-shadow: 0 0 0 9px rgba(23,188,156,0); } 100% { box-shadow: 0 0 0 0 rgba(23,188,156,0); } }
@keyframes current { to { stroke-dashoffset: 0; } }
@keyframes nodepulse { 0%, 100% { transform: scale(1); fill: var(--ink); } 50% { transform: scale(1.35); fill: rgba(23,188,156,.5); } }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(140px, 90px); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.15); opacity: 1; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes scan { 0% { top: -120px; } 60%, 100% { top: 110%; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(5deg); } }
@keyframes chipin { 0% { transform: scale(.94); } 100% { transform: scale(1); } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes slidein { from { opacity: 0; transform: translateY(-6px); } }
@keyframes fadeup { from { opacity: 0; transform: translateY(16px); } }
@keyframes stroke { to { stroke-dashoffset: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .navpill, .hide-sm { display: none !important; }
  .burger { display: inline-flex; }
  .dock { display: flex; }
  body { padding-bottom: 84px; }
  .hero-media { min-height: 460px; }
  .bento-big { min-height: 520px; }
}
@media (max-width: 640px) {
  .logo { padding: 4px 4px 4px 6px; }
  .logo img { height: 34px; }
  .form { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3)::before { display: none; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--ink-line); }
  .media-tall { min-height: 420px; }
  .media-sq, .innung { height: 204px; }
  .gallery figure { height: 360px; }
  .job strong, .position strong { font-size: 17px; }
  .job .tile, .position .tile { display: none; }
  .hero-media { min-height: 420px; }
  .footer-legal { flex-wrap: wrap; gap: 14px 18px; }
  .mnav-list a { font-size: 24px; }
}

/* Reduzierte Bewegung respektieren */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .circuit .pulse, .scanline, .marquee-track { animation: none !important; }
  .marquee-track { transform: none; }
  .js [data-reveal], .js [data-reveal="clip"], .split-words .w > span, .js .footer-word span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js [data-reveal] .ico:not(.nd) * { stroke-dashoffset: 0 !important; transform: none !important; }
}

/* Verlaufstext innerhalb animierter Headlines: Verlauf pro Wort setzen */
.split-words .grad-text { background: none; color: var(--teal); animation: none; -webkit-background-clip: border-box; background-clip: border-box; }
.split-words .grad-text .w > span { background: linear-gradient(100deg, var(--teal) 10%, var(--teal-hi) 50%, var(--teal) 90%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }

/* Bento-Karten mit Foto (Automatisierung, MSR-Technik) */
.bento-photo { min-height: 300px; border: 0; color: #fff; isolation: isolate; }
.bento-photo:hover { color: #fff; }
.bento-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.bento-photo:hover img { transform: scale(1.06); }
.bento-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(14,19,20,.96) 0%, rgba(14,19,20,.78) 42%, rgba(14,19,20,.2) 78%, rgba(14,19,20,.1) 100%); transition: opacity .5s; }
.bento-photo h3 { margin-top: auto; padding-top: 96px; }
.bento-photo p { color: #D3D9D6; }
.bento-photo .go { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.bento-photo .tile:not(.tile-ink) { background: rgba(255,255,255,.92); }
.bento-teal.bento-photo, .bento-teal.bento-photo:hover { color: var(--ink); }
.bento-teal.bento-photo::before { background: linear-gradient(to top, var(--teal) 0%, rgba(23,188,156,.94) 44%, rgba(23,188,156,.35) 74%, rgba(14,19,20,.05) 100%); }
.bento-teal.bento-photo p { color: #0F2E28; }
.bento-teal.bento-photo .go { background: var(--ink); color: #fff; }

/* Partnerlogos */
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.logos li { height: 72px; min-width: 150px; padding: 0 26px; border-radius: 18px; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.logos img { height: 26px; width: auto; filter: grayscale(1) contrast(.9); opacity: .6; transition: filter .4s, opacity .4s, transform .4s var(--ease); }
.logos img.logo-h { height: 40px; }
.logos li:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow); }
.logos li:hover img { filter: none; opacity: 1; transform: scale(1.05); }
@media (hover: none) { .logos img { filter: none; opacity: 1; } }
@media (max-width: 640px) { .logos li { flex: 1 1 calc(50% - 6px); min-width: 0; padding: 0 14px; } }

/* Lesbarkeit der Bild-Karten (Leistungen) – kräftiger Verlauf, Textschatten, dunkle Pills */
.bento-big::before { background: linear-gradient(to top, rgba(14,19,20,.97) 0%, rgba(14,19,20,.92) 30%, rgba(14,19,20,.6) 55%, rgba(14,19,20,.25) 78%, rgba(14,19,20,.2) 100%); }
.bento-big h3, .bento-big p, .bento-photo:not(.bento-teal) h3, .bento-photo:not(.bento-teal) p { text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 4px 24px rgba(0,0,0,.45); }
.bento-big p, .bento-photo:not(.bento-teal) p { color: #E6EBE8; }
.bento-big .pill { background: rgba(14,19,20,.62); border: 1px solid rgba(255,255,255,.16); color: #fff; }
.bento-photo:not(.bento-teal)::before { background: linear-gradient(to top, rgba(14,19,20,.97) 0%, rgba(14,19,20,.9) 40%, rgba(14,19,20,.45) 72%, rgba(14,19,20,.2) 100%); }

/* Hero-Video (Serienfertigung aus der eigenen Werkstatt) */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Hauptschalter stärker in Szene setzen */
.power { min-height: 440px; }
.mainswitch { width: clamp(210px, 22vw, 290px); }
.power-switch { position: relative; padding: 18px; }
.power-switch::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 45%; width: 460px; height: 460px; margin: -230px 0 0 -230px; border-radius: 50%; background: radial-gradient(circle, rgba(244,184,58,.22), transparent 62%); animation: breathe 3.6s ease-in-out infinite; transition: opacity .8s; pointer-events: none; }
.power.on .power-switch::before { background: radial-gradient(circle, rgba(23,188,156,.28), transparent 62%); }
.power-hint { font-size: 14px; letter-spacing: .02em; }
@media (max-width: 640px) { .mainswitch { width: 220px; } .power { min-height: 0; } }

/* Leistungskarten: Teal-Fläche nur beim Hover (alle drei Karten) */
.bento-big .wash, .bento-photo .wash { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to top, var(--teal) 0%, rgba(23,188,156,.95) 42%, rgba(23,188,156,.5) 72%, rgba(23,188,156,.12) 100%); clip-path: inset(100% 0 0 0); transition: clip-path .7s var(--ease-io); }
.bento-big:hover .wash, .bento-photo:hover .wash, .bento-big:focus-visible .wash, .bento-photo:focus-visible .wash { clip-path: inset(0 0 0 0); }
.bento-big h3, .bento-big p, .bento-photo h3, .bento-photo p { transition: color .45s var(--ease) .1s, text-shadow .45s; }
.bento-big:hover, .bento-photo:hover { color: var(--ink); }
.bento-big:hover h3, .bento-photo:hover h3 { color: var(--ink); text-shadow: none; }
.bento-big:hover p, .bento-photo:hover p { color: #0F2E28; text-shadow: none; }
.bento-big .pill { transition: background-color .45s, color .45s, border-color .45s; }
.bento-big:hover .pill { background: rgba(14,19,20,.12); border-color: rgba(14,19,20,.18); color: var(--ink); }
.bento-big:hover .go, .bento-photo:hover .go { background: var(--ink); color: #fff; }
.bento-big .tile, .bento-photo .tile { transition: background-color .45s, color .45s, transform .5s var(--ease); }
.bento-big:hover .tile, .bento-photo:hover .tile { background: var(--ink); color: var(--teal); --node: var(--volt); }
.bento-big.spot::after, .bento-photo.spot::after { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.28), transparent 45%); }
