/* ==========================================================================
   components.css — Geteilte Section-Komponenten (mehrseitig genutzt)
   Verbatim aus den Quell-HTMLs. Keine Dopplung mit base.css
   (Buttons/Header/Footer/Reset/Tokens leben in base.css).
   ========================================================================== */

/* ---------- HERO (dunkel, Gitternetz + Parallax-Kompass) ---------- */
.hero {
  position: relative; padding: 140px 0 130px; margin-top: -80px; padding-top: 220px;
  background: linear-gradient(165deg, #1B3A52 0%, #0F2A40 100%);
  color: var(--color-paper); overflow: hidden;
}
.hero-geo { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-geo .grid-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; }
.hero-geo .compass-lg { position: absolute; width: 680px; height: 680px; top: 40px; right: -160px; opacity: 0.5; will-change: transform; }
.hero-geo .compass-sm { position: absolute; width: 220px; height: 220px; bottom: 60px; left: 6%; opacity: 0.28; will-change: transform; }
.hero .container { position: relative; z-index: 1; }
.hero .hero-inner { max-width: 820px; }
.hero .eyebrow { color: var(--color-brass-light); margin-bottom: 24px; }
.hero h1 {
  font-size: 76px; line-height: 1.0; letter-spacing: -0.035em; color: var(--color-paper); margin-bottom: 28px;
}
.hero .lead { font-size: 23px; line-height: 1.5; margin-bottom: 40px; color: rgba(250, 248, 245, 0.82); max-width: 640px; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- SCROLL-INDICATOR ---------- */
.scroll-indicator {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(250, 248, 245, 0.6); z-index: 2; transition: opacity 0.6s var(--ease);
}
.scroll-indicator .line {
  width: 1px; height: 32px; background: linear-gradient(to bottom, transparent, var(--color-brass-light));
  animation: scrollLine 2.4s ease-in-out infinite;
}
.scroll-indicator.hidden { opacity: 0; pointer-events: none; }
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- PAGE-HERO (schlanke Legal-Hero, kein Parallax) ---------- */
.page-hero { position: relative; padding: 72px 0 64px; background: linear-gradient(165deg, #1B3A52 0%, #0F2A40 100%); color: var(--color-paper); overflow: hidden; }
.page-hero-geo { position: absolute; top: -80px; right: -100px; width: 420px; height: 420px; opacity: 0.4; pointer-events: none; }
.page-hero .grid-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--color-brass-light); margin-bottom: 16px; }
.page-hero h1 { font-size: 48px; line-height: 1.05; letter-spacing: -0.03em; color: var(--color-paper); margin-bottom: 14px; }
.page-hero p { font-size: 18px; color: rgba(250, 248, 245, 0.78); max-width: 560px; }

/* ---------- PRINZIPIEN (Karten-Stack, Sticky) ---------- */
.stack { position: relative; padding-bottom: 130px; }
.stack-card {
  position: sticky; border-radius: 16px; padding: 52px; overflow: hidden;
  border: 1px solid rgba(250, 248, 245, 0.1); box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.2);
}
.stack-card[data-index="0"] { top: 100px; background: linear-gradient(135deg, #2A5275 0%, #1B3A52 100%); }
.stack-card[data-index="1"] { top: 124px; background: linear-gradient(135deg, #234763 0%, #18334c 100%); }
.stack-card[data-index="2"] { top: 148px; background: linear-gradient(135deg, #1B3A52 0%, #14304a 100%); }
.stack-card[data-index="3"] { top: 172px; background: linear-gradient(135deg, #14304a 0%, #0F2A40 100%); }
.stack-card + .stack-card { margin-top: 32px; }
.stack-card .card-geo { position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; opacity: 0.1; pointer-events: none; }
.stack-card .card-inner { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; }
.stack-card .p-num { font-family: "Inter", sans-serif; font-size: 80px; font-weight: 600; color: rgba(184, 149, 74, 0.9); letter-spacing: -0.04em; line-height: 0.8; }
.stack-card .p-content { max-width: 680px; }
.stack-card h3 { font-family: "Inter", sans-serif; font-size: 30px; color: var(--color-paper); line-height: 1.2; margin-bottom: 14px; }
.stack-card p { font-size: 18px; line-height: 1.6; color: rgba(250, 248, 245, 0.85); }

/* ---------- DARK CTA ---------- */
.dark-cta { background: linear-gradient(165deg, #1B3A52 0%, #0F2A40 100%); color: var(--color-paper); padding: 140px 0; text-align: center; position: relative; overflow: hidden; }
.dark-cta-geo { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 720px; height: 720px; opacity: 0.12; pointer-events: none; }
.dark-cta::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 820px; height: 820px;
  background: radial-gradient(circle, rgba(184, 149, 74, 0.12) 0%, transparent 60%);
  transform: translate(-50%, -50%); pointer-events: none;
}
.dark-cta .container { position: relative; z-index: 1; }
.dark-cta .eyebrow { color: var(--color-brass-light); margin-bottom: 18px; }
.dark-cta h2 { color: var(--color-paper); font-size: 52px; line-height: 1.06; max-width: 720px; margin: 0 auto 24px; letter-spacing: -0.025em; }
.dark-cta p { font-size: 19px; max-width: 600px; margin: 0 auto 40px; color: rgba(250, 248, 245, 0.78); line-height: 1.6; }
.dark-cta .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- FAQ (<details>/summary mit +/45deg) ---------- */
.faq-item { border-bottom: 1px solid var(--color-border); transition: border-color 0.3s var(--ease); }
.faq-item:hover { border-bottom-color: var(--color-border-brass); }
.faq-item summary { font-family: "Inter", sans-serif; font-weight: 500; font-size: 17px; color: var(--color-marine); padding: 24px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; transition: color 0.2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: "Inter", sans-serif; font-size: 22px; color: var(--color-brass); transition: transform 0.25s var(--ease); flex-shrink: 0; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--color-brass); }
.faq-item .answer { font-family: "Lora", serif; font-size: 16px; line-height: 1.65; padding: 0 0 24px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 54px; }
  .hero-geo .compass-lg { width: 440px; height: 440px; opacity: 0.3; }
  .stack-card { padding: 40px; }
  .stack-card .card-inner { grid-template-columns: 1fr; gap: 20px; }
  .stack-card .p-num { font-size: 60px; }
}
@media (max-width: 768px) {
  .hero { padding-top: 160px; padding-bottom: 90px; }
  .hero h1 { font-size: 40px; }
  .hero .lead { font-size: 18px; }
  .dark-cta { padding: 80px 0; }
  .dark-cta h2 { font-size: 32px; }
  .page-hero { padding: 56px 0 48px; }
  .page-hero h1 { font-size: 34px; }
  .stack-card { padding: 32px 24px; }
  .stack-card h3 { font-size: 24px; }
  .stack-card[data-index="0"], .stack-card[data-index="1"], .stack-card[data-index="2"], .stack-card[data-index="3"] { top: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .stack-card { position: relative; top: auto !important; }
}
