/* =============================================================================
   dialoga-ai — One-Page-Website (Redesign 2026)
   Warmes Editorial-Theme: cineastischer dunkler Hero mit Video, helle
   Creme-Sektionen, Amber-Akzent, Serif-Display-Headlines.
   Keine externen Ressourcen (System-Fonts, keine CDNs, keine Tracker)
   → schnell + DSGVO-freundlich.
   ============================================================================= */

:root {
  /* Helle Flächen */
  --paper:      #FAF7F1;
  --paper-2:    #F1EBDF;
  --card:       #FFFFFF;
  --ink:        #1B1610;
  --ink-soft:   #4C4337;
  --ink-mut:    #837764;
  --line:       rgba(27, 22, 16, 0.10);
  --line-st:    rgba(27, 22, 16, 0.20);

  /* Dunkle Flächen */
  --dark:       #0D0A07;
  --dark-2:     #151009;
  --dark-card:  #1E1811;
  --cream:      #F6F0E3;
  --cream-mut:  rgba(246, 240, 227, 0.66);
  --line-dk:    rgba(246, 240, 227, 0.13);
  --line-dk-st: rgba(246, 240, 227, 0.24);

  /* Akzent */
  --amber:      #E19A2C;
  --amber-deep: #B97410;
  --amber-ink:  #2A1B04;
  --amber-soft: rgba(225, 154, 44, 0.13);
  --grad:       linear-gradient(135deg, #F5B441 0%, #CE7A16 100%);
  --ring:       #E8B25B;

  /* Typo */
  --font-display: "New York", ui-serif, Georgia, "Times New Roman", serif;
  --font-body:    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                  "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --maxw:   1160px;
  --radius: 18px;
  --shadow:      0 24px 60px -28px rgba(27, 22, 16, 0.35);
  --shadow-dark: 0 24px 70px -24px rgba(0, 0, 0, 0.75);
}

/* ── Reset / Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 { line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.015em; }
h1, h2 { font-family: var(--font-display); font-weight: 600; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); }
h3 { font-size: 1.16rem; font-weight: 700; }
p  { margin: 0 0 1rem; }

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: 0.7rem 1.1rem; border-radius: 0 0 10px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ── Layout-Helfer ───────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: 72px 0; }
.section--alt { background: var(--paper-2); }
@media (min-width: 768px) { .section { padding: 110px 0; } }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber-deep); margin-bottom: 0.9rem;
}
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head p { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 0; }
.section__head--center { margin-inline: auto; text-align: center; }

.lead { color: var(--ink-soft); font-size: 1.14rem; }

/* Dunkle Sektionen */
.dark { background: var(--dark); color: var(--cream); }
.dark .eyebrow { color: var(--amber); }
.dark .section__head p, .dark .lead { color: var(--cream-mut); }
.dark a { color: var(--amber); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font: inherit; font-weight: 650; cursor: pointer;
  padding: 0.92rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary {
  background: var(--grad); color: var(--amber-ink); font-weight: 750;
  box-shadow: 0 12px 32px -12px rgba(206, 122, 22, 0.65);
}
.btn--primary:hover { box-shadow: 0 18px 42px -12px rgba(206, 122, 22, 0.75); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.06); color: var(--cream);
  border-color: var(--line-dk-st);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn--ghost-light {
  background: transparent; color: var(--ink);
  border-color: var(--line-st);
}
.btn--ghost-light:hover { background: rgba(27, 22, 16, 0.05); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.06rem; }

/* ── Header / Nav ────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 10, 7, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dk);
  transition: background 0.3s ease, border-color 0.3s ease;
}
/* Auf der Startseite: transparent über dem Video, solide nach dem Scrollen */
.site-header--overlay {
  position: fixed; left: 0; right: 0;
  background: linear-gradient(180deg, rgba(13, 10, 7, 0.55), rgba(13, 10, 7, 0));
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header--overlay.is-scrolled {
  background: rgba(13, 10, 7, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dk);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.62rem;
  font-weight: 750; font-size: 1.22rem; letter-spacing: -0.02em; color: var(--cream);
  font-family: var(--font-display);
}
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 32px; height: 32px; display: block;
}

.nav__links {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 1.7rem;
}
.nav__links a { color: var(--cream-mut); font-weight: 600; font-size: 0.97rem; }
.nav__links a:hover { color: var(--cream); text-decoration: none; }
.nav__cta { margin-left: 0.4rem; }
.nav__cta .btn { padding: 0.68rem 1.3rem; }

.nav__toggle {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; background: rgba(13, 10, 7, 0.4);
  border: 1px solid var(--line-dk-st); border-radius: 12px;
  color: var(--cream); cursor: pointer;
}
.nav__toggle svg { width: 22px; height: 22px; }
.nav__toggle .icon-close { display: none; }

.nav__menu { display: contents; }
@media (max-width: 899px) {
  .nav__menu {
    display: block;
    position: fixed; inset: 72px 0 auto 0;
    background: var(--dark-2); border-bottom: 1px solid var(--line-dk);
    padding: 14px 22px 24px;
    transform: translateY(-130%); transition: transform 0.25s ease;
    box-shadow: var(--shadow-dark);
  }
  .site-header.is-open .nav__menu { transform: translateY(0); }
  .site-header.is-open .nav__toggle .icon-open  { display: none; }
  .site-header.is-open .nav__toggle .icon-close { display: block; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .nav__links a {
    display: block; padding: 0.9rem 0.4rem; font-size: 1.06rem;
    border-bottom: 1px solid var(--line-dk); color: var(--cream);
  }
  .nav__cta { margin: 1rem 0 0; }
  .nav__cta .btn { width: 100%; }
}
@media (min-width: 900px) { .nav__toggle { display: none; } }

/* ── Hero mit Video ──────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  min-height: min(92vh, 900px);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--cream);
  background: var(--dark);
  padding-top: 120px;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__vid,
.hero__poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0; transition: opacity 1.1s ease;
}
.hero__vid.is-active, .hero__poster.is-active { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 10, 7, 0.42) 0%, rgba(13, 10, 7, 0.18) 40%, rgba(13, 10, 7, 0.78) 88%, var(--dark) 100%),
    radial-gradient(120% 90% at 18% 78%, rgba(13, 10, 7, 0.66) 0%, transparent 55%);
}
.hero__inner { position: relative; z-index: 1; padding-bottom: 46px; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.86rem; font-weight: 650; color: var(--cream);
  background: rgba(13, 10, 7, 0.42); border: 1px solid var(--line-dk-st);
  padding: 0.42rem 0.95rem; border-radius: 999px; margin-bottom: 1.4rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 0 4px rgba(225, 154, 44, 0.25);
}
.hero h1 {
  max-width: 15ch; margin-bottom: 0;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
}
.hero h1 .grad {
  background: linear-gradient(120deg, #F8C868, #E19A2C 55%, #F2E3C4);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  max-width: 56ch; font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: rgba(246, 240, 227, 0.88); margin: 1.3rem 0 2rem;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.5);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__trust {
  margin-top: 2rem; color: rgba(246, 240, 227, 0.62); font-size: 0.92rem;
}

/* Stat-Leiste am unteren Hero-Rand */
.hero__stats {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line-dk);
  background: rgba(13, 10, 7, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero__stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .hero__stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: 20px 18px; text-align: center;
  border-right: 1px solid var(--line-dk);
}
.stat:last-child { border-right: 0; }
@media (max-width: 767px) { .stat:nth-child(2n) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-dk); } }
.stat__num {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600; color: var(--amber); line-height: 1.1;
}
.stat__label { font-size: 0.88rem; color: var(--cream-mut); margin-top: 0.2rem; }

/* ── Ablauf (So funktioniert's) ──────────────────────────────────────────── */
.flow { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .flow { grid-template-columns: 1.05fr 0.95fr; gap: 64px; } }

.steps { display: grid; gap: 0; counter-reset: step; }
.step {
  position: relative; display: flex; gap: 1.3rem;
  padding: 26px 0 30px 0;
}
.step + .step { border-top: 1px solid var(--line); }
.step__num {
  flex: 0 0 auto;
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  background: var(--amber-soft); color: var(--amber-deep);
  border: 1px solid rgba(185, 116, 16, 0.25);
}
.step h3 { font-size: 1.3rem; margin-bottom: 0.35rem; font-family: var(--font-display); font-weight: 600; }
.step p { color: var(--ink-soft); margin: 0; }
.step__meta {
  display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.85rem;
}
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.83rem; font-weight: 650; color: var(--ink-soft);
  background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.3rem 0.8rem;
}
.chip svg { width: 14px; height: 14px; color: var(--amber-deep); }

/* ── Phone-Mockup mit Chat ───────────────────────────────────────────────── */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: min(360px, 88vw);
  border-radius: 44px;
  background: #14100B;
  border: 1px solid rgba(246, 240, 227, 0.16);
  box-shadow:
    0 50px 100px -40px rgba(27, 22, 16, 0.55),
    inset 0 0 0 5px #0A0806,
    inset 0 0 0 6px rgba(246, 240, 227, 0.08);
  padding: 12px;
}
.phone__screen {
  border-radius: 34px; overflow: hidden;
  background: #EFE7DA;
  display: flex; flex-direction: column;
  height: 620px; max-height: 74vh;
}
.chat__head {
  display: flex; align-items: center; gap: 0.7rem;
  background: #1E1811; color: var(--cream);
  padding: 1.1rem 1rem 0.8rem;
}
.chat__avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad); color: var(--amber-ink);
  display: grid; place-items: center; font-weight: 800;
}
.chat__title { font-weight: 700; font-size: 0.95rem; line-height: 1.2; }
.chat__status { font-size: 0.76rem; color: rgba(246, 240, 227, 0.6); display: flex; align-items: center; gap: 0.35rem; }
.chat__status .dot { width: 7px; height: 7px; border-radius: 50%; background: #58C776; }
.chat__ai-chip {
  margin-left: auto; font-size: 0.68rem; font-weight: 750; letter-spacing: 0.06em;
  color: var(--amber); border: 1px solid rgba(225, 154, 44, 0.5);
  padding: 0.15rem 0.5rem; border-radius: 999px;
}
.chat__body {
  flex: 1; padding: 1rem 0.85rem; overflow: hidden;
  display: flex; flex-direction: column; gap: 0.55rem; justify-content: flex-end;
  background:
    radial-gradient(220px 160px at 85% 8%, rgba(225, 154, 44, 0.10), transparent 70%),
    #EFE7DA;
}
.msg {
  max-width: 84%;
  padding: 0.62rem 0.85rem; border-radius: 16px;
  font-size: 0.9rem; line-height: 1.45; color: #241D14;
  box-shadow: 0 1px 2px rgba(27, 22, 16, 0.12);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.msg.is-in { opacity: 1; transform: translateY(0); }
.msg--guest { align-self: flex-end; background: #DCEFC9; border-bottom-right-radius: 5px; }
.msg--bot   { align-self: flex-start; background: #FFFFFF; border-bottom-left-radius: 5px; }
.msg--bot strong { color: var(--amber-deep); }
.msg__time { display: block; font-size: 0.66rem; color: rgba(36, 29, 20, 0.45); text-align: right; margin-top: 0.2rem; }
.msg--status {
  align-self: center; background: #1E1811; color: var(--cream);
  font-size: 0.78rem; font-weight: 650; border-radius: 999px;
  padding: 0.4rem 0.95rem; display: inline-flex; align-items: center; gap: 0.45rem;
}
.msg--status svg { width: 14px; height: 14px; color: #58C776; }
.typing {
  align-self: flex-start; display: none; gap: 0.28rem;
  background: #FFFFFF; border-radius: 16px; border-bottom-left-radius: 5px;
  padding: 0.75rem 0.9rem; box-shadow: 0 1px 2px rgba(27, 22, 16, 0.12);
}
.typing.is-on { display: inline-flex; }
.typing span {
  width: 7px; height: 7px; border-radius: 50%; background: #B8AC98;
  animation: typing 1.1s infinite ease-in-out;
}
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat__input {
  display: flex; align-items: center; gap: 0.6rem;
  background: #E4DACA; padding: 0.7rem 0.9rem;
}
.chat__input-field {
  flex: 1; background: #FFFFFF; border-radius: 999px;
  font-size: 0.85rem; color: #9A8E7A; padding: 0.55rem 1rem;
}
.chat__input-mic {
  width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto;
  background: var(--grad); color: var(--amber-ink);
  display: grid; place-items: center;
}
.chat__input-mic svg { width: 18px; height: 18px; }

/* ── Kanäle (dunkle Sektion) ─────────────────────────────────────────────── */
.channels { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .channels { grid-template-columns: 0.95fr 1.05fr; gap: 72px; } }
.channel-list { display: grid; gap: 12px; margin-top: 1.9rem; }
.channel {
  display: flex; align-items: center; gap: 1rem;
  background: var(--dark-card); border: 1px solid var(--line-dk);
  border-radius: 15px; padding: 15px 18px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.channel:hover { border-color: var(--line-dk-st); transform: translateX(4px); }
.channel__icon {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--amber-soft); border: 1px solid rgba(225, 154, 44, 0.3);
  color: var(--amber);
}
.channel__icon svg { width: 21px; height: 21px; }
.channel h3 { font-size: 1rem; margin: 0; }
.channel p { font-size: 0.88rem; color: var(--cream-mut); margin: 0.1rem 0 0; }

/* Voice-Karte mit Waveform */
.voice-card {
  margin-top: 1.6rem;
  background: linear-gradient(160deg, #241B10, var(--dark-card));
  border: 1px solid rgba(225, 154, 44, 0.32);
  border-radius: var(--radius); padding: 22px;
}
.voice-card__top { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.9rem; }
.voice-card__ring {
  position: relative;
  width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto;
  background: var(--grad); color: var(--amber-ink);
  display: grid; place-items: center;
}
.voice-card__ring svg { width: 21px; height: 21px; }
.voice-card__ring::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(225, 154, 44, 0.4);
  animation: pulse 2s infinite ease-out;
}
@keyframes pulse {
  0% { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}
.voice-card__title { font-weight: 750; }
.voice-card__sub { font-size: 0.85rem; color: var(--cream-mut); }
.wave { display: flex; align-items: center; gap: 3px; height: 40px; margin: 0.6rem 0 0.9rem; }
.wave i {
  flex: 1; border-radius: 3px; background: var(--amber);
  height: 22%; opacity: 0.85;
  animation: wave 1.3s infinite ease-in-out;
  animation-delay: calc(var(--i) * 0.09s);
}
@keyframes wave {
  0%, 100% { height: 18%; opacity: 0.45; }
  50% { height: 92%; opacity: 1; }
}
.voice-card__quote {
  font-size: 0.95rem; color: var(--cream); margin: 0;
  font-style: italic;
}

/* ── Leistungen: Bento-Grid ──────────────────────────────────────────────── */
.bento { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .bento { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  border-color: var(--line-st);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card__icon {
  width: 50px; height: 50px; border-radius: 14px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: var(--amber-soft); border: 1px solid rgba(185, 116, 16, 0.22);
  color: var(--amber-deep);
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }

.card--img { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--img .card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card--img .card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.card--img:hover .card__media img { transform: scale(1.05); }
.card--img .card__body { padding: 22px 24px 26px; }

@media (min-width: 960px) {
  .bento__wide { grid-column: span 2; }
}

/* ── Einsatzbereiche: Bild-Karten ────────────────────────────────────────── */
.usecases { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .usecases { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .usecases { grid-template-columns: repeat(3, 1fr); } }

.usecase {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 340px; display: flex; align-items: flex-end;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.usecase:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.usecase__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.7s ease;
}
.usecase:hover .usecase__img { transform: scale(1.06); }
/* Zwei Ebenen, absichtlich getrennt:
   __shade  = weiche Bild-Vignette, an der KARTENhoehe aufgehaengt (nur Optik).
   __body   = eigener Lesbarkeits-Schleier, an der TEXThoehe aufgehaengt.
   Der Text bricht auf schmalen Viewports auf mehr Zeilen um und waechst dann nach
   oben aus jedem karten-relativen Verlauf heraus — gemessen 4,10:1 auf 375px, also
   unter AA. Der Schleier am Textblock waechst mit und haelt den Kontrast stabil.
   Fade-Distanz in px (nicht %), damit sie unabhaengig von der Blockhoehe gleich bleibt. */
.usecase__shade {
  position: absolute; inset: 0;
  background: linear-gradient(185deg, rgba(13, 10, 7, 0) 28%, rgba(13, 10, 7, 0.34) 64%, rgba(13, 10, 7, 0.6) 100%);
}
.usecase__body {
  position: relative; padding: 52px 24px 22px; color: var(--cream);
  background: linear-gradient(to bottom, rgba(13, 10, 7, 0) 0, rgba(13, 10, 7, 0.62) 46px, rgba(13, 10, 7, 0.86) 100%);
}
.usecase__body h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.35rem;
  margin-bottom: 0.3rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65), 0 2px 10px rgba(0, 0, 0, 0.45);
}
.usecase__body p { color: rgba(246, 240, 227, 0.88); font-size: 0.93rem; margin: 0; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55); }
@media (min-width: 960px) {
  .usecase--wide { grid-column: span 2; }
}

.usecase--more {
  background:
    radial-gradient(420px 260px at 80% 0%, rgba(225, 154, 44, 0.2), transparent 65%),
    linear-gradient(160deg, var(--dark-2), var(--dark));
  align-items: center; justify-content: center; text-align: center;
}
/* Kein Bild dahinter, eigener dunkler Verlauf auf .usecase--more — der Lesbarkeits-
   Schleier des Textblocks wuerde hier nur nachdunkeln, ohne etwas zu retten. */
.usecase--more .usecase__body { padding: 34px 26px; background: none; }
.usecase--more .usecase__icons {
  display: flex; justify-content: center; gap: 0.7rem; margin-bottom: 1.1rem;
  color: var(--amber);
}
.usecase--more .usecase__icons svg { width: 26px; height: 26px; }

/* ── Vorteile ────────────────────────────────────────────────────────────── */
.benefits { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
.benefit {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--dark-card); border: 1px solid var(--line-dk);
  border-radius: var(--radius); padding: 24px;
}
.benefit__check {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center; margin-top: 2px;
  background: var(--amber-soft); border: 1px solid rgba(225, 154, 44, 0.4);
  color: var(--amber);
}
.benefit__check svg { width: 17px; height: 17px; }
.benefit h3 { font-size: 1.06rem; margin-bottom: 0.25rem; color: var(--cream); }
.benefit p { color: var(--cream-mut); margin: 0; font-size: 0.95rem; }

/* ── Über uns ────────────────────────────────────────────────────────────── */
.about { display: grid; gap: 36px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1fr; gap: 60px; } }
.about__media {
  position: relative; border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media figcaption {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(13, 10, 7, 0.68); color: var(--cream);
  backdrop-filter: blur(8px);
  font-size: 0.82rem; font-weight: 600;
  padding: 0.4rem 0.85rem; border-radius: 999px;
}
.about__aside {
  margin-top: 1.8rem;
  background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px;
}
.about__aside dl {
  margin: 0; display: grid; gap: 0 1.4rem;
  grid-template-columns: repeat(2, 1fr);
}
.about__aside dt {
  color: var(--ink-mut); font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.1em; margin-top: 1.1rem;
}
.about__aside dt:nth-of-type(-n+2) { margin-top: 0; }
.about__aside dd { margin: 0.15rem 0 0; font-weight: 650; }

/* ── Pilot-Angebot / CTA ─────────────────────────────────────────────────── */
.pilot {
  position: relative; overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(700px 340px at 85% -20%, rgba(225, 154, 44, 0.32), transparent 70%),
    radial-gradient(520px 300px at 0% 110%, rgba(225, 154, 44, 0.14), transparent 65%),
    linear-gradient(165deg, #1B1409, var(--dark));
  border: 1px solid rgba(225, 154, 44, 0.3);
  color: var(--cream);
  padding: 52px 30px;
  text-align: center;
}
@media (min-width: 768px) { .pilot { padding: 72px 60px; } }
.pilot .eyebrow { color: var(--amber); }
.pilot h2 { margin-bottom: 0.6rem; }
.pilot__price {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 4.2rem); line-height: 1;
  color: var(--amber); margin: 1.2rem 0 0.4rem;
}
.pilot__price small {
  font-size: 0.36em; color: var(--cream-mut); font-family: var(--font-body); font-weight: 600;
}
.pilot__strike { text-decoration: line-through; opacity: 0.55; font-weight: 400; }
.pilot__sub { color: var(--cream-mut); max-width: 54ch; margin: 0 auto 1.9rem; }
.pilot__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }
.pilot__contact { margin-top: 1.6rem; font-size: 0.98rem; color: var(--cream-mut); }
.pilot__contact a { color: var(--cream); font-weight: 650; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line-dk);
  background: var(--dark); color: var(--cream);
  padding: 56px 0 40px;
}
.footer__grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer__brand p { color: var(--cream-mut); font-size: 0.95rem; max-width: 40ch; margin-top: 0.9rem; }
.site-footer h4 {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.13em;
  color: var(--cream-mut); margin: 0 0 0.95rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 0.55rem; }
.site-footer ul a { color: var(--cream); font-weight: 550; font-size: 0.96rem; }
.site-footer ul a:hover { color: var(--amber); text-decoration: none; }
.footer__bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-dk);
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem;
  align-items: center; justify-content: space-between;
  color: var(--cream-mut); font-size: 0.9rem;
}
.footer__bottom nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer__bottom nav a { color: var(--cream-mut); }
.footer__bottom nav a:hover { color: var(--cream); }

/* ── Rechtsseiten (Impressum / Datenschutz) ──────────────────────────────── */
.legal { padding: 120px 0 80px; }
.legal__wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 0.3rem; }
.legal h2 { font-size: 1.4rem; margin-top: 2.4rem; }
.legal h3 { margin-top: 1.6rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal strong { color: var(--ink); }
.legal address { font-style: normal; color: var(--ink); line-height: 1.8; }
.legal .back { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 1.6rem; font-weight: 600; }
.legal .updated { color: var(--ink-mut); font-size: 0.9rem; margin-top: 2.6rem; }
.legal .placeholder {
  background: var(--amber-soft); border-left: 3px solid var(--amber);
  padding: 0.4rem 0.9rem; border-radius: 6px; color: var(--ink); font-size: 0.95rem;
}
/* Auf Rechtsseiten ist der Header nicht overlay → normales Padding */
.site-header:not(.site-header--overlay) ~ main .legal,
.site-header:not(.site-header--overlay) + main .legal { padding-top: 48px; }

/* ── Scroll-Reveal ───────────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--d1 { transition-delay: 0.08s; }
.reveal--d2 { transition-delay: 0.16s; }
.reveal--d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   VERTRAUEN-SEKTION + 3D-TIEFE
   Subtiler Mouse-Tilt (perspective + rotateX/Y) auf Karten. Bewusst dezent:
   B2B-Seite, kein Spielzeug. Bei prefers-reduced-motion komplett aus.
   ═══════════════════════════════════════════════════════════════════════ */

.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  perspective: 1200px;            /* Fluchtpunkt für alle Karten der Gruppe */
}

.trust__card {
  position: relative;
  border-radius: 1.1rem;
  background: linear-gradient(160deg, var(--card) 0%, var(--paper-2) 100%);
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
  box-shadow:
    0 1px 2px rgba(27,22,16,.04),
    0 8px 24px -12px rgba(27,22,16,.14);
  will-change: transform;
}
.trust__card:hover {
  box-shadow:
    0 2px 6px rgba(27,22,16,.06),
    0 30px 60px -24px rgba(27,22,16,.30),
    0 0 0 1px var(--line-st);
}
/* Glanzkante: fängt das Licht der „Neigung" ein */
.trust__card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(255,255,255,.55), transparent 42%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.trust__card:hover::before { opacity: 1; }

.trust__inner {
  padding: 2rem 1.75rem;
  transform: translateZ(40px);    /* Inhalt schwebt über der Karte → echte Tiefe */
  transform-style: preserve-3d;
}
.trust__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; margin-bottom: 1.1rem;
  border-radius: .85rem;
  background: linear-gradient(150deg, var(--gold, #C9A227), #E3C36B);
  color: #1B1610;
  transform: translateZ(28px);
  box-shadow: 0 10px 22px -10px rgba(201,162,39,.75);
}
.trust__icon svg { width: 1.5rem; height: 1.5rem; }
.trust__card h3 { font-size: 1.14rem; margin: 0 0 .55rem; letter-spacing: -.01em; }
.trust__card > .trust__inner > p { color: var(--ink-soft); line-height: 1.65; margin: 0 0 1.1rem; }

.trust__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); padding-top: .9rem; }
.trust__list li {
  position: relative; padding-left: 1.35rem; margin: .4rem 0;
  font-size: .9rem; color: var(--ink-mut);
}
.trust__list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--gold, #C9A227); font-weight: 700;
}

.trust__note {
  margin: 2.5rem auto 0; max-width: 62ch; text-align: center;
  font-size: .93rem; color: var(--ink-mut); line-height: 1.7;
}
.trust__note-em { display: block; margin-top: .35rem; color: var(--ink-soft); font-weight: 600; }

/* ── Tiefe für bestehende Elemente ────────────────────────────────────────
   Tilt NUR auf den Text-Karten (.benefit). Die Bento-.card enthält Bilder —
   dort bleibt es beim (schöneren) Schatten, kein Kippen. */
.benefits { perspective: 1400px; }
.benefit {
  transform-style: preserve-3d;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
  will-change: transform;
}
.card { transition: box-shadow .4s ease, transform .4s cubic-bezier(.2,.8,.2,1); }
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px -26px rgba(27,22,16,.34);
}
.dark .card:hover, .dark .trust__card:hover {
  box-shadow: 0 28px 60px -24px rgba(0,0,0,.7);
}

/* Barrierefreiheit: keine Bewegung, wenn der Nutzer das nicht will. */
@media (prefers-reduced-motion: reduce) {
  .trust__card, .card, .benefit { transform: none !important; transition: none; }
  .trust__card::before { display: none; }
}
/* Touch-Geräte: kein Tilt (kein Hover), aber die Tiefe bleibt */
@media (hover: none) {
  .trust__card, .card, .benefit { transform: none !important; }
}

/* ── Refresh 20.08.2026 v2: Ampel-Demo, klickbare Einsatz-Karten, Branchen-Seiten ──
   Farben AUSSCHLIESSLICH aus den :root-Tokens der Seite — die erste Fassung nutzte
   erfundene Variablen, deren graue Fallbacks auf Weiß unlesbar waren (Sebastian, 20.08.). */
.ampel-demo { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: .86rem; color: var(--ink-soft); }
.ampel-demo li { display: flex; align-items: center; gap: 10px; }
.ampel-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px var(--line); }
.ampel-dot--gruen { background: #2F855A; }
.ampel-dot--gelb  { background: #C98A0B; }
.ampel-dot--rot   { background: #B23A3A; }

/* display MUSS flex bleiben (nicht block) — sonst kippt der Textblock an den oberen
   Kartenrand, wo der usecase__shade-Verlauf noch transparent ist, und der helle Text
   steht unlesbar auf dem hellen Bild (Sebastian, 21.08.). */
a.usecase { color: inherit; text-decoration: none; display: flex; align-items: flex-end; }
a.usecase:hover .usecase__img { transform: scale(1.03); }
.usecase__more { display: inline-block; margin-top: 8px; font-size: .82rem; font-weight: 600; color: var(--ring); }
.usecases__note { margin-top: 14px; font-size: .78rem; color: var(--ink-soft); }

/* Branchen-Unterseiten */
.branche-hero { position: relative; min-height: 360px; display: flex; align-items: flex-end; overflow: hidden; background: var(--dark); }
.branche-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.branche-hero .branche-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,10,7,.42), rgba(13,10,7,.9)); }
.branche-hero .container { position: relative; padding-top: 130px; padding-bottom: 38px; }
.branche-hero .eyebrow { color: var(--ring); }
.branche-hero h1 { color: var(--cream); font-size: clamp(24px, 4.5vw, 42px); line-height: 1.16; max-width: 26ch; overflow-wrap: break-word; text-shadow: 0 2px 24px rgba(13,10,7,.6); }
.branche-hero .lead { color: rgba(246, 240, 227, .93); text-shadow: 0 1px 14px rgba(13,10,7,.55); }

.nutzen { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 28px; }
.nutzen__card { background: var(--card); border: 1px solid var(--line-st); border-radius: 14px; padding: 22px; box-shadow: 0 1px 2px rgba(27,22,16,.04); }
.nutzen__card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--ink); }
.nutzen__card p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--ink-soft); }
.branche-cta { text-align: center; padding: 30px 0 6px; }
/* Schlankerer Kopf-Balken (Sebastian, 20.08.) — 72 → 58 px, CTA kompakter */
.nav { height: 58px; }
.nav .btn--primary { padding: 9px 18px; font-size: .92rem; }
