/* ==========================================================================
   InfraQ Proxmox Funnel
   Design-DNA: infraq.cloud (Typo, CTA, Weißraum, Qualität)
   Eigene Welt: Kupfer-Akzent + Graphit (Virtualisierung / Infrastruktur)
   CTA-Markenanker: InfraQ-Blau #2e31e1 (wie Funnel-Familie)
   Akzent: Kupfer #c47f3a (bewusst anders als Teal/Sage/Violett/Bordeaux)
   ========================================================================== */

:root {
  /* InfraQ Markenanker — Primary CTAs */
  --brand: #2e31e1;
  --brand-hover: #2528c4;
  --brand-soft: rgba(46, 49, 225, 0.14);

  /* Aliase für bestehende Regeln */
  --primary: var(--brand);
  --primary-hover: var(--brand-hover);
  --primary-soft: var(--brand-soft);

  /* Proxmox-Thema: Kupfer / Hardware */
  --accent: #c47f3a;
  --accent-hover: #b06f30;
  --accent-soft: rgba(196, 127, 58, 0.14);

  /* Dezenter Stahlton nur für Illustrationen (kein zweites Branding) */
  --theme-steel: #3d5a6c;
  --theme-steel-soft: rgba(61, 90, 108, 0.14);

  --iq-ink: #141a22;
  --iq-muted: #5a6573;
  --ok: #3f8f7a;
  --ok-soft: rgba(63, 143, 122, 0.12);
  --review: var(--accent);
  --review-soft: var(--accent-soft);
  --elevated: #b85c4a;
  --elevated-soft: rgba(184, 92, 74, 0.12);
  --bg: #ffffff;
  --bg-alt: #e9ecef;
  --surface: #ffffff;
  --dark: #0a0b12;
  --dark-2: #12161c;
  --line: rgba(20, 26, 34, 0.1);
  --line-dark: rgba(255, 255, 255, 0.1);
  --text: #141a22;
  --text-soft: #3d4654;
  --on-dark: #ffffff;
  --on-dark-soft: #b8c0cc;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-display: "Outfit", "Segoe UI", Arial, sans-serif;
  --font-mono: "SF Mono", "Cascadia Code", Consolas, monospace;
  --container: 1120px;
  --narrow: 680px;
  --gutter: 24px;
  --header-h: 76px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: 0 0 0 3px rgba(46, 49, 225, 0.35);
  --duration: 0.28s;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--primary-hover);
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: inherit;
  margin: 0 0 0.6em;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  max-width: min(100%, 22ch);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

h4 {
  font-size: 1rem;
  font-weight: 700;
}

small,
.text-sm {
  font-size: 0.875rem;
  line-height: 1.5;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

:target,
[id] {
  scroll-margin-top: 90px;
}

.skip-link {
  position: absolute;
  left: var(--space-sm);
  top: -4rem;
  z-index: 1000;
  padding: 0.65rem 1rem;
  background: var(--primary);
  color: var(--on-dark);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: var(--space-sm);
}

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(100% - (var(--gutter) * 2), var(--narrow));
  margin-inline: auto;
}

/* Lange redaktionelle Texte: lesbar, aber nicht künstlich schmal in breiten Sections */
.narrow p,
.section-lead {
  max-width: min(100%, 72ch);
}

.section-lead--wide {
  max-width: min(100%, 85ch);
}

.section {
  padding: var(--space-xl) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-2xl) 0;
  }
}

.section-intro {
  max-width: min(100%, 48rem);
  margin-bottom: var(--space-lg);
}

.section-intro--wide {
  max-width: min(100%, 56rem);
}

.section-intro p {
  color: var(--text-soft);
  max-width: min(100%, 72ch);
}

.section-lead {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: var(--space-md);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 var(--space-sm);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
}

.brand-line {
  margin: 0 0 var(--space-xs);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--iq-muted);
}

/* --------------------------------------------------------------------------
   Buttons & text links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 650;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--duration) var(--ease),
    color var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-dark);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--on-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--primary-soft);
  border-color: rgba(46, 49, 225, 0.28);
  color: var(--primary);
}

.btn-lg {
  min-height: 52px;
  padding: 0 1.5rem;
  font-size: 1rem;
}

.btn-nav {
  min-height: 44px;
  padding: 0 1.1rem;
  font-size: 0.9rem;
}

.btn-arrow {
  display: inline-block;
  transition: transform var(--duration) var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.text-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(46, 49, 225, 0.35);
  transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.text-link:hover {
  color: var(--primary-hover);
  border-bottom-color: var(--primary-hover);
}

.section-dark .btn-ghost,
.section-cta .btn-ghost,
.site-footer .btn-ghost {
  color: var(--on-dark);
  border-color: var(--line-dark);
}

.section-dark .btn-ghost:hover,
.section-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--on-dark);
}

.section-dark .text-link,
.section-cta .text-link {
  color: #d4b896;
  border-bottom-color: rgba(196, 127, 58, 0.45);
}

.section-dark .text-link:hover,
.section-cta .text-link:hover {
  color: #e8c9a0;
}

/* --------------------------------------------------------------------------
   Header — light sticky, INFRAQ_LOGO.png (unverändert, kein Kasten/Filter)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--duration) var(--ease),
    background var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(20, 26, 34, 0.04);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Logo: plain image — no box, no badge, no padding card, no filter */
.brand,
.logo,
.logo-img {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
  color: var(--text);
  background: none;
  border: 0;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}

.brand:hover,
.logo:hover,
.logo-img:hover {
  background: none;
  box-shadow: none;
}

.brand img,
.logo img,
.logo-img img,
.footer-brand img {
  width: auto;
  height: 44px;
  max-height: 44px;
  aspect-ratio: 2341 / 620;
  object-fit: contain;
  object-position: left center;
  display: block;
  background: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: none;
  transition: height var(--duration) var(--ease), max-height var(--duration) var(--ease);
}

.site-header.is-scrolled .brand img {
  height: 40px;
  max-height: 40px;
}

@media (max-width: 767px) {
  .brand img,
  .logo img,
  .logo-img img {
    height: 36px;
    max-height: 36px;
  }

  .site-header.is-scrolled .brand img {
    height: 34px;
    max-height: 34px;
  }
}

@media (max-width: 379px) {
  .brand img,
  .logo img,
  .logo-img img,
  .site-header.is-scrolled .brand img {
    height: 32px;
    max-height: 32px;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
  margin-right: 0.25rem;
}

.nav-desktop a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--duration) var(--ease);
}

.nav-desktop a:hover {
  color: var(--primary);
}

.btn-nav {
  display: none;
}

.nav-toggle {
  margin-left: auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--iq-ink);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 var(--gutter) var(--space-md);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.nav-mobile a {
  color: var(--text-soft);
  text-decoration: none;
  padding: 0.4rem 0;
  font-weight: 500;
}

.nav-mobile a:hover {
  color: var(--primary);
}

.nav-mobile .btn {
  margin-top: var(--space-xs);
  width: 100%;
}

.nav-mobile[hidden] {
  display: none !important;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    gap: 1rem;
  }

  .btn-nav {
    display: inline-flex;
  }

  .nav-toggle,
  .nav-mobile {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Hero — light, content left, infra-spine motif right
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: var(--space-xl) 0 var(--space-lg);
  background: var(--bg);
  overflow: clip;
}

@media (min-width: 768px) {
  .hero {
    padding: calc(var(--space-xl) + 8px) 0 var(--space-2xl);
  }
}

.hero-grid {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: var(--space-xl);
  }
}

.hero-copy {
  max-width: min(100%, 40rem);
}

.hero .eyebrow {
  color: var(--accent);
}

.hero h1 {
  color: var(--iq-ink);
  margin-bottom: var(--space-sm);
  max-width: min(100%, 26ch);
}

.hero-lead {
  color: var(--text-soft);
  font-size: 1.08rem;
  max-width: min(100%, 58ch);
  margin-bottom: var(--space-md);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  padding: 0;
  margin: 0;
  color: var(--iq-muted);
  font-size: 0.88rem;
}

.hero-meta li {
  position: relative;
  padding-left: 0.95rem;
}

.hero-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.7;
}

/* Hero visual — always visible, stacked under copy on small screens */
.hero-visual {
  display: block;
  width: 100%;
  max-width: 28rem;
  margin: 0;
  min-height: 0;
  aspect-ratio: auto;
}

@media (min-width: 960px) {
  .hero-visual {
    justify-self: end;
    max-width: 22rem;
  }
}

.hero-spine {
  width: 100%;
  max-width: 100%;
}

/* Vertical spine — default mobile-first, no absolute lines through text */
.infra-spine {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 100%;
  transform: none !important;
  animation: none;
}

.infra-spine::before {
  display: none !important;
  content: none !important;
}

.infra-spine-step {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.75rem;
  align-items: stretch;
}

.infra-spine-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.infra-spine-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
  flex-shrink: 0;
  z-index: 1;
}

.infra-spine-step:nth-child(even) .infra-spine-dot {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.infra-spine-connector {
  flex: 1;
  width: 2px;
  min-height: 12px;
  background: var(--primary);
  opacity: 0.45;
  margin: 0.25rem 0;
}

.infra-spine-step:last-child .infra-spine-connector {
  display: none;
}

.infra-spine-card {
  padding: 0.7rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 0.55rem;
  min-width: 0;
}

.infra-spine-step:last-child .infra-spine-card {
  margin-bottom: 0;
}

.infra-spine-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.92rem, 2.5vw, 1rem);
  color: var(--iq-ink);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.infra-spine-meta {
  display: block;
  margin-top: 0.2rem;
  font-size: clamp(0.78rem, 2.2vw, 0.85rem);
  color: var(--iq-muted);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.infra-spine-note {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: var(--iq-muted);
  max-width: min(100%, 62ch);
  line-height: 1.45;
}

/* Spine on dark sections: keep cards readable, no text/line collisions */
.section-dark .infra-spine-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-dark);
}

.section-dark .infra-spine-label {
  color: var(--on-dark);
}

.section-dark .infra-spine-meta {
  color: var(--on-dark-soft);
}

.section-dark .infra-spine-dot {
  background: var(--dark);
}

.section-dark .infra-spine-note {
  color: var(--on-dark-soft);
}

#visual .infra-spine {
  margin-top: var(--space-md);
}

/* Desktop horizontal ONLY for .infra-spine--flow and ONLY from 1100px */
@media (min-width: 1100px) {
  .infra-spine--flow {
    flex-direction: row;
    align-items: stretch;
    gap: 0.65rem;
  }

  .infra-spine--flow .infra-spine-step {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-width: 0;
    grid-template-columns: none;
    grid-template-rows: none;
  }

  /*
    Rail: [linke Hälfte] [Dot] [rechte Hälfte]
    → Dot immer mittig über der Karte, Linie durchgehend.
  */
  .infra-spine--flow .infra-spine-rail {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    margin-bottom: 0.65rem;
    height: auto;
    flex-direction: unset;
    justify-content: unset;
  }

  .infra-spine--flow .infra-spine-dot {
    grid-column: 2;
    grid-row: 1;
  }

  .infra-spine--flow .infra-spine-step:not(:first-child) .infra-spine-rail::before {
    content: "";
    grid-column: 1;
    grid-row: 1;
    height: 2px;
    width: 100%;
    background: var(--primary);
    opacity: 0.45;
  }

  .infra-spine--flow .infra-spine-connector {
    grid-column: 3;
    grid-row: 1;
    width: 100%;
    height: 2px;
    min-height: 0;
    min-width: 0;
    margin: 0;
    flex: unset;
    background: var(--primary);
  }

  .infra-spine--flow .infra-spine-step:last-child .infra-spine-connector {
    display: block;
    opacity: 0;
    pointer-events: none;
  }

  .infra-spine--flow .infra-spine-card {
    margin: 0;
    flex: 1;
    height: auto;
    text-align: left;
  }
}

/* --------------------------------------------------------------------------
   Problem — wide band, dense two-column list (no cards)
   -------------------------------------------------------------------------- */
.section-problems {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.section-problems .container.narrow,
.section-problems .narrow {
  width: min(100% - (var(--gutter) * 2), var(--container));
  max-width: var(--container);
}

.section-problems h2 {
  max-width: 22ch;
}

.problem-list {
  list-style: none;
  display: grid;
  gap: 0.35rem 2rem;
  margin-top: var(--space-md);
  padding: 0;
  columns: 1;
}

@media (min-width: 820px) {
  .problem-list {
    grid-template-columns: 1fr 1fr;
  }
}

.problem-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.15rem;
  border-bottom: 1px solid rgba(20, 26, 34, 0.06);
  color: var(--text-soft);
  font-size: 0.98rem;
}

.problem-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 7px;
  height: 2px;
  background: var(--accent);
}

/* --------------------------------------------------------------------------
   Dark Proxmox explain — typography + horizontal layer strip
   -------------------------------------------------------------------------- */
.section-dark {
  background: var(--dark);
  color: var(--on-dark);
}

.section-dark .eyebrow {
  color: #d4b896;
}

.section-dark h2,
.section-dark h3 {
  color: var(--on-dark);
}

.section-dark .section-intro p,
.section-dark p {
  color: var(--on-dark-soft);
}

.check-topics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: var(--space-lg);
  border-top: 1px solid var(--line-dark);
}

@media (min-width: 768px) {
  .check-topics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .check-topics {
    grid-template-columns: repeat(3, 1fr);
  }
}

.check-topics article {
  min-width: 0;
  padding: var(--space-md) var(--space-sm);
  border-bottom: 1px solid var(--line-dark);
  border-left: 1px solid transparent;
  background: transparent;
}

@media (min-width: 768px) {
  .check-topics article {
    border-bottom: 0;
    border-left: 1px solid var(--line-dark);
    padding: var(--space-md) var(--space-sm) var(--space-sm);
  }

  .check-topics article:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (min-width: 1100px) {
  .check-topics article {
    border-left: 1px solid var(--line-dark);
  }

  .check-topics article:nth-child(3n + 1) {
    border-left: 0;
    padding-left: 0;
  }

  .check-topics article:nth-child(odd):not(:nth-child(3n + 1)) {
    border-left: 1px solid var(--line-dark);
    padding-left: var(--space-sm);
  }
}

.check-topics h3 {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
  color: var(--on-dark);
}

.check-topics h3::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 0.7rem;
  background: var(--accent);
  border-radius: 2px;
}

.check-topics p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--on-dark-soft);
}

/* --------------------------------------------------------------------------
   Spine / infra diagram
   -------------------------------------------------------------------------- */
.infra-diagram {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: var(--dark-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
}

.infra-diagram-kicker {
  margin: 0 0 var(--space-sm);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: #d4b896;
}

.infra-diagram-canvas {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: stretch;
}

@media (min-width: 800px) {
  .infra-diagram-canvas {
    flex-direction: row;
    align-items: stretch;
    gap: var(--space-lg);
  }
}

.infra-cluster {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.infra-node {
  position: relative;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  border-left: 2px solid var(--primary);
}

.infra-node.is-core {
  border-left-color: var(--accent);
  background: rgba(196, 127, 58, 0.08);
}

.infra-node.is-storage {
  border-left-color: var(--primary);
}

.infra-node.is-backup {
  border-left-color: var(--accent);
}

.infra-node.is-network {
  border-left-color: #6a8fa3;
}

.infra-node-label {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--on-dark);
}

.infra-node-meta {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--on-dark-soft);
}

.infra-node-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
}

.infra-hosts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.infra-host {
  padding: 0.55rem 0.4rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--on-dark-soft);
  background: rgba(46, 49, 225, 0.18);
  border: 1px solid rgba(46, 49, 225, 0.35);
  border-radius: var(--radius-sm);
}

.infra-connector {
  display: none;
  width: 1px;
  height: auto;
  margin: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.25);
  align-self: stretch;
}

@media (min-width: 800px) {
  .infra-connector {
    display: block;
    width: 1px;
    min-height: 100%;
  }
}

.infra-side-stack {
  flex: 0.9;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.infra-legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--line-dark);
  font-size: 0.85rem;
  color: var(--on-dark-soft);
}

.infra-legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.infra-legend i,
.dot-cyan,
.dot-ice,
.dot-warm {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-cyan {
  background: var(--primary);
}

.dot-ice {
  background: #6a8fa3;
}

.dot-warm {
  background: var(--accent);
}

/* --------------------------------------------------------------------------
   Compare — left border accents only
   -------------------------------------------------------------------------- */
.section-compare {
  background: var(--surface);
}

.compare-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 820px) {
  .compare-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

.compare-col {
  padding: 0 0 0 var(--space-md);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.compare-col.is-positive {
  border-left: 2px solid var(--ok);
}

.compare-col.is-negative {
  border-left: 2px solid var(--accent);
}

.compare-col h3 {
  margin-bottom: var(--space-sm);
  color: var(--iq-ink);
}

.compare-col ul {
  list-style: none;
}

.compare-col li {
  position: relative;
  padding: 0.45rem 0 0.45rem 0;
  border-bottom: 1px solid rgba(20, 26, 34, 0.06);
  color: var(--text-soft);
  font-size: 0.96rem;
}

.compare-col li:last-child {
  border-bottom: 0;
}

.compare-note {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
  color: var(--iq-muted);
  font-size: 0.95rem;
  max-width: min(100%, 85ch);
}

.section-compare--soft {
  background: var(--bg-alt);
}

/* --------------------------------------------------------------------------
   Lizenz & Alternativen (GF-verständlich)
   -------------------------------------------------------------------------- */
.section-license {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.license-grid,
.alt-grid {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

@media (min-width: 820px) {
  .license-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

.license-card,
.alt-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  min-height: 100%;
}

.license-card h3,
.alt-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--text);
}

.license-price {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
}

.license-card p,
.alt-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.license-note {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  background: var(--accent-soft);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  max-width: min(100%, 90ch);
}

.license-note p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
  max-width: none;
}

/* --------------------------------------------------------------------------
   Check section
   -------------------------------------------------------------------------- */
.section-check {
  background: var(--bg);
}

.check-intro {
  max-width: min(100%, 52rem);
  margin-bottom: var(--space-lg);
}

.check-intro p {
  color: var(--text-soft);
  max-width: min(100%, 72ch);
}

.check-layout {
  display: grid;
  gap: var(--space-md);
  align-items: start;
}

@media (min-width: 960px) {
  .check-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: var(--space-lg);
  }
}

/* Infra-live: chips on mobile, vertical rail on desktop */
.infra-live {
  padding: var(--space-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.infra-live-kicker {
  margin: 0 0 var(--space-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--iq-muted);
}

.infra-live-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  overflow: visible;
  padding: 0;
}

@media (max-width: 380px) {
  .infra-live-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 960px) {
  .infra-live {
    position: sticky;
    top: calc(var(--header-h) + 12px);
    padding: var(--space-md) var(--space-sm);
  }

  .infra-live-grid {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
}

.infra-live-area {
  flex: none;
  min-width: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.2rem 0.4rem;
  padding: 0.55rem 0.7rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  border-left: 2px solid rgba(46, 49, 225, 0.35);
  transition:
    border-color var(--duration) var(--ease),
    background var(--duration) var(--ease);
}

@media (min-width: 960px) {
  .infra-live-area {
    min-width: 0;
    width: 100%;
  }
}

.infra-live-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--iq-ink);
}

.infra-live-status {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: lowercase;
  color: var(--iq-muted);
  justify-self: end;
}

.infra-live-bar {
  grid-column: 1 / -1;
  display: block;
  height: 3px;
  background: rgba(20, 26, 34, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.infra-live-fill {
  display: block;
  width: 18%;
  height: 100%;
  background: rgba(46, 49, 225, 0.35);
  border-radius: inherit;
  transition: width 0.35s var(--ease), background 0.35s var(--ease);
}

.infra-live-area.is-active {
  border-left-color: var(--primary);
  background: var(--primary-soft);
}

.infra-live-area.is-active .infra-live-status {
  color: var(--primary);
}

.infra-live-area.is-active .infra-live-fill {
  width: 55%;
  background: var(--primary);
}

.infra-live-area.is-ok {
  border-left-color: var(--ok);
  background: var(--ok-soft);
}

.infra-live-area.is-ok .infra-live-status {
  color: var(--ok);
}

.infra-live-area.is-ok .infra-live-fill {
  width: 100%;
  background: var(--ok);
}

.infra-live-area.is-review {
  border-left-color: var(--accent);
  background: var(--accent-soft);
}

.infra-live-area.is-review .infra-live-status {
  color: var(--accent);
}

.infra-live-area.is-review .infra-live-fill {
  width: 70%;
  background: var(--accent);
}

.infra-live-note {
  display: none;
  margin: var(--space-sm) 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--iq-muted);
}

@media (min-width: 960px) {
  .infra-live-note {
    display: block;
  }
}

/* Check shell */
.check-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

@media (min-width: 768px) {
  .check-shell {
    padding: var(--space-lg);
  }
}

.check-progress {
  margin-bottom: var(--space-md);
}

.check-progress-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--iq-muted);
}

.check-progress-track {
  height: 4px;
  background: rgba(20, 26, 34, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.check-progress-bar {
  height: 100%;
  width: 10%;
  background: var(--primary);
  border-radius: inherit;
  transition: width 0.35s var(--ease);
}

.check-stage {
  min-height: 12rem;
}

.check-start {
  max-width: min(100%, 44rem);
}

.check-start-kicker {
  margin: 0 0 var(--space-xs);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
}

.check-start h3 {
  margin-bottom: var(--space-xs);
}

.check-start p {
  color: var(--text-soft);
  margin-bottom: var(--space-md);
}

.check-nav {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--line);
}

.btn-back {
  min-height: 44px;
}

/* Questions & options */
.question {
  max-width: min(100%, 48rem);
}

.question-title {
  margin-bottom: var(--space-xs);
}

.question-hint {
  margin: 0 0 var(--space-md);
  color: var(--iq-muted);
  font-size: 0.95rem;
}

.option-grid {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .option-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
  }

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

.option-btn {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-weight: 550;
  font-size: 0.95rem;
  line-height: 1.4;
  cursor: pointer;
  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
  transition:
    border-color var(--duration) var(--ease),
    background var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.option-btn:hover {
  border-color: rgba(46, 49, 225, 0.4);
  background: var(--primary-soft);
}

.option-btn.is-selected {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: inset 3px 0 0 var(--primary);
  color: var(--iq-ink);
}

.option-btn.is-multi {
  padding-right: 2.5rem;
  position: relative;
}

.option-btn.is-multi::after {
  content: "";
  position: absolute;
  right: 0.9rem;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border: 1.5px solid rgba(20, 26, 34, 0.25);
  border-radius: 3px;
  background: var(--surface);
}

.option-btn.is-multi.is-selected::after {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: inset 0 0 0 2px var(--surface);
}

.option-continue {
  margin-top: var(--space-sm);
}

/* --------------------------------------------------------------------------
   Result — vertical rail stack (not cyber card panel)
   -------------------------------------------------------------------------- */
.check-result {
  margin-top: var(--space-md);
}

.result-panel,
.result-rail {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.result-panel::before,
.result-rail::before {
  content: "";
  display: block;
  height: 3px;
  width: 72px;
  border-radius: 2px;
  background: var(--primary);
}

.result-panel.level-solid::before,
.result-rail.level-solid::before {
  background: var(--ok);
}

.result-panel.level-review::before,
.result-rail.level-review::before,
.result-panel.level-interesting::before {
  background: var(--accent);
}

.result-panel.level-elevated::before,
.result-rail.level-elevated::before {
  background: var(--elevated);
}

.result-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--primary);
}

.level-solid .result-kicker {
  color: var(--ok);
}

.level-review .result-kicker,
.level-interesting .result-kicker {
  color: var(--accent);
}

.level-elevated .result-kicker {
  color: var(--elevated);
}

.result-panel > h3,
.result-rail > h3 {
  margin: 0;
}

.result-panel > p,
.result-rail > p,
.result-context,
.result-next,
.result-note {
  color: var(--text-soft);
  max-width: none;
  margin: 0;
}

.result-context {
  font-size: 0.92rem;
  padding: 0.75rem 0 0.75rem var(--space-sm);
  border-left: 2px solid var(--line);
}

.result-sub {
  margin: var(--space-xs) 0 0;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--iq-ink);
}

.result-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.result-points li {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 0.55rem;
  align-items: start;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(20, 26, 34, 0.06);
  color: var(--text-soft);
  font-size: 0.95rem;
}

.result-points li:last-child {
  border-bottom: 0;
}

.result-points .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
}

.result-points .mark-ok,
.result-points li.is-positive .mark {
  color: var(--ok);
  background: var(--ok-soft);
}

.result-points .mark-review,
.result-points li.is-review .mark {
  color: var(--accent);
  background: var(--accent-soft);
}

.result-points .mark-elevated {
  color: var(--elevated);
  background: var(--elevated-soft);
}

.result-note {
  font-size: 0.85rem;
  color: var(--iq-muted);
  max-width: none;
}

.result-panel .btn,
.result-rail .btn {
  align-self: flex-start;
  margin-top: var(--space-xs);
}

/* Area stack hint for result (hosts/vms/storage…) if markup uses it */
.result-areas {
  display: grid;
  gap: 0.45rem;
}

.result-area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.2fr);
  align-items: baseline;
  gap: var(--space-sm);
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(20, 26, 34, 0.06);
  font-size: 0.9rem;
}

@media (max-width: 520px) {
  .result-area {
    grid-template-columns: 1fr auto;
  }
  .result-area-value {
    grid-column: 1 / -1;
    text-align: left;
    max-width: none;
    margin-top: 0.15rem;
  }
}

.result-area-name {
  font-weight: 650;
  color: var(--iq-ink);
}

.result-area-state {
  color: var(--iq-muted);
  font-size: 0.82rem;
  flex-shrink: 0;
}

.result-area-value {
  color: var(--text-soft);
  text-align: right;
  max-width: 55%;
}

.result-area.is-ok .result-area-state { color: var(--ok); }
.result-area.is-review .result-area-state { color: var(--accent); }

/* --------------------------------------------------------------------------
   Contact / form
   -------------------------------------------------------------------------- */
.check-contact {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--line);
}

.contact-card {
  max-width: none;
}

.contact-kicker {
  margin: 0 0 var(--space-xs);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
}

.contact-card > p {
  color: var(--text-soft);
  max-width: min(100%, 72ch);
}

.form-grid {
  display: grid;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}

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

  .field-full {
    grid-column: 1 / -1;
  }
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
}

.field .optional {
  font-weight: 500;
  color: var(--iq-muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(46, 49, 225, 0.55);
  box-shadow: var(--focus);
  background: var(--surface);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0 0 var(--space-md);
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.consent input {
  margin-top: 0.25rem;
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--primary);
}

.form-error {
  margin: 0 0 var(--space-sm);
  padding: 0.7rem 0.9rem;
  background: var(--elevated-soft);
  color: #8a3f34;
  border-left: 2px solid var(--elevated);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.form-success {
  margin-top: var(--space-md);
  padding: var(--space-md) 0 0;
  border-top: 1px solid var(--line);
}

.form-success h3 {
  color: var(--ok);
}

.form-success p {
  color: var(--text-soft);
}

/* --------------------------------------------------------------------------
   Meaning / topic rows
   -------------------------------------------------------------------------- */
.section-meaning {
  background: var(--surface);
}

.topic-rows {
  display: grid;
  gap: 0;
  margin-top: var(--space-md);
}

.topic-rows article {
  padding: var(--space-md) 0;
  border-top: 1px solid var(--line);
}

.topic-rows article:last-child {
  border-bottom: 1px solid var(--line);
}

.topic-rows h3 {
  margin-bottom: 0.35rem;
}

.topic-rows p {
  margin: 0;
  color: var(--text-soft);
  max-width: none;
}

/* --------------------------------------------------------------------------
   Partner
   -------------------------------------------------------------------------- */
.section-partner {
  background: var(--bg-alt);
}

.partner-grid {
  display: grid;
  gap: var(--space-lg);
  align-items: start;
}

@media (min-width: 800px) {
  .partner-grid {
    grid-template-columns: 1.3fr 0.7fr;
    gap: var(--space-xl);
  }
}

.partner-grid > div > p {
  color: var(--text-soft);
  max-width: min(100%, 72ch);
}

.partner-aside blockquote {
  margin: 0;
  padding: var(--space-md) 0 var(--space-md) var(--space-md);
  border-left: 2px solid var(--accent);
  background: transparent;
}

.partner-aside blockquote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--iq-ink);
}

/* --------------------------------------------------------------------------
   Migration timeline
   -------------------------------------------------------------------------- */
.section-migration {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.process-track {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--space-md);
}

.process-step {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--line);
}

.process-step:last-child {
  border-bottom: 0;
}

.process-body h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
}

.process-body p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
}

@media (min-width: 900px) {
  .process-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm) var(--space-lg);
  }

  .process-step {
    padding: var(--space-md) 0;
    border-bottom: 0;
    border-top: 2px solid var(--line);
  }
}

/* --------------------------------------------------------------------------
   Region
   -------------------------------------------------------------------------- */
.section-region {
  background: var(--bg-alt);
}

.region-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: var(--space-md);
}

.region-list li {
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   FAQ — volle Contentbreite, Antworten nutzen Accordion-Breite
   -------------------------------------------------------------------------- */
.section-faq {
  background: var(--surface);
}

.section-faq .section-intro {
  margin-bottom: var(--space-sm);
}

.faq-list {
  margin-top: var(--space-md);
  border-top: 1px solid var(--line);
  width: 100%;
  max-width: none;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.05rem 0;
  width: 100%;
}

.faq-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--iq-ink);
}

.faq-item p {
  margin: 0;
  color: var(--text-soft);
  max-width: none;
  width: 100%;
  font-size: 1rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   CTA — dunkle Bandfläche; Kupfer nur als Akzentlinie, Primary-CTA = InfraQ-Blau
   -------------------------------------------------------------------------- */
.section-cta {
  background: var(--dark);
  color: var(--on-dark);
  padding: var(--space-xl) 0;
}

@media (min-width: 768px) {
  .section-cta {
    padding: var(--space-2xl) 0;
  }
}

.cta-box {
  position: relative;
  max-width: min(100%, 52rem);
  padding-top: var(--space-sm);
}

.cta-box::before {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-bottom: var(--space-md);
  background: var(--accent);
  border-radius: 2px;
}

.section-cta .eyebrow {
  color: #d4b896;
}

.section-cta h2 {
  color: var(--on-dark);
  max-width: min(100%, 28ch);
}

.section-cta p {
  color: var(--on-dark-soft);
  max-width: min(100%, 68ch);
}

.cta-brand {
  font-size: 0.92rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) var(--space-md);
  margin-top: var(--space-md);
}

@media (max-width: 480px) {
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn {
    width: 100%;
  }
}

.section-cta .btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-dark);
}

.section-cta .btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--on-dark);
}

/* --------------------------------------------------------------------------
   Footer — hell, damit INFRAQ_LOGO.png (schwarz) ohne Filter kontrastiert
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--surface);
  color: var(--text-soft);
  padding: var(--space-xl) 0 var(--space-lg);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  gap: var(--space-lg);
}

.footer-inner--legal {
  grid-template-columns: 1fr;
  align-items: start;
  gap: var(--space-md);
}

@media (min-width: 800px) {
  .footer-inner:not(.footer-inner--legal) {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: var(--space-xl);
  }

  .footer-inner--legal {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .footer-inner--legal .footer-bottom {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    text-align: right;
  }
}

.footer-brand p {
  margin-top: var(--space-sm);
  max-width: 36ch;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.footer-brand img {
  height: 48px;
  max-height: 48px;
  filter: none;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-contact a,
.footer-col a,
.footer-bottom a {
  color: var(--text-soft);
  text-decoration: none;
}

.footer-contact a:hover,
.footer-col a:hover,
.footer-bottom a:hover {
  color: var(--primary);
}

.footer-col h3 {
  margin: 0 0 var(--space-sm);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col a {
  font-size: 0.92rem;
}

.footer-bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--iq-muted);
}

.footer-bottom p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */
.legal-page {
  padding: calc(var(--header-h) + var(--space-lg)) 0 var(--space-2xl);
  background: var(--bg);
}

.legal-page h1 {
  max-width: none;
  margin-bottom: var(--space-md);
}

.legal-page h2 {
  margin-top: var(--space-lg);
  font-size: 1.2rem;
}

.legal-page p,
.legal-note {
  color: var(--text-soft);
  max-width: 68ch;
}

.legal-page a {
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   Utility / states
   -------------------------------------------------------------------------- */
.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Soft entrance for hero copy (respects reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: copy-in 0.55s var(--ease) both;
  }
}

@keyframes copy-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Print: keep content readable */
@media print {
  .site-header,
  .nav-toggle,
  .nav-mobile,
  .hero-visual,
  .infra-live {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section-dark,
  .section-cta,
  .site-footer {
    background: #fff !important;
    color: #000 !important;
  }
}
