/* ==========================================================================
   KIWI-KI · Stylesheet
   Basis: Odoo-Seite vom 28.10.2026. Farben seit 29.10.2026: Schwarz, Weiß, Kiwi-Grün, Kreide.
   Systemschriften, kein Build-Tool.
   Alle Farben und Maße stehen oben unter :root.
   ========================================================================== */

:root {
  /* Palette: Schwarz, Weiß, Kiwi-Grün und Kreide (an Porsche „Kreide“ angelehnt) */
  --black: #111111;          /* Text */
  --night: #0b0b0b;          /* schwarze Flächen */
  --white: #ffffff;
  --green: #4f7d0c;          /* Buttons, Icons (Weiß darauf 4,9:1) */
  --green-hover: #3f6609;
  --green-text: #45700a;     /* grüne Schrift, auch auf Kreide hell lesbar */
  --chalk: #d2cfc7;          /* dunklere Kreide: nur für feine Linien, Rahmen und Zweittext auf Schwarz */
  --chalk-soft: #f2f1ed;     /* Kreide: die Flächenfarbe (Abschnitte, Footer, Karten) */
  --lime: #9ccc1f;           /* nur für Leuchtpunkte und Verläufe aus dem Logo */
  --lime-soft: #eef4dd;

  /* abgeleitete Rollen */
  --ink: var(--black);
  --muted: #5f5d57;          /* warmes Grau, passend zur Kreide (6,6:1 auf Weiß) */
  --line: var(--chalk);
  --night-text: var(--chalk);
  --on-night: var(--white);

  /* Form und Bewegung */
  --radius: 28px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 2px 6px rgba(0, 0, 0, .04), 0 24px 48px -24px rgba(0, 0, 0, .22);
  --maxw: 1140px;
  --gutter: 24px;
  --header-h: 64px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Ubuntu, "Noto Sans", Arial, sans-serif;
}

/* ---- Grundlagen ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6;
  color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green-text); text-underline-offset: 3px; }
a:hover { color: var(--green-hover); }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.75rem, 1.5rem + 3.8vw, 4.85rem); font-weight: 700; letter-spacing: -.038em; line-height: 1.03; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 1.35rem + 2.2vw, 3.4rem); font-weight: 600; letter-spacing: -.032em; line-height: 1.07; text-wrap: balance; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.018em; line-height: 1.2; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
.section--soft { background: var(--chalk-soft); }
.section--flush { padding-top: 48px; }
.section--dark { position: relative; overflow: hidden; isolation: isolate; background: var(--night); color: var(--on-night); }
.section--dark > .container { position: relative; z-index: 1; }
.section--dark h2, .section--dark h3 { color: var(--on-night); }
.lead { font-size: clamp(1.1rem, 1rem + .35vw, 1.32rem); line-height: 1.5; letter-spacing: -.008em; color: var(--muted); }
.muted { color: var(--muted); }
.section--dark .muted, .section--dark .lead { color: var(--night-text); }
.h3 { font-size: 1.4rem; font-weight: 600; letter-spacing: -.018em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }

/* Akzentwort mit Verlauf */
.accent {
  background: linear-gradient(100deg, #3d6a04 0%, #6a9f10 45%, #9ccc1f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---- Raster -------------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991.98px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767.98px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  :root { --gutter: 16px; }
}

/* ---- Bausteine ----------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem; margin-bottom: 1.1rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--green-text);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head .eyebrow::after, .cta .eyebrow::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.section--dark .eyebrow, .cta .eyebrow { color: var(--night-text); }
.section-head { max-width: 760px; margin: 0 auto 3.5rem; text-align: center; }
.section-head h2 { margin-bottom: 1rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 500; letter-spacing: -.01em; line-height: 1.2; text-decoration: none; cursor: pointer;
  border-radius: 999px; padding: .62rem 1.35rem; border: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--lg { padding: .85rem 1.6rem; font-size: 1.05rem; }
.btn--primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn--primary:hover, .btn--primary:focus { background: var(--green-hover); border-color: var(--green-hover); color: #fff; }
.btn--light { background: var(--on-night); border-color: var(--on-night); color: var(--ink); }
.btn--light:hover { background: var(--chalk); border-color: var(--chalk); color: var(--black); }
.btn--outline { border-color: rgba(17, 17, 17, .28); background: transparent; color: var(--ink); }
.btn--outline:hover, .btn--outline:focus { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* ---- Header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: rgba(0, 0, 0, .08); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 1.75rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand img { width: 36px; height: 36px; }
.brand em { font-style: normal; color: var(--green); }
.nav { display: flex; align-items: center; gap: 1.5rem; flex: 1; font-size: .92rem; }
.nav a { color: var(--ink); text-decoration: none; opacity: .8; transition: opacity .2s ease; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; color: var(--ink); }
.nav .btn { margin-left: auto; opacity: 1; color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }
@media (max-width: 899.98px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1.25rem;
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3); display: none; font-size: 1rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--chalk-soft); opacity: 1; }
  .nav .btn { margin: 1rem 0 0; border-bottom: 0; }
}

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; padding: 96px 0;
  background:
    radial-gradient(620px 520px at 78% 48%, rgba(156, 204, 31, .17), transparent 66%),
    radial-gradient(520px 360px at 6% 100%, rgba(156, 204, 31, .07), transparent 62%),
    #fff;
}
.hero--compact { padding: 64px 0 40px; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero .lead { max-width: 34rem; margin-top: 1.5rem; }
.hero .btn-row { margin-top: 2rem; }
.trust { list-style: none; padding: 0; margin: 2.25rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.trust li { display: flex; align-items: center; gap: .45rem; font-size: .95rem; color: var(--muted); }
.trust li::before {
  content: ""; width: 16px; height: 16px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f7d0c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
@media (max-width: 991.98px) { .hero__grid { grid-template-columns: 1fr; gap: 72px; } }

/* Hero-Grafik: Kiwi-Chip, Leiterbahnen kommen aus assets/lights.js */
.visual { position: relative; width: 100%; max-width: 500px; aspect-ratio: 1 / 1; margin: 0 auto; }
@media (max-width: 991.98px) { .visual { max-width: 420px; } }
.visual > .kw-fx { position: absolute; inset: -15%; width: 130%; height: 130%; pointer-events: none; z-index: 0; }
.visual__core {
  position: absolute; left: 50%; top: 50%; width: 40%; z-index: 1; transform: translate(-50%, -50%);
  filter: drop-shadow(0 28px 48px rgba(79, 125, 12, .28)) drop-shadow(0 6px 14px rgba(0, 0, 0, .12));
}
.pill {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap;
  padding: .5rem .95rem .5rem .8rem; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .06);
  background: rgba(255, 255, 255, .72); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  font-size: .84rem; font-weight: 500; letter-spacing: -.005em; color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 30px -16px rgba(0, 0, 0, .28);
}
.pill i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(156, 204, 31, .18); }
.pill--1, .pill--4 { flex-direction: row-reverse; padding: .5rem .8rem .5rem .95rem; }
.pill--1 { left: 2%; top: -3%; }
.pill--2 { right: 6%; top: -1%; }
.pill--3 { right: 2%; top: 91%; }
.pill--4 { left: 6%; top: 91%; }
.pill--5 { left: 38%; top: 103%; }
@media (max-width: 575.98px) {
  .pill { padding: .38rem .7rem .38rem .6rem; font-size: .74rem; }
  .pill--1, .pill--4 { padding: .38rem .6rem .38rem .7rem; }
}

/* Lichteffekte auf dunklen Flächen */
.kw-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

/* ---- Karten -------------------------------------------------------------- */
.step { height: 100%; padding: 2.25rem 2rem; border-radius: var(--radius); background: #fff; }
.step__num { display: block; font-size: .9rem; font-weight: 600; letter-spacing: -.005em; color: var(--green-text); }
.step h3 { font-size: 1.4rem; margin: .7rem 0 .6rem; }
.step p { margin: 0; color: var(--muted); }

.card {
  height: 100%; padding: 2.5rem 2.25rem; border-radius: var(--radius); background: var(--chalk-soft);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), background-color .6s var(--ease);
}
.card:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow); }
.section--soft .card { background: #fff; }
.services { counter-reset: service; }
.services .card { position: relative; overflow: hidden; }
.services .card::after {
  counter-increment: service; content: counter(service, decimal-leading-zero);
  position: absolute; top: 1.6rem; right: 2rem; font-size: 3.2rem; font-weight: 700; letter-spacing: -.05em; line-height: 1;
  color: var(--chalk); transition: color .6s var(--ease);
}
.services .card:hover::after { color: var(--green); }
.card h3 { font-size: 1.5rem; margin: 1.4rem 0 .6rem; }
.icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: #fff; color: var(--green); box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 8px 18px -10px rgba(0, 0, 0, .18);
}
.icon svg { width: 24px; height: 24px; }
.section--soft .icon { background: var(--lime-soft); box-shadow: none; }
.checklist { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.checklist li { position: relative; padding-left: 1.7rem; margin-bottom: .6rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f7d0c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.usecase {
  height: 100%; display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.6rem 1.5rem; border-radius: 22px; background: #fff;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.usecase:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.usecase .icon { width: 42px; height: 42px; border-radius: 12px; }
.usecase .icon svg { width: 21px; height: 21px; }
.usecase h3 { font-size: 1.08rem; margin: .1rem 0 .3rem; }
.usecase p { margin: 0; font-size: .95rem; color: var(--muted); }

/* ---- KI-Fit-Check -------------------------------------------------------- */
.fit-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
@media (max-width: 991.98px) { .fit-grid { grid-template-columns: 1fr; gap: 32px; } }
.fit {
  position: relative; min-height: 440px; padding: 2.25rem; border-radius: 30px; background: #fff; color: var(--ink);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 90px -30px rgba(0, 0, 0, .9);
}
.section--dark .fit h3 { color: var(--ink); font-size: 1.4rem; margin: .4rem 0 1.25rem; }
.fit__bar { height: 4px; margin-bottom: 1.5rem; overflow: hidden; border-radius: 99px; background: var(--chalk-soft); }
.fit__bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #4f7d0c, #9ccc1f); transition: width .5s var(--ease); }
.fit__count { margin: 0; font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.fit__note { font-size: .8rem; color: var(--muted); }
.fit__opts { display: grid; gap: .6rem; }
.fit__opt {
  display: flex; align-items: center; gap: .8rem; width: 100%; text-align: left; cursor: pointer;
  padding: .95rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  font: inherit; color: var(--ink); transition: border-color .2s, background-color .2s;
}
.fit__opt:hover, .fit__opt:focus-visible { border-color: var(--green); background: var(--chalk-soft); outline: none; }
.fit__opt .dot { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1.5px solid #b9b6ad; transition: .2s; }
.fit__opt.is-selected { border-color: var(--green); background: var(--lime-soft); }
.fit__opt.is-selected .dot { border-color: var(--green); background: var(--green); box-shadow: inset 0 0 0 3px #fff; }
.fit__nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.25rem; }
.fit__back { padding: 0; border: 0; background: none; font: inherit; font-weight: 500; color: var(--green); cursor: pointer; }
.fit__back:disabled { color: #b9b6ad; cursor: default; }
.fit__result { text-align: center; }
.gauge { position: relative; width: 190px; height: 190px; margin: 1rem auto; }
.gauge svg { transform: rotate(-90deg); }
.gauge__num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge__num b { font-size: 2.6rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.gauge__num small { display: block; margin-top: .35rem; font-size: .8rem; color: var(--muted); }
.fit__level { margin-bottom: .5rem; font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; color: var(--green-text); }
.fit__reco { max-width: 30rem; margin: 0 auto 1.5rem; color: var(--muted); }
.fit__cta { justify-content: center; }
@media (max-width: 575.98px) { .fit { padding: 1.5rem; border-radius: 24px; } }

/* ---- Ablauf -------------------------------------------------------------- */
.timeline { counter-reset: step; }
.tstep { position: relative; height: 100%; padding: 2rem 1.75rem; border-radius: 24px; background: var(--chalk-soft); }
.tstep::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; margin-bottom: 1rem; font-size: 2.2rem; font-weight: 600; letter-spacing: -.04em; line-height: 1;
  background: linear-gradient(135deg, #4f7d0c, #9ccc1f); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tstep h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.tstep p { margin: 0; color: var(--muted); }
.badge {
  display: inline-block; margin-left: .35rem; padding: .22rem .55rem; border-radius: 999px; vertical-align: middle;
  font-size: .68rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--green-text); background: var(--lime-soft);
}
.timeline--plain .tstep { padding: 0; background: none; border-radius: 0; margin-bottom: 1.5rem; }
.timeline--plain .tstep:last-child { margin-bottom: 0; }

/* ---- Grundsätze ---------------------------------------------------------- */
.principle { position: relative; height: 100%; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.principle::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 2px; background: var(--green); }
.principle h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.principle p { margin: 0; color: var(--muted); }

/* ---- FAQ ----------------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
@media (max-width: 991.98px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0; position: relative;
  font-size: 1.12rem; font-weight: 600; letter-spacing: -.012em; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 1.1rem; height: 1.1rem; margin-top: -.55rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 2.5rem 1.5rem 0; color: var(--muted); }

/* ---- Abschluss-CTA ------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: clamp(3.5rem, 2rem + 5vw, 6.5rem) 2rem; border-radius: 36px; background: var(--night); color: var(--on-night);
}
.cta > :not(.kw-fx) { position: relative; z-index: 1; }
.cta h2 { color: var(--on-night); }
.cta p { max-width: 38rem; margin: 0 auto 2.25rem; color: var(--night-text); }
.cta .btn-row { justify-content: center; }
.cta a.mail { color: var(--on-night); font-weight: 500; text-decoration: none; opacity: .85; transition: opacity .2s; }
.cta a.mail:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 575.98px) { .cta { padding: 3.25rem 1.4rem; border-radius: 28px; } .card { padding: 2rem 1.6rem; } }

/* ---- Kontaktseite -------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 7fr 4fr; gap: 64px; align-items: start; }
@media (max-width: 991.98px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-grid .card:hover { transform: none; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 575.98px) { .form { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .95rem; color: var(--ink); margin-bottom: .35rem; }
.field label .req { color: var(--green); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 14px; padding: .8rem .95rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(156, 204, 31, .25); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; }
.form__hint { font-size: .88rem; color: var(--muted); margin: 0; }
.form__status { font-weight: 600; color: var(--green); min-height: 1.5em; margin: 0; }
.form__status.is-error { color: #b3261e; }

/* ---- Rechtstexte --------------------------------------------------------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.4rem; font-weight: 600; margin-top: 2.5rem; letter-spacing: -.018em; }
.todo { background: #fff4c2; border-radius: 4px; padding: 0 .25rem; }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--chalk-soft); color: var(--muted); font-size: .88rem; padding: 56px 0 24px; }
.site-footer .brand { font-size: 1.05rem; margin-bottom: .75rem; }
.footer-grid { display: grid; grid-template-columns: 4fr 2fr 2fr 3fr; gap: 32px; }
@media (max-width: 991.98px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: .88rem; font-weight: 600; letter-spacing: -.005em; color: var(--ink); margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a:not(.btn):not(.brand) { color: var(--ink); text-decoration: none; }
.site-footer a:not(.btn):not(.brand):hover { text-decoration: underline; }
.footer-bottom { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .8rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* ---- Einblenden beim Scrollen (nur wo der Browser es kann) --------------- */
@keyframes kw-rise {
  from { opacity: 0; translate: 0 44px; scale: .985; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section-head, .card, .step, .usecase, .tstep, .principle, .cta, .fit {
      animation: kw-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%;
    }
  }
}

/* ---- Weniger Bewegung, wenn gewünscht ------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .card:hover, .usecase, .usecase:hover { transition: none; transform: none; }
}
