/* 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: url('../assets/brain_00_hero.jpg') center 50% / cover 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;
}
@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: #F8F2E2; line-height: 1.6; max-width: 720px; margin: 0 auto; font-weight: 400; text-shadow: 0 1px 2px rgba(0,0,0,0.55), 0 2px 12px rgba(0,0,0,0.45); }

/* === 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: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--taupe); margin-bottom: 16px; }
.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; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.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);
}
.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: 11px; letter-spacing: 0.22em;
  color: var(--taupe); margin-bottom: 18px; text-shadow: 0 0 12px rgba(214,199,168,0.45);
}
.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; }
.glass-card ul li {
  position: relative; padding: 10px 0 10px 28px; color: #F2EBDB; font-size: 15px; line-height: 1.55;
  border-bottom: 1px solid rgba(255,255,255,0.05); font-weight: 300;
}
.glass-card ul li:last-child { border-bottom: 0; }
.glass-card ul li::before {
  content: ''; position: absolute; left: 0; top: 18px; width: 14px; height: 1px;
  background: var(--taupe); box-shadow: 0 0 8px rgba(214,199,168,0.45);
}

/* === STEPS (numbered horizontal flow) === */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px; }
.step {
  position: relative; padding: 26px 24px 28px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(150deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.04) 100%);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) 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.14) 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: 32px;
  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));
  margin-bottom: 12px;
}
.step h4 { font-family: var(--display); font-weight: 400; font-size: 18px; letter-spacing: -0.01em; color: #FFFCF2; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: #F2EBDB; opacity: 0.92; line-height: 1.55; font-weight: 300; }

/* === 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: 16px; color: #F2EBDB; max-width: 560px; margin: 0 auto 32px; line-height: 1.55; font-weight: 400; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.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; }
}
