/* ==========================================================
   Ninelevate Design
   Farben: Dunkelblau, Nachtblau, Stahl, Asche, Nebel
   Akzent Blau für Icons, Status und Links
   Highlight Grün nur für Buttons
   ========================================================== */

:root {
    --midnight:#0B1220;
    --graphite:#131D2F;
    --steel:#1F2D44;
    --ash:#93A3B8;
    --fog:#F2F5F9;
    --blue:#6AA8FF;
    --blue-text:#1F5FD1;
    --green:#2EE08B;
    --green-hover:#22C97A;

    --font-sans:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
    --font-mono:"JetBrains Mono",ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace;

    --nav-height:76px;
    --width:1200px;
    --radius:20px;
    --radius-sm:14px;
    --ease:cubic-bezier(.2,.7,.2,1);
}

/* Hell (Standard) */
:root,
html[data-theme="light"] {
    --bg:var(--fog);
    --surface:#ffffff;
    --surface-2:#E6ECF3;
    --text:var(--midnight);
    --muted:#4B5A6E;
    --border:#D5DDE8;
    --accent:var(--blue-text);
    --accent-soft:rgba(31,95,209,.09);
    --highlight:var(--blue-text);
    --on-highlight:#FFFFFF;
    --nav-bg:rgba(242,245,249,.88);
    --shadow:0 1px 2px rgba(11,18,32,.04),0 12px 32px rgba(11,18,32,.06);
    --grid-line:rgba(11,18,32,.05);
    --logo-black-display:inline-block;
    --logo-white-display:none;
}

/* Dunkel */
html[data-theme="dark"] {
    --bg:var(--midnight);
    --surface:var(--graphite);
    --surface-2:#0F1829;
    --text:var(--fog);
    --muted:var(--ash);
    --border:var(--steel);
    --accent:var(--blue);
    --accent-soft:rgba(106,168,255,.14);
    --highlight:var(--blue);
    --on-highlight:#0B1220;
    --nav-bg:rgba(11,18,32,.88);
    --shadow:0 1px 2px rgba(0,0,0,.2),0 16px 40px rgba(0,0,0,.25);
    --grid-line:rgba(242,245,249,.04);
    --logo-black-display:none;
    --logo-white-display:inline-block;
}

* { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }

body {
    min-height:100vh;
    font-family:var(--font-sans);
    font-feature-settings:"cv11","ss01";
    color:var(--text);
    background:var(--bg);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    transition:background-color .4s ease,color .4s ease;
}

body.menu-open { overflow:hidden; }

a { color:inherit; text-decoration:none; }
button { font:inherit; }
img { display:block; }
::selection { background:var(--blue); color:#fff; }

.container {
    width:min(calc(100% - 56px),var(--width));
    margin:0 auto;
}

/* ---------- Navigation ---------- */
.navigation {
    position:fixed;
    inset:0 0 auto 0;
    height:var(--nav-height);
    background:var(--nav-bg);
    border-bottom:1px solid var(--border);
    backdrop-filter:blur(16px) saturate(1.2);
    -webkit-backdrop-filter:blur(16px) saturate(1.2);
    z-index:1000;
    transition:background-color .4s ease,border-color .4s ease;
}

.nav-inner {
    height:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}

.brand {
    position:relative;
    z-index:1002;
    display:flex;
    align-items:center;
    flex-shrink:0;
    transition:opacity .25s ease;
}
.brand:hover { opacity:.7; }

.logo { height:34px; width:auto; }
.logo-black { display:var(--logo-black-display); }
.logo-white { display:var(--logo-white-display); }

.desktop-nav {
    display:flex;
    align-items:center;
    gap:30px;
}

.desktop-nav a {
    color:var(--muted);
    font-size:14px;
    font-weight:500;
    transition:color .25s ease;
}
.desktop-nav a:hover,
.desktop-nav a.active { color:var(--text); }

.nav-tools {
    display:flex;
    align-items:center;
    gap:6px;
    flex-shrink:0;
    position:relative;
    z-index:1002;
}

.theme-toggle {
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    padding:0;
    border:0;
    outline:0;
    background:transparent;
    color:var(--text);
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
}
.theme-toggle:hover,
.theme-toggle:focus,
.theme-toggle:active { border:0; outline:0; background:transparent; box-shadow:none; transform:none; }
.theme-toggle i { font-size:17px; }
html[data-theme="dark"] .icon-moon { display:none; }
html[data-theme="light"] .icon-sun { display:none; }

.whatsapp-link {
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    flex-shrink:0;
    color:var(--text);
    font-size:20px;
    transition:color .25s ease;
}
.whatsapp-link:hover { color:var(--highlight); }

.menu-toggle {
    display:none;
    flex-shrink:0;
    width:42px;
    height:42px;
    padding:0;
    border:0;
    outline:0;
    appearance:none;
    background:transparent;
    cursor:pointer;
    align-items:center;
    justify-content:center;
    -webkit-tap-highlight-color:transparent;
}

.burger {
    position:relative;
    display:block;
    width:22px;
    height:16px;
}
.burger::before,
.burger::after {
    content:"";
    position:absolute;
    left:0;
    width:22px;
    height:2px;
    border-radius:100px;
    background:var(--text);
    transition:top .3s cubic-bezier(.4,0,.2,1),transform .3s cubic-bezier(.4,0,.2,1);
}
.burger::before { top:4px; }
.burger::after { top:11px; }
.menu-toggle.active .burger::before { top:7px; transform:rotate(45deg); }
.menu-toggle.active .burger::after { top:7px; transform:rotate(-45deg); }

.mobile-nav {
    position:fixed;
    top:var(--nav-height);
    left:0;
    width:100%;
    max-height:0;
    overflow:hidden;
    visibility:hidden;
    background:var(--surface);
    border-bottom:1px solid transparent;
    opacity:0;
    transform:translateY(-8px);
    transition:max-height .4s var(--ease),opacity .3s ease,transform .4s var(--ease),visibility .4s,border-color .3s ease;
    z-index:999;
}
.mobile-nav.open {
    max-height:400px;
    visibility:visible;
    opacity:1;
    transform:translateY(0);
    border-color:var(--border);
}
.mobile-nav-inner { padding:8px 28px 20px; }
.mobile-nav a {
    min-height:56px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    color:var(--text);
    font-size:16px;
    font-weight:500;
    border-bottom:1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom:0; }
.mobile-nav a i { color:var(--accent); font-size:12px; }

/* ---------- Buttons ---------- */
.btn {
    min-height:48px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:0 22px;
    border:1px solid var(--border);
    border-radius:12px;
    background:var(--surface);
    color:var(--text);
    font-size:14px;
    font-weight:600;
    letter-spacing:-.005em;
    transition:transform .25s ease,background-color .25s ease,border-color .25s ease,color .25s ease;
}
.btn:hover { transform:translateY(-1px); border-color:var(--highlight); }

.btn-primary {
    color:#0B0F14;
    background:var(--green);
    border-color:var(--green);
}
.btn-primary:hover {
    background:var(--green-hover);
    border-color:var(--green-hover);
    color:#0B0F14;
}

/* ---------- Hero ---------- */
.hero {
    position:relative;
    min-height:100vh;
    min-height:100svh;
    display:flex;
    align-items:center;
    padding:calc(var(--nav-height) + 72px) 0 88px;
    overflow:hidden;
    background:var(--bg);
}

.hero::before {
    content:"";
    position:absolute;
    inset:0;
    background-image:
        linear-gradient(var(--grid-line) 1px,transparent 1px),
        linear-gradient(90deg,var(--grid-line) 1px,transparent 1px);
    background-size:64px 64px;
    mask-image:radial-gradient(ellipse at 70% 40%,#000 0%,transparent 70%);
    -webkit-mask-image:radial-gradient(ellipse at 70% 40%,#000 0%,transparent 70%);
    pointer-events:none;
}

/* Ein einziger, sehr dezenter blauer Lichtschein – nur im dunklen Design */
html[data-theme="dark"] .hero::after {
    content:"";
    position:absolute;
    right:-12%;
    top:-25%;
    width:680px;
    height:680px;
    background:radial-gradient(circle,rgba(106,168,255,.07),transparent 65%);
    pointer-events:none;
}

.hero-grid {
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);
    gap:72px;
    align-items:center;
}

.status {
    width:max-content;
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin-bottom:30px;
    padding:7px 13px;
    color:var(--muted);
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:8px;
    font-family:var(--font-mono);
    font-size:11.5px;
    font-weight:500;
    letter-spacing:.04em;
    text-transform:uppercase;
}
.status-dot {
    width:7px;
    height:7px;
    border-radius:50%;
    background:var(--highlight);
}

h1 {
    margin-bottom:26px;
    font-size:clamp(52px,7.2vw,100px);
    line-height:.98;
    font-weight:700;
    letter-spacing:-.055em;
}
h1 span { color:var(--highlight); }

.hero-description {
    max-width:600px;
    margin-bottom:40px;
    color:var(--muted);
    font-size:clamp(17px,1.7vw,19px);
    line-height:1.7;
}

.actions {
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

/* Hero-Meta: Standort, Kontakt, Preise */
.hero-meta {
    display:flex;
    flex-wrap:wrap;
    gap:10px 28px;
    margin-top:48px;
    padding-top:28px;
    border-top:1px solid var(--border);
    color:var(--muted);
    font-size:13px;
}
.hero-meta span { display:inline-flex; align-items:center; gap:9px; }
.hero-meta i { color:var(--accent); font-size:13px; }

/* Hero-Panel: Leistungen als Übersicht */
.pillars {
    display:flex;
    flex-direction:column;
    border:1px solid var(--border);
    border-radius:var(--radius);
    background:var(--surface);
    box-shadow:var(--shadow);
    overflow:hidden;
}
.pillar {
    display:flex;
    align-items:center;
    gap:18px;
    padding:24px 26px;
    border-bottom:1px solid var(--border);
    transition:background-color .25s ease;
}
.pillar:last-child { border-bottom:0; }
.pillar:hover { background:var(--surface-2); }
.pillar-icon {
    width:44px;
    height:44px;
    flex:0 0 44px;
    display:grid;
    place-items:center;
    border-radius:12px;
    color:var(--accent);
    background:var(--accent-soft);
    font-size:17px;
}
.pillar strong { display:block; font-size:16px; font-weight:600; letter-spacing:-.01em; }
.pillar small { color:var(--muted); font-size:13px; }

/* ---------- Sections ---------- */
section { position:relative; }

.section { padding:120px 0; }
.section-alt {
    background:var(--surface-2);
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
}

.label {
    display:inline-block;
    margin-bottom:16px;
    color:var(--accent);
    font-family:var(--font-mono);
    font-size:12px;
    font-weight:500;
    letter-spacing:.06em;
    text-transform:uppercase;
}

h2 {
    margin-bottom:18px;
    font-size:clamp(32px,4vw,46px);
    line-height:1.08;
    font-weight:700;
    letter-spacing:-.045em;
}

.section-intro {
    max-width:620px;
    color:var(--muted);
    font-size:17px;
    line-height:1.75;
}

.section-head { margin-bottom:56px; }

/* Raster für Leistungen und Projekte */
.grid-3 {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
}
.grid-2 {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
}

.card {
    position:relative;
    display:flex;
    flex-direction:column;
    padding:34px;
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    transition:border-color .3s ease,transform .3s var(--ease);
}
.card:hover { border-color:var(--highlight); transform:translateY(-3px); }

.card-icon {
    width:46px;
    height:46px;
    display:grid;
    place-items:center;
    margin-bottom:28px;
    border-radius:12px;
    color:var(--accent);
    background:var(--accent-soft);
    font-size:18px;
}
.card h3 {
    margin-bottom:10px;
    font-size:20px;
    font-weight:650;
    letter-spacing:-.02em;
}
.card > p {
    margin-bottom:24px;
    color:var(--muted);
    font-size:15px;
    line-height:1.75;
}
.card ul {
    margin-top:auto;
    list-style:none;
    display:flex;
    flex-direction:column;
    gap:10px;
    padding-top:22px;
    border-top:1px solid var(--border);
}
.card li {
    display:flex;
    align-items:flex-start;
    gap:12px;
    color:var(--text);
    font-size:14px;
}
.card li i {
    margin-top:7px;
    color:var(--accent);
    font-size:6px;
}

.tag {
    display:inline-block;
    align-self:flex-start;
    margin-bottom:22px;
    padding:4px 9px;
    color:var(--accent);
    background:var(--accent-soft);
    border-radius:6px;
    font-family:var(--font-mono);
    font-size:11px;
    font-weight:500;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.price-note {
    display:flex;
    align-items:center;
    gap:22px;
    margin-top:24px;
    padding:24px 28px;
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:var(--radius);
}
.price-note > i {
    width:44px;
    height:44px;
    flex:0 0 44px;
    display:grid;
    place-items:center;
    border-radius:12px;
    color:var(--accent);
    background:var(--accent-soft);
    font-size:18px;
}
.price-note p {
    flex:1;
    color:var(--muted);
    font-size:15px;
    line-height:1.7;
}

/* ---------- Über uns / Ansprechperson ---------- */
.about-grid {
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:88px;
    align-items:center;
}
.about-text p {
    margin-bottom:18px;
    color:var(--muted);
    font-size:17px;
    line-height:1.8;
}
.facts {
    display:grid;
    gap:12px;
}
.fact {
    display:flex;
    align-items:center;
    gap:16px;
    padding:20px 22px;
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:var(--radius-sm);
}
.fact i {
    width:40px;
    height:40px;
    flex:0 0 40px;
    display:grid;
    place-items:center;
    border-radius:10px;
    color:var(--accent);
    background:var(--accent-soft);
    font-size:16px;
}
.fact strong { display:block; font-size:15px; font-weight:600; letter-spacing:-.01em; }
.fact small { color:var(--muted); font-size:13px; }

/* Kenntnisse als Chips */
.chip-list {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:28px;
}
.chip {
    padding:7px 13px;
    color:var(--text);
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:8px;
    font-family:var(--font-mono);
    font-size:12.5px;
    font-weight:500;
}

/* ---------- Projekt-Feature ---------- */
.project-feature {
    display:grid;
    grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
    gap:56px;
    margin-top:24px;
    padding:48px;
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:24px;
    box-shadow:var(--shadow);
    align-items:start;
}
.project-feature h3 {
    margin:0 0 18px;
    font-size:clamp(26px,3vw,36px);
    font-weight:700;
    letter-spacing:-.035em;
    line-height:1.1;
}
.project-feature .lead {
    margin-bottom:14px;
    color:var(--muted);
    font-size:16px;
    line-height:1.75;
}
.project-points {
    list-style:none;
    display:flex;
    flex-direction:column;
    gap:0;
    border:1px solid var(--border);
    border-radius:var(--radius-sm);
    overflow:hidden;
}
.project-points li {
    display:flex;
    align-items:flex-start;
    gap:14px;
    padding:18px 20px;
    color:var(--text);
    font-size:15px;
    line-height:1.6;
    border-bottom:1px solid var(--border);
}
.project-points li:last-child { border-bottom:0; }
.project-points li i {
    margin-top:8px;
    color:var(--accent);
    font-size:6px;
}

/* ---------- Ablauf-Schritte ---------- */
.step-num {
    display:block;
    margin-bottom:26px;
    color:var(--accent);
    font-family:var(--font-mono);
    font-size:13px;
    font-weight:500;
    letter-spacing:.06em;
}
.step h3 { margin-bottom:12px; }
.step p { margin-bottom:0; }

/* ---------- Kontakt ---------- */
.contact-grid {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,.9fr);
    gap:88px;
    align-items:center;
}
.contact-grid p {
    max-width:520px;
    color:var(--muted);
    font-size:17px;
    line-height:1.75;
}
.contact-list {
    display:flex;
    flex-direction:column;
    gap:12px;
}
.contact-item {
    display:flex;
    align-items:center;
    gap:18px;
    padding:20px 22px;
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:var(--radius-sm);
    transition:border-color .3s ease,transform .3s var(--ease);
}
a.contact-item:hover {
    border-color:var(--highlight);
    transform:translateX(3px);
}
.contact-item-icon {
    width:46px;
    height:46px;
    flex:0 0 46px;
    display:grid;
    place-items:center;
    border-radius:12px;
    color:var(--accent);
    background:var(--accent-soft);
    font-size:19px;
}
.contact-item-text { display:flex; flex-direction:column; }
.contact-item-text small {
    color:var(--muted);
    font-family:var(--font-mono);
    font-size:11px;
    letter-spacing:.04em;
    text-transform:uppercase;
}
.contact-item-text strong {
    font-size:18px;
    font-weight:600;
    letter-spacing:-.015em;
}

/* ---------- Impressum ---------- */
.imprint {
    max-width:720px;
    display:grid;
    grid-template-columns:150px minmax(0,1fr);
    gap:18px 30px;
    padding:34px;
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}
.imprint dt {
    color:var(--muted);
    font-family:var(--font-mono);
    font-size:11.5px;
    letter-spacing:.04em;
    text-transform:uppercase;
    padding-top:4px;
}
.imprint dd {
    color:var(--text);
    font-size:16px;
    line-height:1.6;
}
.imprint dd a:hover { color:var(--highlight); }

.legal-page {
    padding:calc(var(--nav-height) + 72px) 0 120px;
}
.legal-page h1 {
    font-size:clamp(42px,5vw,64px);
    margin-bottom:44px;
}
.legal-back {
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin-top:44px;
    color:var(--muted);
    font-size:14px;
    font-weight:600;
    transition:color .25s ease;
}
.legal-back:hover { color:var(--highlight); }

/* ---------- Footer ---------- */
.footer {
    padding:76px 0 30px;
    background:var(--surface-2);
    border-top:1px solid var(--border);
}
.footer-grid {
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:60px;
    padding-bottom:56px;
}
.footer-brand {
    display:block;
    margin-bottom:14px;
    font-size:20px;
    font-weight:700;
    letter-spacing:-.03em;
}
.footer-text,
.footer-links a {
    color:var(--muted);
    font-size:14px;
}
.footer-text { max-width:380px; }
.footer-title {
    margin-bottom:18px;
    color:var(--text);
    font-family:var(--font-mono);
    font-size:11.5px;
    letter-spacing:.06em;
    text-transform:uppercase;
}
.footer-links {
    display:flex;
    flex-direction:column;
    gap:11px;
}
.footer-links a {
    width:max-content;
    transition:color .2s ease;
}
.footer-links a:hover { color:var(--highlight); }
.footer-bottom {
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:14px 20px;
    padding-top:24px;
    border-top:1px solid var(--border);
    color:var(--muted);
    font-size:12.5px;
}
.footer-legal a { transition:color .2s ease; }
.footer-legal a:hover { color:var(--highlight); }

/* ---------- Reveal ---------- */
.reveal {
    opacity:0;
    transform:translateY(22px);
    transition:opacity .9s var(--ease),transform .9s var(--ease);
}
.reveal.visible {
    opacity:1;
    transform:translateY(0);
}
.delay-1 { transition-delay:.08s; }
.delay-2 { transition-delay:.16s; }
.delay-3 { transition-delay:.24s; }

/* ---------- Responsive ---------- */

/* Kleine Laptops und Tablets quer: Hero einspaltig */
@media (max-width:1000px) {
    .hero-grid { grid-template-columns:1fr; gap:56px; }
    .pillars { flex-direction:row; }
    .pillar { flex:1; flex-direction:column; align-items:flex-start; gap:16px; border-bottom:0; border-right:1px solid var(--border); }
    .pillar:last-child { border-right:0; }
}

/* Burger-Menü ab 1080 px */
@media (max-width:1080px) {
    .desktop-nav { display:none; }
    .menu-toggle { display:flex; }
}

/* Tablet hochkant (iPad 820 px) */
@media (max-width:900px) {
    .about-grid { grid-template-columns:1fr; gap:44px; }
    .contact-grid { grid-template-columns:1fr; gap:44px; }
    .project-feature { grid-template-columns:1fr; gap:32px; padding:34px; }
    .footer-grid { grid-template-columns:1fr 1fr; gap:40px; }
    .footer-grid > div:first-child { grid-column:1 / -1; }
    .section { padding:100px 0; }
}

/* Handys */
@media (max-width:650px) {
    :root { --nav-height:66px; }
    .container { width:calc(100% - 40px); }
    .logo { height:28px; }
    .section { padding:76px 0; }
    .hero { min-height:auto; padding:calc(var(--nav-height) + 52px) 0 68px; }
    h1 { margin-bottom:20px; }
    .hero-meta { margin-top:36px; padding-top:22px; }
    .pillars { flex-direction:column; }
    .pillar { flex-direction:row; align-items:center; gap:16px; padding:20px; border-right:0; border-bottom:1px solid var(--border); }
    .pillar:last-child { border-bottom:0; }
    .grid-3,
    .grid-2 { grid-template-columns:1fr; }
    .actions { flex-direction:column; }
    .btn { width:100%; }
    .card { padding:28px 24px; }
    .price-note { flex-direction:column; align-items:flex-start; padding:22px; }
    .price-note > i { width:40px; height:40px; flex-basis:40px; }
    .project-feature { padding:26px 22px; border-radius:20px; }
    .project-points li { padding:16px; }
    .footer { padding-top:56px; }
    .footer-grid { grid-template-columns:1fr; gap:36px; }
    .footer-bottom { flex-direction:column; }
    .imprint { grid-template-columns:1fr; gap:4px; padding:24px; }
    .imprint dt { margin-top:14px; }
    .imprint dt:first-child { margin-top:0; }
    .contact-item { padding:18px; }
}

/* ==========================================================
   iOS-artiger Glas-Stil: alle Boxen transparent und unscharf
   ========================================================== */
:root,
html[data-theme="light"] {
    --glass:rgba(255,255,255,.5);
    --glass-strong:rgba(255,255,255,.7);
    --glass-border:rgba(255,255,255,.8);
    --glass-line:rgba(11,18,32,.08);
    --glass-shadow:0 10px 32px rgba(11,18,32,.08),inset 0 1px 0 rgba(255,255,255,.9);
    --glass-blur:blur(24px) saturate(180%);
}

html[data-theme="dark"] {
    --glass:rgba(26,40,66,.48);
    --glass-strong:rgba(34,50,80,.6);
    --glass-border:rgba(255,255,255,.1);
    --glass-line:rgba(255,255,255,.08);
    --glass-shadow:0 14px 40px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.07);
    --glass-blur:blur(24px) saturate(180%);
}

/* Farbige Flächen hinter der Seite, damit das Glas sichtbar wird */
body { position:relative; }
body::before {
    content:"";
    position:fixed;
    inset:0;
    z-index:-1;
    pointer-events:none;
    background:
        radial-gradient(circle at 12% 18%,rgba(106,168,255,.30),transparent 38%),
        radial-gradient(circle at 88% 42%,rgba(31,95,209,.16),transparent 42%),
        radial-gradient(circle at 40% 92%,rgba(106,168,255,.18),transparent 40%);
}
html[data-theme="dark"] body::before {
    background:
        radial-gradient(circle at 12% 18%,rgba(59,130,246,.24),transparent 38%),
        radial-gradient(circle at 88% 42%,rgba(37,99,235,.14),transparent 42%),
        radial-gradient(circle at 40% 92%,rgba(59,130,246,.12),transparent 40%);
}

/* Flächen, die bisher Vollfarbe hatten, werden transparent */
.hero,
.footer { background:transparent; }
.section-alt { background:transparent; }
.footer { border-top-color:var(--glass-line); }
.section-alt { border-color:var(--glass-line); }
.navigation { background:var(--nav-bg); }

/* Glas-Boxen */
.card,
.pillars,
.fact,
.contact-item,
.imprint,
.price-note,
.project-feature,
.chip,
.status,
.project-points,
.mobile-nav,
.btn:not(.btn-primary) {
    background:var(--glass);
    -webkit-backdrop-filter:var(--glass-blur);
    backdrop-filter:var(--glass-blur);
    border:1px solid var(--glass-border);
    box-shadow:var(--glass-shadow);
}

.mobile-nav { background:var(--glass-strong); }

.card:hover { background:var(--glass-strong); }
.contact-item:hover,
a.contact-item:hover { background:var(--glass-strong); }

/* Innere Trennlinien in Glas-Tönen */
.pillar { background:transparent; border-bottom-color:var(--glass-line); }
.pillar:hover { background:var(--glass-strong); }
.project-points { border-color:var(--glass-border); }
.project-points li { border-bottom-color:var(--glass-line); }
.card ul { border-top-color:var(--glass-line); }
.imprint dt { opacity:.9; }

/* Icon-Flächen etwas klarer, damit sie auf Glas stehen */
.card-icon,
.fact i,
.pillar-icon,
.price-note > i,
.contact-item-icon { backdrop-filter:none; -webkit-backdrop-filter:none; }

/* ---------- Hero-Panel als schräge Karte ---------- */
.hero-visual {
    perspective:1600px;
    transform-style:preserve-3d;
}
.hero-visual > .pillars {
    transform:rotateY(-18deg) rotateX(7deg) rotateZ(1.5deg);
    transform-origin:center center;
    transition:transform .9s var(--ease),box-shadow .9s var(--ease);
    box-shadow:0 50px 90px -30px rgba(0,0,0,.45),var(--glass-shadow);
}
.hero-visual:hover > .pillars {
    transform:rotateY(-10deg) rotateX(4deg) rotateZ(1deg);
}
.hero-visual > .pillars.reveal.visible {
    transform:rotateY(-18deg) rotateX(7deg) rotateZ(1.5deg);
}
.hero-visual:hover > .pillars.reveal.visible {
    transform:rotateY(-10deg) rotateX(4deg) rotateZ(1deg);
}

@media (max-width:1000px) {
    .hero-visual { perspective:none; }
    .hero-visual > .pillars,
    .hero-visual > .pillars.reveal.visible,
    .hero-visual:hover > .pillars,
    .hero-visual:hover > .pillars.reveal.visible { transform:none; }
}

@media (max-width:650px) {
    .hero-visual { display:none; }
}

@media (prefers-reduced-motion:reduce) {
    html { scroll-behavior:auto; }
    .reveal { opacity:1; transform:none; transition:none; }
    * { transition:none !important; }
}
