/* ==========================================================================
   VARIANTE 7 — „Himmel"
   Formensprache nach dem Vorbild der eingereichten Referenzseite:
   Serif-Display, runde Icon-Badges, Vorteilsleiste, Timeline, Farbbahnen,
   dunkler Footer. Farbwelt: hellblaue Pastelltöne als Primärfarbe,
   tiefes Blaugrau (= Farbe des Chat-Widgets) als Anker.
   Keine externen Ressourcen: Systemschriften, keine Fotos, kein CDN.
   ==========================================================================
   1 Tokens · 2 Reset · 3 Typografie · 4 Layout · 5 Buttons · 6 Header
   7 Hero · 8 Komponenten · 9 Footer · 10 Overlays · 11 Animation
   12 Responsive · 13 Reduced Motion
   ========================================================================== */

/* ---------------------------------------------------------------- 1 Tokens */
:root {
  /* Primärwelt: hellblaue Pastelltöne */
  --c-sky-50:   #f4f8fd;
  --c-sky-100:  #e8f1fb;
  --c-sky-200:  #d3e5f7;
  --c-sky-300:  #b6d4f0;
  --c-sky-400:  #8ebbe4;

  /* Anker: Farbe des Chat-Widgets + Abstufungen */
  --c-deep:     #2c3e50;
  --c-deep-600: #22303f;
  --c-ink:      #16283a;

  /* Akzent für Eyebrows, Linien, Marker */
  --c-accent:   #35648f;

  /* Begleitende Pastelltöne */
  --c-mint:     #dcefe8;
  --c-sand:     #f7ead6;
  --c-lilac:    #e6e3f7;
  --c-blush:    #f6dfe4;

  --c-white:    #ffffff;
  --c-text:     #2a3d4e;
  --c-muted:    #55708a;
  --c-line:     #d7e3ef;

  /* Typografie */
  --f-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --f-body: "Aptos", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --f-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: clamp(1.02rem, 0.98rem + 0.2vw, 1.125rem);
  --fs-lg: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --fs-xl: clamp(1.4rem, 1.22rem + 0.85vw, 1.95rem);
  --fs-2xl: clamp(1.85rem, 1.45rem + 1.75vw, 2.9rem);
  --fs-3xl: clamp(2.3rem, 1.6rem + 3vw, 4.2rem);

  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --section-y: clamp(3.5rem, 2.5rem + 4.5vw, 7rem);

  --container: 1240px;
  --container-narrow: 820px;
  --radius: 14px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow: 0 14px 40px -18px rgba(22, 40, 58, 0.26);
  --shadow-lg: 0 34px 70px -30px rgba(22, 40, 58, 0.38);

  --header-h: 78px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.22s;
  --t: 0.4s;
  --t-slow: 0.85s;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 300px;
  background: var(--c-sky-50);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: var(--fs-md);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease-soft); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; -webkit-tap-highlight-color: transparent; }

::selection { background: var(--c-sky-300); color: var(--c-ink); }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: absolute;
  left: 50%; top: 0;
  transform: translate(-50%, -140%);
  z-index: 2000;
  padding: 0.7rem 1.4rem;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--c-deep);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: transform var(--t) var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ------------------------------------------------------------ 3 Typografie */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--c-deep);
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}
h1 { font-size: var(--fs-3xl); line-height: 1.05; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: var(--sp-3);
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  opacity: 0.65;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before { display: none; }
.eyebrow--light { color: var(--c-sky-300); }

.lead {
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--c-muted);
  font-weight: 400;
}

/* ---------------------------------------------------------------- 4 Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.25rem, 1.8rem + 2.5vw, 4rem); }
.section--mist { background: var(--c-sky-100); }
.section--deep { background: var(--c-deep); color: rgba(255, 255, 255, 0.82); }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep .lead { color: rgba(255, 255, 255, 0.74); }

.section-head { max-width: 660px; margin-bottom: var(--sp-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-5);
}
.section-head--split > div { max-width: 640px; }

.grid { display: grid; gap: clamp(1.15rem, 2.2vw, 1.9rem); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--wide-left { grid-template-columns: 1.12fr 1fr; }

/* --------------------------------------------------------------- 5 Buttons */
.btn {
  --btn-bg: var(--c-deep);
  --btn-fg: #fff;
  --btn-bd: var(--c-deep);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-fast) var(--ease-soft),
              box-shadow var(--t) var(--ease-soft),
              color var(--t-fast) var(--ease-soft),
              border-color var(--t-fast) var(--ease-soft);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--c-deep-600);
  transform: translateY(101%);
  transition: transform var(--t) var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t) var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--c-deep);
  --btn-bd: #fff;
}
.btn--light::before { background: var(--c-sky-200); }

.btn--sm { padding: 0.7rem 1.25rem; font-size: var(--fs-xs); }
.btn--lg { padding: 1.1rem 2.1rem; font-size: var(--fs-base); }
.btn--block { width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  transition: background-color var(--t-fast) var(--ease-soft);
}
.icon-btn:hover { background: rgba(44, 62, 80, 0.08); }

/* ---------------------------------------------------------------- 6 Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(244, 248, 253, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color var(--t) var(--ease-soft),
              box-shadow var(--t) var(--ease-soft),
              border-color var(--t) var(--ease-soft);
}
.site-header.is-scrolled {
  background: rgba(244, 248, 253, 0.97);
  border-bottom-color: var(--c-line);
  box-shadow: 0 8px 30px -22px rgba(22, 40, 58, 0.5);
}
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.brand__mark {
  width: 38px; height: 38px;
  color: var(--c-accent);
  transition: transform var(--t-slow) var(--ease);
}
.brand:hover .brand__mark { transform: rotate(45deg); }
.brand__name {
  font-family: var(--f-display);
  font-size: 1.3rem;
  color: var(--c-deep);
  letter-spacing: -0.012em;
}

.nav__list { display: flex; align-items: center; gap: clamp(0.3rem, 1.3vw, 1rem); }
.nav__link {
  position: relative;
  display: block;
  padding: 0.6rem 0.55rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-text);
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.55rem; right: 0.55rem; bottom: 0.28rem;
  height: 1.5px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t) var(--ease);
}
.nav__link:hover { color: var(--c-deep); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

.site-header__actions { display: flex; align-items: center; gap: 0.4rem; flex-shrink: 0; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; position: relative; }
.burger span {
  position: absolute;
  left: 13px;
  width: 20px; height: 1.6px;
  background: var(--c-deep);
  border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t-fast) linear, width var(--t) var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22.5px; width: 14px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav__panel-head, .nav__panel-foot { display: none; }

/* ------------------------------------------------------------------ 7 Hero */
.hero { position: relative; overflow: hidden; background: var(--c-sky-100); }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 90% at 12% 0%, var(--c-sky-200) 0%, transparent 62%),
    radial-gradient(60% 80% at 88% 10%, #e4e9f9 0%, transparent 60%),
    radial-gradient(80% 70% at 60% 100%, var(--c-white) 0%, transparent 65%),
    linear-gradient(180deg, var(--c-sky-100) 0%, var(--c-sky-50) 100%);
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(44, 62, 80, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 25%, #000 20%, transparent 100%);
  mask-image: radial-gradient(70% 60% at 50% 25%, #000 20%, transparent 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(2.25rem, 1.5rem + 3.5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3rem, 2rem + 5vw, 6rem);
}
.hero__content { max-width: 620px; }
.hero h1 em {
  font-style: italic;
  color: var(--c-accent);
}
.hero__lead {
  font-size: var(--fs-lg);
  color: var(--c-muted);
  max-width: 52ch;
  margin-bottom: var(--sp-6);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem clamp(1.5rem, 3vw, 2.75rem);
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-line);
}
.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-deep);
}
.hero__meta li > span {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--c-sky-200);
  color: var(--c-deep);
  font-size: 0.68rem;
  font-weight: 700;
}

/* --- Assistenten-Vorschau (einziges „Bild" der Seite) --- */
.assistant-preview { position: relative; margin: 0; }
.preview-glow {
  position: absolute;
  inset: -10% -8% -14%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), transparent 72%);
  filter: blur(20px);
}
.assistant-window {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--c-white);
  box-shadow: var(--shadow-lg);
}
.assistant-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--c-deep);
  color: #fff;
}
.assistant-identity { display: flex; align-items: center; gap: 0.72rem; min-width: 0; }
.assistant-avatar {
  display: grid; place-items: center;
  flex: none;
  width: 36px; height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.assistant-avatar svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.assistant-identity strong { display: block; font-size: 0.93rem; font-weight: 600; }
.assistant-identity small { display: block; font-size: 0.765rem; color: rgba(255, 255, 255, 0.72); line-height: 1.4; }

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: none;
  padding: 0.32rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--c-sky-200);
  color: var(--c-deep);
  font-size: 0.71rem;
  font-weight: 600;
}
.status-dot > span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: blink 2.4s ease-in-out infinite;
}

.assistant-conversation { display: grid; gap: 1.05rem; padding: 1.35rem 1.2rem; }
.chat-row { display: flex; gap: 0.68rem; }
.chat-row-user { justify-content: flex-end; }
.chat-bubble {
  max-width: 88%;
  padding: 0.8rem 1.05rem;
  border-radius: 17px;
  font-size: 0.9rem;
  line-height: 1.58;
}
.chat-bubble p { margin: 0; color: inherit; font-size: inherit; line-height: inherit; }
.chat-bubble-user { background: var(--c-deep); color: #fff; border-bottom-right-radius: 5px; }
.chat-bubble-assistant { background: var(--c-sky-100); color: var(--c-text); border-bottom-left-radius: 5px; }
.mini-avatar {
  display: grid; place-items: center;
  flex: none;
  width: 29px; height: 29px;
  border-radius: 10px;
  background: var(--c-lilac);
  color: #453f6b;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.source-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.8rem 0 0.45rem;
  color: var(--c-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.source-chips { display: flex; flex-wrap: wrap; gap: 0.42rem; }
.source-chips span {
  padding: 0.32rem 0.68rem;
  border-radius: 9px;
  background: var(--c-sky-200);
  font-size: 0.73rem;
  color: var(--c-deep);
}

.assistant-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 1.2rem 1.2rem;
  padding: 0.78rem 0.78rem 0.78rem 1.05rem;
  border-radius: 13px;
  background: var(--c-sky-50);
  color: var(--c-muted);
  font-size: 0.88rem;
}
.send-icon {
  display: grid; place-items: center;
  flex: none;
  width: 33px; height: 33px;
  border-radius: 10px;
  background: var(--c-deep);
  color: #fff;
}
.send-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.preview-note {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: calc(100% - 2.4rem);
  margin: -1.5rem auto 0;
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius);
  background: var(--c-sand);
  box-shadow: var(--shadow);
}
.note-icon {
  display: grid; place-items: center;
  flex: none;
  width: 27px; height: 27px;
  border-radius: 50%;
  background: var(--c-deep);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
}
.preview-note strong { display: block; font-size: 0.87rem; font-weight: 600; color: var(--c-ink); }
.preview-note small { display: block; font-size: 0.78rem; color: #6b5c40; line-height: 1.45; }

/* ---------------------------------------------------------- 8 Komponenten */

/* Statische Vorteilsleiste — zeigt je nach Breite unterschiedlich viele Texte */
.marquee {
  background: var(--c-deep);
  color: rgba(255, 255, 255, 0.74);
  padding-block: 0.95rem;
  overflow: hidden;
}
.marquee__track { width: 100%; }
.marquee__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
  justify-content: center;
  column-gap: clamp(1.25rem, 3vw, 2.6rem);
  row-gap: 2rem;
  width: min(100%, 1920px);
  height: 1.5rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 3rem);
  overflow: hidden;
}
.marquee__group span {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.7rem, 1vw, 1.3rem);
  flex: 0 0 auto;
  font-size: var(--fs-sm);
  line-height: 1.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__group span + span::before {
  content: "";
  flex: 0 0 auto;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-sky-300);
}

/* Signal-Karten (01 / 02 / 03) */
.signal {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: clamp(1.35rem, 2.4vw, 1.9rem);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.signal:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.signal__num {
  font-family: var(--f-display);
  font-size: 1.85rem;
  line-height: 1;
  color: #6f93b3;
}
.signal strong { display: block; font-size: 1.05rem; color: var(--c-deep); }
.signal small { display: block; font-size: var(--fs-sm); color: var(--c-muted); }

/* Feature-Karten mit rundem Icon-Badge */
.feature {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature__icon {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--c-sky-100);
  color: var(--c-accent);
  margin-bottom: var(--sp-4);
}
.feature:nth-child(2) .feature__icon { background: var(--c-mint); }
.feature:nth-child(3) .feature__icon { background: var(--c-sand); }
.feature:nth-child(4) .feature__icon { background: var(--c-blush); }
.feature__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feature__num {
  position: absolute;
  top: clamp(1.5rem, 3vw, 2.2rem);
  right: clamp(1.5rem, 3vw, 2.2rem);
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  color: #59758e;
}
.feature h3 { font-size: var(--fs-lg); margin-bottom: 0.55rem; }
.feature p { font-size: var(--fs-sm); color: var(--c-muted); margin: 0; }

/* Hinweisbox (RAG) */
.note {
  display: flex;
  gap: 0.95rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius);
  background: var(--c-lilac);
  border-left: 3px solid #8b83c4;
  font-size: var(--fs-sm);
  color: #3f3a5c;
}
.note__badge {
  flex: none;
  align-self: flex-start;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  background: var(--c-deep);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}
.note strong { display: block; margin-bottom: 0.35rem; font-size: var(--fs-base); color: var(--c-ink); }
.note p { margin: 0; color: inherit; }

/* Checkliste */
.checklist {
  display: grid;
  gap: 0.95rem;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-line);
}
.checklist li { display: flex; gap: 0.85rem; align-items: flex-start; }
.checklist svg {
  flex: none;
  width: 22px; height: 22px;
  padding: 4px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--c-sky-200);
  color: var(--c-deep);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.checklist strong { display: block; font-size: var(--fs-base); color: var(--c-deep); font-weight: 600; }
.checklist small { display: block; font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.6; }

/* Fragen-Karte (Demo) */
.question-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.question-card__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.25rem 1.4rem;
  background: var(--c-sky-200);
}
.question-mark {
  display: grid; place-items: center;
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--c-deep);
  color: #fff;
  font-family: var(--f-display);
  font-size: 1.2rem;
}
.question-card__head strong { display: block; font-size: 0.96rem; color: var(--c-ink); font-weight: 600; }
.question-card__head small { display: block; font-size: 0.79rem; color: #3f5570; line-height: 1.45; }

.question-links { display: grid; }
.question-links a {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 1.05rem 1.4rem;
  color: var(--c-text);
  font-size: 0.91rem;
  line-height: 1.5;
  transition: background-color var(--t-fast) var(--ease-soft), padding-left var(--t) var(--ease);
}
.question-links a + a { border-top: 1px solid var(--c-line); }
.question-links a:hover { background: var(--c-sky-50); padding-left: 1.9rem; color: var(--c-deep); }
.question-links a > span:last-child { flex: none; color: var(--c-accent); }

/* Timeline */
.timeline { position: relative; display: grid; gap: var(--sp-6); }
.timeline::before {
  content: "";
  position: absolute;
  left: 21px; top: 10px; bottom: 10px;
  width: 1px;
  background: linear-gradient(to bottom, var(--c-sky-400), var(--c-line));
}
.timeline__item { position: relative; padding-left: 66px; }
.timeline__dot {
  position: absolute;
  left: 0; top: 0;
  width: 43px; height: 43px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--c-sky-50);
  border: 1px solid var(--c-line);
  font-family: var(--f-display);
  font-size: 1rem;
  color: var(--c-accent);
}
.timeline__item h3 { font-size: var(--fs-lg); margin-bottom: 0.35rem; }
.timeline__item p { font-size: var(--fs-sm); color: var(--c-muted); margin: 0; }

/* Einsatzbereiche */
.usecase-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(1.15rem, 2.2vw, 1.9rem); }
.usecase {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.usecase:nth-child(4), .usecase:nth-child(5) { grid-column: span 3; }
.usecase:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.usecase__top {
  display: grid;
  place-items: center;
  padding: clamp(1.6rem, 3vw, 2.2rem) 1rem;
  background: linear-gradient(150deg, var(--c-sky-100), var(--c-sky-200));
}
.usecase:nth-child(2) .usecase__top { background: linear-gradient(150deg, #eaf5f1, var(--c-mint)); }
.usecase:nth-child(3) .usecase__top { background: linear-gradient(150deg, #fbf3e6, var(--c-sand)); }
.usecase:nth-child(4) .usecase__top { background: linear-gradient(150deg, #f1eff9, var(--c-lilac)); }
.usecase:nth-child(5) .usecase__top { background: linear-gradient(150deg, #fbeff2, var(--c-blush)); }
.usecase__icon {
  display: grid; place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: var(--c-deep);
}
.usecase__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.usecase__body { padding: clamp(1.35rem, 2.4vw, 1.8rem); }
.usecase h3 { font-size: var(--fs-lg); margin-bottom: 0.45rem; }
.usecase p { font-size: var(--fs-sm); color: var(--c-muted); margin: 0; }

/* Datenschutz-Band */
.privacy {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.5vw, 2rem);
  padding: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem) clamp(1.4rem, 1rem + 1.8vw, 2.6rem);
  border-radius: var(--radius-lg);
  background: var(--c-sand);
}
.privacy__icon {
  display: grid; place-items: center;
  flex: none;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  color: #8a6d33;
}
.privacy__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.privacy p {
  margin: 0;
  max-width: 52rem;
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 1rem + 0.9vw, 1.7rem);
  line-height: 1.4;
  color: var(--c-ink);
  text-wrap: balance;
}

/* Akkordeon (native <details>, damit es auch ohne JS funktioniert) */
.accordion { border-top: 1px solid var(--c-line); }
.accordion details { border-bottom: 1px solid var(--c-line); }
.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  line-height: 1.35;
  color: var(--c-deep);
  transition: color var(--t-fast) var(--ease-soft);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--c-accent); }
.accordion summary > span {
  position: relative;
  flex-shrink: 0;
  width: 34px; height: 34px;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  background: var(--c-white);
  transition: background-color var(--t-fast) var(--ease-soft), border-color var(--t-fast) var(--ease-soft);
}
.accordion summary > span::before,
.accordion summary > span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--t) var(--ease), opacity var(--t-fast) linear;
}
.accordion summary > span::before { width: 13px; height: 1.5px; }
.accordion summary > span::after { width: 1.5px; height: 13px; }
.accordion details[open] summary > span { background: var(--c-sky-200); border-color: var(--c-sky-200); }
.accordion details[open] summary > span::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.accordion details > p {
  max-width: 68ch;
  padding-bottom: 1.5rem;
  margin: 0;
  color: var(--c-muted);
  font-size: var(--fs-base);
  animation: fade-in var(--t) var(--ease);
}

/* ---------------------------------------------------------------- 9 Footer */
.site-footer {
  background: var(--c-ink);
  color: rgba(255, 255, 255, 0.64);
  font-size: var(--fs-sm);
  padding-top: clamp(3rem, 6vw, 5rem);
}
.site-footer a:hover { color: var(--c-sky-300); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__mark { color: var(--c-sky-300); }
.footer-brand p { margin-top: var(--sp-4); max-width: 38ch; line-height: 1.8; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem 1.5rem; }
.footer-links a { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-links a::before {
  content: "";
  width: 0; height: 1px;
  background: var(--c-sky-300);
  transition: width var(--t) var(--ease);
}
.footer-links a:hover::before { width: 12px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
}

/* -------------------------------------------------------------- 10 Overlays */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: rgba(22, 40, 58, 0.42);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t) var(--ease-soft), visibility var(--t) linear;
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }

.to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 1200;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--c-deep);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity var(--t) var(--ease-soft), transform var(--t) var(--ease), visibility var(--t) linear, background-color var(--t-fast) var(--ease-soft);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--c-accent); }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------ 11 Animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal].is-visible { opacity: 1; transform: none; }
html:not(.js) [data-reveal] { opacity: 1; transform: none; }

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes fade-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ 12 Responsive */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__content { max-width: none; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usecase-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .usecase, .usecase:nth-child(4), .usecase:nth-child(5) { grid-column: span 2; }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }

  body.is-locked .site-header { z-index: 1500; }

  .burger { display: block; }
  .site-header__actions .btn { display: none; }

  .nav {
    position: fixed;
    top: 0; right: 0;
    width: min(400px, 100%);
    height: 100dvh;
    z-index: 1450;
    background: var(--c-sky-50);
    box-shadow: var(--shadow-lg);
    padding: var(--sp-5) var(--sp-5) var(--sp-6);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.5s var(--ease), visibility 0.5s linear;
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav__panel-head {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: var(--sp-4);
    margin-bottom: var(--sp-4);
    border-bottom: 1px solid var(--c-line);
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    padding: 0.95rem 0;
    font-size: 1.28rem;
    font-family: var(--f-display);
    border-bottom: 1px solid var(--c-line);
  }
  .nav__link::after { display: none; }
  .nav__panel-foot { display: block; margin-top: auto; padding-top: var(--sp-6); }

  .split, .split--wide-left { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head--split { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: 1fr; }
  .usecase, .usecase:nth-child(4), .usecase:nth-child(5) { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .privacy { flex-direction: column; align-items: flex-start; }
  .btn-group .btn { flex: 1 1 100%; }
  .chat-bubble { max-width: 94%; }
  .timeline__item { padding-left: 56px; }
  .to-top { right: 14px; bottom: 14px; }
  .preview-note { width: calc(100% - 1.4rem); }
}

@media (max-width: 420px) {
  .marquee__group {
    column-gap: 1rem;
    padding-inline: 0.8rem;
  }
  .marquee__group span {
    gap: 0.8rem;
    font-size: var(--fs-xs);
    letter-spacing: 0.1em;
  }
  .hero__meta { gap: 0.75rem; }
  .hero__meta li { width: 100%; }
}

/* -------------------------------------------------------- 13 Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
