/* =========================================================================
   GO! AIOS — goaios.org (Projektseite)
   Verwandt zu goaios.de, aber bewusst nüchterner: mehr Text, ruhigere Flächen,
   Monospace-Akzente. Keine externen Ressourcen (Fonts/CDN) — kein Drittzugriff.
   ========================================================================= */

:root {
  --navy-900: #0B1B2B;
  --navy-800: #10263B;
  --navy-700: #16334D;
  --ink:      #E8EFF5;
  --ink-soft: #A9BACB;
  --ink-mute: #7D91A5;
  --teal:     #6ED8D1;
  --teal-600: #3FBDB5;
  --amber:    #E0B978;
  --line:     rgba(110, 216, 209, 0.18);
  --line-soft: rgba(169, 186, 203, 0.14);

  --wrap: 1080px;
  --r: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--navy-900);
  color: var(--ink);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--teal); color: var(--navy-900);
  padding: 10px 16px; font-weight: 700; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 27, 43, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 66px; }

.brand { display: inline-flex; align-items: baseline; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 800; }
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--teal); font-size: 1.12rem; }
.brand-word { font-size: 1.12rem; }
.brand-tag {
  font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-mute);
  border: 1px solid var(--line-soft); border-radius: 5px; padding: 2px 7px; margin-left: 2px;
}

.nav { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--ink-soft); font-size: .93rem; }
.nav a:hover { color: var(--ink); text-decoration: none; }

@media (max-width: 860px) { .nav li { display: none; } }

/* ---- Buttons ---- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px;
  font-weight: 640; font-size: .98rem; line-height: 1.2; text-align: center;
  border: 1px solid transparent; transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #06212A; }
.btn-primary:hover { background: #86e5df; }
.btn-secondary { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-secondary:hover { border-color: var(--teal); }

/* ---- Hero ---- */
.hero {
  padding: clamp(60px, 10vw, 116px) 0 clamp(52px, 7vw, 88px);
  background:
    radial-gradient(880px 400px at 10% -10%, rgba(110,216,209,.11), transparent 60%),
    radial-gradient(680px 360px at 90% 0%, rgba(63,189,181,.07), transparent 62%);
  border-bottom: 1px solid var(--line-soft);
}
.eyebrow {
  margin: 0 0 18px; color: var(--teal); font-family: var(--mono);
  font-size: .78rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(1.95rem, 4.8vw, 3.15rem);
  line-height: 1.17; letter-spacing: -0.02em; font-weight: 800;
}
.lead { margin: 0 0 30px; max-width: 64ch; font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--ink-soft); }
.lead strong { color: var(--ink); }

.cta-row { display: flex; flex-wrap: wrap; gap: 13px; }

.hero-note {
  margin: 40px 0 0; padding: 16px 20px; max-width: 68ch;
  border-left: 2px solid var(--line); border-radius: 0 8px 8px 0;
  background: rgba(255,255,255,.022);
  color: var(--ink-mute); font-size: .94rem;
}
.hero-note strong { color: var(--ink-soft); }

/* ---- Sections ---- */
.section { padding: clamp(52px, 7.5vw, 94px) 0; }
.section-alt { background: var(--navy-800); border-block: 1px solid var(--line-soft); }

.section h2 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.24; letter-spacing: -0.015em; font-weight: 750;
}
.section-lead { margin: 0 0 40px; max-width: 68ch; color: var(--ink-soft); font-size: 1.02rem; }
.section-lead strong { color: var(--ink); }

/* ---- Karten ---- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  padding: 26px; border: 1px solid var(--line-soft); border-radius: var(--r);
  background: rgba(255,255,255,.022); transition: border-color .18s ease, transform .18s ease;
}
.card:hover { border-color: var(--line); transform: translateY(-2px); }
.card h3 { margin: 0 0 10px; font-size: 1.08rem; font-weight: 700; color: var(--ink); }
.card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* ---- Split / Panels ---- */
.split { display: grid; gap: clamp(24px, 4vw, 44px); grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); align-items: start; }
.split p { color: var(--ink-soft); }
.split p strong { color: var(--ink); }
.split-wide { gap: 20px; }

.panel { padding: 26px; border: 1px solid var(--line-soft); border-radius: var(--r); background: rgba(255,255,255,.022); }
.panel h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 1.06rem; font-weight: 700; }
.panel-open { border-color: rgba(110,216,209,.28); }
.panel-closed { border-color: rgba(224,185,120,.22); }
.panel-plain { background: rgba(255,255,255,.03); }

.dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.dot-open { background: var(--teal); box-shadow: 0 0 0 3px rgba(110,216,209,.15); }
.dot-closed { background: var(--amber); box-shadow: 0 0 0 3px rgba(224,185,120,.13); }

.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.plain li { color: var(--ink-soft); font-size: .96rem; padding-left: 16px; position: relative; }
.plain li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 1px; background: var(--ink-mute); }
.plain strong { color: var(--ink); }

.panel-note { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line-soft); color: var(--ink-mute); font-size: .9rem; }
.panel-note em { color: var(--ink-soft); font-style: normal; font-weight: 600; }

/* ---- Spezifikationsliste ---- */
.specs { margin: 0; display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
.specs > div { display: grid; grid-template-columns: 220px 1fr; gap: 22px; padding: 20px 24px; background: var(--navy-900); }
.specs dt { font-family: var(--mono); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--teal); padding-top: 2px; }
.specs dd { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.section-alt .specs > div { background: var(--navy-800); }

@media (max-width: 720px) {
  .specs > div { grid-template-columns: 1fr; gap: 6px; }
}

/* ---- Prinzipien ---- */
.principles { margin: 0; padding: 0; list-style: none; counter-reset: p; display: grid; gap: 16px; }
.principles li {
  counter-increment: p; position: relative; padding: 18px 22px 18px 62px;
  border: 1px solid var(--line-soft); border-radius: 11px; background: rgba(255,255,255,.022);
  color: var(--ink-soft); font-size: .97rem;
}
.principles li::before {
  content: counter(p, decimal-leading-zero);
  position: absolute; left: 22px; top: 18px;
  font-family: var(--mono); font-size: .84rem; font-weight: 700; color: var(--teal);
}
.principles strong { color: var(--ink); }

/* ---- Checks ---- */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--ink-soft); font-size: .96rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 17px; height: 9px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal);
  transform: rotate(-45deg);
}

/* ---- Schluss ---- */
.section-cta {
  /* Trägt nur noch den Absprung auf goaios.de — kompakter Abbinder, keine
     eigene Sektion mit Überschrift. Darum flacher und mittig. */
  padding: clamp(36px, 5vw, 56px) 0;
  background:
    radial-gradient(720px 260px at 50% 0%, rgba(110,216,209,.08), transparent 65%),
    var(--navy-800);
  border-top: 1px solid var(--line-soft);
  text-align: center;
}
.section-cta .cta-row { justify-content: center; }
.section-cta .section-lead { max-width: 70ch; margin-inline: auto; }

/* ---- Footer ---- */
.site-footer { padding: 36px 0; border-top: 1px solid var(--line-soft); background: var(--navy-900); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.footer-brand { margin: 0; color: var(--ink-mute); font-size: .9rem; }
.footer-brand strong { color: var(--ink-soft); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer-nav a { color: var(--ink-mute); font-size: .9rem; }
.footer-nav a:hover { color: var(--teal); }

/* ---- Einblenden beim Scrollen (nur mit JS) ---- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }
