/* ============================================================
   AutomaNext – öffentliche Website
   ============================================================ */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: oklch(21% 0.02 282);
  --ink-soft: oklch(30% 0.02 282);
  --muted: oklch(44% 0.015 280);
  --brand: oklch(51% 0.24 276);
  --brand-deep: oklch(41% 0.2 276);
  --brand-soft: oklch(94.5% 0.03 276);
  --brand-light: oklch(72% 0.16 276);
  --border: transparent;
  --border-strong: transparent;
  --ink-bg: oklch(19% 0.015 282);
  --on-dark: oklch(96% 0.005 280);
  --on-dark-muted: oklch(76% 0.012 280);
  --error: oklch(50% 0.19 25);
  --success-bg: oklch(95% 0.04 150);
  --success-border: oklch(80% 0.09 150);
  --success-ink: oklch(35% 0.09 150);
  --sk: oklch(93% 0.006 280);
  --sk-strong: oklch(84% 0.012 280);
  --sk-ink: oklch(36% 0.03 280);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-card: 14px;
  --radius-btn: 10px;
  /* Z-Skala */
  --z-nav: 40;
  --z-skip: 60;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }
main section[id] { scroll-margin-top: 5.25rem; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: "Schibsted Grotesk", system-ui, "Segoe UI", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; text-wrap: pretty; }

a { color: var(--brand); }

:focus-visible {
  outline: 3px solid oklch(51% 0.24 276 / 0.55);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.skip-link {
  position: absolute;
  z-index: var(--z-skip);
  left: 1rem;
  top: -3.5rem;
  background: var(--surface);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 0.75rem; }

/* ---------- Logo ---------- */

.logo { display: inline-flex; align-items: center; width: clamp(11.25rem, 20vw, 14rem); }
.logo-crop {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1095 / 151;
  overflow: hidden;
  background: #fff;
}
.logo-image {
  position: absolute;
  display: block;
  width: 114.52%;
  max-width: none;
  height: auto;
  left: -7.31%;
  top: -361.6%;
}
.logo--light .logo-crop {
  border-radius: 4px;
  box-shadow: 0 0 0 5px #fff;
}

/* ---------- Buttons & Links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.975rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-btn);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out), transform 0.15s var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn-solid { background: var(--brand); color: #fff; }
.btn-solid:hover { background: var(--brand-deep); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--border-strong); }
.btn-ghost:hover { color: var(--brand-deep); box-shadow: inset 0 0 0 1.5px var(--brand); }
.btn-light { background: #ffffff; color: var(--brand-deep); }
.btn-light:hover { background: oklch(93% 0.02 276); }
.btn-lg { padding: 0.95rem 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.arrow-link {
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
}
.arrow-link::after {
  content: "→";
  display: inline-block;
  margin-left: 0.4em;
  transition: transform 0.2s var(--ease-out);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s var(--ease-out);
}
.site-header.scrolled { box-shadow: 0 6px 18px -14px oklch(25% 0.05 276 / 0.5); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}
.brand-link { text-decoration: none; display: inline-flex; }
.brand-link .logo { width: clamp(10.75rem, 18vw, 12.75rem); }

.site-nav { display: flex; align-items: center; gap: 0.25rem; }
.site-nav a:not(.btn) {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  transition: color 0.15s var(--ease-out), background-color 0.15s var(--ease-out);
}
.site-nav a:not(.btn):hover { color: var(--ink); background: var(--bg); }
.site-nav a[aria-current="page"] { color: var(--brand-deep); }
.btn-nav { margin-left: 0.6rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out);
}
.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); }

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

.hero { padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }

.hero.hero--video {
  padding-top: 0;
  background: var(--bg);
}
.hero-video-stage {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 4.25rem);
  padding: clamp(3rem, 8svh, 6rem) 0;
  overflow: hidden;
  background: var(--ink-bg);
  background-position: right center;
}
.hero-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  pointer-events: none;
  user-select: none;
}
.hero-video-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, oklch(12% 0.025 260 / 0.94) 0%, oklch(12% 0.025 260 / 0.8) 42%, oklch(12% 0.025 260 / 0.35) 74%, oklch(12% 0.025 260 / 0.5) 100%),
    linear-gradient(180deg, oklch(10% 0.02 260 / 0.18), oklch(10% 0.02 260 / 0.58));
}
.hero--video .hero-video-overlay {
  background:
    linear-gradient(180deg, oklch(10% 0.02 260 / 0.46), oklch(10% 0.02 260 / 0.68)),
    radial-gradient(circle at center, oklch(15% 0.035 270 / 0.18), oklch(8% 0.02 260 / 0.48) 76%);
}
.hero-video-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-minimal-title {
  max-width: none;
  font-size: clamp(1.45rem, 6.5vw, 5.75rem);
  line-height: 0.98;
}
.hero-minimal-title-line {
  display: block;
  white-space: nowrap;
}
.hero-minimal-text {
  max-width: 48ch;
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  color: oklch(91% 0.008 280);
}
.hero-scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: clamp(1.25rem, 3svh, 2.5rem);
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin: 0;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent;
  text-decoration: none;
  transform: translateX(-50%);
  animation: hero-cue-float 1.8s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}
.hero-scroll-cue svg { width: 3rem; height: 3rem; }
.hero--video .hero-title { color: #fff; }
.hero--video .hero-kicker,
.hero--video .hero-text,
.hero--video .hero-trust { color: var(--on-dark-muted); }
.hero--video .accent,
.hero--video .kicker-arrow { color: var(--brand-light); }
.hero--video .btn-ghost {
  color: #fff;
  box-shadow: inset 0 0 0 1.5px oklch(100% 0 0 / 0.48);
}
.hero--video .btn-ghost:hover {
  color: #fff;
  box-shadow: inset 0 0 0 1.5px #fff;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0 0 1.6rem;
}
.kicker-arrow { width: 1.05rem; height: 1.05rem; color: var(--brand); flex-shrink: 0; }

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 850;
  line-height: 1.03;
  letter-spacing: -0.03em;
  max-width: 21ch;
}
.accent { font-style: normal; color: var(--brand); }

.hero-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem 3rem;
  align-items: end;
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
}
.hero-text {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36rem;
}
.hero-cta-col { display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-trust { font-size: 0.875rem; color: var(--muted); }

/* Einstiegs-Choreografie (nur mit JS, respektiert reduced motion) */
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
html.js .hero-kicker { animation: rise 0.55s var(--ease-out) both; }
html.js .hero-title { animation: rise 0.65s var(--ease-out) 0.07s both; }
html.js .hero-row { animation: rise 0.65s var(--ease-out) 0.16s both; }

@keyframes hero-cue-float {
  0%, 100% { transform: translate(-50%, -4px); }
  50% { transform: translate(-50%, 6px); }
}

/* ---------- Skeleton-Bausteine (Mockups) ---------- */

.mock-bar {
  display: flex;
  gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
}
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--sk-strong); }

.m-nav { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.m-nav--center { justify-content: center; }
.m-logo { width: 42px; height: 10px; border-radius: 5px; background: var(--sk-ink); flex-shrink: 0; }
.m-logo--round { width: 18px; height: 18px; border-radius: 50%; }
.m-links { display: flex; gap: 8px; margin-inline: auto; }
.m-nav--center .m-links { margin-inline: 0; }
.m-links i { width: 22px; height: 6px; border-radius: 3px; background: var(--sk-strong); }
.m-cta { width: 40px; height: 15px; border-radius: 8px; background: var(--brand); flex-shrink: 0; }

.m-line { display: block; border-radius: 5px; background: var(--sk-strong); }
.m-line--xl { height: 15px; width: 88%; background: var(--sk-ink); }
.m-line--lg { height: 13px; width: 62%; background: var(--sk-ink); }
.m-line--md { height: 10px; width: 45%; background: var(--sk-ink); }
.m-line--txt { height: 8px; width: 72%; }
.m-btnrow { display: flex; gap: 8px; margin-top: 4px; }
.m-btn { display: block; width: 58px; height: 17px; border-radius: 9px; background: var(--sk-strong); }
.m-btn--solid { background: var(--brand); }
.m-btn--wide { width: 100%; }
.m-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.m-cols i { height: 52px; border-radius: 8px; background: var(--sk); }
.m-block { display: block; height: 38px; border-radius: 8px; background: var(--sk); }
.m-block--short { width: 68%; }

.mock {
  margin: 0;
  background: var(--surface);
  border-radius: 12px;
  box-shadow: 0 1px 3px oklch(25% 0.04 276 / 0.08), 0 18px 40px -28px oklch(30% 0.1 276 / 0.35);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.mock-preview-image {
  display: block;
  width: 100%;
  height: auto;
}
.mock-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.m-hero { display: flex; flex-direction: column; gap: 0.6rem; padding-block: 0.4rem; }

.m-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 12px; align-items: stretch; }
.m-menu { display: flex; flex-direction: column; gap: 9px; }
.m-menu .m-btn { margin-top: 3px; }
.m-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.m-dish { display: block; height: 8px; width: 70%; border-radius: 4px; background: var(--sk-strong); }
.m-dish--short { width: 52%; }
.m-price { display: block; width: 16px; height: 8px; border-radius: 4px; background: var(--brand); }
.m-photo { border-radius: 9px; background: linear-gradient(140deg, var(--sk-strong), var(--sk) 70%); min-height: 96px; }
.m-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.m-strip i { height: 26px; border-radius: 6px; background: var(--sk); }

.m-events { display: flex; flex-direction: column; gap: 9px; }
.m-event { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.m-date { width: 26px; height: 26px; border-radius: 7px; background: var(--brand-soft); }
.m-eventlines { display: flex; flex-direction: column; gap: 5px; }
.m-eventlines i { display: block; height: 7px; border-radius: 4px; background: var(--sk-strong); }
.m-eventlines i:last-child { width: 55%; background: var(--sk); }
.m-chip { width: 38px; height: 14px; border-radius: 999px; background: var(--brand); }
.m-chip--muted { background: var(--sk-strong); }
.m-sponsors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.m-sponsors i { height: 16px; border-radius: 5px; background: var(--sk); }

/* ---------- Sektionen allgemein ---------- */

section { padding: clamp(3.75rem, 8vw, 6.5rem) 0; }
.hero { padding-bottom: clamp(2rem, 4vw, 3rem); }

.section-title {
  font-size: clamp(1.95rem, 3.8vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.section-sub {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 52ch;
  font-size: 1.05rem;
}
/* ---------- Preise ---------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(1.6rem, 3vw, 2.2rem);
}
.price-card--featured {
  background: var(--ink-bg);
  border-color: var(--ink-bg);
  color: #fff;
  box-shadow: 0 32px 64px -32px oklch(20% 0.05 282 / 0.55);
}
.price-flag {
  align-self: flex-start;
  background: var(--brand);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3em 0.9em;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.price-name { font-size: 1.25rem; font-weight: 700; }
.price-value {
  font-size: clamp(2.3rem, 3vw, 2.8rem);
  font-weight: 850;
  letter-spacing: -0.025em;
  margin-top: 0.4rem;
  line-height: 1.05;
}
.price-tagline { margin-top: 0.8rem; color: var(--muted); font-size: 0.95rem; }
.price-card--featured .price-tagline { color: var(--on-dark-muted); }
.price-features {
  list-style: none;
  margin: 1.4rem 0 1.4rem;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.price-card--featured .price-features { border-top-color: oklch(100% 0 0 / 0.16); }
.price-features li { position: relative; padding-left: 1.6rem; font-size: 0.95rem; }
.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--brand);
}
.price-card--featured .price-features li::before { color: var(--brand-light); }
.price-more { color: var(--muted); padding-left: 0 !important; }
.price-more::before { content: none !important; }
.price-card--featured .price-more { color: var(--on-dark-muted); }
.price-ideal { margin-top: auto; padding-bottom: 1.4rem; font-size: 0.9rem; color: var(--muted); }
.price-card--featured .price-ideal { color: var(--on-dark-muted); }
.pricing-note {
  margin-top: clamp(2rem, 4vw, 3rem);
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 62ch;
}
.pricing--band { background: var(--surface); border-block: 1px solid var(--border); }

/* ---------- Ablauf ---------- */

.step-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.975rem;
  flex-shrink: 0;
}
.step .step-num { margin-bottom: 0.9rem; }
.step h3 { font-size: 1.15rem; }
.step p { margin-top: 0.45rem; color: var(--muted); font-size: 0.95rem; }

.timeline { list-style: none; padding: 0; margin: 0; max-width: 46rem; }
.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.6rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.timeline-step::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 3.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: var(--border-strong);
}
.timeline-step:last-child::before { display: none; }
.timeline-step .step-num { width: 3rem; height: 3rem; font-size: 1.1rem; }
.timeline-body h2 { font-size: 1.4rem; font-weight: 700; padding-top: 0.55rem; }
.timeline-body p { margin-top: 0.55rem; color: var(--muted); max-width: 56ch; }
.process-detail { padding-top: clamp(1rem, 3vw, 2rem); }

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

.faq-inner { max-width: 52rem; }
.faq-list { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }
.faq-item { border-top: 1px solid var(--border-strong); }
.faq-item:last-child { border-bottom: 1px solid var(--border-strong); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0.25rem;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color 0.15s var(--ease-out);
}
.faq-item summary:hover h3 { color: var(--brand-deep); }
.faq-icon {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--brand);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out);
}
.faq-icon::before { width: 14px; height: 2.5px; }
.faq-icon::after { width: 2.5px; height: 14px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); }
.faq-item > p {
  padding: 0 2.75rem 1.5rem 0.25rem;
  color: var(--muted);
  max-width: 65ch;
}
.faq-more { margin-top: 1.75rem; color: var(--muted); font-size: 0.975rem; }
.faq-more a { font-weight: 600; color: var(--brand-deep); }

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

.cta-band {
  position: relative;
  background: linear-gradient(150deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-watermark {
  position: absolute;
  right: 0;
  bottom: 8%;
  width: clamp(300px, 42vw, 620px);
  aspect-ratio: 1095 / 151;
  overflow: hidden;
  opacity: 0.08;
  pointer-events: none;
}
.cta-watermark img {
  position: absolute;
  display: block;
  width: 114.52%;
  max-width: none;
  height: auto;
  left: -7.31%;
  top: -361.6%;
}
.cta-inner { position: relative; max-width: 46rem; }
.cta-title { font-size: clamp(1.95rem, 3.8vw, 2.9rem); font-weight: 850; letter-spacing: -0.025em; line-height: 1.1; }
.cta-text { margin: 1.1rem auto 0; color: oklch(100% 0 0 / 0.85); font-size: 1.1rem; max-width: 38rem; }
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  margin-top: 2.2rem;
}
.cta-contact { display: flex; align-items: center; gap: 0.9rem; color: oklch(100% 0 0 / 0.6); flex-wrap: wrap; justify-content: center; }
.cta-mail { color: #fff; font-weight: 500; text-decoration-color: oklch(100% 0 0 / 0.5); }
.cta-mail:hover { text-decoration-color: #fff; }

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

.site-footer {
  background: var(--ink-bg);
  color: var(--on-dark-muted);
  padding: clamp(2.5rem, 5vw, 4rem) 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(17rem, 0.82fr) minmax(0, 2fr);
  align-items: start;
  gap: clamp(3rem, 7vw, 6rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}
.footer-brand .logo { width: clamp(10.75rem, 16vw, 12rem); }
.footer-brand .logo--light .logo-crop {
  border-radius: 6px;
  box-shadow: none;
}
.footer-slogan { margin-top: 1.25rem; max-width: 31ch; font-size: 0.95rem; line-height: 1.65; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
}
.footer-col h3 {
  color: var(--on-dark);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 1rem;
}
.footer-col a {
  display: block;
  color: var(--on-dark-muted);
  text-decoration: none;
  padding: 0.22rem 0;
  font-size: 0.95rem;
  transition: color 0.15s var(--ease-out);
}
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 0.95rem; padding-top: 0.22rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: clamp(2.75rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 0;
  font-size: 0.85rem;
  color: oklch(62% 0.012 280);
}

/* ---------- Unterseiten-Kopf ---------- */

.page-head { padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(1rem, 3vw, 2rem); }
.page-title {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 850;
  letter-spacing: -0.028em;
  line-height: 1.06;
  max-width: 24ch;
}
.page-intro { margin-top: 1.4rem; font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.notfound { padding-bottom: clamp(4rem, 8vw, 7rem); }
.notfound .hero-actions { margin-top: 2rem; }

/* ---------- Kontakt ---------- */

.contact { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.form-success {
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success-ink);
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
  margin-bottom: 2rem;
}
.form-success h2 { font-size: 1.2rem; }
.form-success p { margin-top: 0.5rem; font-size: 0.975rem; }

.form-alert {
  background: oklch(96% 0.025 25);
  border: 1px solid oklch(80% 0.1 25);
  color: var(--error);
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.contact-form { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-field { margin-bottom: 1.3rem; }
.form-field label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.4rem; }
.form-legend { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.5rem; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 0.75rem 0.95rem;
  transition: border-color 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out);
}
.form-field select {
  min-height: 3.05rem;
  cursor: pointer;
}
.form-field textarea { resize: vertical; min-height: 8rem; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: oklch(55% 0.012 280); }
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px oklch(51% 0.24 276 / 0.18);
}
.has-error input, .has-error select, .has-error textarea { border-color: var(--error); }
.field-error { color: var(--error); font-size: 0.875rem; margin-top: 0.4rem; }

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-consent { margin-top: 0.4rem; }
.consent-label { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 400 !important; cursor: pointer; }
.consent-label input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: var(--brand);
  flex-shrink: 0;
}
.consent-label span { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; }
.contact-form .btn { margin-top: 1.4rem; }

.contact-aside { display: flex; flex-direction: column; gap: 1.25rem; }
.aside-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.6rem 1.7rem;
}
.aside-block h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 1.1rem; }
.after-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.95rem; }
.after-list li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.95rem; color: var(--ink-soft); }
.step-num--sm { width: 1.7rem; height: 1.7rem; font-size: 0.85rem; margin-top: -0.1rem; }
.aside-contact { display: flex; flex-direction: column; gap: 0.3rem; }
.aside-contact a { font-weight: 600; text-decoration: none; color: var(--brand-deep); }
.aside-contact a:hover { text-decoration: underline; }
.aside-note { margin-top: 0.9rem; font-size: 0.875rem; color: var(--muted); }
.aside-block--quiet { background: var(--brand-soft); border-color: transparent; }
.aside-block--quiet p { font-size: 0.95rem; color: var(--brand-deep); line-height: 1.6; }

/* ---------- Rechtstexte ---------- */

.legal { padding-top: clamp(1rem, 2vw, 1.5rem); }
.legal-inner { max-width: 46rem; }
.legal h2 { font-size: 1.3rem; font-weight: 700; margin: 2.4rem 0 0.8rem; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-soft); line-height: 1.7; }
.legal ul { padding-left: 1.3rem; margin: 0.8rem 0; display: flex; flex-direction: column; gap: 0.35rem; }

/* ---------- Reveal-Animation ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.32s var(--ease-out), transform 0.38s var(--ease-out);
}
html.js .reveal-l { transform: translateX(-16px); }
html.js .reveal-r { transform: translateX(16px); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Verbundenes System: Website + Webseiten-Verwaltung ---------- */

.system-showcase {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 50% 36%, oklch(96.5% 0.02 276 / 0.72), transparent 42%),
    var(--bg);
}
.system-showcase-inner { position: relative; }
.system-showcase-head {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}
.system-showcase-kicker {
  margin-bottom: 0.85rem;
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.system-showcase-intro {
  max-width: 42rem;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
}
.system-showcase-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(4.5rem, 8vw, 7.25rem);
  margin-top: clamp(2.75rem, 5vw, 4.25rem);
}
.system-connection {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.system-connection-path,
.system-connection-arrow {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.system-connection-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.system-connection-arrow { opacity: 1; }
.system-connection-pulse {
  fill: var(--brand);
  opacity: 0;
  filter: drop-shadow(0 0 4px oklch(51% 0.24 276 / 0.42));
}
.system-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  padding: clamp(0.75rem, 1.5vw, 1rem) clamp(0.75rem, 1.5vw, 1rem) clamp(1rem, 2vw, 1.3rem);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow:
    0 1px 2px oklch(25% 0.04 276 / 0.06),
    0 28px 64px -44px oklch(30% 0.11 276 / 0.42);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.system-card-title {
  padding: 0.25rem 0.2rem clamp(0.75rem, 1.5vw, 1rem);
  color: var(--ink);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  font-weight: 720;
  line-height: 1.3;
}
.system-card-media {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  aspect-ratio: 3 / 2;
}
.system-card-media .mock {
  width: 100%;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
.system-card-media .mock-preview-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.system-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: clamp(0.85rem, 1.8vw, 1.2rem) 0 0;
  padding: 0 0.15rem;
  list-style: none;
}
.system-feature-list li {
  padding: 0.4rem 0.68rem;
  border: 1px solid oklch(88% 0.025 276);
  border-radius: 999px;
  background: oklch(97.5% 0.012 276);
  color: var(--brand-deep);
  font-size: clamp(0.74rem, 1.1vw, 0.82rem);
  font-weight: 650;
  line-height: 1.2;
}
.system-showcase-closing {
  max-width: 48rem;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  text-align: center;
}
.system-showcase-closing-title {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight: 760;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.system-showcase-closing > p:last-child {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.98rem;
}

html.js .system-showcase:not(.is-running):not(.is-complete) [data-system-kicker],
html.js .system-showcase:not(.is-running):not(.is-complete) [data-system-title],
html.js .system-showcase:not(.is-running):not(.is-complete) [data-system-intro],
html.js .system-showcase:not(.is-running):not(.is-complete) [data-system-card],
html.js .system-showcase:not(.is-running):not(.is-complete) [data-system-feature],
html.js .system-showcase:not(.is-running):not(.is-complete) [data-system-closing] {
  opacity: 0;
}
html.js .system-showcase:not(.is-running):not(.is-complete) [data-system-kicker],
html.js .system-showcase:not(.is-running):not(.is-complete) [data-system-title],
html.js .system-showcase:not(.is-running):not(.is-complete) [data-system-intro] { transform: translateY(25px); }
html.js .system-showcase:not(.is-running):not(.is-complete) [data-system-card="website"] { transform: translate(-20px, 45px) scale(0.97); }
html.js .system-showcase:not(.is-running):not(.is-complete) [data-system-card="management"] { transform: translate(20px, 45px) scale(0.97); }
html.js .system-showcase:not(.is-running):not(.is-complete) [data-system-feature] { transform: translateY(10px); }
html.js .system-showcase:not(.is-running):not(.is-complete) [data-system-closing] { transform: translateY(15px); }
html.js .system-showcase:not(.is-running):not(.is-complete) .system-connection-path { opacity: 0; stroke-dashoffset: 1; }
html.js .system-showcase:not(.is-running):not(.is-complete) .system-connection-arrow { opacity: 0; }

@keyframes system-intro-rise {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: none; }
}
@keyframes system-card-left-in {
  from { opacity: 0; transform: translate(-20px, 45px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
@keyframes system-card-right-in {
  from { opacity: 0; transform: translate(20px, 45px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
@keyframes system-line-draw {
  from { opacity: 1; stroke-dashoffset: 1; }
  to { opacity: 1; stroke-dashoffset: 0; }
}
@keyframes system-arrow-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes system-small-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes system-closing-rise {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: none; }
}

html.js .system-showcase.is-running [data-system-kicker] { animation: system-intro-rise 520ms var(--ease-out) both; }
html.js .system-showcase.is-running [data-system-title] { animation: system-intro-rise 600ms var(--ease-out) 90ms both; }
html.js .system-showcase.is-running [data-system-intro] { animation: system-intro-rise 580ms var(--ease-out) 210ms both; }
html.js .system-showcase.is-running [data-system-card="website"] { animation: system-card-left-in 720ms var(--ease-out) 580ms both; }
html.js .system-showcase.is-running [data-system-card="management"] { animation: system-card-right-in 720ms var(--ease-out) 800ms both; }
html.js .system-showcase.is-running .system-connection-path { animation: system-line-draw 500ms cubic-bezier(0.77, 0, 0.175, 1) 1.6s both; }
html.js .system-showcase.is-running .system-connection-arrow { animation: system-arrow-in 150ms var(--ease-out) 2.05s both; }
html.js .system-showcase.is-running [data-system-feature] { animation: system-small-rise 280ms var(--ease-out) both; }
html.js .system-showcase.is-running [data-system-feature]:nth-child(1) { animation-delay: 2.78s; }
html.js .system-showcase.is-running [data-system-feature]:nth-child(2) { animation-delay: 2.86s; }
html.js .system-showcase.is-running [data-system-feature]:nth-child(3) { animation-delay: 2.94s; }
html.js .system-showcase.is-running [data-system-closing] { animation: system-closing-rise 450ms var(--ease-out) 3.05s both; }

html.js .system-showcase.is-complete [data-system-kicker],
html.js .system-showcase.is-complete [data-system-title],
html.js .system-showcase.is-complete [data-system-intro],
html.js .system-showcase.is-complete [data-system-card],
html.js .system-showcase.is-complete [data-system-feature],
html.js .system-showcase.is-complete [data-system-closing] {
  opacity: 1;
  transform: none;
}
html.js .system-showcase.is-complete .system-connection-path { opacity: 1; stroke-dashoffset: 0; }
html.js .system-showcase.is-complete .system-connection-arrow { opacity: 1; }

/* ---------- System-Präsentation: zusammenhängende 2×2-Komposition ---------- */

.system-showcase {
  padding-block: clamp(5.5rem, 9vw, 8rem);
  background: #fff;
}
.system-showcase-inner { max-width: 1340px; }
.system-showcase-head { max-width: 54rem; }
.system-showcase-kicker {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}
.system-showcase-intro {
  max-width: 38rem;
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}
.system-showcase-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(21rem, 1fr));
  gap: 0;
  width: 100%;
  min-height: clamp(46rem, 62vw, 54rem);
  margin: clamp(4rem, 7vw, 6.25rem) auto 0;
}
.system-axis {
  position: absolute;
  z-index: 1;
  display: block;
  background: oklch(24% 0.02 282 / 0.13);
  pointer-events: none;
  transition: transform 860ms cubic-bezier(0.77, 0, 0.175, 1), opacity 220ms ease;
}
.system-axis--horizontal {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
}
.system-axis--vertical {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  transform: scaleY(0);
  transform-origin: center;
}
.system-junction {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: 0.6rem;
  height: 0.6rem;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 1px oklch(51% 0.24 276 / 0.18);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 260ms var(--ease-out), transform 420ms var(--ease-out), box-shadow 180ms ease;
}
.system-quadrant {
  position: relative;
  z-index: 2;
  min-width: 0;
  margin: 0;
  padding: clamp(2rem, 4.2vw, 4.5rem);
}
.system-quadrant--website-visual,
.system-quadrant--management-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}
.system-quadrant--website-info,
.system-quadrant--management-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.system-quadrant--website-info { padding-left: clamp(3rem, 5.4vw, 5.75rem); }
.system-quadrant--management-info { padding-right: clamp(3rem, 5.4vw, 5.75rem); }
.system-index {
  display: inline-block;
  margin-bottom: clamp(1.1rem, 2vw, 1.6rem);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.14em;
}
.system-info-title {
  max-width: 14ch;
  color: var(--ink);
  font-size: clamp(2rem, 3.3vw, 3.5rem);
  font-weight: 820;
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.system-info-copy {
  max-width: 31rem;
  margin-top: clamp(1rem, 2vw, 1.4rem);
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.65;
}
.system-product-shot {
  width: 100%;
  height: 100%;
  transition: transform 220ms var(--ease-out);
}
.system-product-shot--website,
.system-product-shot--management { transform: none; }
.system-product-shot .mock {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.system-product-shot .mock-preview-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: transform 220ms var(--ease-out);
}
.system-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: clamp(1.5rem, 3vw, 2.1rem) 0 0;
  padding: 0;
}
.system-feature-list li {
  padding: 0.46rem 0.7rem;
  border: 1px solid oklch(28% 0.025 282 / 0.14);
  border-radius: 7px;
  background: transparent;
  color: var(--ink-soft);
  font-size: clamp(0.72rem, 0.95vw, 0.82rem);
  font-weight: 680;
  letter-spacing: 0.01em;
}
.system-showcase-closing {
  max-width: 54rem;
  margin: clamp(4.5rem, 8vw, 7rem) auto 0;
}
.system-showcase-closing::before {
  content: "";
  display: block;
  width: 1px;
  height: 3rem;
  margin: 0 auto 1.5rem;
  background: oklch(24% 0.02 282 / 0.16);
}
.system-showcase-closing-title {
  max-width: 16ch;
  margin-inline: auto;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 830;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.system-showcase-closing > p:last-child {
  max-width: 39rem;
  margin: 1.1rem auto 0;
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.65;
}

html.js .system-showcase:not(.is-visible) .system-showcase-kicker,
html.js .system-showcase:not(.is-visible) .system-showcase-title,
html.js .system-showcase:not(.is-visible) .system-showcase-intro,
html.js .system-showcase:not(.is-visible) [data-system-panel],
html.js .system-showcase:not(.is-visible) .system-feature-list li,
html.js .system-showcase:not(.is-visible) .system-showcase-closing {
  opacity: 0;
}
html.js .system-showcase:not(.is-visible) .system-showcase-kicker,
html.js .system-showcase:not(.is-visible) .system-showcase-title,
html.js .system-showcase:not(.is-visible) .system-showcase-intro { transform: translateY(24px); }
html.js .system-showcase:not(.is-visible) [data-system-panel="website-visual"] { transform: translateY(30px) scale(0.97); }
html.js .system-showcase:not(.is-visible) [data-system-panel="website-info"] { transform: translateX(20px); }
html.js .system-showcase:not(.is-visible) [data-system-panel="management-info"] { transform: translateX(-20px); }
html.js .system-showcase:not(.is-visible) [data-system-panel="management-visual"] { transform: translateY(30px) scale(0.97); }
html.js .system-showcase:not(.is-visible) .system-feature-list li { transform: translateY(8px); }
html.js .system-showcase:not(.is-visible) .system-showcase-closing { transform: translateY(16px); }

.system-showcase-head > *,
[data-system-panel],
.system-feature-list li,
.system-showcase-closing {
  transition: opacity 640ms var(--ease-out), transform 700ms var(--ease-out);
}
.system-showcase.is-visible .system-axis--horizontal { transform: scaleX(1); transition-delay: 140ms; }
.system-showcase.is-visible .system-axis--vertical { transform: scaleY(1); transition-delay: 220ms; }
.system-showcase.is-visible .system-junction { opacity: 1; transform: translate(-50%, -50%) scale(1); transition-delay: 520ms; }
.system-showcase.is-visible [data-system-panel="website-visual"] { transition-delay: 300ms; }
.system-showcase.is-visible [data-system-panel="website-info"] { transition-delay: 400ms; }
.system-showcase.is-visible [data-system-panel="management-info"] { transition-delay: 500ms; }
.system-showcase.is-visible [data-system-panel="management-visual"] { transition-delay: 600ms; }
.system-showcase.is-visible .system-feature-list li:nth-child(1) { transition-delay: 650ms; }
.system-showcase.is-visible .system-feature-list li:nth-child(2) { transition-delay: 700ms; }
.system-showcase.is-visible .system-feature-list li:nth-child(3) { transition-delay: 750ms; }
.system-showcase.is-visible .system-showcase-closing { transition-delay: 780ms; }

/* ---------- Prozessvisualisierung ---------- */

.areas { background: var(--surface); border-block: 1px solid var(--border); }
.process-visual-section { padding-block: clamp(3.75rem, 7vw, 5.75rem); }
.process-visual-container { position: relative; }
.process-visual-title {
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
  text-align: center;
}
.automanext-process {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 22fr) minmax(0, 52fr) minmax(0, 26fr);
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 1.25rem);
  min-height: 0;
  aspect-ratio: 2 / 1;
  margin: 0;
}
.process-ai-disclosure {
  position: absolute;
  z-index: 5;
  right: clamp(1.25rem, 4vw, 2rem);
  bottom: clamp(-3.5rem, -4vw, -2.25rem);
}
.process-ai-badge {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: 1px solid oklch(100% 0 0 / 0.14);
  border-radius: 999px;
  background: var(--ink-bg);
  color: #fff;
  box-shadow: 0 8px 20px -14px oklch(18% 0.03 276 / 0.6);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  cursor: help;
  transition: background-color 0.16s ease, transform 0.16s var(--ease-out);
}
.process-ai-badge:active { transform: scale(0.97); }
.process-ai-tooltip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.65rem);
  width: max-content;
  max-width: min(15rem, calc(100vw - 2.5rem));
  padding: 0.62rem 0.8rem;
  border-radius: 9px;
  background: var(--ink-bg);
  color: var(--on-dark);
  box-shadow: 0 16px 36px -22px oklch(18% 0.04 276 / 0.65);
  font-size: 0.78rem;
  font-weight: 550;
  line-height: 1.35;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px) scale(0.97);
  transform-origin: calc(100% - 1rem) 100%;
  transition: opacity 0.16s var(--ease-out), transform 0.16s var(--ease-out), visibility 0s linear 0.16s;
}
.process-ai-tooltip::after {
  content: "";
  position: absolute;
  right: 0.8rem;
  top: 100%;
  border: 5px solid transparent;
  border-top-color: var(--ink-bg);
}
.process-ai-disclosure:focus-within .process-ai-tooltip {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.process-connections {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  color: var(--brand);
  pointer-events: none;
}
.process-path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.process-arrowhead {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  vector-effect: non-scaling-stroke;
}
.process-asset,
.process-results {
  position: relative;
  z-index: 3;
  min-width: 0;
}
.process-asset img,
.process-result {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.process-marketing {
  width: min(100%, 14.5rem);
  justify-self: start;
}
.process-laptop { width: 100%; justify-self: center; }
.process-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.75rem, 1.6vw, 1.1rem);
  width: 100%;
}
.process-result { width: min(100%, 14.25rem); }
.process-result--customers { width: min(92%, 13.25rem); }
.process-result--revenue { order: 1; }
.process-result--customers { order: 2; }
.process-result--applications { order: 3; }

html.js .process-laptop {
  opacity: 0;
  transform: translateY(8rem) scale(0.96);
  transition: opacity 0.38s var(--ease-out), transform 0.38s var(--ease-out);
}
html.js .process-marketing {
  opacity: 0;
  transform: translateX(-3rem) scale(0.96);
  transition: opacity 0.28s var(--ease-out) 0.3s, transform 0.28s var(--ease-out) 0.3s;
}
html.js .process-path {
  opacity: 0;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: opacity 0.14s var(--ease-out) var(--path-delay, 0s), stroke-dashoffset 0.28s cubic-bezier(0.77, 0, 0.175, 1) var(--path-delay, 0s);
}
html.js .process-path--input { --path-delay: 0.52s; }
html.js .process-path--output { --path-delay: 0.82s; stroke-width: 2.35; }
html.js .process-arrowhead { transition: opacity 0.14s var(--ease-out) var(--arrow-delay, 0s); }
html.js .process-arrowhead--input { --arrow-delay: 0.76s; }
html.js .process-arrowhead--output { --arrow-delay: 1.06s; }
html.js .process-result {
  opacity: 0;
  --result-enter-x: 1.25rem;
  --result-enter-y: 0rem;
  transform: translate(var(--result-enter-x), var(--result-enter-y)) scale(0.82);
}
.automanext-process.is-running .process-laptop,
.automanext-process.is-running .process-marketing,
.automanext-process.is-complete .process-laptop,
.automanext-process.is-complete .process-marketing {
  opacity: 1;
  transform: none;
}
.automanext-process.is-running .process-path,
.automanext-process.is-complete .process-path {
  opacity: 1;
  stroke-dashoffset: 0;
}
.automanext-process.is-running .process-arrowhead,
.automanext-process.is-complete .process-arrowhead { opacity: 1; }
.automanext-process.is-running .process-laptop,
.automanext-process.is-running .process-marketing,
.automanext-process.is-running .process-path,
.automanext-process.is-running .process-result {
  will-change: transform, opacity;
}
.automanext-process.is-running .process-result--customers { animation: process-result-enter 0.26s var(--ease-out) 1.12s both; }
.automanext-process.is-running .process-result--applications { animation: process-result-enter 0.26s var(--ease-out) 1.32s both; }
.automanext-process.is-running .process-result--revenue { animation: process-result-enter 0.26s var(--ease-out) 1.52s both; }
.automanext-process.is-complete .process-result { opacity: 1; transform: none; }

@keyframes process-result-enter {
  0% { opacity: 0; transform: translate(var(--result-enter-x), var(--result-enter-y)) scale(0.82); }
  72% { opacity: 1; transform: translate(0, 0) scale(1.035); }
  100% { opacity: 1; transform: translate(0, 0) scale(1); }
}

/* ---------- Problem / Lösung ---------- */

.problem-list {
  list-style: none;
  margin: clamp(1.75rem, 3.5vw, 2.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem 2.5rem;
  border-bottom: 1px solid var(--border);
}
.problem-list li {
  position: relative;
  padding: 1rem 0 1rem 1.9rem;
  border-top: 1px solid var(--border);
  color: var(--ink-soft);
  font-size: 1.02rem;
}
.problem-list li::before { content: "✕"; position: absolute; left: 0; top: 1.05rem; color: oklch(55% 0.13 25); font-weight: 700; }
.problem-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.problem + .features { border-top: 1px solid var(--border); }

.solution { background: var(--surface); border-block: 1px solid var(--border); }
.solution-inner { max-width: 50rem; }
.solution .section-title { text-align: center; }
.solution-text { margin-top: 1.1rem; font-size: 1.15rem; color: var(--muted); line-height: 1.65; }
.solution-text p { margin: 0; }
.solution-text p + p { margin-top: 1rem; }
.solution-text [data-solution-word] { display: inline-block; }
.solution-text [data-solution-word]:not(:last-child)::after { content: "\00a0"; }
html.js .solution:not(.is-word-visible) [data-solution-word] {
  opacity: 0;
  transform: translateY(0.35em);
}
html.js .solution.is-word-visible [data-solution-word] {
  opacity: 1;
  transform: none;
  transition:
    opacity 250ms var(--ease-out) var(--word-delay, 0ms),
    transform 250ms var(--ease-out) var(--word-delay, 0ms);
}

/* ---------- Warum AutomaNext ---------- */

.why-experience {
  position: relative;
  isolation: isolate;
  padding: 0;
  background: var(--bg);
}
.why-scroll-scene { position: relative; height: 230svh; }
.why-sticky {
  position: sticky;
  top: 4.25rem;
  display: grid;
  place-items: center;
  height: calc(100svh - 4.25rem);
  min-height: 42rem;
  overflow: clip;
}
.why-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #000;
  color: #fff;
  box-shadow: 0 36px 90px -55px rgba(7, 9, 18, 0.7);
  transform: scale(0.86);
  transform-origin: center;
  transition: none;
}
.why-center {
  position: absolute;
  z-index: 3;
  top: 49%;
  left: 50%;
  width: min(60vw, 54rem);
  text-align: center;
  transform: translate(-50%, -50%);
}
.why-center-title {
  margin-top: 0.9rem;
  font-size: clamp(2.4rem, 4vw, 3.75rem);
  font-weight: 820;
  letter-spacing: -0.06em;
  line-height: 0.96;
  white-space: pre;
}
.why-center-title .accent,
.why-center-title strong { color: #fff; font-weight: inherit; }
.why-center-copy {
  max-width: 38rem;
  margin: 1.25rem auto 0;
  color: #fff;
  font-size: clamp(0.88rem, 1.15vw, 1rem);
}
.why-learn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 3.1rem;
  margin-top: 1.55rem;
  padding: 0.72rem 1.2rem;
  border: 0;
  border-radius: 9px;
  background: #1717e8;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
  transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.why-learn-more span { font-size: 1.15em; transition: transform 180ms var(--ease-out); }
.why-nodes { position: absolute; z-index: 3; inset: 0; }
.why-node {
  position: absolute;
  width: min(25vw, 23rem);
  padding: 0.4rem;
  border-radius: 10px;
  color: #fff;
  outline-offset: 7px;
  transform: translateY(20px) scale(0.975);
  transition: opacity 560ms var(--ease-out), transform 680ms var(--ease-out);
}
html.js .why-experience:not(.is-reduced) .why-node { opacity: 0; }
.why-node--contact { top: 30%; left: 4.5%; }
.why-node--specialization { top: 7%; right: 4.5%; }
.why-node--system { bottom: 6%; left: 9%; }
.why-node--pricing { top: 40%; right: 3.5%; }
.why-node--scale { right: 10%; bottom: 5%; }
.why-experience.is-presented .why-node { opacity: 1 !important; transform: none; }
.why-experience.is-presented .why-node:nth-child(2) { transition-delay: 55ms; }
.why-experience.is-presented .why-node:nth-child(3) { transition-delay: 110ms; }
.why-experience.is-presented .why-node:nth-child(4) { transition-delay: 165ms; }
.why-experience.is-presented .why-node:nth-child(5) { transition-delay: 220ms; }
.why-node h3 {
  max-width: 24ch;
  font-size: clamp(1rem, 1.32vw, 1.32rem);
  font-weight: 720;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: #fff;
  transition: color 180ms var(--ease-out);
}
.why-node p {
  max-width: 35ch;
  margin-top: 0.65rem;
  color: #fff;
  font-size: clamp(0.76rem, 0.88vw, 0.92rem);
  line-height: 1.48;
  transition: color 180ms var(--ease-out), opacity 180ms var(--ease-out);
}
.why-node:focus-visible { outline-color: rgba(137, 147, 255, 0.92); }
.why-experience.is-scroll-active .why-stage,
.why-experience.is-scroll-active .why-center,
.why-experience.is-scroll-active .why-node { will-change: transform, opacity; }

/* ---------- Zielgruppen (Chips) ---------- */

.audience { background: var(--surface); border-block: 1px solid var(--border); padding-block: clamp(2.75rem, 5vw, 4rem); }
.audience-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: clamp(1.5rem, 3vw, 2rem) 0 0;
}
.audience-list li {
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5em 1.1em;
  border-radius: 999px;
}

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

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }
.feature-card { padding: clamp(1.5rem, 2.5vw, 1.85rem); border: 1px solid var(--border); border-radius: 14px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; }
.feature-card p { margin-top: 0.6rem; color: var(--muted); font-size: 0.95rem; }

.feature-grid--with-visual { grid-template-columns: 1.1fr 0.9fr; align-items: start; gap: clamp(2rem, 4vw, 3rem); margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }
.feature-list-col { display: flex; flex-direction: column; }
.feature-row { padding: 1.3rem 0; border-top: 1px solid var(--border); }
.feature-row:first-child { border-top: none; padding-top: 0; }
.feature-row h3 { font-size: 1.05rem; font-weight: 700; }
.feature-row p { margin-top: 0.4rem; color: var(--muted); font-size: 0.95rem; }
.feature-visual-col { position: sticky; top: 6rem; }
.expansion-note { margin-top: clamp(2rem, 4vw, 2.75rem); color: var(--muted); font-size: 0.95rem; max-width: 62ch; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* ---------- Kompakter Ablauf (Unterseite) ---------- */

.process-compact-inner { max-width: 46rem; }
.process-compact-list { list-style: none; margin: 1.5rem 0 1.75rem; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.process-compact-list li { display: flex; gap: 1rem; align-items: flex-start; color: var(--ink-soft); }
.process-compact-list strong { color: var(--ink); }

/* ---------- Abschluss-CTA (Unterseite) ---------- */

.closing { text-align: center; background: var(--surface); border-block: 1px solid var(--border); }
.closing-inner { max-width: 40rem; }
.closing h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; }
.closing p { margin: 1rem 0 1.75rem; color: var(--muted); font-size: 1.05rem; }

/* ---------- Unterseiten-Kopf mit Visual ---------- */

.page-head-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.page-head-visual .mock { margin-top: 0; }
.page-head:has(.page-head-grid) { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.page-head.page-head--dark { background: var(--ink-bg); color: #fff; padding-bottom: clamp(3.5rem, 6vw, 5rem); }
.page-title--light { color: #fff; }
.page-intro--light { color: var(--on-dark-muted); }
.hero-kicker--light { color: var(--on-dark-muted); }
.hero-kicker--light .kicker-arrow { color: var(--brand-light); }
.btn-ghost--light { color: #fff; box-shadow: inset 0 0 0 1.5px oklch(100% 0 0 / 0.35); }
.btn-ghost--light:hover { box-shadow: inset 0 0 0 1.5px #fff; color: #fff; }

.price-features--cols { column-count: 2; column-gap: 2rem; display: block; }
.price-features--cols li { break-inside: avoid; margin-bottom: 0.55rem; }

/* ---------- Radiobuttons (Kontaktweg) ---------- */

.radio-row { display: flex; gap: 1.5rem; }
.radio-label { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; cursor: pointer; }
.radio-label input { accent-color: var(--brand); width: 1.1rem; height: 1.1rem; }

/* ---------- Affiliate-Programm ---------- */

.section-eyebrow {
  margin-bottom: 0.75rem;
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.affiliate-primary {
  box-shadow: 0 12px 28px -18px oklch(41% 0.2 276 / 0.85);
}

.affiliate-home {
  background: var(--surface);
  border-block: 1px solid var(--border);
}
.affiliate-home-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 5rem);
}
.affiliate-home-head > p {
  color: var(--muted);
  max-width: 43rem;
}
.affiliate-home-grid,
.affiliate-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.affiliate-home-card,
.affiliate-benefit-card {
  min-width: 0;
  padding: clamp(1.35rem, 2.5vw, 1.8rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: 0 18px 45px -42px oklch(22% 0.04 276 / 0.5);
  transition: transform 0.2s var(--ease-out), border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.affiliate-card-num {
  display: block;
  margin-bottom: 1.35rem;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}
.affiliate-home-card h3,
.affiliate-benefit-card h2 {
  font-size: 1.05rem;
  line-height: 1.3;
}
.affiliate-home-card p,
.affiliate-benefit-card p {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.93rem;
}
.affiliate-home-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.affiliate-hero {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.affiliate-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 28rem;
  aspect-ratio: 1;
  right: -14rem;
  top: -13rem;
  border-radius: 50%;
  background: var(--brand-soft);
  filter: blur(1px);
  pointer-events: none;
}
.affiliate-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(28rem, 1.05fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.affiliate-hero-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 42ch;
}
.affiliate-hero .hero-actions { gap: 0.5rem; }
.affiliate-hero .btn-lg { padding-inline: 1.8rem; }
.affiliate-hero-visual { min-width: 0; }

.affiliate-dashboard {
  overflow: hidden;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 28px 80px -52px oklch(22% 0.08 276 / 0.5);
}
.affiliate-dashboard-head,
.affiliate-dashboard-row,
.affiliate-dashboard-provision {
  display: flex;
  align-items: center;
}
.affiliate-dashboard-head {
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.affiliate-dashboard-head > div { display: grid; }
.affiliate-dashboard-head strong { font-size: 1.05rem; }
.affiliate-dashboard-eyebrow {
  color: var(--brand-deep);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.affiliate-dashboard-avatar,
.affiliate-company-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 750;
}
.affiliate-dashboard-avatar { width: 2.25rem; height: 2.25rem; font-size: 0.75rem; }
.affiliate-dashboard-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding-block: 1rem;
}
.affiliate-dashboard-stats > div {
  display: grid;
  padding: 0.8rem;
  border-radius: 10px;
  background: var(--bg);
}
.affiliate-dashboard-stats span,
.affiliate-dashboard-provision > span,
.affiliate-dashboard-provision small {
  color: var(--muted);
  font-size: 0.72rem;
}
.affiliate-dashboard-stats strong { font-size: 1rem; }
.affiliate-dashboard-list {
  border: 1px solid var(--border);
  border-radius: 12px;
}
.affiliate-dashboard-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  padding: 0.8rem;
  border-top: 1px solid var(--border);
}
.affiliate-dashboard-row:first-child { border-top: 0; }
.affiliate-company-mark {
  width: 2.25rem;
  height: 2.25rem;
  font-size: 0.68rem;
  background: oklch(95% 0.035 80);
  color: oklch(45% 0.12 70);
}
.affiliate-company-mark--blue { background: oklch(95% 0.04 240); color: oklch(45% 0.14 245); }
.affiliate-company-mark--green { background: oklch(95% 0.04 150); color: oklch(40% 0.1 150); }
.affiliate-dashboard-row > span:nth-child(2) {
  display: grid;
  min-width: 0;
}
.affiliate-dashboard-row strong {
  overflow: hidden;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.affiliate-dashboard-row small { color: var(--muted); font-size: 0.68rem; }
.affiliate-status {
  align-self: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  white-space: nowrap;
}
.affiliate-status--active { background: var(--brand-soft); color: var(--brand-deep); }
.affiliate-status--success { background: var(--success-bg); color: var(--success-ink); }
.affiliate-dashboard-provision {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.2rem 1rem;
  margin-top: 1rem;
  padding: 0.9rem;
  border-radius: 10px;
  background: var(--ink-bg);
  color: #fff;
}
.affiliate-dashboard-provision strong { color: var(--brand-light); font-size: 0.88rem; }
.affiliate-dashboard-provision small { width: 100%; color: var(--on-dark-muted); }

.affiliate-benefits {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--surface);
}
.affiliate-benefit-grid { margin-top: 0; }
.affiliate-benefit-card { background: var(--bg); box-shadow: none; }

.affiliate-process { background: var(--bg); }
.affiliate-step-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 0;
}
.affiliate-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.affiliate-step-num {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-weight: 750;
}
.affiliate-step h3 { font-size: 1.08rem; }
.affiliate-step p { margin-top: 0.55rem; color: var(--muted); font-size: 0.94rem; }

.affiliate-audience {
  background: var(--surface);
  border-block: 1px solid var(--border);
}
.affiliate-audience-grid,
.affiliate-trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(24rem, 1.15fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}
.affiliate-audience-grid .section-sub,
.affiliate-trust-grid .section-sub { margin-top: 1rem; }
.affiliate-audience-list,
.affiliate-trust-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.affiliate-audience-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  font-size: 0.9rem;
  font-weight: 600;
}
.affiliate-audience-list li span { color: var(--brand); }

.affiliate-trust { background: var(--ink-bg); color: #fff; }
.affiliate-trust .section-title { color: #fff; }
.affiliate-trust .section-eyebrow { color: var(--brand-light); }
.affiliate-trust .section-sub { color: var(--on-dark-muted); }
.affiliate-trust-list {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 0;
}
.affiliate-trust-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 0;
  color: var(--on-dark);
  font-weight: 600;
}
.affiliate-trust-list li span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--brand-light);
  box-shadow: 0 0 0 5px oklch(72% 0.16 276 / 0.12);
}

.affiliate-closing {
  background: var(--brand);
  color: #fff;
  text-align: center;
}
.affiliate-closing-inner { max-width: 46rem; }
.affiliate-closing h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.affiliate-closing p {
  margin: 1.2rem auto 1.8rem;
  color: oklch(96% 0.015 276);
  max-width: 42rem;
}
.affiliate-closing small {
  display: block;
  margin-top: 0.85rem;
  color: oklch(93% 0.025 276);
}

.affiliate-service-teaser {
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--surface);
}
.affiliate-service-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--brand-soft);
}
.affiliate-service-card p { color: var(--ink-soft); font-size: 0.95rem; }
.affiliate-service-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

.aside-block--affiliate {
  border-color: oklch(82% 0.06 276);
  background: var(--brand-soft);
}
.aside-block--affiliate h2 { margin: 0.45rem 0 0; }
.aside-block--affiliate p { margin-top: 0.75rem; color: var(--muted); }
.aside-block--affiliate .arrow-link { display: inline-block; margin-top: 1rem; }
.aside-affiliate-label {
  color: var(--brand-deep);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-affiliate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.4rem, 3vw, 1.8rem) clamp(1.4rem, 3.5vw, 2.1rem);
  border: 1px solid oklch(100% 0 0 / 0.11);
  border-radius: 16px;
  background: oklch(22.5% 0.022 282);
}
.footer-affiliate strong { color: #fff; font-size: 1.05rem; }
.footer-affiliate p { max-width: 48rem; margin-top: 0.35rem; color: var(--on-dark-muted); font-size: 0.9rem; }
.footer-affiliate-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 2.85rem;
  padding: 0.65rem 1rem;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
}
.footer-affiliate-link:hover { color: #fff; background: var(--brand-deep); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html.js .hero-kicker, html.js .hero-title, html.js .hero-row { animation: none !important; }
  .hero-scroll-cue { animation: none !important; }
  .btn, .mock, .arrow-link::after, .affiliate-home-card, .affiliate-benefit-card, .system-card { transition: none !important; }
  html.js .system-showcase [data-system-kicker],
  html.js .system-showcase [data-system-title],
  html.js .system-showcase [data-system-intro],
  html.js .system-showcase [data-system-card],
  html.js .system-showcase [data-system-feature],
  html.js .system-showcase [data-system-closing],
  html.js .system-showcase .system-connection-path,
  html.js .system-showcase .system-connection-arrow {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    stroke-dashoffset: 0 !important;
  }
  html.js .system-showcase .system-connection-pulse { display: none; }
  html.js .automanext-process .process-asset,
  html.js .automanext-process .process-result,
  html.js .automanext-process .process-path,
  html.js .automanext-process .process-arrowhead {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    stroke-dashoffset: 0 !important;
  }
  .process-ai-badge,
  .process-ai-tooltip { transition: none !important; }
  .process-ai-tooltip { transform: none; }
  .why-scroll-scene { height: auto; }
  .why-sticky { position: relative; top: auto; height: auto; min-height: 0; overflow: visible; }
  .why-stage { min-height: 48rem; transform: none !important; border-radius: 24px !important; }
  html.js .why-experience .why-node {
    opacity: 1 !important;
    transform: none;
    transition: none !important;
  }
  .why-learn-more { transition: none !important; }
  .btn:hover { transform: none; }
  .hero-video { visibility: hidden; }
  .hero-video-stage {
    background: var(--ink-bg) url('/assets/video/hero-wallpaper-poster.webp') right center / cover no-repeat;
  }
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
  .arrow-link:hover::after { transform: translateX(4px); }
  .system-showcase.is-complete .system-card:hover {
    border-color: oklch(84% 0.045 276);
    box-shadow:
      0 2px 5px oklch(25% 0.04 276 / 0.08),
      0 32px 70px -42px oklch(30% 0.12 276 / 0.5);
    transform: translateY(-4px) scale(1.01);
  }
  .process-ai-badge:hover { background: var(--brand-deep); }
  .process-ai-disclosure:hover .process-ai-tooltip {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
  .affiliate-home-card:hover,
  .affiliate-benefit-card:hover {
    transform: translateY(-3px);
    border-color: oklch(82% 0.06 276);
    box-shadow: 0 24px 50px -38px oklch(35% 0.1 276 / 0.38);
  }
  .why-learn-more:hover { background: #2929ff; color: #fff; transform: translateY(-2px); }
  .why-learn-more:hover span { transform: translateX(3px); }
}

/* ---------- Responsive ---------- */

@media (max-width: 1099px) {
  .why-scroll-scene {
    height: auto;
    padding: 0 clamp(0.75rem, 2.5vw, 1.5rem) clamp(4rem, 9vw, 6rem);
  }
  .why-sticky { position: relative; top: auto; height: auto; min-height: 0; overflow: visible; }
  .why-stage {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: clamp(3.5rem, 8vw, 5rem) clamp(1.5rem, 6vw, 4rem);
    border-radius: 26px !important;
    transform: none !important;
  }
  .why-center {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 54rem);
    margin-inline: auto;
    transform: none !important;
  }
  .why-center-title { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
  .why-nodes {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: clamp(4rem, 9vw, 6.5rem);
    margin-top: clamp(5rem, 11vw, 8rem);
  }
  .why-node,
  .why-node--contact,
  .why-node--specialization,
  .why-node--system,
  .why-node--pricing,
  .why-node--scale {
    position: relative;
    inset: auto;
    width: min(88%, 35rem);
    padding: 0.75rem;
    background: #000;
    transform: none !important;
  }
  .why-node:nth-child(odd) { align-self: flex-start; }
  .why-node:nth-child(even) { align-self: flex-end; }
  .why-node h3 { font-size: clamp(1.2rem, 3.1vw, 1.55rem); }
  .why-node p { max-width: 43ch; font-size: clamp(0.92rem, 2vw, 1.02rem); }
  html.js .why-experience:not(.is-reduced) .why-node {
    opacity: 0;
    transform: translateY(24px) scale(0.98) !important;
    transition: opacity 620ms var(--ease-out), transform 720ms var(--ease-out);
  }
  html.js .why-experience:not(.is-reduced) .why-node.is-mobile-visible {
    opacity: 1;
    transform: none !important;
  }
}

@media (max-width: 1080px) {
  .affiliate-home-grid, .affiliate-benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem clamp(1.25rem, 4vw, 2rem) 1.25rem;
    box-shadow: 0 20px 30px -24px oklch(25% 0.05 276 / 0.4);
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 0.85rem 0.6rem; font-size: 1.05rem; }
  .btn-nav { margin: 0.6rem 0 0; }

  .hero-row { grid-template-columns: 1fr; align-items: start; }
  .hero-cta-col { align-items: flex-start; }
  .price-grid { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .page-head-grid { grid-template-columns: 1fr; }
  .page-head-visual { width: 100%; max-width: 26rem; margin-inline: auto; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid--with-visual { grid-template-columns: 1fr; }
  .feature-visual-col { position: static; max-width: 26rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
  .affiliate-home-head,
  .affiliate-hero-grid,
  .affiliate-audience-grid,
  .affiliate-trust-grid { grid-template-columns: 1fr; }
  .affiliate-home-head { gap: 1.25rem; }
  .affiliate-hero-visual { width: 100%; max-width: 38rem; margin-inline: auto; }
}

@media (max-width: 999px) {
  .system-showcase-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(4.75rem, 10vw, 6rem);
    width: min(100%, 46rem);
    margin-inline: auto;
  }
  .automanext-process {
    grid-template-columns: minmax(0, 22fr) minmax(0, 52fr) minmax(0, 26fr);
    gap: clamp(0.25rem, 1.2vw, 0.75rem);
  }
  .process-marketing,
  .process-laptop,
  .process-results { width: 100%; }
  .process-results { gap: clamp(0.2rem, 1vw, 0.55rem); }
}

@media (max-width: 640px) {
  .brand-link .logo { width: 10.75rem; }
  .cta-watermark { right: 1.5rem; }
  .step-grid, .problem-list { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-aside { grid-template-columns: 1fr; }
  .site-footer { padding-top: 2rem; }
  .footer-grid { gap: 2.25rem; }
  .footer-links { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .btn-lg { width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-cta-col { width: 100%; }
  .hero-video-stage {
    min-height: calc(100svh - 4.25rem);
    padding-block: clamp(2.5rem, 8svh, 4rem);
  }
  .hero-video-overlay {
    background: linear-gradient(180deg, oklch(10% 0.02 260 / 0.76), oklch(10% 0.02 260 / 0.9));
  }
  .system-showcase { padding-block: clamp(3.5rem, 13vw, 4.75rem); }
  .system-showcase-head { max-width: 23rem; }
  .system-showcase-stage {
    gap: 4.75rem;
    margin-top: 2.5rem;
  }
  .system-card {
    padding: 0.65rem 0.65rem 0.9rem;
    border-radius: 15px;
  }
  .system-card-title { padding: 0.2rem 0.15rem 0.65rem; }
  .system-feature-list {
    gap: 0.38rem;
    margin-top: 0.75rem;
  }
  .system-feature-list li { padding: 0.36rem 0.56rem; }
  .system-showcase-closing { margin-top: 2.65rem; }
  .process-visual-section { padding-block: clamp(2.5rem, 9vw, 3.5rem); }
  .automanext-process { gap: clamp(0.15rem, 1vw, 0.35rem); }
  .process-marketing,
  .process-laptop,
  .process-results { width: 100%; }
  .process-results { gap: clamp(0.1rem, 0.8vw, 0.25rem); }
  .process-path { stroke-width: 1.15; }
  html.js .process-path--output { stroke-width: 1.35; }
  .process-arrowhead { stroke-width: 1.15; }
  .process-result { width: 100%; }
  .process-result--customers { width: 92%; }
  .why-scroll-scene { height: 190svh; padding: 0 0.35rem 2rem; }
  .why-sticky {
    position: sticky;
    top: 4.25rem;
    height: calc(100svh - 4.25rem);
    min-height: 31rem;
    overflow: clip;
  }
  .why-stage {
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    border-radius: 12px !important;
    transform: scale(0.9) !important;
  }
  .why-center {
    position: absolute;
    top: 67%;
    left: 50%;
    width: min(88%, 25rem);
    margin: 0;
    text-align: center;
    transform: translate(-50%, -50%) !important;
  }
  .why-center-title { margin-top: 0; font-size: clamp(1.05rem, 5.8vw, 1.65rem); line-height: 0.98; }
  .why-center-copy { max-width: 28rem; margin: 0.85rem auto 0; font-size: clamp(0.68rem, 3.2vw, 0.82rem); line-height: 1.45; }
  .why-learn-more { min-height: 2.7rem; margin-top: 1rem; padding: 0.55rem 1rem; font-size: 0.82rem; }
  .why-nodes { position: absolute; display: block; inset: 0; margin: 0; }
  .why-node,
  .why-node--contact,
  .why-node--specialization,
  .why-node--system,
  .why-node--pricing,
  .why-node--scale {
    position: absolute;
    width: 27%;
    padding: 0;
    background: transparent;
    transform: translateY(8px) scale(0.96) !important;
  }
  .why-node--contact { top: 13%; left: 5%; }
  .why-node--specialization { top: 5%; left: 37%; }
  .why-node--system { top: 31%; left: 15%; }
  .why-node--pricing { top: 14%; right: 3%; left: auto; }
  .why-node--scale { right: 17%; bottom: auto; top: 34%; }
  .why-experience.is-presented .why-node { transform: none !important; }
  .why-node h3 { max-width: 16ch; font-size: clamp(0.35rem, 1.75vw, 0.46rem); line-height: 1.12; letter-spacing: -0.01em; }
  .why-node p {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .why-experience.is-reduced .why-scroll-scene { height: auto; }
  .why-experience.is-reduced .why-sticky { position: relative; top: auto; height: calc(100svh - 4.25rem); }
  .price-features--cols { column-count: 1; }
  .radio-row { flex-direction: column; gap: 0.75rem; }
  .affiliate-home-grid,
  .affiliate-benefit-grid,
  .affiliate-step-grid,
  .affiliate-audience-list { grid-template-columns: 1fr; }
  .affiliate-home-actions,
  .footer-affiliate { align-items: flex-start; flex-direction: column; }
  .affiliate-service-card { grid-template-columns: auto 1fr; }
  .affiliate-service-card .arrow-link { grid-column: 2; white-space: normal; }
  .affiliate-dashboard-row { grid-template-columns: auto minmax(0, 1fr); }
  .affiliate-dashboard-row .affiliate-status { grid-column: 2; justify-self: start; }
  .affiliate-dashboard-provision { align-items: flex-start; flex-direction: column; }
}

/* Scroll-Reveal im normalen Seitenfluss: Die Section wird nicht angeheftet. */
@media (min-width: 1100px), (max-width: 640px) {
  .why-experience.is-scroll-reveal .why-scroll-scene {
    height: auto;
    padding: 0 0 clamp(4rem, 7vw, 6rem);
  }
  .why-experience.is-scroll-reveal .why-sticky {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .why-experience.is-scroll-reveal .why-stage {
    width: 100%;
    height: clamp(38rem, calc(100svh - 5.25rem), 52rem);
    min-height: 38rem;
    border-radius: 0 !important;
    transform: none !important;
    transition: none;
  }
  html.js .why-experience.is-scroll-reveal .why-node {
    opacity: 0;
    transform: none !important;
    transition: none !important;
  }
}

@media (min-width: 1100px) {
  html.js .why-experience.is-scroll-reveal .why-stage {
    clip-path: inset(20% 16.5% 20% 16.5% round 18px);
  }
}

@media (max-width: 640px) {
  .why-experience.is-scroll-reveal .why-scroll-scene {
    height: auto;
    padding: 0 0 4rem;
  }
  .why-experience.is-scroll-reveal .why-stage {
    height: clamp(31rem, calc(100svh - 4.75rem), 44rem);
    min-height: 31rem;
  }
  html.js .why-experience.is-scroll-reveal .why-stage {
    clip-path: inset(48% 4% 8% 4% round 12px);
  }
}

@media (min-width: 641px) and (max-width: 1099px) {
  html.js .why-experience.is-scroll-reveal .why-node {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .why-experience.is-scroll-reveal .why-scroll-scene { height: auto; }
  .why-experience.is-scroll-reveal .why-sticky { position: relative; top: auto; height: auto; min-height: 0; overflow: visible; }
  .why-experience.is-scroll-reveal .why-stage { min-height: 48rem; clip-path: none !important; will-change: auto; }
  html.js .why-experience.is-scroll-reveal .why-node { opacity: 1 !important; transform: none !important; }
}

/* ---------- Datenschutz- und Consent-Dialog ---------- */
.footer-privacy-button { border: 0; padding: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.footer-privacy-button:hover { color: #fff; }
.consent-layer { position: fixed; z-index: 1000; inset: 0; display: grid; align-items: end; padding: 1rem; background: oklch(10% 0.02 280 / .58); }
.consent-layer[hidden] { display: none; }
.consent-dialog { width: min(100%, 56rem); max-height: calc(100vh - 2rem); overflow: auto; margin: 0 auto; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: 0 24px 80px oklch(10% 0.03 280 / .35); }

@media (min-width: 768px) and (max-width: 1099px) {
  .system-showcase-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(19rem, 1fr));
    gap: 0;
    width: 100%;
    min-height: 42rem;
  }
  .system-quadrant { padding: clamp(1.5rem, 3.4vw, 2.5rem); }
  .system-quadrant--website-info { padding-left: clamp(2rem, 4vw, 3rem); }
  .system-quadrant--management-info { padding-right: clamp(2rem, 4vw, 3rem); }
  .system-info-title { font-size: clamp(1.75rem, 3.7vw, 2.7rem); }
  .system-info-copy { font-size: 0.96rem; }
  .system-product-shot { width: 100%; }
}

@media (max-width: 767px) {
  .system-showcase { padding-block: clamp(4.5rem, 15vw, 6rem); }
  .system-showcase-inner { padding-inline: clamp(1.1rem, 5vw, 1.5rem); }
  .system-showcase-head { max-width: 30rem; }
  .system-showcase-intro { max-width: 29rem; font-size: 1rem; }
  .system-showcase-stage {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    min-height: 0;
    margin-top: clamp(3.25rem, 13vw, 4.5rem);
    padding-left: 1.1rem;
  }
  .system-axis--horizontal { display: none; }
  .system-axis--vertical {
    top: 0;
    left: 1.1rem;
    height: 100%;
    transform-origin: top;
  }
  .system-junction { top: 51%; left: 1.1rem; }
  .system-quadrant {
    width: 100%;
    padding: clamp(1.5rem, 7vw, 2.25rem) 0 clamp(3rem, 12vw, 4.25rem) clamp(1.5rem, 7vw, 2.25rem);
    overflow: visible;
  }
  .system-quadrant--website-visual,
  .system-quadrant--management-visual {
    height: clamp(16rem, 72vw, 22rem);
    padding: 0;
  }
  .system-quadrant--website-info,
  .system-quadrant--management-info { padding-left: clamp(1.5rem, 7vw, 2.25rem); }
  .system-info-title { max-width: 14ch; font-size: clamp(2rem, 10vw, 3rem); }
  .system-info-copy { max-width: 27rem; font-size: 0.98rem; }
  .system-product-shot { width: 100%; height: 100%; }
  .system-feature-list { gap: 0.45rem; margin-top: 1.4rem; }
  .system-feature-list li { padding: 0.42rem 0.58rem; }
  .system-showcase-closing { margin-top: clamp(3.5rem, 14vw, 5rem); }
  .system-showcase-closing-title { font-size: clamp(2.15rem, 10.5vw, 3.25rem); }
  html.js .system-showcase:not(.is-visible) [data-system-panel="website-info"],
  html.js .system-showcase:not(.is-visible) [data-system-panel="management-info"] { transform: translateY(18px); }
}

@media (hover: hover) and (pointer: fine) {
  .system-showcase.is-visible .system-quadrant--website-visual:hover .mock-preview-image,
  .system-showcase.is-visible .system-quadrant--management-visual:hover .mock-preview-image { transform: scale(1.01); }
  .system-showcase-stage:has(.system-quadrant:hover) .system-axis { opacity: 0.82; }
  .system-showcase-stage:has(.system-quadrant:hover) .system-junction {
    box-shadow: 0 0 0 4px oklch(51% 0.24 276 / 0.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js .system-showcase .system-showcase-kicker,
  html.js .system-showcase .system-showcase-title,
  html.js .system-showcase .system-showcase-intro,
  html.js .system-showcase [data-system-panel],
  html.js .system-showcase .system-feature-list li,
  html.js .system-showcase .system-showcase-closing,
  html.js .system-showcase .system-junction {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  html.js .system-showcase .system-axis--horizontal { transform: scaleX(1) !important; transition: none !important; }
  html.js .system-showcase .system-axis--vertical { transform: scaleY(1) !important; transition: none !important; }
  html.js .system-showcase .system-junction { transform: translate(-50%, -50%) !important; }
  .system-product-shot,
  .system-product-shot .mock-preview-image { transition: none !important; }
}
.consent-dialog h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); }
.consent-dialog > div > p { margin-top: .65rem; color: var(--muted); }
.consent-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1.25rem; }
.consent-actions .btn { min-height: 3rem; }
.consent-links { display: flex; gap: 1rem; font-size: .9rem; }
.consent-options { display: grid; gap: .7rem; margin-top: 1rem; }
.consent-options label { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; }
.consent-options span { display: grid; gap: .15rem; }
.consent-options small { color: var(--muted); line-height: 1.4; }
.consent-options input { width: 1.25rem; height: 1.25rem; flex: 0 0 auto; accent-color: var(--brand); }
.consent-dialog[data-error="true"]::after { content: "Die Auswahl konnte nicht gespeichert werden. Bitte versuchen Sie es erneut."; display: block; margin-top: 1rem; color: var(--error); }
@media (max-width: 640px) { .consent-actions { grid-template-columns: 1fr; } .consent-layer { padding: .5rem; } .consent-dialog { max-height: calc(100vh - 1rem); } }

/* ---------- Editorial System Split ---------- */

.system-showcase {
  padding: 0;
  overflow: clip;
  border: 0;
  background: #fff;
}
.system-editorial-intro {
  max-width: none;
  padding-block: clamp(4.5rem, 8vw, 7rem);
  text-align: center;
}
.system-editorial { width: 100%; }
.system-editorial-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: clamp(42.5rem, 50vw, 47.5rem);
  background: #fff;
}
.system-editorial-media {
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  background: #fff;
}
.system-editorial-image,
.system-editorial-image .mock {
  width: 100%;
  height: 100%;
  margin: 0;
}
.system-editorial-image {
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.system-editorial-image .mock {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.system-editorial-image .mock-preview-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.system-editorial-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding-block: clamp(4rem, 8vw, 8rem);
  padding-inline: clamp(3rem, 7vw, 8.75rem);
}
.system-editorial-copy > * { max-width: 40rem; }
.system-editorial-copy h3 {
  margin: 0;
  color: #111113;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 4.5vw, 5.125rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.system-editorial-copy p {
  max-width: 35rem;
  margin: clamp(2rem, 3.2vw, 3rem) 0 0;
  color: #4f4f56;
  font-size: clamp(1.125rem, 1.35vw, 1.3125rem);
  line-height: 1.65;
}
.system-editorial-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: min(13.75rem, 100%);
  min-height: 2.75rem;
  margin-top: clamp(2.5rem, 4vw, 3.75rem);
  padding: 0.75rem 0;
  color: #17171a;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: color 280ms cubic-bezier(0.22, 1, 0.36, 1), transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.system-editorial-link::after,
.system-editorial-link::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 1px;
}
.system-editorial-link::after { background: #b8b8bc; }
.system-editorial-link::before {
  z-index: 1;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.system-editorial-link:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 5px;
}
.system-editorial-row--management .system-editorial-media {
  grid-column: 2;
  grid-row: 1;
}
.system-editorial-row--management .system-editorial-copy {
  grid-column: 1;
  grid-row: 1;
}

html.js [data-system-editorial-row]:not(.is-visible) [data-system-editorial-reveal] { opacity: 0; }
html.js [data-system-editorial-row]:not(.is-visible) [data-system-editorial-reveal="media"] {
  transform: translateY(1.5rem) scale(1.025);
}
html.js [data-system-editorial-row]:not(.is-visible) [data-system-editorial-reveal="heading"],
html.js [data-system-editorial-row]:not(.is-visible) [data-system-editorial-reveal="copy"],
html.js [data-system-editorial-row]:not(.is-visible) [data-system-editorial-reveal="cta"] {
  transform: translateY(1.5rem);
}
[data-system-editorial-reveal="media"] {
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
[data-system-editorial-reveal="heading"],
[data-system-editorial-reveal="copy"],
[data-system-editorial-reveal="cta"] {
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
[data-system-editorial-row].is-visible [data-system-editorial-reveal] {
  opacity: 1;
  transform: none;
}
[data-system-editorial-row].is-visible [data-system-editorial-reveal="heading"] { transition-delay: 120ms; }
[data-system-editorial-row].is-visible [data-system-editorial-reveal="copy"] { transition-delay: 240ms; }
[data-system-editorial-row].is-visible [data-system-editorial-reveal="cta"] { transition-delay: 340ms; }

@media (hover: hover) and (pointer: fine) {
  .system-editorial-media:hover .system-editorial-image { transform: scale(1.015); }
  .system-editorial-link:hover { color: var(--brand-deep); transform: translateX(3px); }
  .system-editorial-link:hover::before { transform: scaleX(1); }
}

@media (max-width: 899px) {
  .system-editorial-intro { padding-block: clamp(3.75rem, 12vw, 5.5rem); }
  .system-editorial-row {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .system-editorial-row--management .system-editorial-media,
  .system-editorial-row--management .system-editorial-copy {
    grid-column: auto;
    grid-row: auto;
  }
  .system-editorial-media {
    width: 100%;
    height: clamp(18rem, 65vw, 30rem);
    min-height: 0;
  }
  .system-editorial-copy {
    padding: 3.125rem 1.5rem 4.375rem;
  }
  .system-editorial-copy h3 {
    font-size: clamp(2.625rem, 11vw, 3.875rem);
    line-height: 0.98;
  }
  .system-editorial-copy p { margin-top: 1.75rem; }
  .system-editorial-link { margin-top: 2.25rem; }
}

@media (max-width: 479px) {
  .system-editorial-media { height: clamp(17rem, 64vw, 21rem); }
  .system-editorial-copy h3 { font-size: clamp(2.25rem, 10.5vw, 3rem); }
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-system-editorial-row]:not(.is-visible) [data-system-editorial-reveal] {
    opacity: 0;
    transform: none;
  }
  [data-system-editorial-reveal] {
    transition: opacity 180ms var(--ease-out) !important;
    transition-delay: 0ms !important;
  }
  .system-editorial-image,
  .system-editorial-link,
  .system-editorial-link::before { transition: none !important; }
}
