/* HLC Elektro GmbH – Stylesheet */

/* Montserrat lokal einbinden (DSGVO: keine Google-Server). Dateien liegen in /assets/fonts/. */
@font-face { font-family: "Montserrat"; font-weight: 100 900; font-style: normal; font-display: swap;
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2"); }

:root {
  --bg: #08080a;
  --bg-2: #0e0e11;
  --panel: #131317;
  --panel-2: #1a1a1f;
  --line: rgba(255, 255, 255, .08);
  --line-gold: rgba(232, 174, 30, .28);
  --gold: #e8ae1e;
  --gold-hi: #f7d774;
  --gold-lo: #b8860b;
  --text: #f4f2ec;
  --muted: #a5a299;
  --dim: #908d85;
  --red: #ff5a4d;
  --grad-gold: linear-gradient(100deg, #f7d774 0%, #e8ae1e 45%, #c08d12 100%);
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --pad: clamp(20px, 5vw, 56px);
  --header-h: 84px;
  --font: "Montserrat", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--gold); color: #000; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* feines Raster + Körnung als Grundstimmung */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(232, 174, 30, .10), transparent 60%),
    radial-gradient(900px 600px at -10% 40%, rgba(232, 174, 30, .05), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px) 0 0 / 64px 64px; }

.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(72px, 10vw, 148px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--alt { background: linear-gradient(180deg, transparent, var(--bg-2) 18%, var(--bg-2) 82%, transparent); }

/* ---------- Typografie ---------- */
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.kicker b { color: var(--dim); font-weight: 700; }
.h1 { font-size: clamp(40px, 7.2vw, 96px); line-height: .98; font-weight: 800; letter-spacing: -.035em; }
.h2 { font-size: clamp(30px, 4.4vw, 58px); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.h3 { font-size: clamp(20px, 2vw, 25px); line-height: 1.2; font-weight: 700; letter-spacing: -.015em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 62ch; }
.gold { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.head { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 68px); max-width: 860px; }
.head--split { max-width: none; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 40px; }
.head .kicker { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn { --bg-btn: transparent; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 28px; border-radius: 100px; font-weight: 700; font-size: 15.5px; letter-spacing: .01em; white-space: nowrap;
  border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s, background .3s, box-shadow .3s, color .3s; will-change: transform; }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); flex: none; }
.btn:hover svg.arr { transform: translateX(4px); }
.btn--gold { background: var(--grad-gold); color: #120d00; border-color: transparent;
  box-shadow: 0 10px 40px -10px rgba(232, 174, 30, .6), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--gold:hover { box-shadow: 0 16px 50px -8px rgba(232, 174, 30, .85), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--ghost { background: rgba(255, 255, 255, .03); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn--sm { padding: 12px 20px; font-size: 14px; }
.btn--alarm { border-color: rgba(255, 90, 77, .4); color: #ffd9d5; background: rgba(255, 90, 77, .08); }
.btn--alarm:hover { background: rgba(255, 90, 77, .16); border-color: var(--red); }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); position: relative; flex: none; }
.pulse-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--red); animation: ping 1.8s infinite; }
.pulse-dot--gold { background: var(--gold); } .pulse-dot--gold::after { border-color: var(--gold); }
@keyframes ping { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; color: var(--gold); letter-spacing: .02em; }
.link svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
a:hover > .link svg, .link:hover svg { transform: translateX(5px); }

/* ---------- Scroll-Leitung + Header ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 120; transform-origin: 0 50%; transform: scaleX(0);
  background: var(--grad-gold); box-shadow: 0 0 14px var(--gold); }
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: flex; align-items: center;
  transition: background .4s, height .4s var(--ease), border-color .4s; border-bottom: 1px solid transparent; }
.site-header.is-stuck { --header-h: 68px; background: rgba(8, 8, 10, .78); backdrop-filter: blur(18px) saturate(140%); border-color: var(--line); }
.site-header .container { display: flex; align-items: center; gap: 28px; }
.logo img { height: 40px; width: auto; transition: height .4s var(--ease); }
.is-stuck .logo img { height: 34px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > li { position: relative; }
.nav a.nav__link, .nav button.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; white-space: nowrap; font-size: 14.5px; font-weight: 600;
  color: #d9d6cd; border-radius: 100px; transition: color .25s, background .25s; }
.nav__link:hover, .nav__link[aria-current="page"], .nav__link.is-active { color: var(--gold-hi); }
.nav__link[aria-current="page"]::after, .nav__link.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1px; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.nav__link svg { width: 14px; height: 14px; transition: transform .3s; }
.has-drop:hover .nav__link svg, .has-drop:focus-within .nav__link svg { transform: rotate(180deg); }
.drop { position: absolute; top: 100%; left: 50%; width: 560px; padding-top: 14px; transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
  transition: opacity .25s, transform .35s var(--ease), visibility .25s; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 10px; border-radius: var(--radius); border: 1px solid var(--line);
  background: rgba(16, 16, 20, .96); backdrop-filter: blur(20px); box-shadow: 0 30px 80px -20px #000; }
.drop a { display: flex; gap: 14px; align-items: center; padding: 13px 14px; border-radius: 12px; font-weight: 600; font-size: 14.5px; transition: background .2s, color .2s; }
.drop a:hover { background: rgba(232, 174, 30, .09); color: var(--gold-hi); }
.drop a svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.header__cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); position: relative; margin-left: auto; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: rgba(8, 8, 10, .97); backdrop-filter: blur(20px); padding: calc(var(--header-h) + 24px) var(--pad) 32px;
  display: flex; flex-direction: column; gap: 6px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a.big { font-size: clamp(26px, 7vw, 38px); font-weight: 800; letter-spacing: -.02em; padding: 8px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s; transition-delay: calc(var(--i) * 45ms); }
.menu-open .mobile-menu a.big { opacity: 1; transform: none; }
.mobile-menu a.big:hover { color: var(--gold); }
.mobile-menu .sub { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 12px 0 16px; border-bottom: 1px solid var(--line); }
.mobile-menu .sub a { color: var(--muted); font-size: 15px; font-weight: 600; padding: 5px 0; }
.mobile-menu .btns { display: grid; gap: 10px; margin-top: auto; padding-top: 24px; }
@media (max-width: 1220px) { .nav, .header__cta .btn--gold { display: none; } .burger { display: block; margin-left: 0; } .header__cta { margin-left: auto; } }
@media (max-width: 520px) { .header__cta .btn--alarm span.txt { display: none; } .header__cta .btn--alarm { padding: 13px 15px; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--header-h) + 40px); padding-bottom: 96px; overflow: hidden; isolation: isolate; }
.hero__img { position: absolute; top: 0; right: 0; bottom: 0; width: min(58vw, 980px); z-index: -2;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%), linear-gradient(0deg, transparent 0%, #000 22%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 55%), linear-gradient(0deg, transparent 0%, #000 22%); mask-composite: intersect; }
.hero__img picture { display: block; width: 100%; height: 100%; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; opacity: .92; animation: heroZoom 22s ease-in-out infinite alternate; }
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, var(--bg) 0%, rgba(8, 8, 10, .82) 38%, rgba(8, 8, 10, 0) 72%); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; pointer-events: none; }
.hero__inner { position: relative; max-width: 860px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 100px; border: 1px solid var(--line-gold);
  background: rgba(232, 174, 30, .07); font-size: 13px; font-weight: 600; color: var(--gold-hi); margin-bottom: 30px; backdrop-filter: blur(8px); }
.hero h1 { margin-bottom: 28px; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hero h1 .w > span { display: inline-block; transform: translateY(110%); animation: wordUp 1s var(--ease) forwards; animation-delay: calc(var(--i) * 80ms + 150ms); }
@keyframes wordUp { to { transform: none; } }
.spark { position: relative; }
.spark.gold { filter: drop-shadow(0 0 28px rgba(232, 174, 30, .45)); animation: flicker 6s infinite; }
@keyframes flicker { 0%, 100% { opacity: 1; } 42% { opacity: 1; } 43% { opacity: .55; } 44% { opacity: 1; } 46% { opacity: .7; } 47% { opacity: 1; } }
.hero .lead { margin-bottom: 38px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 12px 34px; margin-top: 54px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.hero__meta li { display: flex; align-items: center; gap: 10px; }
.hero__meta a { color: var(--text); font-weight: 600; transition: color .25s; } .hero__meta a:hover { color: var(--gold-hi); }
.hero__meta svg { width: 18px; height: 18px; color: var(--gold); }
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp 1s var(--ease) forwards; animation-delay: var(--d, .6s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.volt { position: absolute; right: var(--pad); bottom: 110px; z-index: 2; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--line-gold);
  background: rgba(10, 10, 12, .7); backdrop-filter: blur(14px); display: grid; gap: 2px; min-width: 190px; }
.volt small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.volt strong { font-size: 34px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.volt strong span { font-size: 16px; color: var(--gold); margin-left: 4px; }
.volt svg { width: 100%; height: 26px; margin-top: 4px; }
.volt path { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 6 260; animation: dash 2.6s linear infinite; filter: drop-shadow(0 0 4px var(--gold)); }
.volt path.base { stroke: rgba(232, 174, 30, .2); stroke-dasharray: none; animation: none; filter: none; }
@keyframes dash { from { stroke-dashoffset: 266; } to { stroke-dashoffset: 0; } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 20px; border: 1px solid var(--line); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--gold); animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: none; opacity: 1; } 80%, 100% { transform: translateY(14px); opacity: 0; } }
@media (max-width: 900px) { .hero__img { width: 100%; opacity: .38; -webkit-mask-image: linear-gradient(0deg, transparent, #000 40%); mask-image: linear-gradient(0deg, transparent, #000 40%); } .volt, .scroll-cue { display: none; } .hero { min-height: auto; padding-bottom: 64px; }
  .hero::after { background: linear-gradient(180deg, rgba(8, 8, 10, .55), rgba(8, 8, 10, .8)); } }

/* Unterseiten-Hero */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(56px, 8vw, 110px); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 420px at 78% 30%, rgba(232, 174, 30, .16), transparent 70%); }
.page-hero .container { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.page-hero .h1 { font-size: clamp(36px, 5.6vw, 76px); margin-bottom: 24px; }
.page-hero .lead { margin-bottom: 32px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--dim); margin-bottom: 26px; font-weight: 600; }
.crumbs a:hover { color: var(--gold); } .crumbs span::before { content: "/"; margin-right: 8px; }
@media (max-width: 900px) { .page-hero .container { grid-template-columns: 1fr; } .page-hero .orb { max-width: 260px; margin-inline: auto; order: -1; display: none; } }

/* Leucht-Orb mit Icon (Illustration der Unterseiten) */
.orb { position: relative; aspect-ratio: 1; width: 100%; max-width: 400px; margin-left: auto; display: grid; place-items: center; }
.orb i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-gold); }
.orb i:nth-child(1) { inset: 0; border-style: dashed; animation: spin 40s linear infinite; }
.orb i:nth-child(2) { inset: 13%; border-color: rgba(232, 174, 30, .16); }
.orb i:nth-child(3) { inset: 26%; background: radial-gradient(circle, rgba(232, 174, 30, .22), transparent 70%); border-color: rgba(232, 174, 30, .4); box-shadow: 0 0 80px rgba(232, 174, 30, .25), inset 0 0 40px rgba(232, 174, 30, .12); }
.orb i:nth-child(1)::before, .orb i:nth-child(2)::before { content: ""; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 16px 3px var(--gold); }
.orb i:nth-child(2) { animation: spin 18s linear infinite reverse; }
.orb svg { position: relative; width: 30%; height: 30%; color: var(--gold-hi); filter: drop-shadow(0 0 18px rgba(232, 174, 30, .7)); }
.orb svg * { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 2.4s var(--ease) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Laufband ---------- */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: rgba(255, 255, 255, .012); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; gap: 56px; font-size: clamp(18px, 2.2vw, 26px); font-weight: 800; letter-spacing: -.01em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .28); white-space: nowrap; }
.marquee__track span:nth-child(3n+1) { color: var(--text); -webkit-text-stroke: 0; }
.marquee__track span::after { content: ""; width: 14px; height: 22px; background: var(--gold); clip-path: polygon(60% 0, 0 58%, 42% 58%, 30% 100%, 100% 40%, 58% 40%); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Einblenden ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="left"] { transform: translateX(-40px); } .js [data-reveal="right"] { transform: translateX(40px); } .js [data-reveal="zoom"] { transform: scale(.94); }
@media (max-width: 900px) { .js [data-reveal="left"], .js [data-reveal="right"] { transform: translateY(34px); } }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Intro + Zahlen ---------- */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro p + p { margin-top: 18px; }
.triple { display: grid; gap: 6px; font-size: clamp(30px, 4.6vw, 62px); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; }
.triple span:nth-child(2) { padding-left: 1.2em; } .triple span:nth-child(3) { padding-left: 2.4em; }
.triple small { display: block; font-size: .32em; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding-left: 7.6em; margin-top: 18px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 7vw, 96px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.stat { padding: 34px 30px; border-right: 1px solid var(--line); position: relative; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: clamp(38px, 4.4vw, 60px); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat strong em { font-style: normal; font-size: .45em; margin-left: 4px; color: var(--gold); letter-spacing: 0; }
.stat span { display: block; margin-top: 12px; font-size: 14px; color: var(--muted); font-weight: 500; }
@media (max-width: 900px) { .intro, .head--split { grid-template-columns: 1fr; } .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .stat { padding: 26px 22px; } }

/* ---------- Karten (Leistungen) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { --mx: 50%; --my: 0%; position: relative; display: flex; flex-direction: column; gap: 16px; min-height: 340px; padding: 34px 30px 30px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), border-color .4s; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(232, 174, 30, .2), transparent 60%); }
.card::after { content: ""; position: absolute; left: 30px; right: 30px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: scaleX(0); transition: transform .6s var(--ease); }
.card:hover { transform: translateY(-6px); border-color: var(--line-gold); }
.card:hover::before { opacity: 1; } .card:hover::after { transform: none; }
.card__num { position: absolute; top: 26px; right: 28px; font-size: 13px; font-weight: 700; color: var(--dim); letter-spacing: .1em; }
.card__icon { width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; background: rgba(232, 174, 30, .08); border: 1px solid var(--line-gold); color: var(--gold); transition: background .4s, color .4s, box-shadow .4s, transform .5s var(--ease); }
.card__icon svg { width: 30px; height: 30px; }
.card:hover .card__icon { background: var(--grad-gold); color: #120d00; box-shadow: 0 10px 34px -6px rgba(232, 174, 30, .7); transform: rotate(-6deg) scale(1.05); }
.card p { color: var(--muted); font-size: 15.5px; }
.card .link { margin-top: auto; padding-top: 10px; }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } .card { min-height: 0; } }

/* ---------- Warum HLC ---------- */
.why { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.why__left { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 22px; }
.why__list li { display: grid; grid-template-columns: 84px 1fr; gap: 20px; padding: 34px 0; border-top: 1px solid var(--line); transition: padding .5s var(--ease); }
.why__list li:last-child { border-bottom: 1px solid var(--line); }
.why__list li:hover { padding-left: 14px; }
.why__list b { font-size: 46px; line-height: 1; font-weight: 800; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--gold); transition: color .4s; }
.why__list li:hover b { color: var(--gold); }
.why__list h3 { margin-bottom: 8px; } .why__list p { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } .why__left { position: static; } .why__list li { grid-template-columns: 60px 1fr; } .why__list b { font-size: 34px; } }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checks li { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--radius-sm); background: var(--panel); border: 1px solid var(--line); font-size: 15.5px; color: var(--muted); transition: border-color .3s, transform .4s var(--ease); }
.checks li:hover { border-color: var(--line-gold); transform: translateY(-3px); }
.checks li b { display: block; color: var(--text); font-size: 16.5px; margin-bottom: 2px; }
.checks svg { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--gold); color: #120d00; flex: none; margin-top: 2px; }
@media (max-width: 760px) { .checks { grid-template-columns: 1fr; } }

/* ---------- Ablauf ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 31px; left: 4%; right: 4%; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-hi), var(--gold)); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.8s var(--ease) .2s; box-shadow: 0 0 14px var(--gold); }
.steps.in::before { transform: none; }
.step { position: relative; padding-top: 0; }
.step__dot { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--gold); font-weight: 800; font-size: 20px; color: var(--gold-hi); margin-bottom: 26px; position: relative; box-shadow: 0 0 0 8px var(--bg), 0 0 30px rgba(232, 174, 30, .3); }
.section--alt .step__dot { background: var(--bg-2); box-shadow: 0 0 0 8px var(--bg-2), 0 0 30px rgba(232, 174, 30, .3); }
.step h3 { margin-bottom: 10px; } .step p { color: var(--muted); font-size: 16px; max-width: 34ch; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 36px; } .steps::before { top: 0; bottom: 0; left: 31px; right: auto; width: 2px; height: auto; transform-origin: 50% 0; transform: scaleY(0); } .step { padding-left: 90px; } .step__dot { position: absolute; left: 0; top: 0; } }

/* ---------- Einsatzgebiet (Radar) ---------- */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.radar { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; margin-inline: auto; }
.radar svg { width: 100%; height: 100%; overflow: visible; }
.radar__sweep { position: absolute; inset: 6%; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 78%, rgba(232, 174, 30, .32) 100%); animation: spin 5s linear infinite; -webkit-mask-image: radial-gradient(circle, #000 69%, transparent 70%); mask-image: radial-gradient(circle, #000 69%, transparent 70%); }
.radar circle.ring { fill: none; stroke: rgba(232, 174, 30, .22); stroke-width: 1; }
.radar circle.ring.outer { stroke: var(--gold); stroke-dasharray: 4 6; }
.radar text { fill: var(--muted); font-size: 11.5px; font-weight: 600; font-family: var(--font); }
.radar text.km { fill: var(--dim); font-size: 10px; letter-spacing: .1em; }
.radar .town circle { fill: var(--gold); opacity: .85; }
.radar .town.main circle { fill: var(--gold-hi); }
.radar .town.main text { fill: var(--text); font-size: 13px; font-weight: 700; }
.radar .home { fill: none; stroke: var(--gold-hi); stroke-width: 1.5; animation: ping2 2.4s infinite; transform-origin: 254px 298px; }
@keyframes ping2 { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tags li { padding: 8px 14px; border-radius: 100px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--muted); transition: border-color .25s, color .25s; }
.tags li:hover { border-color: var(--gold); color: var(--gold-hi); }
@media (max-width: 900px) { .area { grid-template-columns: 1fr; } }

/* ---------- Kundenstimmen ---------- */
.reviews { display: grid; gap: 18px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.reviews__row { display: flex; gap: 18px; width: max-content; animation: marquee 60s linear infinite; }
.reviews__row:nth-child(2) { animation-direction: reverse; animation-duration: 70s; }
.reviews:hover .reviews__row { animation-play-state: paused; }
.review { width: min(420px, 82vw); padding: 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.review .stars { display: flex; gap: 3px; color: var(--gold); } .review .stars svg { width: 17px; height: 17px; }
.review h3 { font-size: 18px; } .review p { color: var(--muted); font-size: 15.5px; }
.review footer { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14.5px; margin-top: 4px; }
.review footer small { display: block; font-size: 12px; font-weight: 600; color: var(--dim); letter-spacing: .04em; }
.reviews__dup { display: contents; }
.grating { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding: 14px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line-gold); background: rgba(232, 174, 30, .06); transition: border-color .3s, transform .4s var(--ease); }
.grating:hover { border-color: var(--gold); transform: translateY(-2px); }
.grating strong { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.grating .stars { display: flex; gap: 3px; color: var(--gold); } .grating .stars svg { width: 16px; height: 16px; }
.grating small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.review footer i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(232, 174, 30, .12); color: var(--gold); font-style: normal; font-size: 14px; border: 1px solid var(--line-gold); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); transition: border-color .3s; }
.faq details[open] { border-color: var(--line-gold); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; font-weight: 700; font-size: 17.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-gold);
  background: linear-gradient(var(--gold), var(--gold)) center / 12px 1.5px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 1.5px 12px no-repeat; transition: transform .4s var(--ease), background-size .3s; }
.faq details[open] summary::after { transform: rotate(180deg); background-size: 12px 1.5px, 1.5px 0; }
.faq .a { padding: 0 26px 24px; color: var(--muted); max-width: 70ch; }
.faq details[open] .a { animation: fadeUp .5s var(--ease); }

/* ---------- CTA-Band ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; border-radius: clamp(20px, 3vw, 36px); padding: clamp(40px, 7vw, 96px); border: 1px solid var(--line-gold);
  background: radial-gradient(600px 300px at 90% 0%, rgba(232, 174, 30, .28), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(232, 174, 30, .14), transparent 70%), var(--panel); }
.cta::before { content: ""; position: absolute; right: -60px; bottom: -110px; width: 360px; height: 540px; z-index: -1; opacity: .16; background: url("../img/bulb.png") center / contain no-repeat; transform: rotate(14deg); }
.cta .h2 { max-width: 16ch; margin-bottom: 18px; } .cta .lead { margin-bottom: 34px; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Rechner / Werkzeuge ---------- */
.tool { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.tool__in { padding: clamp(24px, 4vw, 44px); display: grid; gap: 26px; align-content: start; }
.tool__out { padding: clamp(24px, 4vw, 44px); background: radial-gradient(500px 300px at 100% 0%, rgba(232, 174, 30, .16), transparent 70%), var(--panel-2); border-left: 1px solid var(--line); display: grid; gap: 22px; align-content: start; }
.field { display: grid; gap: 10px; }
.field label, .field .label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; font-weight: 600; color: var(--muted); }
.field output { font-size: 18px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--gold) var(--p, 50%), rgba(255, 255, 255, .1) var(--p, 50%)); outline-offset: 6px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-hi); border: 4px solid #1b1500; box-shadow: 0 0 0 1px var(--gold), 0 0 18px rgba(232, 174, 30, .6); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--gold-hi); border: 4px solid #1b1500; box-shadow: 0 0 0 1px var(--gold), 0 0 18px rgba(232, 174, 30, .6); cursor: grab; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 15px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch i { width: 52px; height: 30px; border-radius: 30px; background: rgba(255, 255, 255, .1); position: relative; transition: background .3s; flex: none; }
.switch i::after { content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease); }
.switch input:checked + i { background: var(--gold); } .switch input:checked + i::after { transform: translateX(22px); background: #120d00; }
.switch input:focus-visible + i { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.big-num { font-size: clamp(44px, 6vw, 72px); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.big-num small { font-size: .3em; letter-spacing: 0; color: var(--muted); font-weight: 600; margin-left: 8px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kv div { padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(0, 0, 0, .25); }
.kv dt { font-size: 12.5px; color: var(--muted); font-weight: 600; } .kv dd { margin: 4px 0 0; font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; }
.note { font-size: 12.5px; color: var(--dim); line-height: 1.5; }
.bars { display: grid; gap: 16px; }
.bar { display: grid; gap: 7px; font-size: 14px; font-weight: 600; }
.bar div { display: flex; justify-content: space-between; gap: 12px; } .bar div b { font-variant-numeric: tabular-nums; }
.bar i { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .08); overflow: hidden; display: block; }
.bar i::after { content: ""; display: block; height: 100%; width: var(--w, 0%); border-radius: 10px; background: var(--grad-gold); transition: width .6s var(--ease); }
.bar.slow i::after { background: #5b5a55; }
@media (max-width: 860px) { .tool { grid-template-columns: 1fr; } .tool__out { border-left: 0; border-top: 1px solid var(--line); } }

/* Smart-Home-Demo */
.room { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: #0b0b0e; border: 1px solid var(--line); }
.room svg { width: 100%; height: 100%; }
.room .glow { opacity: var(--light, 0); transition: opacity .6s; }
.room .blind { transform-origin: 0 0; transform: scaleY(var(--blind, .2)); transition: transform .8s var(--ease); }
.room .lamp { fill: color-mix(in srgb, var(--gold-hi) calc(var(--light, 0) * 100%), #3a3a40); transition: fill .6s; }
.room .heat { opacity: var(--heat, .3); transition: opacity .6s; }
.room__temp { position: absolute; right: 14px; top: 14px; padding: 8px 14px; border-radius: 100px; background: rgba(0, 0, 0, .6); border: 1px solid var(--line-gold); font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 16px; border-radius: 100px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); transition: all .25s; display: inline-flex; align-items: center; gap: 8px; }
.chip svg { width: 18px; height: 18px; }
.chip:hover { border-color: var(--gold); color: var(--text); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--grad-gold); color: #120d00; border-color: transparent; }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inp { display: grid; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.inp input, .inp textarea, .inp select { font: inherit; font-size: 16px; font-weight: 500; color: var(--text); background: rgba(0, 0, 0, .35); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 15px 16px; width: 100%; transition: border-color .25s, box-shadow .25s; }
.inp textarea { min-height: 130px; resize: vertical; }
.inp input:focus, .inp textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(232, 174, 30, .14); }
.inp input::placeholder, .inp textarea::placeholder { color: var(--dim); }
.hp { position: absolute !important; left: -9999px; }
.form__row--plz { grid-template-columns: 150px 1fr; }
.files { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.file, .field label.file { position: relative; display: block; }
.file input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file span { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px dashed var(--line-gold); font-size: 14px; font-weight: 600; color: var(--muted); transition: border-color .25s, background .25s, color .25s; min-width: 0; }
.file span svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.file span b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file:hover span, .file input:focus-visible + span { border-color: var(--gold); color: var(--text); }
.file.has span { border-style: solid; border-color: var(--gold); background: rgba(232, 174, 30, .1); color: var(--text); }
.note.err { color: #ffb4ab; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; accent-color: var(--gold); flex: none; margin-top: 1px; }
.consent a { color: var(--gold); text-decoration: underline; }
.form__msg { padding: 16px 18px; border-radius: var(--radius-sm); font-size: 15px; display: none; }
.form__msg.ok { display: block; background: rgba(80, 200, 120, .1); border: 1px solid rgba(80, 200, 120, .4); color: #b9f0cc; }
.form__msg.err { display: block; background: rgba(255, 90, 77, .08); border: 1px solid rgba(255, 90, 77, .4); color: #ffd9d5; }
.form__msg a { color: var(--gold-hi); text-decoration: underline; font-weight: 700; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }

.formbox { border: 1px solid var(--line-gold); border-radius: var(--radius); background: var(--panel); padding: clamp(22px, 4vw, 44px); }

/* Anfrage-Assistent */
.wizard { border: 1px solid var(--line-gold); border-radius: var(--radius); background: var(--panel); padding: clamp(22px, 4vw, 44px); position: relative; overflow: hidden; }
.wizard__bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 30px; }
.wizard__bar li { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding-top: 12px; border-top: 2px solid rgba(255, 255, 255, .1); transition: color .3s, border-color .3s; }
.wizard__bar li.on { color: var(--gold); border-color: var(--gold); }
.wizard fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: none; gap: 20px; }
.wizard fieldset.on { display: grid; animation: fadeUp .5s var(--ease); }
.wizard legend { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.02em; padding: 0; margin-bottom: 20px; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.opt, .field label.opt { position: relative; display: block; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt span { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); font-weight: 600; font-size: 15px; cursor: pointer; transition: all .25s; height: 100%; }
.opt span svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.opt span:hover { border-color: var(--line-gold); }
.opt input:checked + span { border-color: var(--gold); background: rgba(232, 174, 30, .1); box-shadow: 0 0 0 3px rgba(232, 174, 30, .12); }
.opt input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.opt--alarm span svg { color: var(--red); }
.wizard__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.wizard__done { text-align: center; padding: 30px 0; display: none; gap: 14px; justify-items: center; }
.wizard.done .wizard__done { display: grid; animation: fadeUp .6s var(--ease); } .wizard.done form { display: none; }
.wizard__done svg { width: 72px; height: 72px; padding: 18px; border-radius: 50%; background: var(--grad-gold); color: #120d00; box-shadow: 0 0 50px rgba(232, 174, 30, .5); }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.info { display: grid; gap: 12px; }
.info__item { display: flex; gap: 18px; align-items: center; padding: 20px 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--panel); transition: border-color .3s, transform .4s var(--ease); }
a.info__item:hover { border-color: var(--gold); transform: translateX(4px); }
.info__item svg { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: rgba(232, 174, 30, .1); color: var(--gold); flex: none; }
.info__item small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.info__item b { font-size: 17px; }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); } .hours td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.hours tr:last-child td { border-bottom: 0; color: var(--dim); }
.box { padding: 24px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--panel); }
.box h3 { font-size: 16px; margin-bottom: 10px; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: var(--panel) linear-gradient(rgba(232, 174, 30, .05) 1px, transparent 1px) 0 0 / 40px 40px; display: grid; place-items: center; }
.map::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(232, 174, 30, .05) 1px, transparent 1px) 0 0 / 40px 40px; }
.map__consent { position: relative; text-align: center; max-width: 460px; padding: 32px; display: grid; gap: 16px; justify-items: center; }
.map__consent svg { width: 44px; height: 44px; color: var(--gold); }
.map__consent p { font-size: 14.5px; color: var(--muted); } .map__consent a { color: var(--gold); text-decoration: underline; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) hue-rotate(180deg); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 88px) 0 28px; background: var(--bg-2); position: relative; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer img { height: 44px; width: auto; margin-bottom: 20px; }
.footer p { color: var(--muted); font-size: 15px; max-width: 34ch; }
.footer h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-weight: 700; }
.footer li { margin-bottom: 9px; font-size: 15px; color: var(--muted); }
.footer li a { transition: color .2s; } .footer li a:hover { color: var(--gold-hi); }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .3s var(--ease); }
.social a:hover { background: var(--grad-gold); color: #120d00; border-color: transparent; transform: translateY(-3px); }
.social svg { width: 19px; height: 19px; }
.footer__orte { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 44px; font-size: 13.5px; font-weight: 600; }
.footer__orte span { color: var(--dim); margin-right: 6px; }
.footer__orte a { padding: 7px 13px; border-radius: 100px; border: 1px solid var(--line); color: var(--muted); transition: border-color .25s, color .25s; }
.footer__orte a:hover { border-color: var(--gold); color: var(--gold-hi); }
.tags li:has(a) { padding: 0; border-color: var(--line-gold); }
.tags li a { display: block; padding: 8px 14px; color: var(--text); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--dim); }
.footer__bottom nav { display: flex; gap: 22px; } .footer__bottom a:hover { color: var(--gold); }
.footer__word { font-size: clamp(60px, 17vw, 250px); font-weight: 800; letter-spacing: -.05em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(232, 174, 30, .16); text-align: center; margin: 48px 0 -3%; user-select: none; white-space: nowrap; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* WhatsApp + Nach-oben */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 34px -8px rgba(37, 211, 102, .7); transition: transform .35s var(--ease); }
.wa:hover { transform: scale(1.08) rotate(-6deg); } .wa svg { width: 30px; height: 30px; }
.wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid #25d366; animation: ping 2.4s infinite; }

/* ---------- Weitere Leistungen + News ---------- */
.card--sm { min-height: 0; padding: 26px 24px 24px; gap: 12px; }
.card--sm .card__icon { width: 50px; height: 50px; border-radius: 13px; } .card--sm .card__icon svg { width: 24px; height: 24px; }
.card--sm .h3 { font-size: 19px; } .card--sm p { font-size: 14.5px; }
.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 18px; }
.newsitem { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; gap: 12px; transition: border-color .3s, transform .4s var(--ease); }
.newsitem:hover { border-color: var(--line-gold); transform: translateY(-3px); }
.newsitem__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.newsitem__meta span { color: var(--gold); } .newsitem__meta time { color: var(--dim); }
.newsitem p { color: var(--muted); font-size: 15.5px; }
.newsitem__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 18px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.newsitem__src { font-size: 12.5px; color: var(--dim); text-decoration: underline; } .newsitem__src:hover { color: var(--gold); }

/* ---------- Zertifikate + Großansicht ---------- */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cert { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); overflow: hidden; transition: border-color .3s, transform .45s var(--ease), box-shadow .3s; }
.cert:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: 0 24px 60px -30px rgba(232, 174, 30, .55); }
.cert__img { position: relative; display: block; aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 40%, #2a2a31, #17171b); overflow: hidden; }
.cert__img img { position: absolute; inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); object-fit: contain; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .7)); transition: transform .6s var(--ease); }
.cert:hover .cert__img img { transform: scale(1.04); }
.cert__img::after { content: "Vergrößern"; position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 100px; background: rgba(8, 8, 10, .8); border: 1px solid var(--line-gold); color: var(--gold-hi); font-size: 12px; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.cert:hover .cert__img::after, .cert:focus-visible .cert__img::after { opacity: 1; transform: none; }
.cert__txt { display: grid; gap: 4px; padding: 18px 20px 20px; border-top: 1px solid var(--line); }
.cert__txt b { font-size: 16.5px; line-height: 1.3; } .cert__txt small { font-size: 13px; color: var(--muted); line-height: 1.45; }
@media (max-width: 1000px) { .certs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .certs { grid-template-columns: 1fr; } }
.zoom { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(4, 4, 6, .92); backdrop-filter: blur(10px); animation: fadeUp .3s var(--ease); cursor: zoom-out; }
.zoom img { max-width: min(100%, 1100px); max-height: calc(100svh - 110px); border-radius: 8px; box-shadow: 0 40px 120px -20px #000; background: #fff; }
.zoom figcaption { margin-top: 14px; text-align: center; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.zoom button { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-gold); background: rgba(8, 8, 10, .8); display: grid; place-items: center; color: var(--gold-hi); }
.zoom button svg { width: 18px; height: 18px; }

/* ---------- Ortsseiten ---------- */
.ortlinks { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.ortlinks .kicker { margin-right: 10px; }
.ortlinks a { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 100px; border: 1px solid var(--line-gold); font-size: 14.5px; font-weight: 700; transition: background .25s, border-color .25s, color .25s; }
.ortlinks a svg { width: 18px; height: 18px; color: var(--gold); }
.ortlinks a:hover { background: rgba(232, 174, 30, .1); border-color: var(--gold); color: var(--gold-hi); }
.ortgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ortcard { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); display: grid; gap: 6px; transition: border-color .3s, transform .4s var(--ease); }
.ortcard:hover { border-color: var(--line-gold); transform: translateY(-3px); }
.ortcard p { color: var(--muted); font-size: 14px; }
.ortcard__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ortcard__links a { padding: 7px 13px; border-radius: 100px; border: 1px solid var(--line-gold); font-size: 13px; font-weight: 700; color: var(--gold-hi); transition: background .25s; }
.ortcard__links a:hover { background: rgba(232, 174, 30, .14); }

/* ---------- Assistent (geführter Chat) ---------- */
.wa { bottom: 88px; }
.bot-open .wa { opacity: 0; pointer-events: none; }
.bot-launch { position: fixed; right: 20px; bottom: 20px; z-index: 81; height: 58px; padding: 0 22px 0 18px; border-radius: 100px; display: inline-flex; align-items: center; gap: 10px;
  background: var(--grad-gold); color: #120d00; font-weight: 800; font-size: 15px; box-shadow: 0 12px 34px -8px rgba(232, 174, 30, .75); transition: transform .35s var(--ease); }
.bot-launch:hover { transform: translateY(-3px); }
.bot-launch svg { width: 26px; height: 26px; }
.bot-open .bot-launch span { display: none; } .bot-open .bot-launch { padding: 0 16px; }
.bot { position: fixed; right: 20px; bottom: 90px; z-index: 82; width: min(390px, calc(100vw - 24px)); max-height: min(640px, calc(100svh - 110px)); display: flex; flex-direction: column;
  border-radius: var(--radius); border: 1px solid var(--line-gold); background: rgba(14, 14, 17, .97); backdrop-filter: blur(18px); box-shadow: 0 30px 90px -20px #000, 0 0 60px -30px var(--gold); overflow: hidden; animation: fadeUp .4s var(--ease); }
.bot[hidden] { display: none; }
.bot__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(232, 174, 30, .12), transparent); }
.bot__head img { width: 34px; height: 34px; }
.bot__head strong { display: block; font-size: 15.5px; line-height: 1.2; }
.bot__head small { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 3px; }
.bot__close { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: border-color .25s, color .25s; }
.bot__close:hover { border-color: var(--gold); color: var(--gold-hi); } .bot__close svg { width: 16px; height: 16px; }
.bot__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; scroll-behavior: smooth; overscroll-behavior: contain; }
.bot__msg { max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; white-space: pre-line; animation: fadeUp .35s var(--ease); }
.bot__msg--bot { align-self: flex-start; background: var(--panel-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bot__msg--me { align-self: flex-end; background: var(--grad-gold); color: #120d00; font-weight: 700; border-bottom-right-radius: 4px; }
.bot__typing { display: inline-flex; gap: 5px; padding: 14px; }
.bot__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: botDot 1s infinite; }
.bot__typing i:nth-child(2) { animation-delay: .15s; } .bot__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes botDot { 0%, 100% { opacity: .25; transform: none; } 50% { opacity: 1; transform: translateY(-3px); } }
.bot__links { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 4px; animation: fadeUp .35s var(--ease); }
.bot__link { padding: 10px 14px; border-radius: 100px; border: 1px solid var(--line-gold); font-size: 13.5px; font-weight: 700; color: var(--gold-hi); transition: background .25s, border-color .25s; }
.bot__link:hover { background: rgba(232, 174, 30, .12); border-color: var(--gold); }
.bot__link--gold { background: var(--grad-gold); color: #120d00; border-color: transparent; }
.bot__link--gold:hover { background: var(--grad-gold); filter: brightness(1.08); }
.bot__link--alarm { border-color: rgba(255, 90, 77, .5); color: #ffd9d5; background: rgba(255, 90, 77, .1); }
.bot__opts { flex: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); max-height: 190px; overflow-y: auto; }
.bot__log, .bot__opts { scrollbar-width: thin; scrollbar-color: rgba(232, 174, 30, .4) transparent; }
.bot__opts:empty { display: none; }
.bot__opt { padding: 9px 14px; border-radius: 100px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--text); background: rgba(255, 255, 255, .03); transition: border-color .25s, color .25s, background .25s; text-align: left; }
.bot__opt:hover { border-color: var(--gold); color: var(--gold-hi); background: rgba(232, 174, 30, .08); }
.bot__foot { font-size: 11px; color: var(--dim); padding: 8px 16px 12px; text-align: center; line-height: 1.4; }
@media (max-width: 520px) { .bot { right: 12px; bottom: 86px; } .bot-launch span { display: none; } .bot-launch { padding: 0 16px; } }
.menu-open .bot-launch, .menu-open .wa { display: none; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 24px; margin: 44px 0 14px; letter-spacing: -.01em; } .legal h3 { font-size: 18px; margin: 28px 0 10px; }
.legal p, .legal li { color: #c9c6bd; font-size: 16px; } .legal p { margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; } .legal a { color: var(--gold); text-decoration: underline; word-break: break-word; }
.legal address { font-style: normal; color: #c9c6bd; margin-bottom: 14px; }

/* Split-Abschnitt (Text + Liste) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split p + p { margin-top: 16px; }
.bullets { display: grid; gap: 0; }
.bullets li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 16px; }
.bullets li svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 3px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.center { text-align: center; } .center .head, .center .lead { margin-inline: auto; justify-items: center; }
.mt { margin-top: clamp(28px, 4vw, 48px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero h1 .w > span { transform: none; } .fade-up { opacity: 1; transform: none; }
}
