/* ================================
   RESET & ROOT
================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scrollbar-gutter: stable;
}

:root {
  --navy: #0A1C33;
  --silver: #C8CCD4;
  --cyan: #4EC3E0;
  --black: #0A0A0A;
  --white: #FFFFFF;
  --slate: #8A97A6;
}

/* ================================
   GLOBAL BACKGROUND GRID (FINAL)
================================ */
body {
  margin: 0;
  font-family: system-ui, sans-serif;
  color: #ffffff;

  background-color: #081426;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    );

  background-size: 40px 40px;
  background-attachment: fixed;
}

/* ================================
   HEADER / NAV
================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;

  background: rgba(8, 20, 38, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}

.nav a {
  color: #cfe7ff;
  text-decoration: none;
  margin-left: 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  font-weight: 500;

  color: inherit;
  text-decoration: none;
}


.logo {
  height: 44px;
  width: auto;
  margin-right: 14px;
}

@media (max-width: 768px) {
  .logo {
    height: 34px;
  }
}

.lang-toggle {
  background: transparent;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  padding: 6px 10px;
  cursor: pointer;
}

/* ================================
   MAIN / CORE PULSE (C)
================================ */
main {
  padding-top: 80px;
  position: relative;
  z-index: 1;
}

main::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background: radial-gradient(
    ellipse at top center,
    rgba(78,195,224,0.06) 0%,
    rgba(8,20,38,0.0) 45%,
    rgba(8,20,38,0.85) 100%
  );
}

/* ================================
   HERO (A + B + C sauber kombiniert)
================================ */
.hero {
  padding: 60px 24px;
  position: relative;
  overflow: hidden;

  /* WICHTIG: nicht mehr opak – lässt Grid & Pulse wirken */
  background: linear-gradient(
    180deg,
    rgba(11,31,58,0.65),
    rgba(8,20,38,0.65)
  );
}

/* Sentinel Lightbeam (B) – verstärkt, aber seriös */
.hero::before {
  content: "";
  position: absolute;
  inset: -30%;
  pointer-events: none;

  background:
    linear-gradient(
      120deg,
      rgba(78,195,224,0.18) 0%,
      rgba(78,195,224,0.08) 28%,
      rgba(255,255,255,0.03) 46%,
      rgba(10,28,51,0.0) 62%
    );

  transform: rotate(-8deg);
  z-index: 0;
}

.hero.small {
  padding: 80px 24px;
}

.hero-inner {
  max-width: 960px;
  margin: auto;

  /* Text immer über allen Effekten */
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 2px;
}

/* ================================
   CONTENT SECTIONS
================================ */
.content-section {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 24px;
}

.content-section p {
  margin-bottom: 0.8rem;
  line-height: 1.65;
}

/* Platform responsibility block spacing */
.platform-boundary {
  margin-top: 2.8rem;
  margin-bottom: 3.2rem;
}

.platform-boundary h3 {
  margin-bottom: 0.8rem;
}

.platform-boundary p {
  margin-bottom: 1.2rem;
  max-width: 820px;
}

/* Architecture boundary: Controlled AI vs Consumer AI */
.architecture-boundary {
  margin-top: 2.6rem;
  margin-bottom: 3rem;
}

.architecture-boundary h3 {
  margin-bottom: 0.8rem;
}

.architecture-boundary p {
  margin-bottom: 1.2rem;
  max-width: 820px;
}

.content-section h3 {
  margin-top: 2.4rem;
  margin-bottom: 0.8rem;
}

/* Anchor offset for fixed header */
#architecture,
#principles,
#engines,
#faq,
#contact {
  scroll-margin-top: 120px;
}

/* Extra spacing & clarity for platform responsibility statement */
.platform-boundary {
  margin-top: 2.4rem;
  margin-bottom: 2.4rem;
  line-height: 1.65;
}

/* ================================
   GUARDIAN NODES – ARCHITECTURE HEADERS
================================ */

.content-section h3 {
  position: relative;
  padding-left: 18px;
}

.content-section h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow:
    0 0 6px rgba(78,195,224,0.6),
    0 0 14px rgba(78,195,224,0.35);
}

.architecture-block {
  margin-top: 2.6rem;
}

/* ================================
   ENGINE GRID
================================ */
.engine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.engine-card {
  border: 1px solid rgba(200,204,212,0.2);
  padding: 32px;
  background: rgba(10,28,51,0.85);
  transition: all 0.3s ease;
  color: white;
  text-decoration: none;
}

.engine-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 28px rgba(78,195,224,0.28);
  transform: translateY(-6px);
}

.engine-card.active   { border-left: 4px solid var(--cyan); }
.engine-card.priority { border-left: 4px solid var(--silver); }
.engine-card.dev      { border-left: 4px solid var(--slate); }
.engine-card.future   { border-left: 4px dashed var(--silver); }

.status {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--slate);
}

.engine-note {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--silver);
}

/* ================================
   ULTRAENGINE DETAIL CONTAINER
================================ */
.ue-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1200px) {
  .ue-container {
    max-width: 1040px;
  }
}

/* ================================
   FAQ
================================ */
.faq-item {
  margin-bottom: 3rem;
}

.faq-item h3 {
  margin-bottom: 1rem;
}

.faq-item p {
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .faq-item {
    margin-bottom: 2.5rem;
  }

  .faq-item h3 {
    font-size: 1.05rem;
  }

  .faq-item p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

/* ================================
   CONTACT FORM
================================ */
.contact-form label {
  display: block;
  margin-bottom: 20px;
}

.contact-form select,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-top: 6px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.2);
  color: #fff;
}

.contact-form select option {
  color: #000;
}

/* Guardian Nodes – cyan bullets */
.content-section ul {
  list-style: none;
  padding-left: 0;
  margin-top: 2rem;
}

.content-section ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 1.4rem;
}

.content-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow:
    0 0 6px rgba(78,195,224,0.6),
    0 0 14px rgba(78,195,224,0.35);
}


/* ================================
   FOOTER
================================ */
footer {
  padding: 40px;
  text-align: center;
  color: #8fbfff;
  font-size: 12px;
}

/* =====================================================
   VISUAL HIGHLIGHTS (ADD-ON, NON-DESTRUCTIVE)
===================================================== */

/* Active Node Glow – KI-Entscheidungspunkt */
.with-node {
  position: relative;
  padding-left: 18px;
}

.with-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow:
    0 0 6px rgba(78,195,224,0.6),
    0 0 14px rgba(78,195,224,0.35);
}

/* Signal Line – technischer Fokus */
.signal-line {
  width: 100%;
  max-width: 1100px;
  height: 1px;
  margin: 80px auto;
  background: linear-gradient(
    to right,
    transparent,
    #4fd1c5,
    transparent
  );
}


/* ================================
   ARCHITECTURAL SURFACE (VISIBLE ANCHOR)
================================ */

/* Zentrale Architektur-Fläche */
.arch-surface {
  position: relative;
  margin: 48px auto;
  padding: 48px 48px;

  background:
    linear-gradient(
      180deg,
      rgba(10,28,51,0.55),
      rgba(10,28,51,0.35)
    );

  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.02),
    0 40px 120px rgba(0,0,0,0.45);

  backdrop-filter: blur(2px);
}

/* feine Kantenlinie – technische Präzision */
.arch-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(78,195,224,0.25),
      transparent
    );

  opacity: 0.35;
}

/* ================================
   ARCHITECTURAL CROSS MARKERS
   (Subtle depth accent)
================================ */

/* Container – liegt über dem Grid, unter dem Text */
.hero {
  position: relative;
}

/* Gemeinsame Basis */
.arch-cross {
  position: absolute;
  pointer-events: none;
  opacity: 0.35;
}

/* Linien allgemein */
.arch-cross span {
  position: absolute;
  background: rgba(78,195,224,0.45);
}

/* ---------- LEFT BOTTOM MARKER ---------- */
.arch-cross.left-bottom {
  left: -120px;
  bottom: -140px;
  width: 470px;
  height: 420px;
  opacity: 0.28
}

.arch-cross.left-bottom .h1,
.arch-cross.left-bottom .h2,
.arch-cross.left-bottom .h3 {
  height: 1px;
  width: 100%;
  left: 0;
}

.arch-cross.left-bottom .h1 { top: 80px; }
.arch-cross.left-bottom .h2 { top: 96px; }
.arch-cross.left-bottom .h3 { top: 112px; }

.arch-cross.left-bottom .v1,
.arch-cross.left-bottom .v2 {
  width: 1px;
  height: 100%;
  top: 0;
}

.arch-cross.left-bottom .v1 { left: 120px; }
.arch-cross.left-bottom .v2 { left: 136px; }

/* ---------- RIGHT TOP MARKER ---------- */
.arch-cross.right-top {
  right: -80px;
  top: -120px;
  width: 420px;
  height: 520px;
}

.arch-cross.right-top .h1,
.arch-cross.right-top .h2,
.arch-cross.right-top .h3 {
  height: 1px;
  width: 100%;
  left: 0;
}

.arch-cross.right-top .h1 { top: 120px; }
.arch-cross.right-top .h2 { top: 104px; }
.arch-cross.right-top .h3 { top: 88px; }

.arch-cross.right-top .v1,
.arch-cross.right-top .v2 {
  width: 1px;
  height: 100%;
  top: 0;
}

.arch-cross.right-top .v1 { left: 260px; }
.arch-cross.right-top .v2 { left: 276px; }

/* Mobile: komplett ausblenden */
@media (max-width: 900px) {
  .arch-cross {
    display: none;
  }
}
