@media ( min-width: 1200px) {}

@media ( min-width: 992px) {}

@media ( min-width: 769px) {}

@media ( max-width: 768px) {}

@media ( max-width: 768px) {
    :where(.wp-block-columns.is-layout-flex) {
        gap: 0;
    }
}
/* ============================================================
   SolMetall — Premium Redesign
   System: Nachtblau · Warmes Ivory · Ein Gelb.
   Typo: Space Grotesk (Display) · Inter (Text) — serifenfrei.
   Akzent: betonte Worte tragen das Gelb (dunkel: --sun, hell: --gold-ink).
   ============================================================ */
:root {
  --night: #060d1b;
  --navy: #0b1830;
  --navy-2: #12233c;
  --ink: #101c2b;
  --paper: #f6f3ec;
  --paper-2: #efeade;
  --sun: #F0AD2B;
  --sun-soft: #ffd75e;
  --amber: #ff9e2c;
  --gold-ink: #3a7db7 !important;
  --cream: #eef2f8;
  --muted: #94a1b3;
  --muted-dark: #6b7889;
  --line: rgba(233, 238, 246, .13);
  --line-dark: rgba(16, 28, 43, .12);
  --glass: rgba(7, 15, 30, .58);
  --r: 22px;
  --font-d: "Space Grotesk", system-ui, sans-serif;
  --font-b: "Inter", system-ui, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b); color: var(--ink); background: var(--paper);
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--sun); color: var(--night); }
h1, h2, h3, h4 { font-family: var(--font-d); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }
/* Betontes Wort in Headlines: trägt das Gelb, serifenfrei.
   Hell = --gold-ink (kontraststark auf Ivory), dunkle Flächen überschreiben auf --sun. */
h1 em, h2 em, h3 em, .serif { font-style: normal; font-weight: inherit; color: var(--gold-ink); }
.wrap { width: min(1180px, 92vw); margin: 0 auto; }

/* ---------- Korn / Textur ---------- */
#grain {
  position: fixed; inset: -50%; width: 200%; height: 200%; z-index: 999; pointer-events: none;
  opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 10% { transform: translate(-3%,-2%); }
  30% { transform: translate(2%,-4%); } 50% { transform: translate(-4%,3%); }
  70% { transform: translate(3%,2%); } 90% { transform: translate(-2%,4%); }
}

/* ---------- Custom Cursor ---------- */
@media (pointer: fine) {
  #cursor-dot, #cursor-ring { position: fixed; top: 0; left: 0; z-index: 1000; pointer-events: none; border-radius: 50%; }
  #cursor-dot { width: 7px; height: 7px; background: var(--sun); transform: translate(-50%,-50%); }
  #cursor-ring {
    width: 34px; height: 34px; border: 1.5px solid rgba(255,194,26,.55);
    transform: translate(-50%,-50%); transition: width .3s var(--ease-out), height .3s var(--ease-out), border-color .3s, opacity .3s;
  }
  #cursor-ring.hovering { width: 56px; height: 56px; border-color: rgba(255,194,26,.9); }
  #cursor-ring.pressed { width: 26px; height: 26px; }
}
@media (pointer: coarse) { #cursor-dot, #cursor-ring { display: none; } }

/* ---------- Preloader ---------- */
#loader {
  position: fixed; inset: 0; z-index: 2000; background: var(--night);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transition: transform .9s var(--ease-out);
}
#loader.done { transform: translateY(-101%); }
#loader .horizon-line { width: 130px; height: 1px; background: rgba(255,255,255,.22); position: relative; overflow: visible; }
#loader .sun-dot {
  position: absolute; left: 50%; top: 0; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%;
  background: var(--sun); box-shadow: 0 0 24px 6px rgba(255,194,26,.55);
  transform: translateY(14px); animation: loader-rise 1.1s var(--ease-out) forwards .15s;
}
@keyframes loader-rise { to { transform: translateY(-9px); } }
#loader .word { font-family: var(--font-d); font-weight: 700; font-size: 20px; color: var(--cream); letter-spacing: .34em; text-transform: uppercase; }
#loader .word b { color: var(--sun); }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 28px 0; transition: padding .4s var(--ease-out), background .4s, box-shadow .4s; }
.site-header.scrolled { padding: 10px 0; background: rgba(6,13,27,.82); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; }
.logo-chip { background: #fff; border-radius: 12px; padding: 6px 12px; display: inline-flex; align-items: center; text-decoration: none; box-shadow: 0 2px 14px rgba(0,0,0,.22); transition: transform .35s var(--ease-spring); }
.logo-chip:hover { transform: rotate(-2deg) scale(1.04); }
.logo-chip img { height: 50px; width: auto; }
.logo-fallback { font-family: var(--font-d); font-weight: 700; font-size: 18px; color: var(--navy); }
.logo-fallback span { color: var(--amber); }


/* .main-nav { margin-left: auto; display: flex; gap: 2px; align-items: center; }
.main-nav a { position: relative; color: var(--cream); text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 8px 13px; border-radius: 10px; }
.main-nav a:not(.cta)::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 1.5px;
  background: var(--sun); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out);
}
.main-nav a:not(.cta):hover::after, .main-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.main-nav a.active { color: var(--sun); }
.main-nav a.cta { background: var(--sun); color: var(--night); font-weight: 700; margin-left: 10px; border-radius: 999px; padding: 9px 18px; transition: transform .3s var(--ease-spring), box-shadow .3s; }
.main-nav a.cta:hover { transform: scale(1.05); box-shadow: 0 6px 22px rgba(255,194,26,.4); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: rgba(6,13,27,.97); padding: 14px 6vw 24px; }
  .main-nav.open { display: flex; }
} */


/* Navigation */
.navigation {
    margin-left: auto;
}

/* WordPress-Menüliste zurücksetzen */
.navigation ul.menu {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navigation ul.menu > li {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Bulletpoints zuverlässig entfernen */
.navigation ul.menu > li::marker {
    content: "";
    display: none;
}

.navigation ul.menu > li > a {
    position: relative;
    display: block;
    padding: 8px 13px;
    border-radius: 10px;
        color: var(--ink);
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
}

/* Animierte Unterstreichung */
.navigation ul.menu > li:not(.cta) > a::after {
    content: "";
    position: absolute;
    right: 13px;
    bottom: 4px;
    left: 13px;
    height: 1.5px;
    background: var(--sun);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s var(--ease-out);
}

.navigation ul.menu > li:not(.cta) > a:hover::after,
.navigation ul.menu > li.current-menu-item:not(.cta) > a::after,
.navigation ul.menu > li.current-menu-ancestor:not(.cta) > a::after,
.navigation ul.menu > li.current_page_item:not(.cta) > a::after,
.navigation ul.menu > li.current_page_ancestor:not(.cta) > a::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Aktiver Menüpunkt */
.navigation ul.menu > li.current-menu-item > a,
.navigation ul.menu > li.current-menu-ancestor > a,
.navigation ul.menu > li.current_page_item > a,
.navigation ul.menu > li.current_page_ancestor > a {
    color: var(--sun);
}

/* Optionaler CTA-Menüpunkt */
/* In WordPress dem Menüpunkt die CSS-Klasse "cta" geben */
.navigation ul.menu > li.cta {
    margin-left: 10px;
}

.navigation ul.menu > li.cta > a {
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--sun);
    color: var(--night);
    font-weight: 700;
    transition:
        transform 0.3s var(--ease-spring),
        box-shadow 0.3s;
}

.navigation ul.menu > li.cta > a:hover {
    color: var(--night);
    transform: scale(1.05);
    box-shadow: 0 6px 22px rgba(255, 194, 26, 0.4);
}

/* Mobile-Menü-Button */
.nav-toggle {
    display: none;
    margin-left: auto;
    padding: 6px;
    border: 0;
    background: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    border-radius: 2px;
    background: #fff;
    transition:
        transform 0.3s,
        opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 940px) {
    .nav-toggle {
        display: block;
    }

    .navigation {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 1000;
        margin-left: 0;
        padding: 14px 6vw 24px;
        background: rgba(255,255,255, 0.97);
    }

    .navigation.open {
        display: block;
    }

    .navigation ul.menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .navigation ul.menu > li {
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .navigation ul.menu > li > a {
        width: 100%;
        padding: 12px 13px;
        box-sizing: border-box;
    }

    .navigation ul.menu > li:not(.cta) > a::after {
        right: 13px;
        bottom: 7px;
        left: 13px;
    }

    .navigation ul.menu > li.cta {
        margin-top: 10px;
        margin-left: 0;
    }

    .navigation ul.menu > li.cta > a {
        display: inline-flex;
        width: auto;
        padding: 10px 20px;
    }
}

/* ---------- Uhrzeit-HUD (Startseite) ---------- */
#clock {
  position: fixed; right: 4vw; top: 50%; transform: translateY(-50%); z-index: 90;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-d); color: var(--cream); opacity: 0; transition: opacity .8s;
  pointer-events: none;
}
#clock.on { opacity: 1; }
#clock .t { font-size: 15px; font-weight: 500; letter-spacing: .12em; font-variant-numeric: tabular-nums; writing-mode: vertical-rl; }
#clock .track { width: 1px; height: 130px; background: rgba(255,255,255,.18); position: relative; }
#clock .track i { position: absolute; left: -2.5px; top: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 10px rgba(255,194,26,.8); }
@media (max-width: 940px) { #clock { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; overflow: hidden;
  padding: 15px 30px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 15.5px; font-family: var(--font-d); letter-spacing: .01em;
  border: 0; cursor: pointer; will-change: transform;
  transition: transform .35s var(--ease-spring), box-shadow .35s, background .3s, color .3s;
}
.btn:active { transform: scale(.94); } /* auf Touch; am Desktop komponiert main.js den Press-Zustand */
.btn .ico { transition: transform .35s var(--ease-spring); display: inline-block; }
.btn:hover .ico { transform: translateX(4px); }
.btn-sun { background: var(--sun); color: var(--night); box-shadow: 0 8px 28px rgba(255,194,26,.32); }
.btn-sun:hover { box-shadow: 0 14px 40px rgba(255,194,26,.5); }
.btn-sun::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform .7s var(--ease-out);
}
.btn-sun:hover::before { transform: translateX(110%); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: var(--sun); color: var(--sun); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--navy-2); }
.link-arrow { font-family: var(--font-d); font-weight: 700; text-decoration: none; color: inherit; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow .ico { transition: transform .3s var(--ease-spring); }
.link-arrow:hover .ico { transform: translateX(5px); }

/* ---------- Reveals ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; } .reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; } .reveal[data-delay="4"] { transition-delay: .4s; }
/* Zeilenweise Text-Enthüllung */
.split .line { display: block; overflow: hidden; }
.split .line > span { display: block; transform: translateY(110%); transition: transform 1s var(--ease-out); }
.split.visible .line > span { transform: none; }
.split.visible .line:nth-child(2) > span { transition-delay: .09s; }
.split.visible .line:nth-child(3) > span { transition-delay: .18s; }

/* ---------- Kicker: nur die Uhrzeit ---------- */
.kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-d); font-weight: 500; font-size: 13.5px; letter-spacing: .3em;
  color: var(--sun); margin-bottom: 22px; font-variant-numeric: tabular-nums;
}
.kicker::after { content: ""; height: 1px; width: 54px; background: currentColor; opacity: .5; }
.kicker.dark { color: #a87c00; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.9);}
.marquee .inner { display: flex; gap: 56px; width: max-content; animation: marquee 30s linear infinite; }
.marquee span { font-family: var(--font-d); font-size: 15px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.marquee span b { color: var(--sun); font-weight: 500; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   STARTSEITE — Himmel & Szenen
   ============================================================ */
#sky { position: fixed; inset: 0; z-index: -4; background: linear-gradient(to bottom, #050b18, #0e1b33); }
#stars { position: fixed; inset: 0; z-index: -3; pointer-events: none; }
#stars .star { position: absolute; background: #fff; border-radius: 50%; animation: twinkle 3.8s ease-in-out infinite; }
@keyframes twinkle { 0%,100% { opacity: .2; } 50% { opacity: .95; } }
#sun-el { position: fixed; z-index: -3; width: 120px; height: 120px; border-radius: 50%; pointer-events: none; }
#sun-glow { position: fixed; z-index: -3; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(255,200,60,.36), transparent 12%); pointer-events: none; }
#horizon { position: fixed; bottom: 0; left: 0; right: 0; z-index: -2; pointer-events: none; }
#horizon svg { display: block; width: 100%; height: 20vh; }

#sun-el,#sun-glow {
  filter: blur(10px);
}

.story-section { position: relative; padding: 16vh 0; }
.hero { min-height: 100vh; display: flex; align-items: center; padding: 0; }
.hero-inner { max-width: 860px; }
.hero h1 { 
  /* font-size: clamp(44px, 7.4vw, 96px); */
  font-size: clamp(34px, 5.2vw, 70px); 
  color: #fff; margin-bottom: 28px; }
.hero h1 em { color: var(--sun); }
.hero p.lead { font-size: clamp(16px, 1.8vw, 20px); color: #c3cfdd; margin-bottom: 40px; max-width: 560px; }
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; }
.scroll-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: #8fa0b3; font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.scroll-hint .stem { width: 1px; height: 52px; background: linear-gradient(to bottom, transparent, var(--sun)); position: relative; overflow: hidden; }
.scroll-hint .stem::after { content: ""; position: absolute; top: -20%; left: 0; width: 100%; height: 20%; background: #fff; animation: drip 1.8s var(--ease-out) infinite; }
@keyframes drip { to { top: 110%; } }

/* Glas-Karten */
.glass { background: var(--glass); backdrop-filter: blur(18px); border: 1px solid var(--line); border-radius: var(--r); color: var(--cream); }
.story-card { padding: clamp(30px, 5vw, 64px); }
.story-card h2 { font-size: clamp(30px, 4.4vw, 52px); color: #fff; margin-bottom: 20px; }
.story-card h2 em { color: var(--sun); }
.story-card p { color: #c3cfdd; font-size: 16.5px; max-width: 640px; }
.story-card p + p { margin-top: 14px; }

/* Sonnenbilanz heute */
#heute { display: none; }
#heute.on { display: block; }
.sunlive { padding: clamp(28px, 4vw, 46px); display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; position: relative; overflow: hidden; }
.sunlive::after { content: ""; position: absolute; top: -80px; right: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,194,26,.18), transparent 65%); }
.sun-gauge { width: 168px; }
.sun-gauge svg { width: 100%; overflow: visible; }
.sunlive .headline { font-family: var(--font-d); font-size: clamp(21px, 2.6vw, 30px); color: #fff; line-height: 1.25; }
.sunlive .headline b { color: var(--sun); font-variant-numeric: tabular-nums; }
.sunlive .sub { color: #9fb0c2; font-size: 13.5px; margin-top: 12px; max-width: 560px; }
.sunlive .figures { display: flex; gap: 40px; margin-top: 22px; flex-wrap: wrap; }
.sunlive .fig b {
  display: inline-flex; align-items: baseline; gap: 9px;
  font-family: var(--font-d); font-variant-numeric: tabular-nums;
  font-size: clamp(48px, 6vw, 76px); line-height: 1; color: #e8a800;
}
.sunlive .fig b .unit { font-size: .3em; font-weight: 500; color: var(--muted-dark); letter-spacing: .01em; }
.sunlive .fig span { font-size: 12.5px; color: #9fb0c2; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 720px) { .sunlive { grid-template-columns: 1fr; } }

/* Statistiken */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-top: 44px; }
.stat { text-align: left; padding: 26px 24px; background: rgba(6,13,27,.55); transition: background .4s; }
.stat:hover { background: rgba(255,194,26,.08); }
.stat .num { font-family: var(--font-d); font-weight: 700; font-size: clamp(26px, 3.2vw, 40px); color: var(--sun); font-variant-numeric: tabular-nums; }
.stat .lbl { font-size: 12.5px; color: #93a1b3; margin-top: 4px; letter-spacing: .04em; }
@media (max-width: 760px) { .stat-row { grid-template-columns: 1fr 1fr; } }

/* Prozess */
.steps { counter-reset: step; margin-top: 40px; }
.step {
  display: grid; grid-template-columns: 70px 1fr auto; gap: 22px; align-items: center;
  padding: 26px 8px; border-bottom: 1px solid var(--line); cursor: default;
  transition: padding .4s var(--ease-out), background .4s;
}
/* .step:hover { padding-left: 22px; background: linear-gradient(90deg, rgba(255,194,26,.06), transparent 60%); } */
.step .n { font-family: var(--font-d); font-weight: 700; font-size: 30px; color: var(--sun); opacity: .9; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.step h3 { color: #fff; font-size: 20px; margin-bottom: 5px; }
.step p { color: #a9b8c8; font-size: 14.5px; max-width: 520px; }
.step .who { font-size: 12.5px; color: var(--sun-soft); letter-spacing: .04em; }
.step .arrow { color: var(--sun); opacity: 0; transform: translateX(-8px); transition: all .35s var(--ease-out); font-size: 20px; }
/* .step:hover .arrow { opacity: 1; transform: none; }
@media (max-width: 640px) { .step { grid-template-columns: 44px 1fr; } .step .arrow { display: none; } } */

/* Energie-Diagramm */
.energy-figure { margin-top: 44px; border-radius: var(--r); background: rgba(4,10,20,.5); border: 1px solid var(--line); padding: 18px; }
.energy-figure svg { width: 100%; height: auto; display: block; }
.wire { stroke: #2c3d54; stroke-width: 2.5; fill: none; stroke-linecap: round; }
.wire-glow { stroke: var(--sun); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-dasharray: 10 14; opacity: 0; transition: opacity 1s; filter: drop-shadow(0 0 6px rgba(255,194,26,.9)); }
.energy-on .wire-glow { opacity: 1; animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }
.pulse-dot { fill: #fff; opacity: 0; }
.energy-on .pulse-dot { opacity: 1; }
.panel-cell { fill: #16283f; stroke: #29415f; stroke-width: 1; transition: fill 1.2s, stroke 1.2s; }
.energy-on .panel-cell { fill: #1f3f66; stroke: var(--sun); }

/* ---------- Rechner ---------- */
.calc-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; margin-top: 44px; }
@media (max-width: 880px) { .calc-grid { grid-template-columns: 1fr; } }
.calc-inputs, .calc-results { padding: clamp(24px, 3vw, 38px); border-radius: var(--r); }
.calc-inputs { background: rgba(255,255,255,.045); border: 1px solid var(--line); }
.calc-results { background: linear-gradient(165deg, rgba(255,194,26,.14), rgba(255,158,44,.05)); border: 1px solid rgba(255,194,26,.3); position: relative; overflow: hidden; }
.field { margin-bottom: 26px; }
.field label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: #dbe4ee; margin-bottom: 10px; font-weight: 600; }
.field label output { color: var(--sun); font-family: var(--font-d); font-size: 17px; font-variant-numeric: tabular-nums; transition: transform .2s var(--ease-spring); display: inline-block; }
.field label output.pop { transform: scale(1.18); }
input[type="range"] { width: 100%; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--sun) var(--val, 50%), rgba(255,255,255,.16) var(--val, 50%)); outline: none; }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sun); border: 3px solid var(--navy); box-shadow: 0 0 0 1.5px var(--sun), 0 4px 14px rgba(255,194,26,.5);
  cursor: grab; transition: transform .25s var(--ease-spring);
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.3); cursor: grabbing; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--sun); border: 3px solid var(--navy); cursor: grab; }
.seg { display: flex; gap: 8px; }
.seg button {
  flex: 1; padding: 11px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255,255,255,.04); color: #dbe4ee; font-weight: 600; cursor: pointer; font-size: 13.5px; font-family: var(--font-b);
  transition: all .3s var(--ease-out);
}
.seg button:hover { border-color: rgba(255,194,26,.5); }
.seg button.sel { background: var(--sun); color: var(--night); border-color: var(--sun); transform: scale(1.03); box-shadow: 0 4px 16px rgba(255,194,26,.3); }
.res-big { text-align: center; padding: 6px 0 20px; border-bottom: 1px dashed rgba(255,194,26,.35); margin-bottom: 16px; }
.res-big .val { font-family: var(--font-d); font-weight: 700; font-size: clamp(40px, 5vw, 60px); color: var(--sun); font-variant-numeric: tabular-nums; }
.res-big .lbl { color: #e5d7ad; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.res-row { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; font-size: 14.5px; color: #e9eef5; border-bottom: 1px solid rgba(255,255,255,.06); }
.res-row b { font-family: var(--font-d); font-size: 17.5px; color: #fff; font-variant-numeric: tabular-nums; }
.autarkie-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.14); overflow: hidden; margin-top: 8px; }
.autarkie-bar .f { height: 100%; background: linear-gradient(to right, var(--amber), var(--sun)); width: 0%; transition: width .6s var(--ease-out); }
.calc-note { font-size: 12px; color: #9aabbd; margin-top: 16px; line-height: 1.55; }

/* Referenz-Teaser (Startseite) */
.ref-teaser { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
@media (max-width: 860px) { .ref-teaser { grid-template-columns: 1fr; } }
.ref-mini {
  padding: 26px; border-radius: 18px; background: rgba(255,255,255,.045); border: 1px solid var(--line);
  transition: transform .45s var(--ease-out), background .4s, border-color .4s; text-decoration: none; display: block;
}
.ref-mini:hover { transform: translateY(-6px); background: rgba(255,194,26,.07); border-color: rgba(255,194,26,.35); }
.ref-mini .kwp { font-family: var(--font-d); font-size: 32px; color: var(--sun); font-variant-numeric: tabular-nums; }
.ref-mini h3 { color: #fff; font-size: 16.5px; margin: 6px 0 2px; }
.ref-mini .loc { color: #93a1b3; font-size: 13px; }
.ref-mini .save { margin-top: 14px; font-size: 13.5px; color: var(--sun-soft); }

/* Team-Vorschau */
.team-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
@media (max-width: 860px) { .team-strip { grid-template-columns: 1fr 1fr; } }
.person { text-align: center; padding: 30px 16px; border-radius: 18px; background: rgba(255,255,255,.045); border: 1px solid var(--line); transition: transform .45s var(--ease-out), background .4s; }
.person:hover { transform: translateY(-6px); background: rgba(255,255,255,.08); }
.avatar {
  width: 82px; height: 82px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center;
  font-family: var(--font-d); font-weight: 700; font-size: 24px; color: var(--night);
  background: radial-gradient(circle at 32% 30%, var(--sun-soft), var(--amber));
  transition: transform .5s var(--ease-spring), box-shadow .4s;
}
.person:hover .avatar, .team-card:hover .avatar { transform: scale(1.08) rotate(3deg); box-shadow: 0 10px 30px rgba(255,158,44,.45); }
.person h3 { color: #fff; font-size: 16px; }
.person .role { color: #93a1b3; font-size: 13px; margin-top: 3px; }
.person .fun { color: var(--sun-soft); font-family: var(--font-b); font-style: italic; font-size: 14.5px; margin-top: 12px; line-height: 1.4; }

/* ---------- FINALE ---------- */
.finale { padding: 4vh 0 0; text-align: center; }
.finale-sticky { position: relative; height: 320vh; }
.finale-viewport { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.finale h2 { font-size: clamp(30px, 4.8vw, 58px); color: #fff; }
.finale h2 em { color: var(--sun); }
.finale .msg { position: absolute; left: 50%; transform: translateX(-50%); width: min(680px, 90vw); opacity: 0; transition: opacity .8s, transform .8s var(--ease-out); }
.finale .msg.top { top: 11vh; }
.finale .msg.show { opacity: 1; }
.finale .msg p { color: #b9c6d5; margin-top: 14px; font-size: 16px; }
.night-scene { width: min(720px, 92vw); position: relative; }
.night-scene svg { width: 100%; height: auto; overflow: visible; }
.moon { opacity: 0; }
.win { fill: #142338; transition: fill .5s, filter .5s; }
.win.on { fill: var(--sun); filter: drop-shadow(0 0 10px rgba(255,194,26,.9)); animation: flicker .45s steps(3) 1; }
@keyframes flicker { 0% { fill: #142338; } 40% { fill: var(--sun); } 60% { fill: #55503a; } 100% { fill: var(--sun); } }
.win-halo { opacity: 0; transition: opacity 1.4s; }
.firefly { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--sun-soft); box-shadow: 0 0 8px 2px rgba(255,215,94,.65); opacity: 0; animation: fly 7s ease-in-out infinite; }
.fireflies-on .firefly { opacity: .8; }
@keyframes fly {
  0%,100% { transform: translate(0,0); } 25% { transform: translate(26px,-30px); }
  50% { transform: translate(-18px,-52px); } 75% { transform: translate(14px,-16px); }
}
.batt-hud {
  position: absolute; right: 6%; top: 16%; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; border-radius: 14px; background: rgba(6,13,27,.7); border: 1px solid var(--line);
  backdrop-filter: blur(10px); opacity: 0; transform: translateY(12px); transition: opacity .7s, transform .7s var(--ease-out);
  font-family: var(--font-d); color: var(--cream); font-size: 13px;
}
.batt-hud.show { opacity: 1; transform: none; }
.batt-hud b { color: var(--sun); font-size: 19px; font-variant-numeric: tabular-nums; }
.batt-ico { width: 26px; height: 14px; border: 2px solid var(--cream); border-radius: 4px; position: relative; }
.batt-ico::after { content: ""; position: absolute; right: -5px; top: 3px; width: 3px; height: 4px; background: var(--cream); border-radius: 1px; }
.batt-ico i { position: absolute; inset: 2px; background: var(--sun); border-radius: 2px; transform-origin: left; animation: drain 6s linear infinite alternate; }
@keyframes drain { from { transform: scaleX(1); } to { transform: scaleX(.35); } }

/* ============================================================
   KONTAKT — Skizzen-Szene
   ============================================================ */
.sketch-wrap { position: relative; height: 380vh; background: var(--night); }
.sketch-view { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sketch-view svg { width: min(1080px, 94vw); height: auto; overflow: visible; }
.sk { stroke: var(--sun); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sk-thin { stroke-width: 1.1; opacity: .75; }
.sk-bold { stroke-width: 4.5; }
.sk-fill { fill: rgba(255,194,26,.07); stroke: none; opacity: 0; transition: opacity 1s; }
.sketch-caption { position: absolute; left: 50%; transform: translateX(-50%); bottom: 9vh; text-align: center; opacity: 0; transition: opacity .8s, transform .8s var(--ease-out); width: min(560px, 88vw); }
.sketch-caption.show { opacity: 1; }
.sketch-caption .addr { font-family: var(--font-d); color: #fff; font-size: clamp(19px, 2.4vw, 26px); }
.sketch-caption .addr em { color: var(--sun); }
.sketch-caption p { color: #93a1b3; font-size: 14px; margin-top: 8px; }
.sketch-kicker { position: absolute; top: 13vh; left: 50%; transform: translateX(-50%); }

/* ============================================================
   UNTERSEITEN (hell / editorial)
   ============================================================ */
body.subpage { background: var(--paper); }
.page-hero { background: var(--night); color: #fff; padding: clamp(150px, 22vh, 220px) 0 90px; position: relative; overflow: hidden; }
@media (max-width: 620px){
.page-hero{padding-top:100px !important;padding-bottom: 200px !important;}
}

.page-hero::before { content: ""; position: absolute; right: -140px; top: -140px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(255,194,26,.22), transparent 62%); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.page-hero h1 { 
  /* font-size: clamp(38px, 6vw, 76px);  */
      font-size: clamp(34px, 5.2vw, 70px);
  max-width: 900px; position: relative; z-index: 1; }
.page-hero h1 em { color: var(--sun); }
.page-hero p { color: #b9c6d5; font-size: 17.5px; max-width: 620px; margin-top: 22px; position: relative; z-index: 1; }
.section { padding: clamp(70px, 11vh, 120px) 0; }
.section.alt { background: var(--paper-2); }
.section h2 { font-size: clamp(28px, 4vw, 48px); margin-bottom: 16px; }
.section .sub { color: var(--muted-dark); font-size: 16.5px; max-width: 620px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 48px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
@media (max-width: 900px) { .cards-3, .cards-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards-3, .cards-4, .cards-2 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border-radius: var(--r); padding: 32px 28px;
  border: 1px solid var(--line-dark); position: relative; overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s, border-color .4s;
}
.card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 54px rgba(16,28,43,.13); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card .icon { font-size: 30px; margin-bottom: 16px; }
.card h3 { font-size: 18.5px; margin-bottom: 8px; }
.card p { color: var(--muted-dark); font-size: 14.5px; }
.card .price { font-family: var(--font-d); font-weight: 700; color: #a87c00; margin-top: 14px; font-size: 15px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { background: #fff; border-radius: var(--r); padding: 38px 28px; text-align: center; border: 1px solid var(--line-dark); transition: transform .5s var(--ease-out), box-shadow .5s; }
.team-card:hover { transform: translateY(-6px); box-shadow: 0 22px 54px rgba(16,28,43,.13); }
.team-card .avatar { width: 100px; height: 100px; font-size: 30px; }
.team-card h3 { font-size: 19px; margin-top: 6px; }
.team-card .role { color: #a87c00; font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 4px 0 12px; }
.team-card p { color: var(--muted-dark); font-size: 14px; }
.team-card .quote { font-family: var(--font-b); font-style: italic; color: #38495c; margin-top: 14px; font-size: 16px; line-height: 1.45; }
.badge-ph { display: inline-block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; background: var(--paper-2); color: var(--muted-dark); border-radius: 999px; padding: 3px 10px; margin-top: 14px; }

/* Zitat-Band */
.quote-band { background: var(--night); color: #fff; padding: clamp(70px, 11vh, 110px) 0; position: relative; overflow: hidden; }
.quote-band::before { content: ""; position: absolute; left: -120px; bottom: -160px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(255,194,26,.14), transparent 62%); }
.quote-band blockquote { font-family: var(--font-d); font-weight: 500; font-size: clamp(24px, 3.4vw, 38px); max-width: 860px; line-height: 1.32; letter-spacing: -.015em; text-wrap: balance; position: relative; z-index: 1; }
.quote-band cite { display: block; margin-top: 22px; color: var(--sun); font-style: normal; font-size: 15px; font-family: var(--font-d); }
.quote-band .stars { color: var(--sun); letter-spacing: 6px; margin-bottom: 20px; font-size: 17px; }

/* CTA-Band */
.cta-band { background: var(--night); color: #fff; padding: clamp(80px, 13vh, 130px) 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 50%; bottom: -260px; transform: translateX(-50%); width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(255,194,26,.2), transparent 60%); }
.cta-band h2 { font-size: clamp(30px, 4.6vw, 54px); position: relative; }
.cta-band h2 em { color: var(--sun); }
.cta-band p { color: #b9c6d5; max-width: 540px; margin: 18px auto 36px; position: relative; }
.cta-band .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* Formulare */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: #38495c; letter-spacing: .03em; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 14px 16px; border-radius: 13px; border: 1.5px solid #d9d3c4;
  font: inherit; font-size: 15px; background: #fff; transition: border-color .3s, box-shadow .3s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 4px rgba(255,194,26,.18); }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted-dark); }
.check-row input { margin-top: 3px; accent-color: var(--sun); }

/* Footer */
.site-footer { background: var(--night); color: #93a1b3; padding: 70px 0 34px; font-size: 14px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 16px; letter-spacing: .06em; }
.site-footer a { color: #93a1b3; text-decoration: none; display: inline-block; padding: 3px 0; position: relative; }
.site-footer a::after { content: ""; position: absolute; left: 0; bottom: 1px; height: 1px; width: 100%; background: var(--sun); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.site-footer a:hover { color: var(--sun); }
.site-footer a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer-grid a { display: block; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; }
.proto-note { font-size: 11.5px; color: #5c6b7d; margin-top: 12px; }

/* ============================================================
   POLISH-PASS — Icon-System, Fokus, Typografie, Kontrast
   ============================================================ */
/* Bespoke SVG-Icons (ersetzen sämtliche Emojis) */
.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.12em; }
.card .icon { color: #a87c00; margin-bottom: 16px; }
.card .icon .ic { width: 34px; height: 34px; stroke-width: 1.6; }
.energy .flow .ic, #hero-game .energy .flow .ic { width: 13px; height: 13px; vertical-align: -2px; }

/* „Neun Gründe": Ledger-Liste statt identischem Kartengrid */
.reasons {
  columns: 2; column-gap: clamp(28px, 5vw, 72px); margin-top: 44px;
  max-width: 1020px;
}
@media (max-width: 760px) { .reasons { columns: 1; } }
.reason {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  break-inside: avoid; padding: 18px 0; border-bottom: 1px solid var(--line-dark);
}
.reason .ric {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 194, 26, .16); color: #a87c00;
}
.reason .ric .ic { width: 21px; height: 21px; }
.reason h3 { font-size: 16.5px; margin-bottom: 3px; }
.reason p { color: #4a5662; font-size: 14px; line-height: 1.55; }

/* Typografie-Politur */
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.story-card p, .section .sub, .card p, .reason p { max-width: 68ch; }

/* Kontrast-Anhebungen (WCAG AA) */
.card p { color: #4a5662; }
.section .sub { color: #4f5c69; }
.site-footer .proto-note, .proto-note { color: #7c8894; }
.calc-note { color: #a9b8c8; }
.hg-hint, #hero-game .hg-hint { color: #6d7883; }

/* Sichtbarer Tastatur-Fokus überall */
:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible, .main-nav a:focus-visible, .hg-cta:focus-visible {
  outline: 2px solid var(--sun); outline-offset: 3px;
}
.seg button:focus-visible { outline-offset: 1px; }
input[type="range"]:focus-visible { outline-offset: 6px; }

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  #grain, #cursor-dot, #cursor-ring { display: none; }
  /* Inhalt darf nie unsichtbar bleiben, falls Reveal-Klassen nicht greifen */
  .reveal { opacity: 1 !important; transform: none !important; }
  .split .line > span { transform: none !important; }
}

/* ============================================================
   STARTSEITE — Interaktiver Hero (Partikel-Sonne → Solardach)
   ============================================================ */
#hero-game {
  position: relative; height: 100vh; overflow: hidden;
  background:
    radial-gradient(900px 640px at 82% 12%, rgba(255,214,110,.5), rgba(255,214,110,0) 62%),
    linear-gradient(to bottom, #dcebf4 0%, #eef3ee 52%, #f4f1e2 100%);
}
#hero-game .hg-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
#hero-game .hg-bg svg { position: absolute; bottom: 0; left: 0; width: 100%; height: 46vh; display: block; }
#hero-game .hg-title { 
  /* position: absolute; z-index: 1; left: 6vw; top: 24vh;  */
  max-width: 620px; pointer-events: none; user-select: none; }
#hero-game .hg-title h1 { font-family: var(--font-d); font-weight: 700; letter-spacing: -.03em; line-height: 1.04; font-size: clamp(34px, 5.2vw, 70px); color: #3c4650; }
#hero-game .hg-title h1 em { font-family: var(--font-d); font-style: normal; font-weight: 700; color: #e8a800; }
#hero-game .hg-title p { margin-top: 16px; font-size: clamp(14px, 1.4vw, 17px); color: #7c8894; max-width: 440px; line-height: 1.6; }
#hero-game .hg-canvas { position: absolute; inset: 0; z-index: 2; }
#hero-game .hg-halo {
  position: absolute; z-index: 1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255,212,80,.6) 0%, rgba(255,196,45,.32) 34%,
    rgba(255,190,35,.12) 62%, rgba(255,190,35,0) 72%);
  transform: translate(-50%,-50%);
  animation: halo-breathe 3.6s ease-in-out infinite;
}
@keyframes halo-breathe {
  0%,100% { transform: translate(-50%,-50%) scale(1); }
  50% { transform: translate(-50%,-50%) scale(1.045); }
}
#hero-game .hg-ui { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
#hero-game .hg-hint {
  position: absolute; bottom: 64px; left: 50%; transform: translateX(-50%);
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: #8b96a0; text-align: center; white-space: nowrap;
}
#hero-game .energy {
  position: absolute; right: 4vw; bottom: 10vh; width: min(280px, 44vw); text-align: right;
  padding: 18px 22px; border-radius: 20px;
  background: rgba(255,255,255,.78); backdrop-filter: blur(14px);
  border: 1px solid rgba(60,70,80,.1); box-shadow: 0 12px 40px rgba(40,50,60,.14);
}
#hero-game .energy .pct {
  font-family: var(--font-d); font-weight: 700; font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -.03em; color: #3c4650; font-variant-numeric: tabular-nums; line-height: 1;
  transition: color .4s;
}
#hero-game .energy.feeding .pct { color: #e8a800; text-shadow: 0 0 34px rgba(255,194,26,.55); }
#hero-game .energy .lbl { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #8b96a0; margin: 6px 0 10px; }
#hero-game .energy .bar { height: 10px; border-radius: 5px; background: rgba(60,70,80,.16); overflow: hidden; box-shadow: inset 0 1px 3px rgba(0,0,0,.08); }
#hero-game .energy .bar i { display: block; height: 100%; width: 0%; background: linear-gradient(to right, var(--amber), var(--sun)); border-radius: 5px; transition: width .15s linear; }
#hero-game .energy.feeding .bar i { box-shadow: 0 0 18px 3px rgba(255,194,26,.85); }
#hero-game .energy.full .bar i { animation: hg-pulse 1.4s ease-in-out infinite; }
@keyframes hg-pulse { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.35); } }
#hero-game .energy .flow { margin-top: 8px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #e8a800; opacity: 0; transition: opacity .3s; }
#hero-game .energy.feeding .flow { opacity: 1; animation: hg-blink 1.1s ease-in-out infinite; }
@keyframes hg-blink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
#hero-game .hg-glow {
  position: absolute; left: 44%; bottom: 0; width: 34%; height: 38%;
  background: radial-gradient(closest-side, rgba(255,194,26,.4), transparent 70%);
  opacity: 0; transition: opacity .5s; filter: blur(6px);
}
#hero-game .hg-cta {
  position: absolute; left: 50%; bottom: 110px; transform: translate(-50%, 16px);
  pointer-events: auto; text-decoration: none;
  font-family: var(--font-d); font-weight: 700; font-size: 15px; color: var(--night);
  background: var(--sun); border-radius: 999px; padding: 16px 32px;
  box-shadow: 0 10px 34px rgba(255,194,26,.5);
  opacity: 0; transition: opacity .6s, transform .6s var(--ease-out);
}
#hero-game .hg-cta.show { opacity: 1; transform: translate(-50%, 0); }
#hero-game .hg-cta:hover { transform: translate(-50%, -3px); }
#hero-game .hg-skip {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  pointer-events: auto; font-size: 12px; color: #9aa5af; text-decoration: none;
  border-bottom: 1px solid rgba(154,165,175,.4); padding-bottom: 2px;
}
#hero-game .hg-skip:hover { color: #3c4650; border-color: #3c4650; }
@media (max-width: 720px) {
  #hero-game .hg-title { top: 13vh; left: 7vw; right: 7vw; }
  #hero-game .hg-hint { white-space: normal; width: 86vw; }
}

/* SVG-Bewertungssterne */
.quote-band .stars { display: flex; gap: 6px; letter-spacing: 0; }
.quote-band .stars .ic { width: 19px; height: 19px; color: var(--sun); }

/* ============================================================
   V6-ÄNDERUNGEN — Kundenfeedback
   ============================================================ */
/* Finale: bündig zur welligen Horizont-Grafik, CTA statt Titel */
.finale { padding: 6vh 0 0; }
.finale-sticky { height: 220vh; }
.finale-viewport { justify-content: flex-end; padding-bottom: 4vh; }
.night-scene { width: min(760px, 94vw); }
.finale-cta {
  position: absolute; left: 50%; bottom: 26vh;
  transform: translate(-50%, 18px); opacity: 0;
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.finale-cta.show { opacity: 1; transform: translate(-50%, 0); }

/* Referenz-Teaser mit Platzhalterbildern */
.ref-mini { padding: 0 0 24px; overflow: hidden; }
.ref-thumb { margin: 0 0 18px; }
.ref-thumb svg { display: block; width: 100%; height: auto; }
.ref-mini .kwp, .ref-mini h3, .ref-mini .loc, .ref-mini .save { padding: 0 24px; }

/* Kundenfoto-Platzhalter in Rezensionen */
.quote-band .wrap { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
@media (max-width: 640px) { .quote-band .wrap { grid-template-columns: 1fr; } }
.quote-avatar {
  width: 92px; height: 92px; border-radius: 50%; flex: none;
  border: 2px dashed rgba(255,194,26,.5); display: grid; place-items: center;
  color: rgba(255,194,26,.8); position: relative;
}
.quote-avatar .ic { width: 36px; height: 36px; }
.quote-avatar small {
  position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}

/* Qualitätsrad (Montagesysteme) */
.wheel-wrap { position: relative; height: 300vh; }
.wheel-view {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.wheel-stage { position: relative; width: min(640px, 90vw); aspect-ratio: 1; }
.wheel-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-dark); }
.wheel-ring::before {
  content: ""; position: absolute; inset: 14%; border-radius: 50%;
  border: 1px dashed rgba(16,28,43,.15);
}
.wheel-marker {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0; border-left: 11px solid transparent; border-right: 11px solid transparent;
  border-top: 14px solid var(--sun); filter: drop-shadow(0 2px 6px rgba(255,194,26,.5));
}
#wheel { position: absolute; inset: 0; will-change: transform; }
.wheel-item {
  position: absolute; top: 50%; left: 50%; width: 150px; margin: -21px 0 0 -75px;
  text-align: center; font-family: var(--font-d); font-weight: 700; font-size: 14px;
  color: var(--muted-dark); transition: color .3s, opacity .3s;
  opacity: .45; line-height: 1.25;
}
.wheel-item.on { color: var(--ink); opacity: 1; }
.wheel-item.on .dot { background: var(--sun); box-shadow: 0 0 12px rgba(255,194,26,.8); }
.wheel-item .dot {
  display: block; width: 10px; height: 10px; border-radius: 50%;
  background: rgba(16,28,43,.2); margin: 0 auto 8px; transition: background .3s, box-shadow .3s;
}
.wheel-center {
  position: absolute; inset: 26%; border-radius: 50%;
  background: #fff; border: 1px solid var(--line-dark);
  box-shadow: 0 18px 60px rgba(16,28,43,.12);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 8%;
}
.wheel-center h3 { font-size: clamp(17px, 2.2vw, 23px); margin-bottom: 10px; transition: opacity .25s; }
.wheel-center p { font-size: clamp(12.5px, 1.4vw, 14.5px); color: #4a5662; transition: opacity .25s; max-width: 30ch; }
.wheel-center.fade h3, .wheel-center.fade p { opacity: 0; }
.wheel-title { text-align: center; margin-bottom: 0; }
@media (max-width: 640px) {
  .wheel-item { width: 110px; margin-left: -55px; font-size: 12px; }
}

/* Kontakt: Skizze — Caption unterhalb, nichts ragt hinein */
.sketch-view { flex-direction: column; gap: 3vh; }
.sketch-view svg { width: min(940px, 90vw); }
.sketch-caption { position: static; transform: none; margin-top: 0; }
.sketch-kicker { opacity: 0; transition: opacity .8s; }
.sketch-kicker.show { opacity: 1; }
#sk-name { opacity: 0; transition: opacity 1s; }
#sk-name.show { opacity: 1; }

/* Kontakt: Ansprechpartnerin mit Foto-Platzhalter */
.contact-person { display: flex; gap: 16px; align-items: center; margin-top: 14px; }
.contact-person .avatar { width: 64px; height: 64px; font-size: 20px; margin: 0; flex: none; }
.contact-person .who-name { font-family: var(--font-d); font-weight: 700; font-size: 15px; color: var(--ink); }
.contact-person .who-role { font-size: 12.5px; color: var(--muted-dark); }
.contact-person .badge-ph { margin-top: 4px; }

/* Referenzen: Projekte nebeneinander */
.projects {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px; margin-top: 48px;
}
.project {
  background: #fff; border: 1px solid var(--line-dark); border-radius: var(--r);
  overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s;
}
.project:hover { transform: translateY(-6px); box-shadow: 0 22px 54px rgba(16,28,43,.13); }
.project-scene {
  background: linear-gradient(to bottom, #e7f0f6 0%, #eef2ea 70%, #dfe8d8 100%);
  border-bottom: 1px solid var(--line-dark);
}
.project-scene svg { display: block; width: 100%; height: auto; }
.project-body { padding: 22px 24px 26px; }
.project-body h3 { font-size: 18px; }
.project-meta { color: #a87c00; font-weight: 600; font-size: 12.5px; letter-spacing: .04em; margin: 4px 0 16px; }
.project-facts { display: flex; gap: 22px; flex-wrap: wrap; }
.project-facts div { margin: 0; }
.project-facts dt { font-size: 11px; color: var(--muted-dark); text-transform: uppercase; letter-spacing: .07em; }
.project-facts dd { font-family: var(--font-d); font-weight: 700; font-size: 17px; margin: 2px 0 0; font-variant-numeric: tabular-nums; }

/* ════════════════════════════════════════════════════════════
   REGISTER-WECHSEL „ANTIGRAVITY" — Override-Layer
   Reines Weiß, große leichte Typo, Medien-Kacheln statt Boxen,
   Hairline-Pills, viel Freiraum. Gelb bleibt das einzige Signal.
   ════════════════════════════════════════════════════════════ */
:root {
  --paper: #ffffff;
  --paper-2: #f6f7f8;
  --ink: #1b1c1e;
  --muted-dark: #5f6368;
  --gold-ink: #3a7db7 !important;
  --line-dark: rgba(27, 28, 30, .1);
  --r: 24px;
}

/* Textur raus — cleane Flächen */
#grain { display: none; }

/* ---------- Typografie: groß, aber leicht ---------- */
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -.015em; }
h1 em, h2 em, h3 em { font-style: normal; font-weight: 500; color: var(--gold-ink); }
h2 em{font-weight: 700;}
.page-hero h1 em, .glass em, .quote-band em, .cta-band em,
.hg-title h1 em, .finale em { color: var(--sun); }
.section h2 { font-size: clamp(32px, 4.4vw, 56px); margin-bottom: 20px; }
.section .sub { font-size: 17px; color: var(--muted-dark); }
body { line-height: 1.7; }

/* ---------- Header: weiß, Hairline, ruhig ---------- */
.site-header, body.subpage .site-header { background: rgba(255,255,255,.86); backdrop-filter: blur(14px); }
.site-header { border-bottom: 1px solid transparent; }
.site-header.scrolled, body.subpage .site-header {
  background: rgba(255,255,255,.92); box-shadow: none; border-bottom: 1px solid var(--line-dark);
}
.main-nav a { color: var(--ink); }
.main-nav a.active { color: var(--gold-ink); }
.main-nav a:not(.cta)::after { background: var(--ink); }
.nav-toggle span { background: var(--ink); }
@media (max-width: 940px) {
  .main-nav { background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line-dark); }
}
.logo-chip { background: transparent; box-shadow: none; padding: 0; border-radius: 0; }
.logo-chip:hover { transform: none; }

/* Startseite: Header über der hellen Landschaft ebenfalls hell */
body#home .site-header .main-nav a { color: var(--ink); }
/* Uhr-HUD bleibt hell — es liegt über dem (teils dunklen) Himmel */
body#home #clock { color: var(--cream); text-shadow: 0 1px 8px rgba(6,13,27,.5); }

/* ---------- Buttons: flache Pills, kein Glow ---------- */
.btn { box-shadow: none; font-weight: 500; padding: 14px 28px; }
.btn-sun { box-shadow: none; }
.btn-sun::before { display: none; }
.btn-sun:hover { box-shadow: none; background: #ffcf47; }
.btn-ghost { border: 1px solid var(--line-dark); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(27,28,30,.04); }
.page-hero .btn-ghost, .cta-band .btn-ghost, .quote-band .btn-ghost {
  border-color: rgba(238,242,248,.3); color: var(--cream);
}
.main-nav a.cta { box-shadow: none; font-weight: 500; }
.main-nav a.cta:hover { transform: none; box-shadow: none; background: #ffcf47; }
.hg-cta { box-shadow: 0 6px 24px rgba(255,194,26,.3); font-weight: 500; }
.link-arrow { font-weight: 500; }

/* ---------- Seiten-Hero: weiß, riesig, still ---------- */
.page-hero { background: #fff; color: var(--ink); padding: clamp(170px, 26vh, 260px) 0 clamp(70px, 10vh, 110px); }
.page-hero::before, .page-hero::after { display: none; }
.page-hero h1 { 
  /* font-size: clamp(44px, 6.6vw, 92px);  */
      font-size: clamp(34px, 5.2vw, 70px);
  max-width: 1000px; }
.page-hero p { color: var(--muted-dark); font-size: 18px; max-width: 580px; margin-top: 26px; }
.page-hero .kicker { color: var(--muted-dark); }

/* Kicker generell entschärfen: kleine graue Meta-Zeile statt Eyebrow */
.kicker, .kicker.dark {
  letter-spacing: 0; text-transform: none; font-family: var(--font-b);
  font-weight: 500; font-size: 14px; color: var(--muted-dark); gap: 0;
}
.kicker::after { display: none; }
.glass .kicker { color: var(--muted); }

/* ---------- Sektionen: deutlich mehr Luft ---------- */
.section { padding: clamp(90px, 14vh, 160px) 0; }
.section.alt { background: #fff; }
.section.alt + .section, .section + .section.alt { padding-top: 0; }

/* ---------- Karten → stille Spalten (Text unter Icon, keine Boxen) ---------- */
.cards-2, .cards-3, .cards-4 { gap: clamp(28px, 4vw, 56px); margin-top: 56px; }
.card { background: transparent; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.card::after { display: none; }
.card:hover { transform: none; box-shadow: none; }
.card .icon { color: var(--ink); margin-bottom: 18px; }
.card .icon .ic { width: 28px; height: 28px; stroke-width: 1.6; }
.card h3 { font-size: 18px; font-weight: 500; }
.card p { color: var(--muted-dark); font-size: 15px; margin-top: 6px; }
.card .price { color: var(--ink); font-weight: 500; margin-top: 14px; }

/* „Warum SolMetall"-Ledger ruhiger */
.reasons { margin-top: 56px; }
.reason { border-bottom: 1px solid var(--line-dark); padding: 22px 0; }
.reason .ric { background: transparent; color: var(--ink); width: 32px; height: 32px; border-radius: 0; }
.reason .ric .ic { width: 24px; height: 24px; stroke-width: 1.6; }
.reason h3 { font-weight: 500; }
.reason p { color: var(--muted-dark); }

/* ---------- Referenzen: Medien-Kachel + Caption darunter ---------- */
.projects { gap: clamp(28px, 3.5vw, 48px) clamp(22px, 2.5vw, 36px); margin-top: 64px; }
.project { background: transparent; border: 0; border-radius: 0; overflow: visible; }
.project:hover { transform: none; box-shadow: none; }
.project-scene {
  border: 0; border-radius: var(--r); overflow: hidden;
  background: linear-gradient(to bottom, #e9f1f6 0%, #eef2ea 70%, #e2e9da 100%);
  transition: transform .5s var(--ease-out);
}
.project:hover .project-scene { transform: translateY(-4px); }
.project-body { padding: 22px 4px 0; }
.project-body h3 { font-size: 20px; font-weight: 500; }
.project-meta { color: var(--muted-dark); font-weight: 400; letter-spacing: 0; font-size: 14px; margin: 6px 0 18px; }
.project-facts dt { color: #8a8f94; }
.project-facts dd { font-weight: 500; }

/* Startseiten-Referenz-Teaser im selben Muster */
.ref-mini { background: transparent; border: 0; border-radius: 0; }
.ref-mini:hover { transform: none; background: transparent; border-color: transparent; }
.ref-thumb { border-radius: 18px; overflow: hidden; transition: transform .5s var(--ease-out); }
.ref-mini:hover .ref-thumb { transform: translateY(-4px); }
.ref-mini .kwp, .ref-mini h3, .ref-mini .loc, .ref-mini .save { padding: 0 4px; }

/* ---------- Team: boxlos, linksbündig, luftig ---------- */
.team-grid { gap: clamp(36px, 4vw, 60px) clamp(24px, 3vw, 44px); margin-top: 64px; }
.team-card { background: transparent; border: 0; padding: 0; text-align: left; box-shadow: none; }
.team-card:hover { transform: none; box-shadow: none; }
.team-card .avatar { margin: 0 0 16px; width: 88px; height: 88px; font-size: 26px; box-shadow: none; }
.team-card:hover .avatar { transform: none; box-shadow: none; }
.team-card h3 { font-weight: 500; }
.team-card .role { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--muted-dark); font-weight: 400; margin: 2px 0 10px; }
.team-card p { font-size: 14.5px; }
.badge-ph { background: #f1f2f3; }

/* ---------- Zitat & CTA: dunkle Rund-Panels im weißen Fluss ---------- */
.quote-band, .cta-band { background: transparent; padding: clamp(40px, 7vh, 80px) 0; }
.quote-band::before, .cta-band::before { display: none; }
.quote-band .wrap, .cta-band .wrap {
  background: var(--night); border-radius: 32px;
  padding: clamp(56px, 8vw, 104px) clamp(28px, 6vw, 96px);
}
.cta-band h2 { font-weight: 500; }
.quote-band blockquote { font-family: var(--font-d); font-style: normal; font-weight: 500; }

/* ---------- Startseite: Glass-Karten großzügiger ---------- */
.glass { border-radius: 28px; }
.story-card { padding: clamp(38px, 6vw, 80px); }
.story-section { padding: clamp(16vh, 18vh, 22vh) 0; }
.story-card h2 { font-weight: 700; }
.hg-title h1 { font-weight: 500; }
.energy, #hero-game .energy { border-radius: 24px; }
.calc-inputs, .calc-results { border-radius: 24px; }

/* Rad: Fokus-Typo leichter */
.wheel-center h3, .wheel-item { font-weight: 500; }

/* Footer: mehr Luft */
.site-footer { padding: 90px 0 40px; }

/* ════════════════════════════════════════════════════════════
   FEINSCHLIFF FÜR DIE KUNDENPRÄSENTATION (v8)
   ════════════════════════════════════════════════════════════ */

/* 1) Hero → Seite: nahtloser Übergang. Der Himmel startet jetzt hell
   (siehe main.js); zusätzlich blendet der Hero unten weich aus. */
#hero-game::after {
  /* content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 140px;
  background: linear-gradient(to bottom, rgba(220,235,244,0), #dcebf4 92%);
  pointer-events: none; z-index: 4; */
}

/* 2/3) Modulkästen hell: Glass-Karten in heller Farbgebung */
#home .glass {
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(27, 28, 30, .08);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(20, 40, 70, .10);
}
#home .story-card h2, #home .sunlive .headline, #home .step h3 { color: var(--ink); }
#home .story-card h2 em { color: var(--gold-ink); }
#home .story-card p, #home .step p { color: #4a5662; }
#home .glass .kicker { color: var(--muted-dark); }
#home .step { border-bottom: 1px solid rgba(27,28,30,.1); }
/* #home .step:hover { background: linear-gradient(90deg, rgba(255,194,26,.10), transparent 60%); } */
#home .step .who { color: var(--gold-ink); }
#home .stat-row { background: rgba(27,28,30,.08); border-color: rgba(27,28,30,.08); }
#home .stat { background: rgba(255,255,255,.7); }
#home .stat .num { color: var(--gold-ink); }
#home .stat .lbl { color: var(--muted-dark); }
#home .calc-inputs { background: #f6f7f8; border: 1px solid rgba(27,28,30,.08); }
#home .field label { color: var(--ink); }
#home .field label output { color: var(--gold-ink); }
#home input[type="range"] { background: linear-gradient(to right, var(--sun) var(--val, 50%), rgba(27,28,30,.14) var(--val, 50%)); }
#home input[type="range"]::-webkit-slider-thumb { border-color: #fff; }
#home .seg button { background: #fff; border-color: rgba(27,28,30,.14); color: var(--ink); }
#home .calc-results { background: linear-gradient(165deg, rgba(255,194,26,.18), rgba(255,158,44,.06)); border-color: rgba(200,150,20,.3); }
#home .res-big .lbl { color: #8a6d1a; }
#home .res-row { color: var(--ink); border-color: rgba(27,28,30,.08); }
#home .res-row b { color: var(--ink); }
#home .res-big .val { color: var(--gold-ink); }
#home .autarkie-bar { background: rgba(27,28,30,.12); }
#home .calc-note { color: var(--muted-dark); }
#home .ref-mini h3 { color: var(--ink); }
#home .ref-mini .loc { color: var(--muted-dark); }
#home .ref-mini .save { color: var(--gold-ink); }
#home .ref-mini .kwp { color: var(--gold-ink); }
#home .person { background: #f6f7f8; border: 1px solid rgba(27,28,30,.06); border-radius: 18px; }
#home .person h3 { color: var(--ink); }
#home .person .role { color: var(--muted-dark); }
#home .sunlive .sub { color: var(--muted-dark); }
#home .sunlive::after { background: radial-gradient(circle, rgba(255,194,26,.22), transparent 65%); }
#home .sun-gauge svg path:first-child { stroke: rgba(27,28,30,.1); }

/* 4) Sonnenbilanz: Zahlen groß & gelb, Einheiten klein und still */
.sunlive .num-sun {
  color: #e8a800; font-size: clamp(48px, 6vw, 76px); line-height: 1;
  display: inline-flex; align-items: baseline; gap: 9px;
  font-family: var(--font-d); font-variant-numeric: tabular-nums;
}
.sunlive .num-sun .unit {
  color: var(--muted-dark); font-size: .3em; font-weight: 500; letter-spacing: .01em;
}
.sunlive .headline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; }
.sunlive .fig > span:last-child { display: block; margin-top: 8px; }

/* 5) Video-Platzhalter */
.video-ph {
  position: relative; aspect-ratio: 16 / 7.2; border-radius: var(--r); overflow: hidden;
  background:
    radial-gradient(700px 360px at 78% 18%, rgba(255,194,26,.25), transparent 60%),
    linear-gradient(150deg, #12233c, #060d1b);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  cursor: pointer;
}
.video-ph .vp-play {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sun); color: var(--night);
  transition: transform .35s var(--ease-spring);
}
.video-ph:hover .vp-play { transform: scale(1.08); }
.video-ph .vp-play .ic { width: 34px; height: 34px; margin-left: 4px; }
.video-ph .vp-label { color: var(--cream); font-family: var(--font-d); font-weight: 500; font-size: clamp(16px, 2vw, 21px); }
.video-ph .vp-badge {
  position: absolute; top: 20px; left: 20px; font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--cream); border: 1px solid rgba(238,242,248,.3);
  border-radius: 999px; padding: 5px 12px;
}

/* 6) Qualitätsrad: markenfarben, weicher, edler */
.wheel-ring { border: 0; background: radial-gradient(closest-side, transparent 78%, #f0f1f3 78%, #f0f1f3 100%); }
.wheel-ring::before { border: 0; }
.wheel-marker {
  border: 0; width: 16px; height: 16px; top: -8px; border-radius: 50%;
  background: var(--sun); box-shadow: 0 0 0 5px rgba(255,194,26,.25), 0 0 18px rgba(255,194,26,.7);
}
.wheel-item {
  width: auto; min-width: 0; margin: -19px 0 0 -76px; width: 152px;
  background: #fff; border: 1px solid var(--line-dark); border-radius: 999px;
  padding: 9px 10px; font-size: 12.5px; font-weight: 500; opacity: .7;
  box-shadow: 0 2px 10px rgba(16,28,43,.05);
  transition: background .35s, color .35s, opacity .35s, box-shadow .35s, border-color .35s;
}
.wheel-item .dot { display: none; }
.wheel-item.on {
  background: var(--sun); border-color: var(--sun); color: var(--night); opacity: 1;
  box-shadow: 0 8px 26px rgba(255,194,26,.4);
}
.wheel-center {
  background: var(--night); border: 0;
  box-shadow: 0 24px 70px rgba(6,13,27,.35);
}
.wheel-center h3 { color: var(--sun); font-weight: 500; }
.wheel-center p { color: var(--cream); }

/* 7) Kontakt: Szene deutlich heller */
.sketch-wrap { background: linear-gradient(to bottom, #1b3050, #24405f); }
.sketch-caption .addr { color: #fff; }
.sketch-caption .addr em { color: var(--sun); }

/* 8) Referenzen: Fotoplatzhalter statt Zeichnungen */
.photo-ph {
  aspect-ratio: 420 / 300; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(160deg, #e8ecf1, #d8dee6);
  color: #8a93a0;
}
.photo-ph .ic { width: 44px; height: 44px; }
.photo-ph span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }

/* 9) Cursor: minimalistische Sonne (Ring + Strahlen, kein Punkt) */
#cursor-dot { display: none; }
#cursor-ring {
  width: 26px; height: 26px; border: 1.5px solid var(--sun);
}
#cursor-ring::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  background: repeating-conic-gradient(var(--sun) 0deg 4deg, transparent 4deg 45deg);
  -webkit-mask: radial-gradient(closest-side, transparent 62%, #000 63%);
          mask: radial-gradient(closest-side, transparent 62%, #000 63%);
}
#cursor-ring.hovering { width: 40px; height: 40px; border-color: var(--sun); }
#cursor-ring.pressed { width: 20px; height: 20px; }

/* 10) Team: große Foto-Platzhalter für Nähe */
.team-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.team-card .avatar {
  width: 100%; max-width: 260px; height: auto; aspect-ratio: 1;
  border-radius: 20px; font-size: 44px; margin: 0 0 18px;
}

/* Uhr-HUD: tagsüber dunkel auf hellem Himmel, nachts hell */
body#home #clock { color: var(--muted-dark); text-shadow: none; }
body#home #clock .track { background: rgba(27,28,30,.18); }
body#home #clock.night { color: var(--cream); text-shadow: 0 1px 8px rgba(6,13,27,.5); }
body#home #clock.night .track { background: rgba(255,255,255,.2); }

/* Beide Schriftzüge in der Skizze blenden gemeinsam ein */
.sk-fadename { opacity: 0; transition: opacity 1s; }
.sk-fadename.show { opacity: 1; }

/* ════════════════════════════════════════════════════════════
   OPTIMIERUNGS-PASS (v9) — Analyse-Punkte A1–D
   ════════════════════════════════════════════════════════════ */

/* A4: Finale-CTA unter der Nachtszene statt mitten auf dem Haus —
   die Szene rückt dafür leicht nach oben und bleibt ungestört sichtbar */
.finale .night-scene { margin-bottom: 84px; }
.finale-cta { top: auto; bottom: 3vh; }

/* A3/B4: Hero-Skip-Link mit ausreichend Kontrast */
#hero-game .hg-skip { color: #5f6368; border-color: rgba(95, 99, 104, .45); }

/* B4: Mobiler Hero — Energy-Panel zentriert & kompakt, Hint entfällt
   (der Autopilot erklärt sich selbst), CTA verdrängt das Panel */
@media (max-width: 720px) {
  #hero-game .hg-hint { display: none; }
  #hero-game .energy {
    right: auto; left: 50%; transform: translateX(-50%);
    bottom: 92px; width: min(300px, 86vw);
    text-align: center; padding: 14px 20px;
  }
  #hero-game .energy .pct { font-size: 34px; }
  #hero-game.cta-on .energy { display: none; }
  #hero-game .hg-cta { bottom: 120px; }
}

/* B1: Kontakt — Adress-Kicker lesbar auf dunkler Skizze */
.sketch-wrap .kicker { color: var(--cream); }

/* B2: Kontakt — kürzere Scrollstrecke + jederzeit sichtbarer Formular-Zugang */
.sketch-wrap { height: 280vh; }
.sketch-skip {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  font-size: 12px; color: #b9c6d5; text-decoration: none; z-index: 5;
  border-bottom: 1px solid rgba(185, 198, 213, .45); padding-bottom: 2px;
}
.sketch-skip:hover { color: #fff; border-color: #fff; }

/* B3: Qualitätsrad mobil — Pills und Zentrum bleiben vollständig sichtbar
   Geometrie bei 390px: Stage 366 · Pillradius 141 · Pillbreite 80 (innen 101)
   · Zentrum r≈95 — nichts überlappt, nichts wird abgeschnitten */
@media (max-width: 640px) {
  .wheel-stage { width: min(640px, calc(100vw - 24px)); }
  .wheel-item { width: 80px; margin: -15px 0 0 -40px; font-size: 10px; padding: 6px 6px; line-height: 1.2; }
  .wheel-center { inset: 24%; padding: 5%; }
  .wheel-center h3 { font-size: 14px; margin-bottom: 5px; }
  .wheel-center p { font-size: 11px; line-height: 1.45; }
}

/* B5: Foto-Platzhalter vereinheitlicht — neutrale Foto-Sprache wie bei den
   Referenzen; Gelb bleibt dem Energie-/Interaktionssignal vorbehalten */
.avatar {
  background: linear-gradient(160deg, #e8ecf1, #d8dee6);
  color: #8a93a0;
}
.person:hover .avatar, .team-card:hover .avatar { box-shadow: 0 10px 30px rgba(16, 28, 43, .14); }
.team-card .avatar { position: relative; font-size: 36px; }
.team-card .avatar:not(:has(img))::after {
  content: "Foto folgt";
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8a93a0;
}
.team-card .avatar-more { background: var(--night); color: var(--sun); }
.team-card .avatar-more::after { display: none; }



  .avatar {
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* B6: Adaptiver Header — dunkelt über dunklen Vollflächen ab (Skizze, Finale, Footer) */
.site-header.over-dark, body.subpage .site-header.over-dark {
  background: rgba(6, 13, 27, .78); backdrop-filter: blur(16px);
  border-bottom-color: var(--line); box-shadow: none;
}
.site-header.over-dark .main-nav a,
body#home .site-header.over-dark .main-nav a { color: var(--cream); }
.site-header.over-dark .main-nav a.active,
body#home .site-header.over-dark .main-nav a.active { color: var(--sun); }
.site-header.over-dark .main-nav a:not(.cta)::after { background: var(--sun); }
.site-header.over-dark .nav-toggle span { background: #fff; }
.site-header.over-dark .logo-fallback { color: #fff; }
.site-header.over-dark .logo-fallback span { color: var(--sun); }
@media (max-width: 940px) {
  .site-header.over-dark .main-nav { background: rgba(6, 13, 27, .97); border-bottom: 1px solid var(--line); }
}

/* B7: Hero-Headline-Akzent AA-konform auf hellem Morgenhimmel */
#hero-game .hg-title h1 em { color: #d99b00; }

/* Sonnenbilanz: Die ZAHLEN (kWh, €) groß & gelb — die generische
   .fig-span-Regel (12.5px, grau, uppercase) hatte auch die Zahlen-Spans
   innerhalb von <b> erfasst; hier gezielt zurückgesetzt */
.sunlive .fig b span:first-child {
  font-size: inherit; color: inherit;
  text-transform: none; letter-spacing: normal;
}

/* Referenz-Teaser (Startseite): Foto-Platzhalter statt gezeichneter Grafiken */
.ref-thumb.photo-ph { aspect-ratio: 16 / 9; }

/* ════════════════════════════════════════════════════════════
   FLÄCHEN-PASS (v10) — Kundenfeedback Runde 2
   Weg vom Kastendesign: Vollbreiten-Flächen statt schwebender
   Karten, weiße Ein-/Ausblendung über dem Sonnenhimmel,
   helle Abbinder statt dunkler Kästen.
   ════════════════════════════════════════════════════════════ */

/* ---------- Startseite: Sektionen als bündige weiße Flächen ---------- */
#home .story-section {
  /* margin: 12vh 0; */
  padding: clamp(80px, 8vh, 130px) 0;
  background: rgba(255,255,255,.5);
}
#home .glass {
  background: transparent; border: 0; box-shadow: none; border-radius: 0;
  backdrop-filter: none;
}
#home .story-card { padding: 0; }
#home .sunlive { padding: 0; }

/* ---------- Abbinder: helle Flächen statt dunkler Kästen ---------- */
.quote-band, .cta-band {
  background: #f6f7f8; color: var(--ink);
  padding: clamp(70px, 10vh, 110px) 0;
}
.quote-band .wrap, .cta-band .wrap {
  background: transparent; border-radius: 0;
  padding: 0;
}
.quote-band blockquote { color: var(--ink); }
.quote-band cite { color: var(--gold-ink); }
.quote-band em, .cta-band em,
.cta-band h2 em { color: var(--gold-ink); }
.cta-band h2 { color: var(--ink); }
.cta-band p { color: var(--muted-dark); }
.cta-band .btn-ghost, .quote-band .btn-ghost {
  border-color: var(--line-dark); color: var(--ink);
}
.quote-band .kicker { color: var(--muted-dark); }
.quote-band cite a { color: var(--gold-ink) !important; }
.quote-avatar { border-color: rgba(154, 111, 0, .45); color: #a87c00; }
.quote-avatar small { color: var(--muted-dark); }

/* ---------- Photovoltaik: Kundenvideo-Platzhalter im Bewertungsband ---------- */
.quote-video {
  width: 230px; aspect-ratio: 16 / 10; flex: none; position: relative;
  border-radius: 18px; overflow: hidden;
  background:
    radial-gradient(300px 180px at 76% 20%, rgba(255, 194, 26, .28), transparent 62%),
    linear-gradient(150deg, #12233c, #060d1b);
  display: grid; place-items: center; cursor: pointer;
}
.quote-video .vp-play {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sun); color: var(--night);
  transition: transform .35s var(--ease-spring);
}
.quote-video:hover .vp-play { transform: scale(1.08); }
.quote-video .vp-play .ic { width: 24px; height: 24px; margin-left: 3px; }
.quote-video .vp-badge {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  color: var(--cream); border: 1px solid rgba(238, 242, 248, .3);
  border-radius: 999px; padding: 4px 10px;
}
@media (max-width: 640px) { .quote-video { width: min(230px, 70vw); } }

/* ---------- Team: „+32"-Kachel grau statt dunkel ---------- */
.team-card .avatar-more {
  background: linear-gradient(160deg, #e8ecf1, #d8dee6);
  color: #5f6368;
}

/* ════════════════════════════════════════════════════════════
   FEINSCHLIFF (v11) — Standort-Opt-in, weiche Kanten, helle Kontaktseite
   ════════════════════════════════════════════════════════════ */

/* Sonnenbilanz: orangener Schimmer entfernt — er erzeugte im neuen
   Flächen-Design eine harte, rechteckige Kante */
.sunlive::after, #home .sunlive::after { display: none; }

/* Sonnenbilanz: bewusster Standort-Opt-in (echte Standortfreigabe per Klick) */
.sunlive .loc-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.btn-loc {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(27, 28, 30, .18); background: #fff; color: var(--ink);
  font: 600 13px var(--font-b); transition: border-color .3s, color .3s, opacity .3s;
}
.btn-loc:hover { border-color: var(--gold-ink); color: var(--gold-ink); }
.btn-loc[disabled] { opacity: .55; cursor: wait; }
.btn-loc .ic { width: 15px; height: 15px; }
.loc-note { font-size: 12.5px; color: var(--muted-dark); }

/* Kontakt: Skizzen-Szene hell — die Zeichnung wechselt von Sonnengelb
   auf Gold-Ink (kontraststark auf hellem Grund), die Sonne bleibt sonnig */
.sketch-wrap { background: linear-gradient(to bottom, #dcebf4 0%, #f6f3ec 100%); }
.sk { stroke: #a87c00; }
#sk-sun .sk, #sk-sun circle { stroke: #e8a800; }
#sk-glow { fill: rgba(255, 194, 26, .22); }
.sk-fill { fill: rgba(255, 194, 26, .13); }
.sk-fadename { fill: #9a6f00; }
.sketch-caption .addr { color: var(--ink); }
.sketch-caption .addr em { color: var(--gold-ink); }
.sketch-caption p { color: var(--muted-dark); }
.sketch-skip { color: #5f6368; border-color: rgba(95, 99, 104, .45); }
.sketch-skip:hover { color: var(--ink); border-color: var(--ink); }

/* ════════════════════════════════════════════════════════════
   QUALITÄTSRAD (v12) — eingebettet statt verloren, flüssiger
   ════════════════════════════════════════════════════════════ */

/* Trägerfläche: das Rad sitzt auf einer hellen Fläche im Flächen-Design,
   Headline bleibt während der gesamten Szene sichtbar */
.wheel-wrap { background: #f6f7f8; }
.wheel-view { flex-direction: column; gap: clamp(16px, 3vh, 34px); }
.wheel-head { text-align: center; }
.wheel-head h2 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 8px; }
.wheel-sub { color: var(--muted-dark); font-size: 14.5px; }
.wheel-stage { width: min(520px, 86vw, 60vh); }

/* Fortschrittsring: füllt sich goldgelb mit dem Scrollfortschritt (--wp aus main.js) */
.wheel-ring {
  background: conic-gradient(var(--sun) calc(var(--wp, 0) * 1%), #e7eaee 0);
  -webkit-mask: radial-gradient(closest-side, transparent 97.4%, #000 98.2%);
          mask: radial-gradient(closest-side, transparent 97.4%, #000 98.2%);
  border-radius: 50%;
  transition: none;
}

/* Pills: ruhiger auf grauem Grund, weiche Bewegungen */
.wheel-item { will-change: transform; border-color: rgba(27, 28, 30, .08); }

/* Zähler im Zentrum */
.wheel-idx {
  display: block; font-family: var(--font-d); font-weight: 500;
  font-size: 12px; letter-spacing: .16em; color: var(--sun);
  margin-bottom: 10px; font-variant-numeric: tabular-nums;
  transition: opacity .25s;
}
.wheel-center.fade .wheel-idx { opacity: 0; }

@media (max-width: 640px) {
  .wheel-stage { width: min(520px, calc(100vw - 24px), 56vh); }
  .wheel-head h2 { font-size: 24px; }
  .wheel-sub { font-size: 13px; }
  .wheel-idx { font-size: 10.5px; margin-bottom: 6px; }
}

/* ════════════════════════════════════════════════════════════
   FEINSCHLIFF (v13) — Header-Bild-Hinweise, Rad-Interaktion, Skizze
   ════════════════════════════════════════════════════════════ */

/* Qualitätsrad: Punkte sind klickbar, Zentrumstexte laufen nie aus dem Kreis */
.wheel-item { cursor: pointer; }
.wheel-item:hover { opacity: 1; border-color: rgba(154, 111, 0, .45); }
.wheel-item.on:hover { border-color: var(--sun); }
.wheel-center { inset: 24%; padding: 7%; overflow: hidden; }
.wheel-center h3 { font-size: clamp(16px, 2vw, 21px); margin-bottom: 8px; }
.wheel-center p { font-size: clamp(12px, 1.3vw, 13.5px); line-height: 1.5; max-width: 34ch; }
@media (max-width: 640px) {
  .wheel-center { inset: 25%; padding: 6%; }
  .wheel-center h3 { font-size: 13.5px; margin-bottom: 4px; }
  .wheel-center p { font-size: 10.5px; line-height: 1.4; }
}

/* ════════════════════════════════════════════════════════════
   FOTO-HERO-VARIANTE (v14) — echtes Header-Bild + Partikel-Interaktion
   ════════════════════════════════════════════════════════════ */
#hero-game.hg-photo {
  background:
    linear-gradient(to bottom, rgba(220, 235, 244, 0), rgba(220, 235, 244, 0)),
    url("https://kunden.artgerecht.de/solmetall/wp-content/themes/fbnfrtg/assets/img/hero-foto.jpg") center / cover no-repeat,
    linear-gradient(to bottom, #dcebf4 0%, #eef3ee 52%, #f4f1e2 100%);
}
#hero-game.hg-photo .hg-bg { display: none; }
#hero-game.hg-photo .hg-title h1 { color: #26303a; text-shadow: 0 1px 22px rgba(255, 255, 255, .55); }
#hero-game.hg-photo .hg-title h1 em { color: var( --gold-ink); }
#hero-game.hg-photo .hg-title p { color: #3f4b57; text-shadow: 0 1px 12px rgba(255, 255, 255, .5); }
#hero-game.hg-photo .hg-hint {
  color: #f2f5f9; background: rgba(20, 28, 38, .42);
  padding: 9px 18px; border-radius: 999px; backdrop-filter: blur(8px);
}
#hero-game.hg-photo .hg-skip { color: #eef2f8; border-color: rgba(238, 242, 248, .5); text-shadow: 0 1px 6px rgba(6, 13, 27, .5); }
#hero-game.hg-photo .hg-halo { opacity: .8; }

/* Foto-Hero: Headline über dem Abendlicht, Bildfokus auf dem Haus bei Portrait */
#hero-game.hg-photo .hg-title { top: 13vh; }
@media (max-width: 720px) {
  #hero-game.hg-photo { background-position: 78% center, 78% center; }
}

/* Foto-Hero Portrait: Headline liegt über den dunklen Panels → helle Typo */
@media (max-width: 720px) {
  #hero-game.hg-photo .hg-title h1 { color: #fff; text-shadow: 0 2px 18px rgba(6, 13, 27, .55); }
  #hero-game.hg-photo .hg-title h1 em { color: var(--sun); }
  #hero-game.hg-photo .hg-title p { color: #dbe4ee; text-shadow: 0 1px 10px rgba(6, 13, 27, .5); }
}


/* ════════════════════════════════════════════════════════════
   ÜBERGABE-PASS (v19) — echte Referenzbilder
   ════════════════════════════════════════════════════════════ */
.project-scene img { display: block; width: 100%; aspect-ratio: 420 / 300; object-fit: cover; height: auto;}
.ref-thumb img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }


.story-section#team::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -30vh;
    height: 30vh;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0) 100%
    );
}


#primary-menu a[href*="solarrechner"]  { background: var(--sun); color: var(--night); font-weight: 700; margin-left: 10px; border-radius: 999px !important; padding: 9px 18px !important; transition: transform .3s var(--ease-spring), box-shadow .3s; color:var(--night) !important;}
#primary-menu a[href*="solarrechner"]:hover { transform: scale(1.05); box-shadow: 0 6px 22px rgba(255,194,26,.4); }


.wpcf7-form br{
  display: none;
}

.wpcf7-form .card p {
    margin-top: 6px;
    margin-bottom: 0;
}

.wpcf7-form .form-field select{
  padding: 17px 16px;
}

@media (max-width: 620px){
.logo-chip img {
  width: 200px;
  height: auto !important;
}
}
 
.wp-block-video{
  border-radius: 20px;
  overflow: hidden;
} 

#hero-game.hg-photo .hg-title{
      /* top: 23vh; */
      padding-top: 18vh;
}

/* Projektbild */
.project-lightbox {
    position: relative;
    display: block;
    overflow: hidden;
    cursor: zoom-in;
}

.project-lightbox img {
    display: block;
    width: 100%;
    height: auto;
}

/* kleines Plus */
.project-lightbox-icon {
    position: absolute;
    right: 18px;
    bottom: 18px;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(255,255,255,.9);
    color: #111;

    font-size: 28px;
    line-height: 1;

    opacity: 0;
    transform: scale(.8);
    transition:
        opacity .25s ease,
        transform .25s ease;
}

.project-lightbox:hover .project-lightbox-icon {
    opacity: 1;
    transform: scale(1);
}


/* Lightbox */
.sol-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px;

    background: rgba(255,255,255,.8);
    backdrop-filter: blur(4px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}

.sol-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.sol-lightbox-inner {
    display: flex;
    flex-direction: column;
    align-items: center;

    max-width: 95vw;
    max-height: 90vh;

    transform: scale(.96);
    transition: transform .3s ease;
}

.sol-lightbox.is-open .sol-lightbox-inner {
    transform: scale(1);
}

.sol-lightbox-image {
    display: block;

    max-width: 95vw;
    max-height: 82vh;

    width: auto;
    height: auto;

    object-fit: contain;
}

.sol-lightbox-title {
    margin-top: 14px;

    color: #fff;
    font-size: 15px;
    text-align: center;
}


/* Schließen */
.sol-lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;

    z-index: 2;

    border: 0;
    background: transparent;
    color: #111;

    font-size: 46px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;
}


/* Mobile */
@media (max-width: 767px) {
    .sol-lightbox {
        padding: 20px;
    }

    .sol-lightbox-image {
        max-width: 100%;
        max-height: 80vh;
    }

    .sol-lightbox-close {
        top: 12px;
        right: 15px;
    }

    .project-lightbox-icon {
        opacity: 1;

        width: 38px;
        height: 38px;

        right: 12px;
        bottom: 12px;

        font-size: 24px;
    }
}

h1, h1 *, * h1{
font-size: clamp(34px, 5.2vw, 70px) !important;
font-weight: 700 !important;
}

h2, h2 *, * h2{
  font-size: clamp(30px, 4.4vw, 52px) !important;
  font-weight: 700 !important;
}

h1 em, h2 em{
  color: #3a7db7 !important;
}

.page-id-52 .page-hero{
  padding-bottom: 0;
}

.page-id-52 .wp-block-lazyblock-section .section{
  padding-top: 30px;
}

.page-id-48 .wp-block-lazyblock-referenzen .section{
  padding-top: 0;
}

.page-id-48 .projects {
    margin-top: 0;
}
    

.quote-band .wrap {
  gap:0;
}