/* ══════════════════════════════════════════════════════════════════
   ENERGYO · Shell — Kopf, Fuß, Buttons, Tokens
   ══════════════════════════════════════════════════════════════════

   NICHT VON HAND SCHREIBEN. Diese Datei ist aus dem Inline-CSS von
   index.html extrahiert, damit die Rechner unter /tools/ exakt dieselbe
   Designsprache tragen wie die Hauptseite — nicht eine nachgebaute.

   Regel: index.html bleibt die Quelle. Wer dort Kopf, Fuß oder Buttons
   ändert, erzeugt diese Datei neu (Skript im Handoff
   energyo-control/handoffs/ENE-37-branchen-landingpages.md).
   Die Hauptseite selbst lädt sie NICHT — sie behält ihr Inline-CSS,
   weil sie als Conversion-Seite ohne zusätzlichen Roundtrip rendern soll.

   Extrahiert: 2026-08-06
   ══════════════════════════════════════════════════════════════════ */

:root {
        --bg: #06070d;
        --bg-soft: #0e1322;
        --card: rgba(255, 255, 255, 0.04);
        --card-hover: rgba(255, 255, 255, 0.07);
        --card-border: rgba(255, 255, 255, 0.08);
        --text: #f0f2f8;
        --muted: #9ba3b5;
        --primary: #f5a623;
        --primary-glow: rgba(245, 166, 35, 0.5);
        --primary-dark: #d4891a;
        --accent: #38bdf8;
        --accent-glow: rgba(56, 189, 248, 0.3);
        --success: #34d399;
        --danger: #f87171;
        --max-width: 1180px;
        --radius: 22px;
        --radius-sm: 14px;
        --shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
        --font-display: "Outfit", sans-serif;
        --font-body: "DM Sans", sans-serif;
        /* Shared layout variables */
        --navbar-height: 76px;
        --logo-height: 54px;
        --footer-logo-height: 56px;
        --container-max-width: var(--max-width);}
*, *::before, *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;}
html {
        /* LENIS-CHECK: native smooth scroll wird von Lenis-Init zur Laufzeit auf 'auto' gesetzt (siehe Premium-Polish Script). */
        scroll-behavior: smooth;
        scroll-padding-top: 90px;
        /* clip statt hidden, damit position:sticky nicht bricht (StoryPin) */
        overflow-x: clip;}
body {
        font-family: var(--font-body);
        background: var(--bg);
        color: var(--text);
        line-height: 1.65;
        position: relative;
        overflow-x: clip;}
body::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        opacity: 0.025;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
        background-repeat: repeat;
        background-size: 256px 256px;}
h1, h2, h3 {
        font-family: var(--font-display);
        font-weight: 800;
        line-height: 1.15;}
h1 {
        font-size: clamp(2.4rem, 5.5vw, 3.8rem);
        letter-spacing: -0.03em;}
h2 {
        font-size: clamp(1.6rem, 3.5vw, 2.6rem);
        letter-spacing: -0.02em;}
h3 {
        font-size: 1.15rem;
        font-weight: 700;}
a {
        color: inherit;
        text-decoration: none;}
.container {
        max-width: var(--container-max-width);
        margin: 0 auto;
        padding: 0 24px;
        position: relative;
        z-index: 2;}
.btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 14px 32px;
        border-radius: 14px;
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 0.95rem;
        border: none;
        cursor: pointer;
        transition: all 0.25s;
        text-decoration: none;
        white-space: nowrap;}
.btn-primary {
        background: linear-gradient(
          135deg,
          var(--primary),
          var(--primary-dark)
        );
        color: #000;
        box-shadow: 0 6px 26px rgba(245, 166, 35, 0.45);}
.btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 30px rgba(245, 166, 35, 0.55);}
.btn-secondary {
        background: rgba(255, 255, 255, 0.06);
        color: var(--text);
        border: 1px solid var(--card-border);}
.btn-secondary:hover {
        background: rgba(255, 255, 255, 0.1);}
.btn-row {
        display: flex;
        gap: 12px;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 24px;}
header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
        backdrop-filter: blur(20px) saturate(1.6);
        background: rgba(10, 14, 26, 0.7);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);}
.nav {
        height: var(--navbar-height);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;}
.brand {
        display: flex;
        align-items: center;
        gap: 12px;}
.brand img {
        height: var(--logo-height);
        width: auto;
        filter:
          drop-shadow(0 0 8px rgba(255, 255, 255, 0.35))
          drop-shadow(0 0 22px rgba(255, 255, 255, 0.18))
          drop-shadow(0 0 44px rgba(255, 255, 255, 0.08));
        transition: filter 0.4s ease;}
.brand:hover img {
        filter:
          drop-shadow(0 0 10px rgba(255, 255, 255, 0.5))
          drop-shadow(0 0 28px rgba(255, 255, 255, 0.28))
          drop-shadow(0 0 56px rgba(255, 255, 255, 0.14));}
.nav-links {
        display: flex;
        align-items: center;
        gap: 6px;
        font-family: var(--font-display);
        font-weight: 600;
        font-size: 0.92rem;}
.nav-links a {
        color: var(--muted);
        padding: 8px 14px;
        border-radius: 10px;
        transition: all 0.25s;}
.nav-links a:hover {
        color: var(--text);
        background: rgba(255, 255, 255, 0.06);}
.nav-cta {
        display: flex;
        gap: 8px;}
.nav-cta .btn {
        padding: 8px 20px;
        font-size: 0.85rem;}
.nav-tel {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;}
.nav-tel-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        height: 18px;
        color: currentColor;
        font-size: 1rem;
        line-height: 1;
        transform: translateY(-1px);}
.nav-tel-icon svg {
        width: 100%;
        height: 100%;
        stroke: currentColor;}
.nav-tel:hover {
        color: var(--primary);
        border-color: rgba(245, 166, 35, 0.35);}
.nav-menu-toggle {
        display: none;
        min-width: 44px;
        min-height: 44px;
        height: 44px;
        padding: 10px 12px;
        margin-right: 16px;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.06);
        color: var(--text);
        align-items: center;
        justify-content: center;
        font-family: var(--font-display);
        font-size: 1.4rem;
        font-weight: 700;
        cursor: pointer;
        transition:
          background 0.2s ease,
          border-color 0.2s ease,
          color 0.2s ease;}
.nav-menu-toggle:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.16);}
.nav-menu-toggle svg {
        width: 22px;
        height: 22px;
        stroke: currentColor;}
.nav-menu-toggle:focus-visible {
        outline: 2px solid rgba(245, 166, 35, 0.45);
        outline-offset: 2px;}
.mobile-nav-overlay {
        position: fixed;
        inset: 0;
        z-index: 150;
        display: flex;
        align-items: flex-start;
        justify-content: stretch;
        padding: 0;
        background: rgba(8,12,22,0.98);
        backdrop-filter: blur(20px) saturate(1.4);
        -webkit-backdrop-filter: blur(20px) saturate(1.4);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;}
.mobile-nav-overlay.is-open {
        opacity: 1;
        pointer-events: auto;}
.mobile-nav-sheet {
        width: 100%;
        padding: calc(var(--navbar-height) + 20px) 24px 28px;
        transform: translateY(-16px);
        transition: transform 0.2s ease;}
.mobile-nav-overlay.is-open .mobile-nav-sheet {
        transform: translateY(0);}
.mobile-nav-close {
        position: absolute;
        top: 16px;
        right: 24px;
        width: 44px;
        min-width: 44px;
        height: 44px;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.06);
        color: var(--text);
        font-size: 1.35rem;
        line-height: 1;
        cursor: pointer;}
.mobile-nav-links {
        display: flex;
        flex-direction: column;
        gap: 6px;}
.mobile-nav-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
        font-family: var(--font-display);
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--text);}
.mobile-nav-divider {
        height: 1px;
        margin: 18px 0;
        background: rgba(255, 255, 255, 0.12);}
.mobile-nav-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;}
.mobile-nav-actions .btn {
        width: 100%;
        min-height: 48px;
        justify-content: center;}
@media (prefers-reduced-motion: reduce) {
.mobile-nav-overlay, .mobile-nav-sheet {
          transition: none;}
}
@media (max-width: 768px) {
.nav-cta .btn, .btn-cta-nav {
          display: none;}
.nav {
          gap: 12px;}
header .container.nav {
          padding-right: 16px;}
.brand, .navbar-logo, .logo, nav img {
          margin-left: 0;
          padding-left: 0;}
.nav-links {
          display: none;}
.nav-cta {
          margin-left: auto;
          align-items: center;
          flex-shrink: 0;}
.nav-cta .btn-secondary {
          display: none;}
.nav-cta .btn-secondary.nav-tel {
          display: inline-flex;
          padding: 0;
          width: 44px;
          min-width: 44px;
          height: 44px;
          justify-content: center;
          align-items: center;
          font-size: 1.1rem;}
.nav-tel-text {
          display: none;}
.nav-tel-icon {
          font-size: 1.25rem;
          width: 20px;
          height: 20px;
          transform: none;}
.nav-cta .btn-primary {
          padding: 8px 12px;
          font-size: 13px;
          white-space: nowrap;
          flex-shrink: 1;
          min-width: 0;}
.nav-menu-toggle {
          display: inline-flex;
          margin-right: 12px;
          padding: 10px 12px;
          min-width: 44px;
          min-height: 44px;
          flex: 0 0 auto;
          flex-shrink: 0;}
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
.btn-glass-secondary { background: rgba(20, 26, 42, 0.85);}
}
.btn-glass {
        position: relative;
        isolation: isolate;
        backdrop-filter: blur(14px) saturate(1.4);
        -webkit-backdrop-filter: blur(14px) saturate(1.4);
        border-radius: 100px;
        padding: 16px 34px;
        overflow: hidden;
        transition:
          transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
          box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);}
.btn-glass::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        padding: 1px;
        background: linear-gradient(
          135deg,
          rgba(255, 255, 255, 0.45),
          rgba(255, 255, 255, 0.05) 40%,
          rgba(255, 255, 255, 0.02) 60%,
          rgba(255, 255, 255, 0.3)
        );
        -webkit-mask:
          linear-gradient(#000 0 0) content-box,
          linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
                mask-composite: exclude;
        pointer-events: none;
        z-index: 1;}
.btn-glass::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: linear-gradient(
          180deg,
          rgba(255, 255, 255, 0.18) 0%,
          rgba(255, 255, 255, 0) 45%
        );
        pointer-events: none;
        z-index: 0;}
.btn-glass > * {
        position: relative;
        z-index: 2;}
.btn-glass-primary {
        background:
          linear-gradient(
            135deg,
            var(--primary),
            var(--primary-dark)
          );
        color: #1a0f00;
        box-shadow:
          0 10px 30px rgba(245, 166, 35, 0.45),
          inset 0 1px 0 rgba(255, 255, 255, 0.45),
          inset 0 -1px 0 rgba(0, 0, 0, 0.15);}
.btn-glass-primary:hover {
        transform: translateY(-1px);
        box-shadow:
          0 12px 34px rgba(245, 166, 35, 0.55),
          inset 0 1px 0 rgba(255, 255, 255, 0.5),
          inset 0 -1px 0 rgba(0, 0, 0, 0.15);}
.btn-glass-secondary {
        background: rgba(255, 255, 255, 0.06);
        color: var(--text);
        box-shadow:
          0 8px 28px rgba(0, 0, 0, 0.35),
          inset 0 1px 0 rgba(255, 255, 255, 0.18);}
.btn-glass-secondary:hover {
        transform: translateY(-2px);
        background: rgba(255, 255, 255, 0.1);
        box-shadow:
          0 14px 36px rgba(56, 189, 248, 0.18),
          inset 0 1px 0 rgba(255, 255, 255, 0.25);}
.btn-back {
        background: none;
        border: none;
        color: var(--muted);
        font-family: var(--font-body);
        font-size: 0.9rem;
        cursor: pointer;
        padding: 8px 0;}
.btn-back:hover {
        color: var(--text);}
footer {
        position: relative;
        padding: 32px 0 24px;
        color: var(--muted);
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        text-align: left;
        overflow: hidden;}
.footer-boxes {
        position: absolute;
        inset: 0;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        grid-template-rows: repeat(auto-fill, minmax(60px, 1fr));
        gap: 1px;
        pointer-events: none;
        z-index: 0;}
.footer-box {
        background: rgba(255, 255, 255, 0.015);
        border: 1px solid rgba(255, 255, 255, 0.03);
        border-radius: 2px;
        transition:
          background 0.6s ease,
          border-color 0.6s ease;}
.footer-box.lit-blue {
        background: rgba(56, 189, 248, 0.06);
        border-color: rgba(56, 189, 248, 0.12);}
.footer-box.lit-green {
        background: rgba(52, 211, 153, 0.06);
        border-color: rgba(52, 211, 153, 0.12);}
.footer-box.lit-purple {
        background: rgba(168, 85, 247, 0.05);
        border-color: rgba(168, 85, 247, 0.1);}
.footer-content {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        gap: 24px;
        align-items: center;}
.footer-brand {
        position: relative;
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
        isolation: isolate;}
.footer-brand img {
        height: var(--footer-logo-height);
        width: auto;
        filter:
          drop-shadow(0 0 8px rgba(255, 255, 255, 0.35))
          drop-shadow(0 0 22px rgba(255, 255, 255, 0.18))
          drop-shadow(0 0 44px rgba(255, 255, 255, 0.08));
        transition: filter 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);}
.footer-brand:hover img {
        filter:
          drop-shadow(0 0 10px rgba(255, 255, 255, 0.5))
          drop-shadow(0 0 28px rgba(255, 255, 255, 0.28))
          drop-shadow(0 0 56px rgba(255, 255, 255, 0.14));
        transform: translateY(-1px) scale(1.03);}
.footer-brand span {
        display: block;
        margin-top: 6px;
        font-size: 0.88rem;}
.footer-center {
        text-align: center;
        font-size: 0.84rem;
        opacity: 0.5;}
.footer-right {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
        font-family: var(--font-display);
        font-weight: 600;}
.footer-right-row {
        display: flex;
        gap: 18px;
        align-items: center;}
.footer-right-row.legal {
        font-size: 0.84rem;
        opacity: 0.7;}
.footer-right a {
        color: var(--muted);
        transition: 0.2s;
        white-space: nowrap;}
.footer-right a:hover {
        color: var(--text);}
@media (max-width: 960px) {
.footer-content {
          grid-template-columns: 1fr 1fr;}
.footer-center {
          display: none;}
}
@media (max-width: 768px) {
.footer-content {
          grid-template-columns: 1fr;
          text-align: center;
          gap: 20px;}
.footer-right {
          align-items: center;
          gap: 16px;}
footer {
          background: #0a0e1a;
          background-image: none;
          padding: 40px 20px calc(28px + env(safe-area-inset-bottom, 0px));
          text-align: center;}
.footer-boxes {
          opacity: 0.35;}
.footer-box {
          border-color: transparent;}
.footer-brand {
          align-self: center;
          align-items: center;}
.footer-right-row {
          flex-direction: column;
          gap: 16px;
          align-items: center;}
.footer-right-row.legal {
          font-size: 0.9rem;}
.footer-right a {
          font-size: 0.9rem;}
.footer-center {
          display: block;
          order: 3;
          color: rgba(240,242,248,0.4);
          opacity: 1;}
.footer-brand { order: 1;}
.footer-right { order: 2;}
}
@media (max-width: 760px) {
.nav-links {
          display: none;}
.nav-cta .btn-secondary {
          display: none;}
.nav-cta .btn-secondary.nav-tel {
          display: inline-flex;}
body {
          padding-bottom: 0;}
}
html.lenis-fast main > section { transform: skewY(var(--lenis-skew, 0deg)); transition: transform 0.2s ease;}
.crafted-by {
        display: inline-block;
        font-size: 0.75rem;
        color: var(--muted);
        opacity: 0.6;
        text-decoration: none;
        transition: opacity 0.2s, color 0.2s;
        font-family: var(--font-body);
        margin-top: 8px;}
.crafted-by:hover { opacity: 1; color: var(--primary);}
.btn-primary, .closer-cta, .btn-glass-primary, .hero .btn-hero-primary {
        will-change: transform;
        position: relative;}
#quizNext1, #quizNext2, .closer-cta, .btn-glass-primary, .hero .btn-hero-primary, .btn.btn-primary, .btn.btn-secondary {
        position: relative;
        isolation: isolate;}
#quizNext1::before, #quizNext2::before, .closer-cta::before, .btn-glass-primary::before, .hero .btn-hero-primary::before, .btn.btn-primary::before, .btn.btn-secondary::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        padding: 1.5px;
        background: conic-gradient(
          from 220deg,
          rgba(255, 247, 214, 0.0)  0deg,
          rgba(255, 209, 102, 0.55) 60deg,
          #fff7d6                   110deg,
          rgba(255, 209, 102, 0.55) 160deg,
          rgba(255, 247, 214, 0.0)  220deg,
          rgba(255, 247, 214, 0.0)  360deg
        );
        -webkit-mask:
          linear-gradient(#000 0 0) content-box,
          linear-gradient(#000 0 0);
                mask:
          linear-gradient(#000 0 0) content-box,
          linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
                mask-composite: exclude;
        opacity: 0.85;
        pointer-events: none;
        z-index: 3;
        filter: drop-shadow(0 0 8px rgba(255, 209, 102, 0.6));
        animation: ctaRimGlow 3.4s ease-in-out infinite;
        will-change: opacity;}
.btn-glass-primary::before {
        background: conic-gradient(
          from 200deg,
          rgba(255, 247, 214, 0.0)  0deg,
          rgba(255, 209, 102, 0.7)  50deg,
          #fff7d6                   100deg,
          rgba(255, 209, 102, 0.7)  150deg,
          rgba(255, 247, 214, 0.0)  220deg,
          rgba(255, 247, 214, 0.0)  360deg
        );
        opacity: 1;
        filter: drop-shadow(0 0 10px rgba(255, 209, 102, 0.85));}
.btn.btn-secondary::before {
        background: conic-gradient(
          from 220deg,
          rgba(255, 255, 255, 0.0)  0deg,
          rgba(255, 255, 255, 0.25) 60deg,
          rgba(255, 255, 255, 0.55) 110deg,
          rgba(255, 255, 255, 0.25) 160deg,
          rgba(255, 255, 255, 0.0)  220deg,
          rgba(255, 255, 255, 0.0)  360deg
        );
        filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.35));
        opacity: 0.55;}
#quizNext1:hover::before, #quizNext2:hover::before, .closer-cta:hover::before, .btn-glass-primary:hover::before, .hero .btn-hero-primary:hover::before, .btn.btn-primary:hover::before, .btn.btn-secondary:hover::before {
        opacity: 1;
        filter: drop-shadow(0 0 16px rgba(255, 209, 102, 1));}
@media (prefers-reduced-motion: reduce) {
#quizNext1::before, #quizNext2::before, .closer-cta::before, .btn-glass-primary::before, .hero .btn-hero-primary::before, .btn.btn-primary::before, .btn.btn-secondary::before {
          animation: none;
          opacity: 0.7;}
}
