/* ==========================================================================
   NR Technologies — Design System
   Konzept: warmes Signal auf kaltem System.
   Ground und Struktur sind kühl (Ink-Blauschwarz), Text und Akzent warm.
   ========================================================================== */

/* --- Schriften ----------------------------------------------------------- */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var.woff2") format("woff2-variations");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NRT Sans";
  src: url("fonts/plexsans-var.woff2") format("woff2-variations");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NRT Mono";
  src: url("fonts/plexmono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NRT Mono";
  src: url("fonts/plexmono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* --- Tokens -------------------------------------------------------------- */

:root {
  color-scheme: dark;

  /* Grund und Flächen — kühl */
  --ink: #0a0d13;
  --ink-band: #0d111a;
  --surface: #131926;
  --surface-hi: #1a2231;

  /* Text — warm */
  --text: #edeae4;
  --text-soft: #b7b1a6;
  --text-mute: #7e8695;

  /* Linien */
  --line: rgba(237, 234, 228, 0.1);
  --line-hi: rgba(237, 234, 228, 0.2);

  /* Signal */
  --accent: #e0a44b;
  --accent-hi: #f2bc6c;
  --accent-wash: rgba(224, 164, 75, 0.12);

  /* Semantik (nur im Rechner) */
  --good: #4fa97e;
  --bad: #c4614a;

  /* Maße */
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --band-y: clamp(64px, 9vw, 132px);
  --radius: 14px;

  /* Typo-Skala */
  --fs-hero: clamp(2.7rem, 7.4vw, 5.5rem);
  --fs-h1: clamp(2.2rem, 5.4vw, 3.9rem);
  --fs-h2: clamp(1.75rem, 3.8vw, 2.85rem);
  --fs-h3: clamp(1.12rem, 1.7vw, 1.35rem);
  --fs-lead: clamp(1.05rem, 1.6vw, 1.28rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-label: 0.72rem;
}

/* --- Reset / Basis ------------------------------------------------------- */

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

/* Klassen wie .btn oder .form setzen display und schlagen damit das
   hidden-Attribut des Browsers. Der Check schaltet aber genau darüber um —
   ohne diese Zeile stehen Check und klassisches Formular gleichzeitig da. */
[hidden] {
  display: none !important;
}

/* Köderfeld gegen Bots. Nicht display:none — das überspringen viele Skripte
   gezielt. Es steht im Layout, nur außerhalb des Bildes. */
.koeder {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "NRT Sans", ui-sans-serif, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* --- Typografische Rollen ------------------------------------------------ */

.display {
  font-family: "Archivo", "NRT Sans", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}

.mono {
  font-family: "NRT Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  font-family: "NRT Mono", ui-monospace, Menlo, monospace;
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
  flex: 0 0 auto;
  opacity: 0.7;
}

.lead {
  font-size: var(--fs-lead);
  color: var(--text-soft);
  max-width: 62ch;
  line-height: 1.6;
}

/* --- Layout -------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band {
  padding-block: var(--band-y);
  border-top: 1px solid var(--line);
}

.band--alt {
  background: var(--ink-band);
}

.band--flush {
  border-top: 0;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head > .lead {
  padding-bottom: 6px;
}

@media (max-width: 820px) {
  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* --- Navigation ---------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.02rem;
  white-space: nowrap;
}

.brand span {
  color: var(--accent);
}

.brand small {
  font-family: "NRT Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--text-mute);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.94rem;
}

.nav-links a {
  color: var(--text-soft);
  padding-block: 6px;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

/* Buttons in der Navigation behalten ihre eigenen Farben —
   sonst gewinnt die Spezifität von `.nav-links a` gegen `.btn--primary`. */
.nav-links a.btn--primary,
.nav-links a.btn--primary:hover,
.nav-links a.btn--primary[aria-current="page"] {
  color: #17120a;
  border-bottom-color: transparent;
}

.nav-links a.btn--ghost,
.nav-links a.btn--ghost:hover {
  border-bottom-color: transparent;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-hi);
  border-radius: 8px;
  color: var(--text);
  padding: 9px 13px;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  /* Der Zusatz unter der Marke würde den Menü-Knopf aus dem Bild schieben. */
  .nav-inner .brand small {
    display: none;
  }

  .nav-inner .brand {
    min-width: 0;
    font-size: 0.95rem;
  }

  .nav-links {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink-band);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li + li {
    border-top: 1px solid var(--line);
  }

  .nav-links a {
    display: block;
    padding-block: 14px;
    border-bottom: 0;
  }

  .nav-links a[aria-current="page"] {
    color: var(--accent);
  }

  .nav-links .btn {
    margin-top: 14px;
    text-align: center;
  }
}

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "NRT Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease,
    transform 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: #17120a;
  font-weight: 600;
}

.btn--primary:hover {
  background: var(--accent-hi);
}

.btn--ghost {
  /* `background` muss gesetzt sein, sonst zeichnet der Browser bei <button>
     seine eigene graue Fläche (buttonface). */
  background: transparent;
  border-color: var(--line-hi);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.95rem;
  width: fit-content;
  transition: gap 0.18s ease;
}

.textlink:hover {
  gap: 15px;
}

/* --- Badges -------------------------------------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "NRT Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-hi);
  color: var(--text-mute);
  white-space: nowrap;
}

.badge--live {
  border-color: color-mix(in srgb, var(--good) 45%, transparent);
  color: var(--good);
}

.badge--live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--good);
}

.badge--wip {
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  color: var(--accent);
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 12vw, 148px) clamp(56px, 8vw, 104px);
  border-bottom: 1px solid var(--line);
}

/* Nur der Hero der Startseite. Drei überlagerte Verläufe geben der Fläche
   Tiefe, ohne einen Fokuspunkt zu setzen — der vorherige einzelne Kreis lag
   mit seinem Zentrum außerhalb des Bildes und wirkte dadurch wie ein Fleck.
   Bewusst statisch: bewegen soll sich auf dieser Seite nur der Chat, weil
   Bewegung dort etwas erklärt. */
.hero--home::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(
      ellipse 70% 55% at 22% 12%,
      rgba(224, 164, 75, 0.15),
      transparent 65%
    ),
    radial-gradient(
      ellipse 55% 45% at 78% 28%,
      rgba(200, 110, 70, 0.1),
      transparent 66%
    ),
    radial-gradient(
      ellipse 80% 40% at 55% 88%,
      rgba(110, 125, 160, 0.09),
      transparent 68%
    );
  pointer-events: none;
}

.hero-inner {
  position: relative;
}

.hero h1 {
  font-size: var(--fs-hero);
  max-width: 16ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero .lead {
  margin: clamp(26px, 3.4vw, 38px) 0 clamp(30px, 4vw, 44px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: clamp(44px, 6vw, 72px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-family: "NRT Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* Kleinerer Hero für Unterseiten */
.hero--page {
  padding-block: clamp(56px, 8vw, 96px) clamp(44px, 6vw, 72px);
}

.hero--page h1 {
  font-size: var(--fs-h1);
  max-width: 18ch;
}

/* --- Karten -------------------------------------------------------------- */

.grid {
  display: grid;
  gap: clamp(14px, 1.6vw, 20px);
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 2.8vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.22s ease, background 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 0.8, 0.3, 1), box-shadow 0.22s ease;
}

@media (hover: hover) {
  .card:hover {
    border-color: var(--line-hi);
    background: var(--surface-hi);
    transform: translateY(-4px) scale(1.008);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  }
}

.card h3 {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: 1.22;
  margin: 0;
  text-wrap: balance;
}

.card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.96rem;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.card-num {
  font-family: "NRT Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--accent);
}

/* Aufzählung innerhalb von Karten */
.ticks {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.94rem;
  color: var(--text-soft);
}

.ticks li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
}

.ticks li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 0.55em;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.75;
}

.ticks--muted li::before {
  background: var(--text-mute);
  opacity: 0.6;
}

/* --- Gegenüberstellung --------------------------------------------------- */

.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}

@media (max-width: 720px) {
  .compare {
    grid-template-columns: 1fr;
  }
}

.compare-col {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 2.8vw, 34px);
  background: var(--surface);
  transition: transform 0.22s cubic-bezier(0.22, 0.8, 0.3, 1),
    border-color 0.22s ease, box-shadow 0.22s ease;
}

/* Nur auf Geräten mit echtem Zeigegerät — auf dem Handy würde der Zustand
   nach dem Tippen hängen bleiben. */
@media (hover: hover) {
  .compare-col:hover {
    transform: translateY(-4px) scale(1.008);
    border-color: var(--line-hi);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  }

  .compare-col--after:hover {
    border-color: color-mix(in srgb, var(--accent) 52%, transparent);
  }
}

.compare-col h3 {
  font-family: "Archivo", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.94rem;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.compare-col--before {
  background: transparent;
}

.compare-col--before h3 {
  color: var(--text-mute);
}

.compare-col--after {
  border-color: color-mix(in srgb, var(--accent) 32%, transparent);
}

.compare-col--after h3 {
  color: var(--accent);
}

/* --- Chat-Beispiel -------------------------------------------------------
   Das Produkt ist eine Unterhaltung — also spielt sie sich ab, statt
   stillzustehen. Ohne JavaScript oder bei reduzierter Bewegung steht
   trotzdem alles sofort da.
   ------------------------------------------------------------------------ */

.chat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-cap {
  font-family: "NRT Mono", monospace;
  font-size: var(--fs-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 8px;
}

.bubble {
  max-width: 78%;
  padding: 13px 18px;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.bubble--in {
  align-self: flex-start;
  background: var(--surface-hi);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  color: var(--text-soft);
}

.bubble--out {
  align-self: flex-end;
  background: var(--accent);
  color: #17120a;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

@media (max-width: 560px) {
  .bubble {
    max-width: 92%;
  }
}

/* Erst wenn das Skript übernimmt, wird versteckt. */
.chat.is-playing .bubble {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
}

.chat.is-playing .bubble.is-said {
  opacity: 1;
  transform: none;
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.typing {
  align-self: flex-start;
  display: none;
  gap: 5px;
  align-items: center;
  background: var(--surface-hi);
  border: 1px solid var(--line);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  padding: 16px 18px;
  width: fit-content;
}

.typing.is-on {
  display: flex;
}

.typing.is-out {
  align-self: flex-end;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  border-color: color-mix(in srgb, var(--accent) 32%, transparent);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 4px;
}

.typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-mute);
  animation: blip 1.1s infinite ease-in-out;
}

.typing.is-out span {
  background: var(--accent);
}

.typing span:nth-child(2) {
  animation-delay: 0.16s;
}

.typing span:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes blip {
  0%,
  60%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.chat-replay {
  align-self: flex-start;
  margin-top: 6px;
  background: none;
  border: 0;
  padding: 6px 2px;
  font-family: "NRT Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  cursor: pointer;
  transition: color 0.18s ease;
}

.chat-replay:hover {
  color: var(--accent);
}

/* --- Hero-Ladesequenz ---------------------------------------------------- */

.hero-inner.is-entering > * {
  opacity: 0;
  transform: translateY(16px);
}

.hero-inner.is-entered > * {
  opacity: 1;
  transform: none;
  transition: opacity 0.66s ease, transform 0.66s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.hero-inner.is-entered > *:nth-child(2) {
  transition-delay: 0.08s;
}

.hero-inner.is-entered > *:nth-child(3) {
  transition-delay: 0.16s;
}

.hero-inner.is-entered > *:nth-child(4) {
  transition-delay: 0.24s;
}

.hero-inner.is-entered > *:nth-child(5) {
  transition-delay: 0.32s;
}

/* --- Prozess (echte Reihenfolge, daher nummeriert) ----------------------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(16px, 3vw, 40px);
  padding-block: clamp(24px, 3vw, 34px);
  border-top: 1px solid var(--line);
  align-items: start;
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps .step-n {
  font-family: "NRT Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  padding-top: 4px;
}

.steps h3 {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: var(--fs-h3);
  margin: 0;
  line-height: 1.24;
}

.steps p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.96rem;
}

@media (max-width: 780px) {
  .steps li {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .steps p {
    grid-column: 2;
  }
}

/* --- FAQ ----------------------------------------------------------------- */

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-block: 22px;
  cursor: pointer;
  list-style: none;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  transition: color 0.18s ease;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--accent);
}

.faq summary::after {
  content: "+";
  font-family: "NRT Mono", monospace;
  font-size: 1.3rem;
  color: var(--accent);
  flex: 0 0 auto;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0 0 24px;
  color: var(--text-soft);
  max-width: 72ch;
  font-size: 0.97rem;
}

/* --- CTA ----------------------------------------------------------------- */

.cta {
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: var(--radius);
  background: linear-gradient(
    140deg,
    var(--accent-wash),
    transparent 62%
  ),
  var(--surface);
  padding: clamp(32px, 5vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.cta h2 {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.55rem, 3.2vw, 2.4rem);
  line-height: 1.02;
  margin: 0 0 14px;
  text-wrap: balance;
}

.cta p {
  margin: 0;
  color: var(--text-soft);
  max-width: 48ch;
}

@media (max-width: 760px) {
  .cta {
    grid-template-columns: 1fr;
  }
}

/* --- Footer -------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 72px) 32px;
  background: var(--ink-band);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: 44px;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

.footer h4 {
  font-family: "NRT Mono", monospace;
  font-size: var(--fs-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0 0 18px;
  font-weight: 400;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.94rem;
}

.footer ul a {
  color: var(--text-soft);
  transition: color 0.18s ease;
}

.footer ul a:hover {
  color: var(--accent);
}

.footer-brand p {
  color: var(--text-soft);
  font-size: 0.94rem;
  max-width: 38ch;
  margin: 14px 0 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-family: "NRT Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-mute);
}

/* --- Platzhalter-Markierung ---------------------------------------------- */

.ph {
  border-bottom: 1px dashed color-mix(in srgb, var(--accent) 55%, transparent);
  color: var(--accent);
}

.ph-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px dashed color-mix(in srgb, var(--accent) 40%, transparent);
  background: var(--accent-wash);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.ph-note strong {
  color: var(--accent);
  font-weight: 600;
}

/* --- These ---------------------------------------------------------------
   Eine Aussage, kein Kartenraster. Bewusst der einzige Ort auf der Seite,
   an dem Text so groß gesetzt ist.
   ------------------------------------------------------------------------ */

.thesis {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

@media (max-width: 900px) {
  .thesis {
    grid-template-columns: 1fr;
  }
}

.thesis-statement {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4.4vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

.thesis-statement em {
  font-style: normal;
  color: var(--accent);
}

.thesis-body p {
  color: var(--text-soft);
  margin: 0 0 18px;
  font-size: 1.02rem;
}

.thesis-body p:last-child {
  margin-bottom: 0;
}

.thesis-body strong {
  color: var(--text);
  font-weight: 600;
}

/* --- Hierarchie: eine Leistung führt, der Rest ordnet sich unter --------- */

.grid--lead {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card--feature {
  grid-column: span 2;
  grid-row: span 2;
  padding: clamp(28px, 3.4vw, 44px);
  border-color: color-mix(in srgb, var(--accent) 34%, transparent);
  background: linear-gradient(150deg, var(--accent-wash), transparent 58%),
    var(--surface);
  gap: 18px;
}

.card--feature h3 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.card--feature .card-lede {
  font-size: 1.05rem;
  color: var(--text-soft);
  margin: 0;
  max-width: 44ch;
}

.card--feature .ticks {
  font-size: 0.98rem;
  gap: 13px;
}

@media (max-width: 900px) {
  .grid--lead {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card--feature {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .grid--lead {
    grid-template-columns: 1fr;
  }
}

/* Kleinere Nebenkarten, damit die Leitkarte wirklich führt. */
.card--minor {
  padding: clamp(20px, 2.2vw, 26px);
  gap: 10px;
}

.card--minor h3 {
  font-size: 1.02rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.card--minor p {
  font-size: 0.92rem;
}

/* Variante des Sektionskopfs: gestapelt statt zweispaltig. */
.section-head--stack {
  grid-template-columns: 1fr;
  max-width: 46ch;
}

/* --- Skip-Link ------------------------------------------------------------ */

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--accent);
  color: #17120a;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 20px;
  border-radius: 999px;
  transition: transform 0.18s ease;
}

.skip:focus {
  transform: none;
}

/* --- Fließtextseiten (Impressum, Datenschutz) ---------------------------- */

.prose {
  max-width: 68ch;
}

.prose h2 {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 1.24rem;
  line-height: 1.24;
  margin: 52px 0 16px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.prose h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose h3 {
  font-family: "NRT Sans", sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  margin: 28px 0 10px;
}

.prose p {
  color: var(--text-soft);
  margin: 0 0 16px;
}

.prose ul {
  color: var(--text-soft);
  margin: 0 0 16px;
  padding-left: 20px;
}

.prose li {
  margin-bottom: 8px;
}

.prose address {
  font-style: normal;
  color: var(--text-soft);
  margin-bottom: 16px;
  line-height: 1.8;
}

.prose a:not(.btn):not(.textlink) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose .ph-note {
  margin-bottom: 40px;
}

/* --- Scroll-Reveal ------------------------------------------------------- */

/* Inhalt ist standardmäßig sichtbar. Erst das Skript versteckt ihn (`is-armed`)
   und blendet ihn beim Scrollen wieder ein — fällt JavaScript aus, bleibt
   trotzdem alles lesbar. */
.reveal.is-armed {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.8, 0.3, 1),
    transform 0.7s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.reveal.is-armed.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal.is-armed {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .card:hover,
  .compare-col:hover {
    transform: none;
  }

  .chat.is-playing .bubble,
  .hero-inner.is-entering > * {
    opacity: 1;
    transform: none;
  }

  .typing {
    display: none !important;
  }

  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
