/* JM Energy Consulting — Leistungs-Detailseiten */

:root {
  --bg-deep:    #0B0F14;
  --bg:         #0E141B;
  --bg-2:       #141B23;
  --slate:      #6B8294;
  --slate-soft: #B0BFCD;
  --taupe:      #D6C7A8;
  --taupe-deep: #A88A52;
  --taupe-soft: #F0E5CC;
  --ivory:      #F6EFE0;
  --line:       #2A3540;
  --muted:      #8693A0;
  --display: 'Fraunces', Georgia, serif;
  --body: 'Inter', -apple-system, system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg-deep); color: var(--ivory); font-family: var(--body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { overflow-x: hidden; min-height: 100vh; }
::selection { background: var(--taupe); color: var(--bg-deep); }
a { color: inherit; text-decoration: none; }

body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 200;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.45; mix-blend-mode: overlay;
}

/* === STAGE BG (small, subtle, sharp) === */
.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.stage-img {
  position: absolute; inset: -22%;
  background-image: var(--stage-img, url('../assets/brain_00_hero.jpg'));
  background-position: center 50%;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(0.88) translate(-1%, -1%);
  filter: brightness(0.62) saturate(1.18) contrast(1.30);
  animation: bgDrift 50s ease-in-out infinite alternate;
}

/* === HERO IMAGE — large featured shot per service === */
.hero-image {
  position: relative;
  margin: 40px auto 0;
  max-width: 1100px;
  aspect-ratio: 21 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: var(--hero-img, url('../assets/brain_00_hero.jpg')) center/cover no-repeat;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 0 0 0.5px rgba(255,255,255,0.06) inset,
    0 36px 80px -20px rgba(0,0,0,0.85),
    0 0 60px -10px rgba(214,199,168,0.20);
  filter: saturate(1.10) contrast(1.05);
}
.hero-image::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.10) 0%, transparent 28%, transparent 72%, rgba(255,255,255,0.06) 100%),
    radial-gradient(ellipse 100% 70% at 50% 100%, rgba(11,15,20,0.55) 0%, transparent 70%);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero-image::after {
  content: ''; position: absolute; top: 0; left: 24px; right: 24px; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--taupe) 30%, var(--taupe) 70%, transparent 100%);
  opacity: 0.6;
}
@keyframes bgDrift {
  0%   { transform: scale(0.88) translate(-1.5%, -1.5%) rotate(-0.6deg); }
  100% { transform: scale(0.94) translate(1.5%, 1.5%) rotate(0.6deg); }
}
.stage-light {
  position: absolute; inset: 0;
  background:
    conic-gradient(from 220deg at 60% -20%, transparent 0deg, rgba(232,221,200,0.10) 8deg, transparent 18deg, rgba(232,221,200,0.05) 32deg, transparent 55deg, rgba(232,221,200,0.08) 75deg, transparent 115deg);
  mix-blend-mode: screen;
}
.stage-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 100% 90% at 50% 50%, rgba(11,15,20,0.30) 50%, rgba(11,15,20,0.50) 80%, rgba(11,15,20,0.70) 100%);
}

/* === NAV === */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 20px 48px; display: flex; justify-content: space-between; align-items: center; backdrop-filter: blur(28px) saturate(140%); background: rgba(11,15,20,0.55); border-bottom: 1px solid rgba(255,255,255,0.06); transition: padding 0.4s ease, background 0.4s ease; }
.nav.compact { padding: 14px 48px; background: rgba(11,15,20,0.85); }
.nav .logo { font-family: var(--display); font-size: 21px; font-weight: 400; letter-spacing: -0.02em; }
.nav .logo em { font-style: italic; color: var(--ivory); }
.nav .logo span { color: var(--taupe); }
.nav .links { display: flex; gap: 36px; font-size: 12.5px; color: var(--ivory); letter-spacing: 0.02em; }
.nav .links a { transition: color .25s ease; position: relative; }
.nav .links a::after { content:''; position:absolute; left:0; right:0; bottom:-6px; height:1px; background: var(--taupe); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.nav .links a:hover { color: var(--taupe); }
.nav .links a:hover::after { transform: scaleX(1); }

.btn-portal {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px 12px 18px;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.04em;
  color: #FFFCF2; border-radius: 100px;
  background: linear-gradient(150deg, rgba(255,222,150,0.22) 0%, rgba(214,199,168,0.10) 22%, rgba(214,199,168,0.05) 50%, rgba(255,222,150,0.14) 100%);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255,222,150,0.42);
  box-shadow: 0 1px 0 rgba(255,250,235,0.30) inset, 0 -1px 0 rgba(80,55,20,0.10) inset, 0 0 0 0.5px rgba(255,222,150,0.18) inset, 0 8px 22px -6px rgba(180,140,70,0.45), 0 0 30px -8px rgba(255,210,130,0.45), 0 2px 6px rgba(0,0,0,0.35);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  transition: all 0.35s cubic-bezier(.2,.7,.2,1);
}
.btn-portal::before { content: ''; position: absolute; inset: 0; border-radius: 100px; pointer-events: none; background: linear-gradient(135deg, rgba(255,250,235,0.30) 0%, rgba(255,250,235,0.08) 14%, transparent 32%, transparent 68%, rgba(255,250,235,0.06) 88%, rgba(255,250,235,0.18) 100%); mix-blend-mode: overlay; }
.btn-portal .dot-glow { position: relative; z-index: 2; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #FFF6D8 0%, #FFD78A 50%, #C49A4A 90%); box-shadow: 0 0 8px rgba(255,210,120,0.95); flex-shrink: 0; animation: dotPulse 2.6s ease-in-out infinite; }
@keyframes dotPulse { 0%,100% { box-shadow: 0 0 8px rgba(255,210,120,0.95); } 50% { box-shadow: 0 0 18px rgba(255,210,120,1); } }
.btn-portal .arrow, .btn-portal > span { position: relative; z-index: 2; }
.btn-portal:hover { transform: translateY(-1.5px); border-color: rgba(255,222,150,0.65); }

/* === LAYOUT === */
main { position: relative; z-index: 2; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 48px; }

.hero {
  position: relative; padding: 200px 48px 80px; text-align: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 38% at 50% 60%, rgba(11,15,20,0.55) 0%, rgba(11,15,20,0.20) 50%, transparent 90%);
}
.hero > * { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--taupe); margin-bottom: 28px; font-family: 'SF Mono', Menlo, monospace; text-shadow: 0 0 18px rgba(214,199,168,0.55), 0 1px 2px rgba(0,0,0,0.6); }
.eyebrow::before, .eyebrow::after { content: ''; width: 36px; height: 1px; background: var(--taupe); }
h1 {
  font-family: var(--display); font-weight: 300; font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1.02; letter-spacing: -0.04em; color: #FFFCF2;
  text-shadow: 0 -1px 0 rgba(255,250,235,0.45), 0 1px 0 rgba(20,14,4,0.85), 0 2px 0 rgba(20,14,4,0.65), 0 4px 1px rgba(0,0,0,0.50), 0 8px 22px rgba(0,0,0,0.65), 0 14px 48px rgba(0,0,0,0.55);
  margin-bottom: 24px;
}
h1 em { font-style: italic; font-weight: 400; color: #FFE9B6; text-shadow: 0 1px 0 rgba(40,26,8,0.90), 0 5px 1px rgba(0,0,0,0.58), 0 8px 22px rgba(0,0,0,0.70), 0 0 40px rgba(255,210,130,0.55); filter: drop-shadow(0 -1px 0 rgba(255,250,235,0.45)) drop-shadow(0 3px 28px rgba(255,205,120,0.35)); }
.lede { font-size: clamp(17px, 1.4vw, 21px); color: #FFFCF2; line-height: 1.6; max-width: 720px; margin: 0 auto; font-weight: 400; text-shadow: 0 1px 2px rgba(0,0,0,0.6), 0 2px 12px rgba(0,0,0,0.5); }

/* === GLASS CARD GRID === */
section { position: relative; padding: 80px 48px; }
.section-h { text-align: center; margin-bottom: 56px; }
.section-h .label { font-family: 'SF Mono', Menlo, monospace; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: #FFE9B6; font-weight: 600; margin-bottom: 16px; text-shadow: 0 0 16px rgba(255,222,150,0.7), 0 1px 2px rgba(0,0,0,0.55); }
.section-h h2 { font-family: var(--display); font-weight: 300; font-size: clamp(32px, 4vw, 56px); letter-spacing: -0.03em; color: #FFFCF2; line-height: 1.1; text-shadow: 0 1px 0 rgba(20,14,4,0.65), 0 4px 18px rgba(0,0,0,0.5); }
.section-h h2 em { font-style: italic; color: #FFE9B6; }
.section-h .section-lede { max-width: 760px; margin: 22px auto 0; font-size: 17px; line-height: 1.65; color: #FBF6E8; font-weight: 400; text-shadow: 0 1px 2px rgba(0,0,0,0.55), 0 2px 8px rgba(0,0,0,0.4); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .grid-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-cards { grid-template-columns: 1fr; } }

/* Compact card variant for problem/usecase grids */
.glass-card.compact { padding: 30px 26px 34px; text-align: center; }
.glass-card.compact .card-num {
  font-size: 12px;
  letter-spacing: 0.30em;
  font-weight: 600;
  color: #FFE9B6;
  margin-bottom: 16px;
  text-shadow:
    0 0 16px rgba(255,222,150,0.85),
    0 0 30px rgba(255,210,130,0.45),
    0 1px 2px rgba(0,0,0,0.6);
}
.glass-card.compact h3 {
  font-size: 22px;
  margin-bottom: 18px;
  line-height: 1.2;
  color: #FFFEF7;
  text-shadow:
    0 1px 0 rgba(20,14,4,0.6),
    0 2px 8px rgba(0,0,0,0.45),
    0 0 22px rgba(255,222,150,0.18);
}
.glass-card.compact p.lead {
  font-size: 16px;
  color: #FFFCF2;
  line-height: 1.55;
  font-weight: 450;
  max-width: 290px;
  margin: 0 auto 20px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.55), 0 2px 6px rgba(0,0,0,0.35);
}
.glass-card.compact p.lead em { font-style: italic; color: #FFE9B6; font-weight: 500; text-shadow: 0 0 18px rgba(255,210,130,0.45), 0 1px 2px rgba(0,0,0,0.55); }
.glass-card.compact ul {
  list-style: none; padding: 0;
  text-align: left;
  max-width: 280px;
  margin: 0 auto;
}
.glass-card.compact ul li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0;
  font-size: 15px; line-height: 1.5;
  color: #FBF6E8;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.glass-card.compact ul li:last-child { border-bottom: 0; }
.glass-card.compact ul li::before {
  content: '';
  flex-shrink: 0;
  width: 8px; height: 8px;
  margin-top: 7px;
  background: linear-gradient(135deg, #FFF6D8 0%, #FFD78A 45%, #C49A4A 100%);
  transform: rotate(45deg);
  border-radius: 1px;
  box-shadow:
    0 0 6px rgba(255,210,120,0.85),
    0 0 18px var(--accent-glow, rgba(255,210,130,0.42)),
    0 1px 0 rgba(255,250,235,0.55) inset;
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
}
.glass-card.compact ul li:hover::before { transform: rotate(45deg) scale(1.2); }

/* === ICON CAPSULE — themed per page === */
.card-icon {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 18px;
  position: relative;
  background: linear-gradient(150deg, var(--accent-fade, rgba(255,222,150,0.16)) 0%, rgba(255,255,255,0.04) 50%, var(--accent-fade, rgba(255,222,150,0.10)) 100%);
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  border: 1px solid var(--accent-border, rgba(255,222,150,0.34));
  box-shadow:
    0 1px 0 rgba(255,250,235,0.22) inset,
    0 0 0 0.5px var(--accent-border, rgba(255,222,150,0.14)) inset,
    0 0 26px -2px var(--accent-glow, rgba(255,210,130,0.32)),
    0 8px 22px -8px rgba(0,0,0,0.6);
}
.card-icon::before {
  content: ''; position: absolute; inset: 0; border-radius: 18px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.04) 14%, transparent 30%, transparent 70%, rgba(255,255,255,0.04) 90%, rgba(255,255,255,0.14) 100%);
  mix-blend-mode: overlay;
}
.card-icon svg {
  position: relative; z-index: 2;
  width: 28px; height: 28px;
  stroke: var(--accent-stroke, #FFE9B6);
  fill: none; stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 8px var(--accent-glow, rgba(255,210,130,0.55))) drop-shadow(0 1px 0 rgba(0,0,0,0.4));
}

/* Big card icon (top section, 3 cards) */
.glass-card:not(.compact) .card-icon { width: 72px; height: 72px; margin-bottom: 22px; border-radius: 20px; }
.glass-card:not(.compact) .card-icon svg { width: 34px; height: 34px; stroke-width: 1.3; }

/* Image-variant: photographic 3D micro-render replaces SVG icon */
.glass-card .card-icon.image {
  width: 132px; height: 132px;
  margin: 0 auto 24px;
  padding: 0;
  border-radius: 22px;
  background-image: var(--card-img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255,222,150,0.32);
  box-shadow:
    0 1px 0 rgba(255,250,235,0.30) inset,
    0 0 0 0.5px rgba(255,222,150,0.18) inset,
    0 0 36px -4px var(--accent-glow, rgba(255,210,130,0.35)),
    0 16px 36px -10px rgba(0,0,0,0.75);
}
.glass-card .card-icon.image::before {
  content: ''; position: absolute; inset: 0; border-radius: 22px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.04) 14%, transparent 30%, transparent 70%, rgba(255,222,150,0.05) 90%, rgba(255,222,150,0.14) 100%);
  mix-blend-mode: overlay;
}
.glass-card .card-icon.image svg { display: none; }

/* Per-page accent palettes */
body.page-ki {
  --accent-color: #B7DEFF;
  --accent-fade: rgba(183,222,255,0.16);
  --accent-border: rgba(183,222,255,0.34);
  --accent-glow: rgba(183,222,255,0.36);
  --accent-stroke: #E4F1FF;
}
body.page-solar {
  --accent-color: #FFB870;
  --accent-fade: rgba(255,184,112,0.18);
  --accent-border: rgba(255,184,112,0.40);
  --accent-glow: rgba(255,180,100,0.40);
  --accent-stroke: #FFE2C0;
}
body.page-pruefung {
  --accent-color: #A8E6C7;
  --accent-fade: rgba(168,230,199,0.16);
  --accent-border: rgba(168,230,199,0.36);
  --accent-glow: rgba(168,230,199,0.34);
  --accent-stroke: #DEF7EA;
}
body.page-netzwerk {
  --accent-color: #F0C2D8;
  --accent-fade: rgba(240,194,216,0.18);
  --accent-border: rgba(240,194,216,0.36);
  --accent-glow: rgba(240,194,216,0.34);
  --accent-stroke: #FBE4EE;
}

/* Problem cards keep amber tint, but icon picks up page accent at lower intensity */
.glass-card.problem .card-icon {
  background: linear-gradient(150deg, rgba(232,176,128,0.18) 0%, rgba(255,255,255,0.04) 50%, rgba(232,176,128,0.10) 100%);
  border-color: rgba(232,176,128,0.40);
  box-shadow: 0 1px 0 rgba(255,250,235,0.22) inset, 0 0 26px -2px rgba(232,176,128,0.32), 0 8px 22px -8px rgba(0,0,0,0.6);
}
.glass-card.problem .card-icon svg { stroke: #FFD8B6; filter: drop-shadow(0 0 8px rgba(232,176,128,0.55)) drop-shadow(0 1px 0 rgba(0,0,0,0.4)); }

/* Top-rim color shifts subtly per page on header rule */
body.page-ki .glass-card::after { background: linear-gradient(90deg, transparent 0%, var(--accent-color) 30%, var(--accent-color) 70%, transparent 100%); }
body.page-solar .glass-card::after { background: linear-gradient(90deg, transparent 0%, var(--accent-color) 30%, var(--accent-color) 70%, transparent 100%); }
body.page-pruefung .glass-card::after { background: linear-gradient(90deg, transparent 0%, var(--accent-color) 30%, var(--accent-color) 70%, transparent 100%); }
body.page-netzwerk .glass-card::after { background: linear-gradient(90deg, transparent 0%, var(--accent-color) 30%, var(--accent-color) 70%, transparent 100%); }

/* Eyebrow + h1 em pick up the accent tint slightly */
body.page-ki .eyebrow, body.page-solar .eyebrow, body.page-pruefung .eyebrow, body.page-netzwerk .eyebrow { color: var(--accent-color); text-shadow: 0 0 18px var(--accent-glow), 0 1px 2px rgba(0,0,0,0.6); }
body.page-ki .eyebrow::before, body.page-ki .eyebrow::after,
body.page-solar .eyebrow::before, body.page-solar .eyebrow::after,
body.page-pruefung .eyebrow::before, body.page-pruefung .eyebrow::after,
body.page-netzwerk .eyebrow::before, body.page-netzwerk .eyebrow::after { background: var(--accent-color); }

/* Section label takes accent too */
body.page-ki .section-h .label, body.page-solar .section-h .label, body.page-pruefung .section-h .label, body.page-netzwerk .section-h .label { color: var(--accent-color); }

/* Problem-card variant — bright amber for prominent anchor */
.glass-card.problem .card-num {
  color: #FFD9B0;
  text-shadow:
    0 0 16px rgba(255,200,140,0.85),
    0 0 30px rgba(255,180,110,0.45),
    0 1px 2px rgba(0,0,0,0.6);
}
.glass-card.problem::after { background: linear-gradient(90deg, transparent 0%, #E8B080 30%, #E8B080 70%, transparent 100%); opacity: 0.65; }

/* Use-case card variant — gold rim brighter */
.glass-card.usecase .card-num {
  color: #FFF1C8;
  text-shadow:
    0 0 16px rgba(255,222,150,0.85),
    0 0 30px rgba(255,210,130,0.50),
    0 1px 2px rgba(0,0,0,0.6);
}
.glass-card.usecase::after { background: linear-gradient(90deg, transparent 0%, #FFE9B6 30%, #FFE9B6 70%, transparent 100%); opacity: 0.78; }

/* Outcome stat tiles */
.outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
@media (max-width: 980px) { .outcomes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .outcomes { grid-template-columns: 1fr; } }
.outcome {
  position: relative; padding: 28px 24px; border-radius: 18px; overflow: hidden; text-align: center;
  background: linear-gradient(150deg, rgba(255,222,150,0.10) 0%, rgba(255,255,255,0.03) 50%, rgba(255,222,150,0.06) 100%);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255,222,150,0.22);
  box-shadow: 0 1px 0 rgba(255,250,235,0.20) inset, 0 0 0 0.5px rgba(255,222,150,0.12) inset, 0 14px 36px -14px rgba(0,0,0,0.7);
}
.outcome::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.04) 14%, transparent 30%, transparent 70%, rgba(255,222,150,0.05) 90%, rgba(255,222,150,0.10) 100%); mix-blend-mode: overlay; }
.outcome > * { position: relative; z-index: 2; }
.outcome .o-label { font-family: 'SF Mono', Menlo, monospace; font-size: 10.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--taupe); margin-bottom: 12px; text-shadow: 0 0 12px rgba(214,199,168,0.45); }
.outcome .o-value { font-family: var(--display); font-style: italic; font-weight: 300; font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; color: #FFE9B6; text-shadow: 0 1px 0 rgba(20,14,4,0.55), 0 4px 14px rgba(0,0,0,0.5), 0 0 24px rgba(255,210,130,0.28); margin-bottom: 14px; }
.outcome .o-value em { color: #FFE9B6; font-style: italic; }
.outcome .o-note { font-size: 14px; color: #FBF6E8; line-height: 1.55; font-weight: 400; max-width: 220px; margin: 0 auto; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }

.glass-card {
  position: relative; padding: 36px 32px 38px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(150deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.04) 22%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.05) 100%);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 -1px 0 rgba(255,255,255,0.04) inset, 0 0 0 0.5px rgba(255,255,255,0.06) inset, 0 24px 60px -24px rgba(0,0,0,0.85), 0 4px 18px rgba(0,0,0,0.35);
  transition: all 0.4s cubic-bezier(.2,.7,.2,1);
  text-align: center;
}
.glass-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.05) 12%, transparent 28%, transparent 72%, rgba(255,255,255,0.04) 92%, rgba(255,255,255,0.10) 100%);
  mix-blend-mode: overlay;
}
.glass-card::after {
  content: ''; position: absolute; top: 0; left: 22px; right: 22px; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--taupe) 30%, var(--taupe) 70%, transparent 100%);
  opacity: 0.55;
}
.glass-card > * { position: relative; z-index: 2; }
.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.28);
  box-shadow: 0 1px 0 rgba(255,255,255,0.30) inset, 0 -1px 0 rgba(255,255,255,0.05) inset, 0 0 0 0.5px rgba(255,255,255,0.10) inset, 0 36px 80px -22px rgba(0,0,0,0.95), 0 8px 22px rgba(0,0,0,0.45), 0 0 60px -10px rgba(214,199,168,0.25);
}
.glass-card .card-num {
  font-family: 'SF Mono', Menlo, monospace; font-size: 11.5px; letter-spacing: 0.28em;
  font-weight: 600;
  color: #FFE9B6;
  margin-bottom: 18px;
  text-shadow:
    0 0 14px rgba(255,222,150,0.75),
    0 0 26px rgba(255,210,130,0.40),
    0 1px 2px rgba(0,0,0,0.55);
}
.glass-card h3 {
  font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: -0.02em;
  color: #FFFCF2; margin-bottom: 18px; line-height: 1.2;
  text-shadow: 0 1px 0 rgba(20,14,4,0.55), 0 2px 6px rgba(0,0,0,0.4);
}
.glass-card h3 em { font-style: italic; color: #FFE9B6; }
.glass-card ul {
  list-style: none; padding: 0;
  text-align: left;
  max-width: 290px;
  margin: 4px auto 0;
}
.glass-card ul li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 13px 2px;
  color: #FBF6E8; font-size: 15.5px; line-height: 1.55;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-weight: 400;
  position: relative;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.glass-card ul li:last-child { border-bottom: 0; }
.glass-card ul li::before {
  content: '';
  flex-shrink: 0;
  width: 9px; height: 9px;
  margin-top: 8px;
  background: linear-gradient(135deg, #FFF6D8 0%, #FFD78A 45%, #C49A4A 100%);
  transform: rotate(45deg);
  border-radius: 1.5px;
  box-shadow:
    0 0 8px rgba(255,210,120,0.85),
    0 0 20px rgba(255,210,120,0.42),
    0 1px 0 rgba(255,250,235,0.55) inset,
    0 -1px 0 rgba(80,55,20,0.35) inset;
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1), box-shadow 0.4s ease;
}
.glass-card ul li:hover::before {
  transform: rotate(45deg) scale(1.18);
  box-shadow:
    0 0 12px rgba(255,210,120,1),
    0 0 28px rgba(255,210,120,0.55),
    0 1px 0 rgba(255,250,235,0.6) inset,
    0 -1px 0 rgba(80,55,20,0.4) inset;
}
.glass-card ul li::after {
  content: ''; position: absolute; left: 23px; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, rgba(255,222,150,0.35) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.glass-card ul li:hover::after { opacity: 0.6; }
.glass-card ul li:last-child::after { display: none; }

/* Per-page: bullet halo picks up the page accent for thematic harmony */
body.page-ki .glass-card ul li::before {
  box-shadow: 0 0 8px rgba(255,210,120,0.7), 0 0 22px var(--accent-glow), 0 1px 0 rgba(255,250,235,0.55) inset, 0 -1px 0 rgba(80,55,20,0.35) inset;
}
body.page-solar .glass-card ul li::before {
  box-shadow: 0 0 8px rgba(255,210,120,0.85), 0 0 24px var(--accent-glow), 0 1px 0 rgba(255,250,235,0.55) inset, 0 -1px 0 rgba(80,55,20,0.35) inset;
}
body.page-pruefung .glass-card ul li::before {
  box-shadow: 0 0 8px rgba(255,210,120,0.7), 0 0 22px var(--accent-glow), 0 1px 0 rgba(255,250,235,0.55) inset, 0 -1px 0 rgba(80,55,20,0.35) inset;
}
body.page-netzwerk .glass-card ul li::before {
  box-shadow: 0 0 8px rgba(255,210,120,0.7), 0 0 22px var(--accent-glow), 0 1px 0 rgba(255,250,235,0.55) inset, 0 -1px 0 rgba(80,55,20,0.35) inset;
}

/* === STEPS (numbered horizontal flow) === */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.step {
  position: relative; padding: 32px 24px 34px; border-radius: 18px; overflow: hidden;
  text-align: center;
  background: linear-gradient(150deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0.05) 100%);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 1px 0 rgba(255,255,255,0.20) inset, 0 14px 32px -14px rgba(0,0,0,0.6);
}
.step::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.04) 14%, transparent 30%, transparent 70%, rgba(255,255,255,0.04) 90%, rgba(255,255,255,0.10) 100%);
  mix-blend-mode: overlay;
}
.step > * { position: relative; z-index: 2; }
.step .step-num {
  font-family: var(--display); font-style: italic; font-weight: 300; font-size: 40px;
  background: linear-gradient(165deg, #FFF2CC 0%, #ECD5A5 50%, #B89557 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(20,14,4,0.5)) drop-shadow(0 0 18px rgba(255,210,130,0.32));
  margin-bottom: 14px; line-height: 1;
}
.step h4 { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: -0.01em; color: #FFFEF7; margin-bottom: 12px; line-height: 1.2; text-shadow: 0 1px 0 rgba(20,14,4,0.55), 0 2px 8px rgba(0,0,0,0.45), 0 0 22px rgba(255,222,150,0.18); }
.step p { font-size: 15px; color: #FBF6E8; line-height: 1.6; font-weight: 400; max-width: 220px; margin: 0 auto; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }

/* === CTA === */
.cta-block {
  margin: 80px auto 60px; max-width: 880px; text-align: center;
  padding: 56px 40px; border-radius: 24px; position: relative; overflow: hidden;
  background: linear-gradient(150deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.04) 22%, rgba(255,222,150,0.06) 100%);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,222,150,0.30);
  box-shadow: 0 1px 0 rgba(255,250,235,0.22) inset, 0 0 0 0.5px rgba(255,222,150,0.14) inset, 0 24px 60px -24px rgba(0,0,0,0.85), 0 0 60px -16px rgba(255,210,130,0.22);
}
.cta-block::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.04) 14%, transparent 32%, transparent 68%, rgba(255,222,150,0.06) 88%, rgba(255,222,150,0.14) 100%); mix-blend-mode: overlay; }
.cta-block > * { position: relative; z-index: 2; }
.cta-block h2 { font-family: var(--display); font-weight: 300; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.03em; color: #FFFCF2; margin-bottom: 14px; line-height: 1.15; text-shadow: 0 1px 0 rgba(20,14,4,0.6), 0 4px 18px rgba(0,0,0,0.5); }
.cta-block h2 em { font-style: italic; color: #FFE9B6; }
.cta-block p { font-size: 17px; color: #FBF6E8; max-width: 580px; margin: 0 auto 32px; line-height: 1.6; font-weight: 400; text-shadow: 0 1px 2px rgba(0,0,0,0.6), 0 2px 8px rgba(0,0,0,0.45); }
.cta-row { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.ghost-cta {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; padding: 14px 28px;
  color: #FFFCF2; border-radius: 100px;
  font-weight: 500; letter-spacing: 0.02em;
  background: linear-gradient(150deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 22%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.07) 100%);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.20);
  box-shadow: 0 1px 0 rgba(255,255,255,0.24) inset, 0 0 0 0.5px rgba(255,255,255,0.08) inset, 0 8px 22px -6px rgba(0,0,0,0.55);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(.2,.7,.2,1);
  overflow: hidden;
}
.ghost-cta::before { content: ''; position: absolute; inset: 0; border-radius: 100px; pointer-events: none; background: linear-gradient(135deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.06) 14%, transparent 32%, transparent 68%, rgba(255,255,255,0.04) 88%, rgba(255,255,255,0.12) 100%); mix-blend-mode: overlay; }
.ghost-cta > * { position: relative; z-index: 2; }
.ghost-cta:hover { transform: translateY(-1.5px); border-color: rgba(255,222,150,0.55); }
.ghost-cta.gold {
  border-color: rgba(255,222,150,0.42);
  background: linear-gradient(150deg, rgba(255,222,150,0.22) 0%, rgba(214,199,168,0.10) 22%, rgba(214,199,168,0.05) 50%, rgba(255,222,150,0.14) 100%);
  box-shadow: 0 1px 0 rgba(255,250,235,0.30) inset, 0 0 0 0.5px rgba(255,222,150,0.18) inset, 0 0 30px -8px rgba(255,210,130,0.45);
}

/* === FOOTER === */
footer { background: var(--bg-deep); padding: 70px 48px 40px; border-top: 1px solid var(--line); position: relative; z-index: 2; margin-top: 60px; }
footer .row { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 60px; }
footer h4 { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--taupe); font-family: 'SF Mono', Menlo, monospace; margin-bottom: 20px; font-weight: 400; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
footer ul a { font-size: 13.5px; color: var(--slate-soft); transition: color 0.25s ease; }
footer ul a:hover { color: var(--ivory); }
footer .brand-line { font-family: var(--display); font-style: italic; font-size: 19px; color: var(--ivory); margin-bottom: 12px; }
footer .brand-claim { font-size: 13px; color: var(--slate-soft); line-height: 1.55; max-width: 360px; }
footer .legal { max-width: 1500px; margin: 60px auto 0; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 11px; color: var(--muted); letter-spacing: 0.12em; font-family: 'SF Mono', Menlo, monospace; }

/* === RESPONSIVE === */
@media (max-width: 980px) {
  .nav { padding: 16px 24px; }
  .nav .links { display: none; }
  .container { padding: 0 24px; }
  .hero { padding: 140px 24px 60px; }
  section { padding: 60px 24px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  footer .row { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  footer .row { grid-template-columns: 1fr; }
  h1 { font-size: clamp(36px, 11vw, 60px); }
  .cta-block { padding: 40px 24px; }
}
