/* ============================================================
   amplaio — Sections
   Seitenspezifische Abschnitte der Startseite: Hero, Marquee,
   Lösungsbereiche, Architektur-Diagramm, Vorgehen, CTA, Problem,
   Statement, Stand der Technik, Über uns, Call-Card.
   Einbinden nach layout.css.
   ============================================================ */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 7rem 0 5rem;
  overflow: hidden;
}
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero-fade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 42%, transparent, rgba(4, 6, 12, 0.55) 78%),
              linear-gradient(180deg, transparent 62%, var(--bg-deep) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin-inline: auto; width: 100%;
  padding-inline: var(--pad);
}
.hero-title {
  font-size: clamp(2.15rem, 7vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 22ch;
}
.hero-title em {
  font-style: normal;
  background: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }
.hero-sub {
  margin: 1.7rem 0 0;
  font-size: clamp(1.02rem, 1.7vw, 1.24rem);
  color: var(--text-dim);
  max-width: 56ch;
}
.hero-cta {
  margin-top: 2.4rem;
  display: flex; flex-wrap: wrap; gap: 0.9rem;
}
.hero-stats {
  margin-top: 2.8rem;
  display: flex; flex-wrap: wrap;
  gap: 0.7rem 1.6rem;
}
.hero-stats li {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.8rem;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.scroll-cue-text {
  font-family: var(--font-mono);
  font-size: 0.6rem; letter-spacing: 0.32em;
  color: var(--text-faint);
}
.scroll-cue-line {
  width: 1px; height: 46px;
  background: linear-gradient(var(--mint), transparent);
  position: relative; overflow: hidden;
}
.scroll-cue-line::after {
  content: ""; position: absolute; left: 0; top: -50%;
  width: 100%; height: 50%;
  background: var(--mint);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  0% { top: -50%; } 60%, 100% { top: 100%; }
}

/* ---------- Marquee ---------- */
.marquee-section {
  border-block: 1px solid var(--border);
  background: var(--surface);
  padding: 2.4rem 0;
  position: relative;
}
.marquee-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.4rem;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 2.6rem;
  width: max-content;
  animation: scroll-x 46s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  color: var(--text-dim);
  white-space: nowrap;
}
.marquee-track i { color: var(--mint); font-size: 0.5rem; font-style: normal; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Capabilities ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.4rem;
}
.cap-card {
  grid-column: span 2;
  position: relative;
  padding: 2rem 1.9rem 2.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.18s var(--ease), border-color 0.3s var(--ease);
  transform-style: preserve-3d;
}
.cap-card::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(58,255,208,0.5), transparent 42%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.cap-card:nth-child(4) { grid-column: 2 / span 2; }
.cap-card:nth-child(5) { grid-column: 4 / span 2; }
.cap-card:hover { border-color: var(--border-lit); }
.cap-card:hover::before { opacity: 1; }
.cap-glow {
  position: absolute; width: 200px; height: 200px;
  border-radius: 50%; filter: blur(70px);
  background: radial-gradient(circle, rgba(58,255,208,0.42), transparent 70%);
  top: var(--my, 30%); left: var(--mx, 50%);
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.cap-card:hover .cap-glow { opacity: 1; }
.cap-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 1.4rem;
}
.cap-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  border: 1px solid var(--border-lit);
  background: linear-gradient(150deg, var(--surface-3), transparent);
  color: var(--mint);
}
.cap-icon svg { width: 28px; height: 28px; }
.cap-index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-faint);
  letter-spacing: 0.1em;
}
.cap-card h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.cap-card > p { color: var(--text-dim); font-size: 0.97rem; }
.cap-list {
  margin-top: 1.3rem;
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
  display: grid; gap: 0.62rem;
}
.cap-list li {
  position: relative; padding-left: 1.3rem;
  font-size: 0.9rem; color: var(--text);
}
.cap-list li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 6px; height: 6px; border-radius: 1px;
  background: var(--grad-line);
  transform: rotate(45deg);
}

/* ---------- Aurora-Entlastung auf kleinen Geräten ---------- */
@media (max-width: 640px) {
  /* großflächige Blur-Auroras auf kleinen Geräten entlasten */
  .aurora { filter: blur(70px); }
  .aurora--3 { display: none; }
}

/* ---------- Approach / Process ---------- */
.process-wrap { position: relative; }
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.6rem;
}
.process-rail {
  /* spannt exakt von Mitte des ersten bis Mitte des letzten Kreises:
     linker Start = halbe Node-Breite (28px), Breite = 4 Spalten-Schritte */
  position: absolute; top: 27px; left: 28px; width: calc(80% + 1.28rem);
  height: 2px;
  /* gestrichelte Linie = geplante Flugbahn */
  background: repeating-linear-gradient(
    90deg, var(--border-lit) 0 7px, transparent 7px 14px);
  border-radius: 2px; overflow: hidden;
}
.process-fill {
  position: absolute; inset: 0;
  width: var(--fill, 0%);
  /* durchgezogene Linie = tatsächlicher Fortschritt auf der Flugbahn */
  background: var(--grad-line);
  box-shadow: 0 0 14px rgba(58, 255, 208, 0.65);
  transition: width 0.15s linear;
}
/* Sonde — reist an der Spitze der Fortschrittslinie mit (per JS positioniert) */
.process-probe {
  position: absolute;
  width: 15px; height: 15px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    #eafff9 0 20%, var(--mint) 32%, rgba(58, 255, 208, 0.2) 66%, transparent 70%);
  box-shadow: 0 0 16px 2px rgba(58, 255, 208, 0.7);
  z-index: 2;
  pointer-events: none;
}
.process-probe::after {
  content: ""; position: absolute; inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(58, 255, 208, 0.5);
  animation: probe-pulse 2.6s var(--ease) infinite;
}
@keyframes probe-pulse {
  0%   { transform: scale(0.65); opacity: 0.7; }
  100% { transform: scale(2.2);  opacity: 0; }
}
.step { position: relative; }
.step-node {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-lit);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--mint);
  margin-bottom: 1.3rem;
  position: relative; z-index: 1;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease),
              transform 0.4s var(--ease);
}
.step.is-visible .step-node {
  border-color: var(--mint);
  box-shadow: 0 0 0 5px rgba(58, 255, 208, 0.07),
              0 0 24px -4px rgba(58, 255, 208, 0.6);
}
.step h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.step p { color: var(--text-dim); font-size: 0.94rem; }

/* ---------- CTA ---------- */
.cta-section { padding-bottom: clamp(6rem, 14vh, 10rem); }
.cta-panel {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2.2rem, 5vw, 4rem);
  border-radius: 28px;
  border: 1px solid var(--border-lit);
  background:
    radial-gradient(circle at 12% 0%, rgba(58,255,208,0.14), transparent 48%),
    radial-gradient(circle at 92% 100%, rgba(124,92,255,0.18), transparent 52%),
    var(--surface-2);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  overflow: hidden;
}
.cta-copy h2 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  margin: 1rem 0 1.3rem;
}
.cta-text { color: var(--text-dim); max-width: 40ch; }
.cta-direct {
  margin-top: 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--text-faint);
}
.cta-direct a { color: var(--mint); border-bottom: 1px solid rgba(58,255,208,0.35); }

/* ---------- Problem mirror ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.problem-card {
  padding: 1.7rem 1.6rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
              transform 0.3s var(--ease);
}
.problem-card:hover {
  border-color: var(--border-lit);
  background: var(--surface-2);
  transform: translateY(-4px);
}
.problem-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mint);
}
.problem-card p {
  margin-top: 0.85rem;
  font-size: 1.04rem; line-height: 1.5;
  color: var(--text);
}
.problem-turn {
  margin: clamp(3.4rem, 7.5vw, 5.6rem) auto 0;
  max-width: 54ch;
  text-align: center;
}
.problem-turn-mark {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.2rem, 9.5vw, 7rem);
  line-height: 0.5;
  margin-bottom: clamp(0.7rem, 2.2vw, 1.5rem);
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.problem-turn p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.18rem, 2.4vw, 1.7rem);
  line-height: 1.38;
  color: var(--text-dim);
  margin-bottom: 0.9rem;
}
.problem-turn p.problem-turn-punch {
  font-size: clamp(1.75rem, 4vw, 2.9rem);
  line-height: 1.1;
  margin-top: 1.3rem;
  margin-bottom: 0;
}
.problem-turn-punch em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Statement / Haltung ---------- */
.statement-eyebrow { margin-bottom: 1.9rem; }
.statement-lead {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.7vw, 1.95rem);
  line-height: 1.4;
  color: var(--text-dim);
  max-width: 26ch;
}
.statement-big {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5.6vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 1.7rem 0;
  max-width: 16ch;
}
.statement-big em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.statement-tail {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.3vw, 1.6rem);
  line-height: 1.35;
  color: var(--text);
  max-width: 32ch;
}

/* Swing-by — Flugbahn, die im Hintergrund am Planeten vorbeischwingt.
   Bildmotiv zur Aussage „Schwung holen ohne neuen Treibstoff". */
#engpass {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
#engpass::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  right: clamp(-2.5rem, 1vw, 3rem);
  transform: translateY(-50%);
  width: clamp(260px, 33vw, 460px);
  aspect-ratio: 1;
  opacity: 0.5;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='460' height='460' fill='none'><circle cx='326' cy='246' r='30' fill='%237c5cff' fill-opacity='.16'/><circle cx='326' cy='246' r='30' stroke='%237c5cff' stroke-opacity='.5'/><ellipse cx='326' cy='246' rx='53' ry='17' stroke='%233affd0' stroke-opacity='.45' transform='rotate(-22 326 246)'/><path d='M40 430 C170 380 270 340 312 282 C350 228 268 150 86 58' stroke='%233affd0' stroke-opacity='.6' stroke-width='1.6' stroke-dasharray='6 7'/><path d='M86 58 l21 9 M86 58 l9 21' stroke='%233affd0' stroke-opacity='.6' stroke-width='1.6' stroke-linecap='round'/></svg>");
}
@media (max-width: 760px) {
  #engpass::before { display: none; }
}

/* ---------- Stand der Technik ---------- */
.stack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.stack-panel {
  padding: 2.1rem 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.stack-panel--pioneer {
  /* gestrichelte Kontur = Rand der bekannten Karte, noch unkartiertes Gebiet */
  border-style: dashed;
  border-color: rgba(124, 92, 255, 0.38);
  background:
    radial-gradient(circle at 88% 0%, rgba(124, 92, 255, 0.16), transparent 56%),
    var(--surface-2);
}
.stack-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  border: 1px solid var(--border-lit);
  color: var(--mint);
}
.stack-panel--pioneer .stack-badge {
  color: var(--violet);
  border-color: rgba(124, 92, 255, 0.4);
}
.stack-panel--pioneer .chip-dot {
  background: var(--violet);
  box-shadow: 0 0 10px var(--violet);
}
.stack-panel h3 { font-size: 1.5rem; margin: 1.2rem 0 1.4rem; }
.stack-list { display: grid; gap: 0.85rem; }
.stack-list li {
  position: relative; padding-left: 1.7rem;
  font-size: 0.97rem; color: var(--text);
}
.stack-list li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--grad-line); transform: rotate(45deg);
}
.stack-panel--pioneer .stack-list li::before {
  background: linear-gradient(135deg, var(--violet), var(--azure));
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}
.about-portrait {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border-lit);
  min-height: 400px;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  background:
    radial-gradient(circle at 30% 22%, rgba(58, 255, 208, 0.18), transparent 58%),
    radial-gradient(circle at 82% 92%, rgba(124, 92, 255, 0.24), transparent 60%),
    var(--surface-2);
}
.about-portrait-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}
.about-nameplate {
  position: relative;
  margin: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 13px;
  background: rgba(4, 6, 12, 0.72);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.about-nameplate strong {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 600;
}
.about-nameplate span {
  display: block; margin-top: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.74rem; color: var(--text-dim);
}
.about-text p {
  color: var(--text-dim);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}
.about-text p strong { color: var(--text); font-weight: 700; }
.about-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.8rem;
  border-top: 1px solid var(--border);
  padding-top: 1.6rem;
}
.fact-label {
  font-family: var(--font-mono);
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-faint);
}
.fact-value {
  display: block; margin-top: 0.3rem;
  font-family: var(--font-display);
  font-weight: 500; font-size: 1.05rem;
}

/* ---------- Call card ---------- */
.call-card {
  display: flex; flex-direction: column;
  gap: 1.2rem; justify-content: center;
}
.call-list { display: grid; gap: 0.8rem; }
.call-list li {
  position: relative; padding-left: 1.7rem;
  font-size: 0.97rem; color: var(--text);
}
.call-list li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--grad-line); transform: rotate(45deg);
}
.call-note {
  font-family: var(--font-mono);
  font-size: 0.76rem; color: var(--text-faint);
}
.call-actions { display: grid; gap: 0.65rem; }
.btn-ico { width: 17px; height: 17px; flex-shrink: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .cap-grid { grid-template-columns: 1fr; }
  .cap-card,
  .cap-card:nth-child(4),
  .cap-card:nth-child(5) { grid-column: auto; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .stack-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 1.6rem; }
  .process-rail { display: none; }
  .process-probe { display: none; }
  .cta-panel { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 0.6rem 1.1rem; }
  .hero-cta { width: 100%; }
  .cap-card { padding: 1.6rem 1.4rem; }
  .cta-panel { padding: 1.8rem 1.4rem; }
}

/* ---------- Mobile-Performance: backdrop-filter entlasten ---------- */
@media (max-width: 940px) {
  /* Karten-Blur wird beim Reveal-Einfaden und bei wandernden
     Auroras pro Frame neu berechnet — auf Mobile abschalten */
  .cap-card,
  .cta-panel,
  .stack-panel,
  .about-nameplate {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  /* Namensschild liegt über dem Foto — ohne Blur etwas opaker */
  .about-nameplate { background: rgba(4, 6, 12, 0.9); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
