/* Eternitree Landingpage – Corporate-Design-Tokens
   Basis: docs/ETERNITREE_CORPORATE_DESIGN.md (Clay/Teal-Markenfarben),
   Hintergrund hier bewusst sehr dunkles Blau-Schwarz statt Anthrazit. */

:root {
  --bg: #060911;
  --bg-alt: #0a0f1c;
  --surface: #10182b;
  --surface-2: #151f36;
  --surface-3: #1c2740;
  --border: #223052;
  --border-strong: #3a4a72;

  --text: #eef2f9;
  --muted: #9aa8c4;
  --muted-2: #7886a6;

  --clay: #b36138;
  --clay-bright: #d97c46;
  --clay-dark: #8e4628;
  --clay-soft: #241710;
  --clay-text: #e8c4b2;

  --teal: #18848b;
  --teal-bright: #2aa7af;
  --teal-soft: #0c2426;

  /* Warme Verlaufs- und Glow-Töne rund um Clay (Mocha/Terracotta) */
  --mocha: #a47864;
  --clay-light: #f0a275;
  --clay-glow: rgba(217, 124, 70, 0.35);
  /* Startton bewusst dunkler als --clay: weiße Buttonschrift braucht >= 4.5:1 Kontrast */
  --grad-clay: linear-gradient(135deg, #ad5c34 0%, #9b502d 55%, #8e4628 100%);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-soft: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-card: 0 12px 30px -18px rgba(0, 0, 0, 0.55);

  --font-ui: "Segoe UI", -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
  --font-brand: "Instrument Serif", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60rem 40rem at 85% -10%, rgba(179, 97, 56, 0.18), transparent 60%),
    radial-gradient(50rem 30rem at -10% 20%, rgba(24, 132, 139, 0.09), transparent 55%),
    radial-gradient(48rem 32rem at 20% 115%, rgba(164, 120, 100, 0.12), transparent 60%),
    var(--bg);
}

img {
  max-width: 100%;
  height: auto; /* width/height-Attribute nur als Seitenverhältnis, nie als feste Höhe */
  display: block;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-brand);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; font-family: var(--font-ui); font-weight: 700; }

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay-bright);
  background: var(--clay-soft);
  border: 1px solid rgba(179, 97, 56, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head p {
  margin-bottom: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-ui);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--grad-clay);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 236, 224, 0.22), 0 10px 28px -14px var(--clay-glow);
}
.btn-primary:hover {
  box-shadow: inset 0 1px 0 rgba(255, 236, 224, 0.28), 0 14px 36px -12px rgba(217, 124, 70, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--clay-bright); color: var(--clay-bright); }

.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 9, 17, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 64px;
  width: auto;
}

@media (max-width: 1080px) {
  .brand img { height: 54px; }
  .site-header .main-nav { gap: 22px; }
}

@media (max-width: 960px) {
  .header-actions .btn-ghost { display: none; }
}

@media (max-width: 720px) {
  .site-header .container { height: 72px; }
  .brand img { height: 50px; }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:hover { color: var(--text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 88px 0 60px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

/* Boot-Sequenz: tippt sich beim Laden einmal kurz aus, bevor die
   eigentliche Headline stimmungsvoll den Ton setzt - ohne Inhalt zu
   verzögern (statischer Text steht schon im Markup, JS spielt ihn nur
   nach). */
.hero-boot {
  min-height: 2.8em;
  margin-bottom: 14px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.01em;
  color: var(--clay-bright);
}

/* Hero-Tag ersetzt die runde Eyebrow-Pille durch einen Kommentarzeilen-
   Stil, konsistent mit Boot-Zeile und Sheet-Kicker. */
.hero-tag {
  display: block;
  margin-bottom: 18px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--clay-bright);
}

.hero-tag::before {
  content: "// ";
  color: var(--muted-2);
  font-weight: 400;
}

.hero h1 { color: #fff; }

.hero-lead {
  font-size: 1.15rem;
  max-width: 46ch;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-meta strong {
  display: block;
  position: relative;
  padding-left: 15px;
  font-size: 1.4rem;
  font-family: var(--font-brand);
  color: #fff;
}

.hero-meta strong::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 6px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 9px;
  color: var(--clay-bright);
}

.hero-meta span {
  display: block;
  padding-left: 15px;
  font-size: 12.5px;
  color: var(--muted-2);
}

/* Hero visual: Blueprint-Rahmen um den echten Produkt-Screenshot, im
   selben "technischer Exhibit"-Stil wie das Systemdiagramm. */
.hero-visual {
  position: relative;
}

.hero-visual-frame {
  position: relative;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background:
    radial-gradient(50rem 26rem at 50% 0%, rgba(179, 97, 56, 0.08), transparent 60%),
    var(--bg-alt);
  box-shadow: var(--shadow-soft);
}

.hero-visual-frame img {
  border-radius: 6px;
  display: block;
  width: 100%;
  cursor: pointer;
}

.corner-tick {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: rgba(154, 168, 196, 0.4);
  z-index: 1;
}

.corner-tick-tl { top: 7px; left: 7px; border-top: 1.5px solid; border-left: 1.5px solid; }
.corner-tick-tr { top: 7px; right: 7px; border-top: 1.5px solid; border-right: 1.5px solid; }
.corner-tick-bl { bottom: 7px; left: 7px; border-bottom: 1.5px solid; border-left: 1.5px solid; }
.corner-tick-br { bottom: 7px; right: 7px; border-bottom: 1.5px solid; border-right: 1.5px solid; }

.hero-visual-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-2);
}


/* Advantages grid */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.advantage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.advantage-kicker {
  display: block;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--clay-bright);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.advantage-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.advantage-card p {
  font-size: 14.5px;
  margin-bottom: 0;
}

/* Feature/module list */
.features {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.feature-card .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--clay-bright);
  margin-bottom: 10px;
}

.feature-card h3 {
  font-size: 15.5px;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 13.5px;
  margin-bottom: 0;
}

/* Packages */
.packages {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Netzwerk-Connector statt Pillen-Pfad – nimmt die Blueprint-Bildsprache
   (Via-Punkte, Trace-Linie, Monospace-Codes) für den Wachstumspfad auf. */
.package-network {
  position: relative;
  display: flex;
  max-width: 620px;
  margin: 0 auto 48px;
}

.package-network-line {
  position: absolute;
  top: 5px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(to right, var(--border-strong), var(--clay-bright), var(--border-strong));
}

.package-node {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.package-node-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clay-bright);
  box-shadow: 0 0 0 5px var(--bg-alt);
}

.package-node-code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--clay-bright);
}

.package-node-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.package-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.package-card-featured {
  border-color: rgba(217, 124, 70, 0.45);
  box-shadow: 0 0 0 1px rgba(217, 124, 70, 0.18), var(--shadow-card);
}

.package-kicker {
  display: block;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--clay-bright);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.package-card h3 {
  margin-bottom: 4px;
}

.package-audience {
  font-size: 13.5px;
  margin-bottom: 16px;
}

.package-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.package-list li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text);
}

.package-list li::before {
  content: "▸";
  color: var(--clay-bright);
  flex-shrink: 0;
}

.package-note {
  margin-top: 24px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--muted);
}

.package-note-tag {
  display: block;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--clay-bright);
  margin-bottom: 8px;
}

.package-note p {
  margin: 0;
  color: var(--muted);
}

.package-note strong {
  color: var(--text);
}

@media (max-width: 720px) {
  .package-network { max-width: 340px; }
  .package-node-name { font-size: 11.5px; }
}

/* Screenshots: horizontale Filmstrip-Galerie im Blueprint-Rahmen-Stil
   des Hero-Screenshots (Corner-Ticks, Live-Caption, wiederverwendet).
   Lebt jetzt direkt im Hero (00 START) statt in einer eigenen Sektion. */
.screens-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted-2);
  margin-top: -24px;
  margin-bottom: 40px;
}

.hero-visual-gallery .screens-note {
  text-align: left;
  margin: 0 0 10px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-visual-gallery .screen-card {
  width: 320px;
}

@media (max-width: 720px) {
  .hero-visual-gallery .screen-card { width: 280px; }
}

.screens-scroller {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

.screens-scroller::-webkit-scrollbar { height: 6px; }
.screens-scroller::-webkit-scrollbar-track { background: transparent; }
.screens-scroller::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }
.screens-scroller::-webkit-scrollbar-thumb:hover { background: var(--clay-bright); }

.screen-card {
  flex: 0 0 auto;
  width: 380px;
  scroll-snap-align: start;
}

.screen-card .hero-visual-frame img { cursor: zoom-in; }

.screen-card .hero-visual-frame img:focus-visible {
  outline: 2px solid var(--clay-bright);
  outline-offset: 3px;
}

.screen-desc {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .screen-card { width: 300px; }
}

/* CTA / contact */
.contact {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
}

.contact-info .eyebrow { margin-bottom: 20px; }

.contact-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-points li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text);
}

.contact-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--clay-bright);
  flex-shrink: 0;
}

.contact-form {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

/* Clay-Siegel: erscheint wie ein amtlicher Tonstempel, sobald das
   Kontaktformular erfolgreich abgeschickt wurde - Aufgriff der
   "technisches Dokument"-Metapher der Seite plus der Clay-Markenfarbe. */
.clay-stamp {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 5;
}

.clay-stamp-ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 3px solid var(--clay-bright);
  box-shadow: inset 0 0 0 4px rgba(217, 124, 70, 0.15);
  background: rgba(217, 124, 70, 0.1);
  color: var(--clay-bright);
  font-family: var(--font-ui);
  transform: rotate(-9deg) scale(1.9);
  opacity: 0;
}

.clay-stamp-check {
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.clay-stamp-label {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.clay-stamp.stamped .clay-stamp-ring {
  animation: clayStampDown 0.6s cubic-bezier(0.2, 1.3, 0.4, 1) forwards;
}

@keyframes clayStampDown {
  0% { opacity: 0; transform: rotate(-9deg) scale(2.2); }
  55% { opacity: 1; transform: rotate(-9deg) scale(0.92); }
  75% { opacity: 1; transform: rotate(-9deg) scale(1.04); }
  100% { opacity: 1; transform: rotate(-9deg) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .clay-stamp.stamped .clay-stamp-ring {
    animation: none;
    opacity: 1;
    transform: rotate(-9deg) scale(1);
  }
}

@media (max-width: 720px) {
  .clay-stamp-ring { width: 108px; height: 108px; }
  .clay-stamp-check { font-size: 28px; }
  .clay-stamp-label { font-size: 9.5px; }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 14px;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--clay-bright);
}

.field-hint {
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 6px;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 20px;
}

.consent input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--clay);
}

.form-status {
  margin-top: 14px;
  font-size: 13.5px;
  display: none;
}

.form-status.visible { display: block; }
.form-status.ok { color: var(--clay-bright); }
.form-status.err { color: var(--muted); }

/* Footer */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}

.footer-nav {
  display: flex;
  gap: 4px 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  display: inline-block;
  padding: 10px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
}

.footer-nav a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted-2);
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

/* Legal pages */
.legal-page {
  padding: 64px 0 96px;
}

.legal-page .container {
  max-width: 820px;
}

.legal-page h1 { color: #fff; margin-bottom: 6px; }
.legal-page .updated { color: var(--muted-2); font-size: 13px; margin-bottom: 40px; }
.legal-page h2 {
  font-family: var(--font-ui);
  font-size: 1.15rem;
  margin-top: 40px;
  color: #fff;
}
.legal-page h3 {
  font-size: 15px;
  margin-top: 24px;
}
.legal-page p, .legal-page li { color: var(--muted); font-size: 14.5px; }
.legal-page ul { padding-left: 20px; }
.legal-page a.inline-link { color: var(--clay-bright); text-decoration: underline; }

.todo-box {
  background: var(--clay-soft);
  border: 1px dashed var(--clay);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 13.5px;
  color: var(--clay-text);
  margin: 18px 0;
}

/* Lightbox / Fullscreen Image Viewer */
.lightbox {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  padding: 20px;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: var(--text);
  font-size: 40px;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.lightbox-close:hover {
  color: var(--clay-bright);
}

@media (max-width: 720px) {
  .lightbox-close {
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 44px;
    height: 44px;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .package-grid { grid-template-columns: 1fr; }
  .screens-grid { grid-template-columns: 1fr; }
  .contact .container { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-ghost { display: none; }
  .advantages-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { padding-top: 48px; }
  .hero-boot { min-height: 4.2em; font-size: 11px; }
}

/* Scroll Animations for Cards and Sections */
.feature-card,
.advantage-card,
.package-card {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card.in-view,
.advantage-card.in-view,
.package-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.problem-solution.in-view {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger delays for child elements */
.features-grid > .feature-card:nth-child(1) { transition-delay: 0ms; }
.features-grid > .feature-card:nth-child(2) { transition-delay: 100ms; }
.features-grid > .feature-card:nth-child(3) { transition-delay: 200ms; }
.features-grid > .feature-card:nth-child(4) { transition-delay: 300ms; }
.features-grid > .feature-card:nth-child(5) { transition-delay: 400ms; }
.features-grid > .feature-card:nth-child(6) { transition-delay: 500ms; }

.advantages-grid > .advantage-card:nth-child(1) { transition-delay: 0ms; }
.advantages-grid > .advantage-card:nth-child(2) { transition-delay: 80ms; }
.advantages-grid > .advantage-card:nth-child(3) { transition-delay: 160ms; }
.advantages-grid > .advantage-card:nth-child(4) { transition-delay: 240ms; }
.advantages-grid > .advantage-card:nth-child(5) { transition-delay: 320ms; }
.advantages-grid > .advantage-card:nth-child(6) { transition-delay: 400ms; }


.package-grid > .package-card:nth-child(1) { transition-delay: 0ms; }
.package-grid > .package-card:nth-child(2) { transition-delay: 120ms; }
.package-grid > .package-card:nth-child(3) { transition-delay: 240ms; }

/* Blueprint Systemdiagramm */
.blueprint-section {
  padding: 90px 0 0;
}

/* Scroll-Pin: das Diagramm bleibt fixiert, während die Traces sich im
   Rhythmus des Scrollens aufbauen (siehe blueprint-diagram.js). Scrollt
   man zurück, "spult" das Diagramm ebenso zurück. */
.blueprint-pin-wrap {
  position: relative;
  height: 230vh;
}

/* Position (fixed/absolute) und top/bottom werden von blueprint-diagram.js
   pro Frame gesetzt - kein CSS position:sticky, weil das globale
   `overflow-x: hidden` auf html/body sticky-Elemente sonst unwirksam macht. */
.blueprint-pin-inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 70px 0;
}

/* Volle 100vh-Zentrierung erzeugt bei kurzem Inhalt auf schmalen/hohen
   Bildschirmen (Handys, aber auch Tablets im Hochformat) viel Leerraum
   oberhalb/unterhalb des Frames - dort stattdessen an der Oberkante
   ausrichten. Der Frame folgt einem festen Seitenverhaltnis (1200:620),
   daher betrifft das jedes schmal-hohe Viewport, nicht nur Handy-Breiten. */
@media (max-width: 720px), (max-aspect-ratio: 4/5) {
  .blueprint-pin-wrap { height: 190vh; }
  .blueprint-pin-inner {
    height: auto;
    align-items: flex-start;
    padding: 24px 0;
  }
}

/* Handys zeichnen das Diagramm im Hochformat (blueprint-diagram.js): es ist
   fast bildschirmhoch, daher füllt der Pin wieder den Viewport, damit
   während des Aufbaus keine Leerfläche unter dem Diagramm stehen bleibt. */
@media (max-width: 600px) {
  .blueprint-pin-inner {
    height: 100vh;
    height: 100svh;
    align-items: center;
    padding: 8px 0;
  }
}

.blueprint-frame {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  background:
    radial-gradient(60rem 30rem at 50% 0%, rgba(179, 97, 56, 0.07), transparent 60%),
    var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-card);
}

.blueprint-frame canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 620;
  border-radius: 8px;
  cursor: default;
}

.blueprint-frame canvas.is-portrait {
  aspect-ratio: 600 / 880;
}

.blueprint-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 12px 8px 6px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.blueprint-caption-hint {
  color: var(--clay-bright);
  opacity: 0.85;
}

.blueprint-caption-hint-touch { display: none; }

@media (hover: none) {
  .blueprint-caption-hint-pointer { display: none; }
  .blueprint-caption-hint-touch { display: inline; }
}

@media (max-width: 720px) {
  .blueprint-frame { padding: 6px; }
  .blueprint-caption { font-size: 9.5px; flex-wrap: wrap; row-gap: 2px; }
  .blueprint-caption-desc { display: none; }
}

/* Problem Solution Section */
.problem-solution {
  padding: 80px 0;
  background: linear-gradient(to bottom, rgba(179, 97, 56, 0.03), transparent);
}

.problem-solution .section-head {
  margin-bottom: 60px;
  text-align: center;
}

/* Terminal-Duell: zwei synchron startende, live "tippende" Terminals statt
   statischer Vergleichskarten - visualisiert den Zeitunterschied direkt,
   ohne dass Zahlen erst gelesen werden müssen. */
.terminal-duel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1040px;
  margin: 0 auto;
}

.terminal-window {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.terminal-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  flex-shrink: 0;
  padding: 0 12px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
}

.terminal-name {
  margin-left: 8px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 11.5px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}

.terminal-elapsed {
  margin-left: auto;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--clay-bright);
  font-variant-numeric: tabular-nums;
}

[data-terminal="slow"] .terminal-elapsed {
  color: var(--muted-2);
}

.terminal-body {
  flex: 1;
  height: 400px;
  overflow-y: auto;
  padding: 16px 18px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12.5px;
  line-height: 1.75;
  scrollbar-width: thin;
}

.term-line {
  white-space: pre-wrap;
  word-break: break-word;
  opacity: 0;
  animation: termFadeIn 0.25s ease forwards;
}

@keyframes termFadeIn {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

.term-line.cmd { color: var(--text); }
.term-line.cmd::before { content: "$ "; color: var(--muted-2); }
.term-line.output { color: var(--muted); }
.term-line.dim { color: var(--muted-2); }
.term-line.success { color: var(--clay-bright); }
.term-line.fail { color: var(--muted-2); }
.term-line.incoming { color: var(--clay-bright); }
.term-line.incoming::before { content: "◆ "; color: var(--clay-bright); }

.term-line.status-ok,
.term-line.status-fail {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  font-weight: 700;
  letter-spacing: 0.03em;
}
.term-line.status-ok { color: var(--clay-bright); }
.term-line.status-fail { color: var(--muted-2); }

.term-spinner { color: var(--muted-2); }

.term-cursor {
  display: inline-block;
  width: 6px;
  height: 12px;
  margin-left: 2px;
  background: var(--teal-bright);
  transform: translateY(2px);
  animation: termBlink 0.9s step-start infinite;
}

@keyframes termBlink {
  50% { opacity: 0; }
}

.terminal-replay-row {
  margin-top: 32px;
  text-align: center;
}

.terminal-replay {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  min-height: 44px;
  padding: 8px 18px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.terminal-replay:hover {
  color: var(--clay-bright);
  border-color: var(--clay-bright);
}

.terminal-replay:disabled {
  opacity: 0.5;
  cursor: default;
}

.terminal-summary {
  margin: 16px 0 0;
  font-size: 15px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .terminal-duel { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .terminal-body { height: 320px; font-size: 11.5px; }
}

.site-header.nav-open .main-nav {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 24px 20px;
  gap: 0;
}

.site-header.nav-open .main-nav a {
  display: block;
  width: 100%;
  padding: 12px 0;
}

/* ==========================================================================
   Living-Blueprint-Layer: Sheet-Kicker, System-HUD, Custom Cursor
   ========================================================================== */

/* Sheet-Kicker: jede Sektion als nummeriertes Blatt eines technischen
   Dokuments, konsistent mit der Blueprint-Diagramm-Sprache. */
.sheet-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  /* Wirkt nur, wenn der Elterncontainer ein Grid ist (Hero, Kontakt) -
     verhindert, dass der Kicker als drittes Element deren feste
     Zwei-Spalten-Aufteilung durcheinanderbringt. */
  grid-column: 1 / -1;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  user-select: none;
}

.sheet-kicker .sheet-index {
  color: var(--clay-bright);
  font-weight: 700;
}

.sheet-kicker .sheet-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--border-strong), transparent);
}

.hero .sheet-kicker { margin-top: 4px; }

@media (max-width: 720px) {
  .sheet-kicker { font-size: 9.5px; gap: 8px; margin-bottom: 18px; }
}

/* System-HUD: fixe Randanzeige, die Sektion und Scrollposition wie in
   einem CAD-/Ingenieurstool mitführt. Nur Desktop – auf schmalen
   Bildschirmen ist der Platz zu knapp und der Nutzen zu gering. */
.system-hud {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px;
  background: rgba(10, 15, 28, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 10.5px;
  letter-spacing: 0.05em;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.system-hud.visible {
  opacity: 1;
  transform: translateY(0);
}

.hud-row {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-width: 132px;
}

.hud-label {
  color: var(--muted-2);
}

.hud-value {
  color: var(--clay-bright);
  font-weight: 600;
}

@media (max-width: 960px) {
  .system-hud { display: none; }
}

/* Custom Cursor: Fadenkreuz-Reticle statt Systemzeiger, nur für Geräte mit
   echtem Maus-Pointer (Touch bleibt unangetastet). */
html.has-custom-cursor,
html.has-custom-cursor body {
  cursor: none;
}

html.has-custom-cursor a,
html.has-custom-cursor button,
html.has-custom-cursor .advantage-card,
html.has-custom-cursor .feature-card,
html.has-custom-cursor .package-card,
html.has-custom-cursor .hero-visual-frame,
html.has-custom-cursor input,
html.has-custom-cursor textarea,
html.has-custom-cursor #blueprintCanvas {
  cursor: none;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  will-change: transform;
}

.custom-cursor.visible {
  opacity: 1;
}

.cursor-dot {
  position: absolute;
  top: -2px;
  left: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
}

.cursor-ring {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(154, 168, 196, 0.4);
  border-radius: 50%;
  transition: width 0.2s ease, height 0.2s ease, top 0.2s ease, left 0.2s ease,
    border-radius 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.custom-cursor.cursor-hover .cursor-ring {
  top: -22px;
  left: -22px;
  width: 44px;
  height: 44px;
  border-color: var(--clay-bright);
  background: rgba(217, 124, 70, 0.1);
}

.custom-cursor.cursor-hover .cursor-dot {
  background: var(--clay-bright);
}

/* Fadenkreuz-Ticks im Hover-Zustand statt reinem Kreis – nimmt die
   Ecken-Ticks der Blueprint-Nodes als wiederkehrendes Motiv auf. */
.custom-cursor::before,
.custom-cursor::after {
  content: "";
  position: absolute;
  background: transparent;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.custom-cursor.cursor-hover::before,
.custom-cursor.cursor-hover::after {
  opacity: 1;
}

.custom-cursor::before {
  top: -1px;
  left: -30px;
  width: 10px;
  height: 1px;
  border-top: 1px solid var(--clay-bright);
}

.custom-cursor::after {
  top: -1px;
  left: 20px;
  width: 10px;
  height: 1px;
  border-top: 1px solid var(--clay-bright);
}

@media (hover: none), (pointer: coarse) {
  .custom-cursor { display: none !important; }
}

/* ==========================================================================
   Tiefen-Layer: 3D-Jahresringe, Screenshot-Tilt, warme Clay-Akzente
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-accent {
  background: linear-gradient(100deg, #f6dccb 0%, var(--clay-light) 38%, var(--clay-bright) 70%, var(--clay) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Die Wachstumsringe des Logos als räumlich gestaffelte Ebenen: innere
   Ringe liegen näher am Betrachter, JS dreht nur die Bühne. */
.hero-rings {
  --size: 760px;
  position: absolute;
  z-index: 0;
  top: calc(50% - 150px - var(--size) / 2);
  left: calc(50% + 290px - var(--size) / 2);
  width: var(--size);
  height: var(--size);
  perspective: 1200px;
  pointer-events: none;
}

.hero-rings-stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(16deg) rotateY(-20deg);
}

.hero-rings .ring {
  position: absolute;
  inset: calc(var(--i) * 7.6%);
  border-radius: 50%;
  border: 1.5px solid rgb(217 124 70 / calc(0.14 + var(--i) * 0.06));
  translate: 0 0 calc(var(--i) * 34px);
  animation: ringGrow 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc((5 - var(--i)) * 120ms);
}

/* Die drei inneren Ringe tragen den Kerbschlitz des Logos (oben, konstante Breite). */
.hero-rings .ring-logo {
  border-width: 3px;
  border-color: rgb(217 124 70 / calc(0.3 + (var(--i) - 3) * 0.2));
  box-shadow: 0 0 28px -8px rgba(217, 124, 70, 0.45);
  -webkit-mask:
    linear-gradient(#000 0 0) bottom / 100% 50% no-repeat,
    linear-gradient(to right, #000 calc(50% - 7px), transparent 0 calc(50% + 7px), #000 0) top / 100% 50% no-repeat;
  mask:
    linear-gradient(#000 0 0) bottom / 100% 50% no-repeat,
    linear-gradient(to right, #000 calc(50% - 7px), transparent 0 calc(50% + 7px), #000 0) top / 100% 50% no-repeat;
}

.hero-rings .ring-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8.8%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--clay-light), var(--clay) 70%);
  box-shadow: 0 0 44px 10px rgba(217, 124, 70, 0.4);
  translate: -50% -50% 230px;
  animation: ringGrow 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Ein Wachstumsimpuls läuft periodisch vom Kern nach außen und in die Tiefe. */
.hero-rings .ring-pulse {
  position: absolute;
  inset: 38%;
  border-radius: 50%;
  border: 2px solid rgba(240, 162, 117, 0.7);
  opacity: 0;
  translate: 0 0 200px;
  animation: ringPulse 5.5s ease-out 1.8s infinite;
}

@keyframes ringGrow {
  from { scale: 0.55; opacity: 0; }
  to { scale: 1; opacity: 1; }
}

@keyframes ringPulse {
  0% { scale: 0.3; opacity: 0; translate: 0 0 200px; }
  8% { opacity: 0.9; }
  100% { scale: 2.8; opacity: 0; translate: 0 0 0; }
}

@media (max-width: 960px) {
  .hero-rings {
    --size: 520px;
    top: -40px;
    left: auto;
    right: calc(var(--size) * -0.34);
    opacity: 0.7;
  }
}

@media (max-width: 720px) {
  .hero-rings {
    --size: 420px;
    top: -20px;
    right: calc(var(--size) * -0.24);
    opacity: 0.72;
  }
}

/* 3D-Tilt der Screenshot-Rahmen mit Lichtreflex (Werte setzt depth-effects.js) */
.hero-visual-frame {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.hero-visual-frame.is-tilting {
  transition: transform 0.12s linear, box-shadow 0.4s ease, border-color 0.4s ease;
  border-color: rgba(217, 124, 70, 0.45);
  box-shadow: var(--shadow-soft), 0 26px 60px -30px rgba(217, 124, 70, 0.6);
}

.hero-visual-frame img,
.hero-visual-frame .corner-tick {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual-frame.is-tilting img { transform: translateZ(16px); }
.hero-visual-frame.is-tilting .corner-tick { transform: translateZ(28px); border-color: var(--clay-bright); }

.hero-visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 214, 190, 0.2), transparent 55%);
  opacity: 0;
  transform: translateZ(22px);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.hero-visual-frame.is-tilting::after { opacity: 1; }

/* Fächer-Effekt der Screenshot-Galerie beim Wischen/Scrollen */
.screens-scroller .screen-card {
  transform: perspective(1000px) rotateY(var(--fan-rot, 0deg)) scale(var(--fan-scale, 1));
}

/* Warme Glas-Glows auf den Karten */
.advantage-card,
.feature-card,
.package-card {
  background:
    linear-gradient(160deg, rgba(217, 124, 70, 0.05), transparent 40%),
    var(--surface);
}

.advantage-card.in-view:hover,
.feature-card.in-view:hover,
.package-card.in-view:hover {
  border-color: rgba(217, 124, 70, 0.4);
  box-shadow: 0 18px 44px -24px rgba(217, 124, 70, 0.45);
}

.eyebrow {
  background: rgba(36, 23, 16, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* FAQ: native <details>-Akkordeons, funktionieren ohne JS und per Tastatur */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(160deg, rgba(217, 124, 70, 0.05), transparent 40%),
    var(--surface);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(217, 124, 70, 0.45);
  box-shadow: 0 18px 44px -26px rgba(217, 124, 70, 0.45);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 20px;
  line-height: 1;
  color: var(--clay-bright);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item summary:focus-visible {
  outline: 2px solid var(--clay-bright);
  outline-offset: 2px;
  border-radius: var(--radius-md);
}

.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 15px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-rings .ring,
  .hero-rings .ring-core { animation: none; }
  .hero-rings .ring-pulse { display: none; }
  .hero-visual-frame,
  .hero-visual-frame img,
  .hero-visual-frame .corner-tick { transition: none; }
}

/* ==========================================================================
   WEB-02/03 – Gemeinsame Komponenten für Positionierung und Unterseiten
   (Statusbadges, Technical-Memory-Kreislauf, Produktbeispiel, Rollen,
   Funktionsbereiche, Unterseiten-Layout, Breadcrumbs, Vergleichstabelle,
   Selbstcheck). Mobile first; keine zusätzlichen Skripte nötig.
   ========================================================================== */

/* Statusbadges – verbindliche Kennzeichnung des Entwicklungsstands */
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid currentColor;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
  vertical-align: middle;
  line-height: 1.4;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-live { color: var(--teal-bright); background: var(--teal-soft); }
.status-pilot { color: #c9b45a; background: rgba(201, 180, 90, 0.08); }
.status-dev { color: var(--clay-light); background: var(--clay-soft); }
.status-planned { color: var(--muted); background: transparent; border-style: dashed; }

.status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: center;
  margin: 0 auto 40px;
  font-size: 13px;
  color: var(--muted);
}
.status-legend span { display: inline-flex; align-items: center; gap: 8px; }

.section-alt { background: linear-gradient(180deg, rgba(16, 24, 43, 0.35), rgba(16, 24, 43, 0)); }

/* Problemkarten */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--clay);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}
.problem-card h3 { font-size: 1.02rem; margin-bottom: 8px; color: var(--text); }
.problem-card p { font-size: 0.95rem; margin: 0; }
.problem-close {
  max-width: 760px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 1.08rem;
  color: var(--text);
}

/* Technical-Memory-Kreislauf */
.memory-cycle {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  counter-reset: cycle;
  max-width: 820px;
  margin-inline: auto;
}
.memory-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 16px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  counter-increment: cycle;
}
.memory-step::before {
  content: counter(cycle, decimal-leading-zero);
  grid-row: span 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--clay-bright);
  font-weight: 700;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.memory-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 39px;
  bottom: -13px;
  width: 2px;
  height: 12px;
  background: var(--border-strong);
}
.memory-step > * { min-width: 0; }
.memory-step h3 {
  font-size: 1rem;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  color: var(--text);
}
.memory-step p { margin: 0; font-size: 0.93rem; }
.memory-step-core { border-color: var(--clay); box-shadow: 0 0 0 1px rgba(179, 97, 56, 0.35), var(--shadow-card); }
.memory-step-core::before { background: var(--grad-clay); color: #fff9f5; border-color: transparent; }
.memory-loop {
  max-width: 820px;
  margin: 18px auto 0;
  padding: 14px 18px;
  border: 1px dashed var(--clay);
  border-radius: var(--radius-md);
  color: var(--clay-text);
  font-size: 0.95rem;
  text-align: center;
}

/* Produktbeispiel „Diese Störung gab es schon.“ */
.example-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 961px) {
  .example-layout { grid-template-columns: 1.05fr 0.95fr; }
}
.example-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.example-card-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.example-card h3 { font-family: var(--font-brand); font-weight: 400; font-size: 1.7rem; margin-bottom: 18px; }
.example-facts { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.example-facts li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text);
  font-size: 0.95rem;
}
.example-facts strong { color: var(--clay-light); font-weight: 700; }
.example-sources { border-top: 1px solid var(--border); padding-top: 14px; font-size: 0.9rem; color: var(--muted); }
.example-sources ul { margin: 6px 0 0; padding-left: 18px; }
.example-note { font-size: 0.85rem; color: var(--muted-2); margin: 14px 0 0; }
.example-steps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.example-steps li {
  padding: 14px 16px;
  border-left: 2px solid var(--teal);
  background: rgba(12, 36, 38, 0.45);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text);
}
.example-steps li span { display: block; font-size: 0.9rem; color: var(--muted); margin-top: 4px; }
.proof-figure { margin: 0; }
.proof-figure img { border-radius: var(--radius-md); border: 1px solid var(--border); cursor: zoom-in; height: auto; }
.proof-figure figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 10px; }

/* Rollen und Funktionsbereiche */
.role-grid, .pillar-grid, .link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.pillar-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.role-card, .pillar-card, .link-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
}
.role-card .role-name, .pillar-card .pillar-verb {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay-bright);
  margin-bottom: 8px;
}
.role-card h3, .pillar-card h3, .link-card h3 { font-size: 1.05rem; color: var(--text); }
.role-card p, .link-card p { font-size: 0.93rem; margin: 0; }
.pillar-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pillar-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  font-size: 0.93rem;
  color: var(--muted);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.pillar-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.link-card { text-decoration: none; display: block; transition: border-color 0.2s ease, transform 0.2s ease; }
.link-card:hover { border-color: var(--clay); transform: translateY(-2px); }
.link-card .link-more { display: inline-block; margin-top: 12px; color: var(--clay-bright); font-weight: 700; font-size: 0.9rem; }

/* Trust / Integrationen */
.trust-layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 961px) { .trust-layout { grid-template-columns: 1fr 1fr; } }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.trust-list li { color: var(--muted); padding-left: 22px; position: relative; }
.trust-list li::before { content: "◆"; position: absolute; left: 0; top: 1px; color: var(--clay-bright); font-size: 11px; }
.trust-list strong { color: var(--text); }

/* Abschluss-CTA-Band */
.cta-band {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  max-width: 860px;
  margin: 0 auto;
}
.cta-band p { max-width: 620px; margin-inline: auto; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }

/* Unterseiten */
.page-hero { padding: 56px 0 40px; }
.page-hero h1 { max-width: 860px; }
.page-meta { font-size: 0.95rem; color: var(--muted-2); margin-top: 12px; }
.page-hero .lead { font-size: 1.15rem; max-width: 760px; color: var(--text); opacity: 0.9; }
.breadcrumbs { font-size: 13px; color: var(--muted-2); margin-bottom: 20px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--border-strong); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--clay-bright); }
.page-section { padding: 48px 0; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 8px; }
.prose h3 { margin-top: 28px; margin-bottom: 10px; color: var(--text); }
.prose p, .prose li { color: var(--muted); font-size: 1.02rem; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); }
.prose a, .inline-link { color: var(--clay-bright); }
.callout {
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 16px 18px;
  margin: 24px 0;
}
.callout p:last-child { margin-bottom: 0; }

/* Vergleichstabelle – auf Mobil horizontal scrollbar im eigenen Container */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius-md); }
.compare-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 0.95rem; }
.compare-table th, .compare-table td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.compare-table thead th { background: var(--surface-2); color: var(--text); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
.compare-table tbody th { color: var(--text); font-weight: 600; width: 26%; }
.compare-table td { color: var(--muted); }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }

.flow-compare { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 761px) { .flow-compare { grid-template-columns: 1fr 1fr; } }
.flow-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; }
.flow-box h3 { color: var(--text); font-size: 1.05rem; }
.flow-box ol { margin: 0; padding-left: 20px; color: var(--muted); }
.flow-box ol li { margin-bottom: 6px; }
.flow-box-highlight { border-color: var(--clay); }

/* Selbstcheck */
.check-form { max-width: 760px; }
.check-question {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 18px 20px;
  margin: 0 0 14px;
}
.check-question legend { float: left; width: 100%; padding: 0; margin-bottom: 4px; color: var(--text); font-weight: 600; }
.check-question legend + * { clear: both; }
.check-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.check-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.93rem;
  justify-content: center;
  padding-inline: 8px;
}
.check-options input { accent-color: var(--clay); }
.check-options label:has(input:checked) { border-color: var(--clay); color: var(--text); background: var(--clay-soft); }
.check-result {
  margin-top: 24px;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--clay);
  background: var(--surface);
}
.check-result[hidden] { display: none; }

@media (max-width: 720px) {
  /* Tabellen als gestapelte Karten: keine abgeschnittenen Spalten auf dem Handy */
  .table-scroll { overflow: visible; border: 0; }
  .compare-table { min-width: 0; }
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: 100%; }
  .compare-table tr { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); padding: 14px 16px; margin-bottom: 12px; }
  .compare-table tbody th, .compare-table td { border: 0; padding: 4px 0; width: 100%; }
  .compare-table tbody th { font-size: 1rem; padding-bottom: 8px; }
  .compare-table td[data-label]::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 2px; }
  .page-hero { padding: 36px 0 24px; }
  .page-section { padding: 36px 0; }
  .example-card { padding: 18px; }
  .memory-step { grid-template-columns: 36px 1fr; padding: 14px; }
  .memory-step::before { width: 36px; height: 36px; font-size: 12px; }
  .memory-step:not(:last-child)::after { left: 31px; }
  .cta-band { padding: 28px 18px; }
}
