/* efatto · Gestaltung
   Ein Stylesheet, keine Fremd-Ressourcen. Schrift liegt lokal (Inter, SIL OFL).
   Farben als Tokens; das Grün steht für «erledigt». */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0d1417;
  --ink-2: #1e2b30;
  --muted: #54626a;
  --faint: #6c7a81;
  --paper: #f7f7f2;
  --paper-2: #efefe7;
  --card: #ffffff;
  --line: rgba(13, 20, 23, 0.1);
  --line-strong: rgba(13, 20, 23, 0.18);
  --accent: #0f7a57;
  --accent-strong: #0a5b41;
  --accent-soft: #e4f2eb;
  --accent-glow: rgba(15, 122, 87, 0.16);
  --on-accent: #ffffff;
  --radius: 18px;
  --radius-sm: 11px;
  --shadow: 0 1px 2px rgba(13, 20, 23, 0.05), 0 10px 30px rgba(13, 20, 23, 0.06);
  --shadow-lg: 0 2px 8px rgba(13, 20, 23, 0.06), 0 30px 70px rgba(13, 20, 23, 0.14);
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

p {
  margin: 0 0 1em;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ------------------------------------------------------------ Kopfzeile */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 247, 242, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 750;
  font-size: 25px;
  letter-spacing: -0.045em;
  line-height: 1;
}
.wordmark .tick {
  width: 19px;
  height: 19px;
  flex: none;
  transform: translateY(1px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 10px;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.nav a:hover {
  background: rgba(13, 20, 23, 0.05);
}
.nav a[aria-current="page"] {
  color: var(--accent-strong);
  font-weight: 600;
}
.nav .btn {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------- Knöpfe */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.nav a.btn {
  color: var(--btn-fg);
  padding: 0 18px;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  --btn-bg: var(--accent);
  box-shadow: 0 6px 18px var(--accent-glow);
}
.btn-primary:hover {
  --btn-bg: var(--accent-strong);
}
.nav a.btn-primary:hover {
  background: var(--accent-strong);
}
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  --btn-bg: rgba(13, 20, 23, 0.04);
}
.btn-light {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
}
.btn-lg {
  min-height: 54px;
  padding: 0 26px;
  font-size: 17px;
  border-radius: 14px;
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

/* --------------------------------------------------------------- Start */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(13, 20, 23, 0.075) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}
.eyebrow .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.eyebrow .dot svg {
  width: 13px;
  height: 13px;
}

.hero h1 {
  font-size: clamp(46px, 7.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 760;
  margin-bottom: 26px;
}
.hero h1 .done {
  color: var(--accent);
}
.lead {
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 34em;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}
.assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
}
.assurances li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.assurances svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* ------------------------------------------------- Handy mit Beispiel-Chat */

.demo {
  position: relative;
  justify-self: center;
  width: min(100%, 390px);
}
.demo::before {
  content: "";
  position: absolute;
  inset: 8% -6% -4% -6%;
  border-radius: 40px;
  background: radial-gradient(60% 50% at 50% 40%, var(--accent-glow), transparent 70%);
  filter: blur(10px);
  z-index: 0;
}
.phone {
  position: relative;
  z-index: 1;
  border-radius: 38px;
  padding: 10px;
  background: #0b1113;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
}
.screen {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: #eceee8;
  height: 620px;
  display: flex;
  flex-direction: column;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px 12px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-weight: 750;
  font-size: 17px;
  letter-spacing: -0.04em;
}
.chat-head .who {
  line-height: 1.25;
}
.chat-head .who strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.chat-head .who span {
  font-size: 12.5px;
  color: var(--accent-strong);
  font-weight: 500;
}
.chat {
  flex: 1;
  min-height: 0;
  padding: 14px 12px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  overflow: hidden;
}
.bubble {
  max-width: 88%;
  border-radius: 16px;
  padding: 9px 12px;
  font-size: 13.5px;
  line-height: 1.45;
  box-shadow: 0 1px 1px rgba(13, 20, 23, 0.06);
}
/* Mit JS erscheinen die Blasen nacheinander; neue schieben ältere nach oben wie in einem echten Chat. */
.js .demo .bubble {
  display: none;
}
.js .demo .bubble.is-in,
.js-fehler .demo .bubble {
  display: block;
  animation: blase 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.js-fehler .demo .typing-bubble,
.no-js .demo .typing-bubble {
  display: none;
}
@keyframes blase {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.bubble.me {
  align-self: flex-end;
  background: #dff3e8;
  border-bottom-right-radius: 6px;
}
.bubble.bot {
  align-self: flex-start;
  background: #fff;
  border-bottom-left-radius: 6px;
}
.voice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}
.voice .play {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.voice .play svg {
  width: 14px;
  height: 14px;
  margin-left: 2px;
}
.wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 26px;
  flex: 1;
}
.wave i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--accent-strong);
  opacity: 0.7;
}
.voice time {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.transcript {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink-2);
  font-style: italic;
}
.typing {
  display: inline-flex;
  gap: 4px;
  padding: 4px 2px;
}
.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--faint);
  animation: tippen 1.1s infinite ease-in-out;
}
.typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes tippen {
  0%,
  80%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}
.js .demo .bubble.typing-bubble.is-weg {
  display: none;
}
.preview {
  width: 100%;
  max-width: 100%;
  padding: 0;
  overflow: hidden;
}
.preview .p-head {
  padding: 10px 12px 8px;
  border-bottom: 1px solid var(--line);
}
.preview .p-head small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-strong);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.preview .p-head strong {
  display: block;
  font-size: 13.5px;
  letter-spacing: -0.01em;
}
.preview .p-head span {
  font-size: 12px;
  color: var(--muted);
}
.preview ul {
  list-style: none;
  margin: 0;
  padding: 6px 12px;
}
.preview li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--line);
}
.preview li:last-child {
  border-bottom: 0;
}
.preview li span:last-child {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink-2);
}
.preview .p-total {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.preview .p-checks {
  padding: 8px 12px 4px;
  font-size: 12px;
  color: var(--accent-strong);
}
.preview .p-checks div {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 3px;
}
.preview .p-checks svg {
  width: 13px;
  height: 13px;
  flex: none;
}
.preview .p-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 8px 10px 10px;
}
.preview .p-actions span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid var(--line-strong);
}
.preview .p-actions span.go {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.doc {
  display: flex;
  align-items: center;
  gap: 10px;
}
.doc .pdf {
  width: 34px;
  height: 40px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 5px;
  font-size: 9px;
  font-weight: 800;
  color: #b42318;
  flex: none;
}
.doc strong {
  display: block;
  font-size: 13px;
}
.doc span {
  font-size: 12px;
  color: var(--muted);
}
.demo-note {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 14px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.demo-replay {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-strong);
  background: none;
  border: 0;
  padding: 4px 6px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.demo-replay[hidden] {
  display: none;
}

/* ----------------------------------------------------------- Abschnitte */

.section {
  padding: clamp(64px, 9vw, 120px) 0;
}
.section.alt {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.section h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-bottom: 18px;
}
.section-head p {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--ink-2);
  margin: 0;
}
.after-note {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 15.5px;
}

/* Problem */
.problem {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.problem h2 {
  font-size: clamp(30px, 4vw, 46px);
}
.problem p {
  color: var(--ink-2);
  font-size: 18px;
}
.stat {
  margin: 0;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.stat .num {
  display: block;
  font-size: clamp(56px, 7vw, 84px);
  font-weight: 760;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.stat .num small {
  font-size: 0.42em;
  letter-spacing: -0.02em;
  font-weight: 650;
  margin-left: 4px;
}
.stat p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  margin-bottom: 14px;
}
.stat figcaption {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.66);
}
.stat figcaption a {
  color: rgba(255, 255, 255, 0.86);
}

/* Schritte */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.step {
  position: relative;
  padding: 28px 26px 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.step .no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 750;
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}
.step h3 {
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.step p {
  color: var(--ink-2);
  margin: 0;
  font-size: 16px;
}

/* Funktionen */
.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.feature {
  padding: 24px 22px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
  flex: none;
}
.icon svg {
  width: 22px;
  height: 22px;
}
.feature h3 {
  font-size: 18px;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.feature p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}

/* Kontrolle */
.control {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
/* Die Einleitung bleibt stehen, während die Grundregeln vorbeiziehen (nur breite Bildschirme). */
@media (min-width: 901px) {
  .control > :first-child {
    position: -webkit-sticky;
    position: sticky;
    top: 112px;
  }
}
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.checklist li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.checklist .ok {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.checklist .ok svg {
  width: 18px;
  height: 18px;
}
.checklist strong {
  display: block;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.checklist span {
  color: var(--muted);
  font-size: 15.5px;
}

/* Datenschutz und Betrieb */
.ops {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.op {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}
.op .icon {
  margin: 0;
}
.op h3 {
  font-size: 18px;
  margin-bottom: 6px;
}
.op p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}
.fine {
  margin: 22px 0 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 70ch;
}
.fine a {
  color: var(--accent-strong);
}

/* Für wen */
.audience {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 15.5px;
}
.needs {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.needs li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}
.needs svg {
  width: 18px;
  height: 18px;
  color: #7fd3b0;
}

/* Einführung */
.onboarding {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}
.onboarding li {
  padding: 28px 26px;
  border-right: 1px solid var(--line);
}
.onboarding li:last-child {
  border-right: 0;
}
.onboarding .phase {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-strong);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.onboarding h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.onboarding p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}
.person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: 15.5px;
}
.person .initials {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex: none;
}
.person p {
  margin: 0;
}

/* FAQ */
.faq {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 4px;
  font-size: 18.5px;
  font-weight: 650;
  letter-spacing: -0.012em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::marker {
  content: "";
}
.faq summary .plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.faq summary .plus svg {
  width: 14px;
  height: 14px;
}
.faq details[open] summary .plus {
  transform: rotate(45deg);
  background: var(--accent-soft);
}
.faq .answer {
  padding: 0 4px 22px;
  color: var(--ink-2);
  max-width: 68ch;
}
.faq .answer p:last-child {
  margin: 0;
}

/* Abschluss mit Formular */
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 120px) 0;
  background: var(--ink);
  color: #fff;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 15% 20%, rgba(15, 122, 87, 0.35), transparent 70%);
  pointer-events: none;
}
.cta .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.cta h2 {
  font-size: clamp(34px, 4.6vw, 56px);
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: 18px;
}
.cta .kicker {
  color: #7fd3b0;
}
.cta-text p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}
.cta-points {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 10px;
}
.cta-points li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.92);
}
.cta-points svg {
  width: 18px;
  height: 18px;
  color: #7fd3b0;
  flex: none;
}
.cta-text .mail-alt {
  margin-top: 26px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.76);
}
.cta-text .mail-alt a {
  color: #fff;
  font-weight: 600;
}

.form-card {
  background: var(--card);
  color: var(--ink);
  border-radius: 22px;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.form-card h3 {
  font-size: 22px;
  margin-bottom: 6px;
}
.form-card .sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 20px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  display: grid;
  gap: 6px;
  align-content: start;
}
.field.full {
  grid-column: 1 / -1;
}
.field label,
.field .label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.field label .opt {
  font-weight: 500;
  color: var(--muted);
}
.field input:not([type="checkbox"]):not([type="radio"]),
.field textarea,
.field select {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field textarea {
  min-height: 108px;
  resize: vertical;
  line-height: 1.5;
}
.field input:not([type="checkbox"]):not([type="radio"]):focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  background-color: #fff;
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #b42318;
}
.field .err {
  font-size: 13px;
  color: #b42318;
  font-weight: 600;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
}
/* Eigenes Kästchen: gleich in Safari, Chrome und Firefox. Im Kontrastmodus von Windows
   bleibt das System-Kästchen, damit der Zustand sichtbar ist. */
.check input {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin: 0;
  flex: none;
  border: 1.5px solid var(--line-strong);
  border-radius: 6px;
  background: var(--paper) center / 15px 15px no-repeat;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.check input:hover {
  border-color: var(--accent);
}
.check input:checked {
  background-color: var(--accent);
  border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E");
}
.check input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
@media (forced-colors: active) {
  .check input {
    -webkit-appearance: auto;
    appearance: auto;
  }
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* Turnstile erscheint nur, wenn eine Bestätigung nötig ist (appearance: interaction-only).
   Den Abstand setzt efatto.js erst dann, sonst springt das Formular beim Laden. */
.form-pruefung.ist-sichtbar {
  margin-top: 18px;
}
.form-ohne-js {
  margin: 18px 0 0;
  font-size: 15px;
  color: var(--ink-2);
}
.js .form-ohne-js {
  display: none;
}
.js.js-fehler .form-ohne-js {
  display: block;
}
.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 18px;
}
.form-foot .btn {
  flex: none;
}
.consent {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  flex: 1 1 240px;
}
.consent a {
  color: var(--ink-2);
}
.form-status {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
  min-height: 1.4em;
}
.form-status.ok {
  color: var(--accent-strong);
}
.form-status.err {
  color: #b42318;
}
.form-done {
  text-align: center;
  padding: 26px 8px;
}
.form-done .big-tick {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-done .big-tick svg {
  width: 32px;
  height: 32px;
}
.form-done h3 {
  margin-bottom: 8px;
}
.form-done p {
  color: var(--muted);
  margin: 0;
}

/* ------------------------------------------------------------- Fusszeile */

.site-footer {
  padding: 44px 0 52px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.site-footer .wrap {
  display: grid;
  /* Links umbrechen statt die Beschreibung links zusammenzudrücken */
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.25fr);
  gap: 20px 40px;
  align-items: start;
}
.site-footer .wordmark {
  font-size: 22px;
  margin-bottom: 10px;
}
.site-footer p {
  margin: 0 0 6px;
  max-width: 62ch;
}
.footer-links {
  display: flex;
  gap: 10px 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-links a {
  color: var(--ink-2);
  font-weight: 600;
  text-decoration: none;
}
.footer-links a:hover {
  text-decoration: underline;
}
.trademarks {
  grid-column: 1 / -1;
  font-size: 12.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

/* -------------------------------------------------- Inhaltsseiten, Ratgeber */

.page-head {
  padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 44px);
}
.page-head .wrap {
  max-width: 860px;
}
.page-head h1 {
  font-size: clamp(36px, 5.2vw, 60px);
  letter-spacing: -0.04em;
  line-height: 1.03;
  margin-bottom: 16px;
}
.page-head p {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-2);
  max-width: 40em;
  margin: 0;
}
.crumbs {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}
.crumbs li + li::before {
  content: "›";
  margin-right: 6px;
  color: var(--faint);
}
.crumbs a {
  color: var(--ink-2);
  text-decoration: none;
}
.crumbs a:hover {
  text-decoration: underline;
}
.page-head .meta-line {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px 18px;
  flex-wrap: wrap;
}
.page-head .meta-line span + span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--faint);
  margin-right: 18px;
  vertical-align: middle;
}
/* Ratgeber-Artikel: Kopf bündig mit der Textspalte, Titel etwas kleiner */
.page-head--artikel .wrap {
  max-width: 1100px;
}
.page-head--artikel .wrap > * {
  max-width: 820px;
}
.page-head--artikel h1 {
  font-size: clamp(32px, 4.4vw, 52px);
}

.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(28px, 4vw, 56px);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(56px, 8vw, 100px);
}
/* Höchstens rund 70 Zeichen pro Zeile (gemessen, siehe PRIORITAETEN.md Punkt 52) */
.prose {
  min-width: 0;
  max-width: 660px;
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink-2);
}
.prose > :first-child {
  margin-top: 0;
}
.prose h2 {
  font-size: 27px;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 44px 0 14px;
  line-height: 1.2;
}
.prose h3 {
  font-size: 20px;
  color: var(--ink);
  margin: 30px 0 10px;
  letter-spacing: -0.015em;
}
.prose p {
  margin: 0 0 1.05em;
  max-width: 70ch;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
  margin: 0 0 1.2em;
  max-width: 68ch;
}
.prose li {
  margin-bottom: 0.4em;
}
.prose li::marker {
  color: var(--accent);
  font-weight: 700;
}
.prose a {
  color: var(--accent-strong);
  text-underline-offset: 3px;
}
.prose strong {
  color: var(--ink);
}
.prose blockquote {
  margin: 1.4em 0;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  background: var(--card);
  border-radius: 0 12px 12px 0;
}
.prose code {
  font-size: 0.9em;
  background: var(--paper-2);
  padding: 2px 6px;
  border-radius: 6px;
}
.table-scroll {
  overflow-x: auto;
  margin: 1.2em 0 1.6em;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  line-height: 1.5;
}
.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
}
.prose th {
  background: var(--paper);
  color: var(--ink);
  font-weight: 650;
}
.prose tr:last-child td {
  border-bottom: 0;
}
.prose .kurz {
  padding: 20px 24px;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  margin: 0 0 28px;
}
.prose .kurz h2 {
  font-size: 18px;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.prose .kurz ul {
  margin: 0;
}
.aside {
  position: relative;
}
.aside-inner {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}
.toc,
.aside-cta,
.sources {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  padding: 18px 18px 16px;
}
.toc h2,
.aside-cta h2,
.sources h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 14.5px;
}
.toc a {
  color: var(--ink-2);
  text-decoration: none;
  line-height: 1.35;
  display: block;
}
.toc a:hover {
  color: var(--accent-strong);
}
.aside-cta p {
  font-size: 14.5px;
  color: var(--ink-2);
  margin: 0 0 12px;
}
.aside-cta .btn {
  width: 100%;
  min-height: 42px;
  font-size: 15px;
}
.sources-block {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--muted);
}
.sources-block h2 {
  font-size: 16px;
  margin: 0 0 10px;
  color: var(--ink);
}
.sources-block ol {
  margin: 0;
  padding-left: 1.2em;
}
.sources-block li {
  margin-bottom: 4px;
  word-break: break-word;
}
.sources-block a {
  color: var(--ink-2);
}
.sources-block .q-ort {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.sources-block .q-ort::before {
  content: "· ";
}
.related {
  padding: clamp(48px, 7vw, 84px) 0;
  background: var(--card);
  border-top: 1px solid var(--line);
}
.related h2 {
  font-size: 26px;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card-link {
  display: block;
  padding: 22px 22px 20px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.card-link small {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-strong);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.card-link strong {
  display: block;
  font-size: 17.5px;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--ink);
}
.card-link span {
  display: block;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
}
/* Ratgeber-Übersicht: Kopf und Karten auf derselben Breite wie die Artikel */
.page-head--weit .wrap,
.ratgeber-liste .wrap {
  max-width: 1100px;
}
.page-head--weit .wrap > * {
  max-width: 820px;
}
.ratgeber-liste {
  padding: 0 0 clamp(56px, 8vw, 100px);
}
.cluster-nav .anzahl {
  margin-left: 4px;
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.cluster {
  padding: 0 0 clamp(36px, 5vw, 56px);
  scroll-margin-top: 96px;
}
.cluster h2 {
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cluster-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}
.cluster-nav a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.cluster-nav a:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.legal {
  padding: 0 0 clamp(56px, 8vw, 100px);
}
.legal .wrap {
  max-width: 820px;
}
.legal h2 {
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 40px 0 12px;
}
.legal h3 {
  font-size: 18px;
  margin: 24px 0 8px;
}
.legal p,
.legal li {
  color: var(--ink-2);
}
.legal address {
  font-style: normal;
  margin-bottom: 1em;
  color: var(--ink-2);
}
.legal a {
  color: var(--accent-strong);
}

.simple-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.simple-page .wrap {
  max-width: 640px;
  text-align: center;
}
.simple-page h1 {
  font-size: clamp(36px, 5vw, 54px);
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}
.simple-page p {
  color: var(--ink-2);
  font-size: 18px;
  margin-bottom: 28px;
}
.simple-page .big-tick {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.simple-page .big-tick svg {
  width: 36px;
  height: 36px;
}
.simple-page .actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------ Einblenden */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.is-in,
.js-fehler .reveal {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------- Bildschirmgrössen */

@media (max-width: 1040px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .aside-inner {
    position: static;
  }
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px var(--gutter) 18px;
    background: rgba(247, 247, 242, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(13, 20, 23, 0.08);
    display: none;
  }
  .nav.is-open {
    display: flex;
  }
  .no-js .nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    box-shadow: none;
    border: 0;
    background: none;
    padding: 0;
  }
  .nav a {
    padding: 12px 10px;
    font-size: 17px;
  }
  .nav .btn {
    margin: 8px 0 0;
  }
  .hero .wrap,
  .problem,
  .control,
  .audience,
  .cta .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .demo {
    margin-top: 8px;
  }
  .steps,
  .onboarding {
    grid-template-columns: minmax(0, 1fr);
  }
  .onboarding li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .onboarding li:last-child {
    border-bottom: 0;
  }
  .ops {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .features,
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
  .screen {
    height: 580px;
  }
  .site-footer .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-links {
    justify-content: flex-start;
  }
  .form-foot .btn {
    width: 100%;
  }
  .prose {
    font-size: 17px;
  }
}

@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;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .nav-toggle,
  .demo,
  .cta,
  .aside,
  .related,
  .skip-link {
    display: none !important;
  }
  body {
    background: #fff;
  }
  .article-wrap {
    grid-template-columns: 1fr;
  }
}

/* Wellenform der Sprachnachricht (Höhen als Klassen, weil die CSP Inline-Styles sperrt) */
.wave .w2 { height: 20%; }
.wave .w3 { height: 30%; }
.wave .w4 { height: 40%; }
.wave .w5 { height: 50%; }
.wave .w6 { height: 60%; }
.wave .w7 { height: 70%; }
.wave .w8 { height: 80%; }
.wave .w9 { height: 90%; }

.center-actions {
  display: flex;
  justify-content: center;
  margin: 0;
}

/* Auswahl-Chips (statt <select>: grössere Tippflächen, keine WebKit-CSP-Meldung) */
fieldset.field {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
fieldset.field legend {
  padding: 0;
  margin-bottom: 6px;
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.choice-chip {
  position: relative;
  cursor: pointer;
}
.choice-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}
.choice-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.choice-chip:hover span {
  border-color: var(--accent);
}
.choice-chip input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.choice-chip input:focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Startseite: neun Funktionen in drei Spalten; bei zwei Spalten füllt die letzte Karte die Zeile */
.features--drei {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1040px) {
  .features--drei {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .features--drei > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) {
  .features--drei {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Branchen-Chips mit Link auf die Branchenseite */
.chips a {
  color: inherit;
  text-decoration: none;
}
.chips li:has(a) {
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.chips li:has(a):hover {
  border-color: var(--accent);
}
.chips a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 999px;
}

/* Beispiel-Diktat auf den Branchenseiten */
.beispiel {
  margin: 0;
  max-width: 760px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
  color: var(--ink);
}
.beispiel p {
  margin: 0;
}

.aside-cta .aside-link {
  margin: 14px 0 0;
  font-size: 14px;
}
.aside-cta .aside-link a {
  color: var(--ink-2);
}

/* Scrollbare Tabellen sind per Tastatur erreichbar (axe: scrollable-region-focusable) */
.table-scroll:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 12px;
}

/* Funktionen: Bausteine als verlinkte Kacheln (Startseite und Übersicht) */
.bausteine {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.baustein {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 20px 18px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.baustein:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.baustein:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.baustein .icon {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  background: var(--accent-soft);
  border-color: transparent;
}
.baustein strong {
  font-size: 17px;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--ink);
}
.baustein > span:not(.icon) {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
}
.baustein--alle {
  justify-content: center;
  background: var(--accent-soft);
  border-color: transparent;
}
.baustein--alle > span:not(.icon) {
  color: var(--ink-2);
}
.baustein--alle > svg {
  width: 22px;
  height: 22px;
  margin-top: 6px;
  color: var(--accent-strong);
}
.bereich + .bereich {
  margin-top: clamp(36px, 5vw, 56px);
}
.section .bereich h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
/* Ablauf mit vier Schritten (Übersicht Funktionen) */
.steps--vier {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1040px) {
  .bausteine,
  .steps--vier {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .bausteine,
  .steps--vier {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Beispiel-Abnahmeprotokoll (Wartung): reine Illustration, als Beispiel gekennzeichnet */
.protokoll {
  margin: 0;
  padding: 22px 24px 20px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  max-width: 460px;
  justify-self: center;
  width: 100%;
}
.protokoll figcaption {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.protokoll-kopf {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.protokoll-kopf strong {
  font-size: 18px;
  letter-spacing: -0.015em;
}
.protokoll-kopf span {
  font-size: 14.5px;
  color: var(--muted);
}
.protokoll ul {
  list-style: none;
  margin: 14px 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.protokoll li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 15.5px;
}
.protokoll li svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: none;
}
.protokoll dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--paper);
}
.protokoll dt {
  font-size: 12.5px;
  color: var(--muted);
}
.protokoll dd {
  margin: 0;
  font-weight: 650;
}
.protokoll-unterschrift {
  border-top: 1px dashed var(--line-strong);
  padding-top: 8px;
  color: var(--ink);
}
.protokoll-unterschrift svg {
  display: block;
  width: 200px;
  height: 52px;
}
.protokoll-unterschrift span {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

/* --------------------------------------------------------------- Suche */
.nav-suche {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-suche svg {
  width: 18px;
  height: 18px;
}
@media (min-width: 901px) {
  /* Auf breiten Bildschirmen nur die Lupe, der Name bleibt für Screenreader */
  .nav-suche span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}
.ratgeber-suche {
  padding: 0 0 clamp(24px, 4vw, 40px);
}
.ratgeber-suche .wrap {
  max-width: 1100px;
}
.ratgeber-suche .suche {
  max-width: 820px;
}
.suche-label {
  display: block;
  font-weight: 650;
  margin-bottom: 8px;
}
.suche-feld {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 16px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.suche-feld:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow), var(--shadow);
}
.suche-feld > svg {
  width: 20px;
  height: 20px;
  color: var(--muted);
  flex: none;
}
.suche-feld input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  padding: 8px 0;
}
.suche-feld input::-webkit-search-cancel-button {
  cursor: pointer;
}
.suche-hinweis {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.js .suche-hinweis {
  display: none;
}
.suche-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.suche-filter[hidden] {
  display: none;
}
.chip-filter {
  font: inherit;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink-2);
  cursor: pointer;
}
.chip-filter[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.chip-filter:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.suche-status {
  margin: 16px 0 0;
  color: var(--ink-2);
  font-size: 15px;
}
.suche-status:empty {
  display: none;
}
.suche-treffer {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.treffer {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.treffer:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.treffer:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.treffer-bereich {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.treffer-titel {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.treffer-auszug {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}
.treffer-auszug mark {
  background: var(--accent-soft);
  color: var(--ink);
  border-radius: 3px;
  padding: 0 2px;
}
.suche-mehr {
  margin-top: 14px;
}
.suche-mehr[hidden] {
  display: none;
}

/* Ratgeber: Bereiche als Kacheln */
.ratgeber-liste h2 {
  font-size: clamp(24px, 2.6vw, 30px);
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.bereich-kacheln {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.bereich-kachel {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 18px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.bereich-kachel h3 {
  font-size: 19px;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
}
.bereich-kachel h3 a {
  color: var(--ink);
  text-decoration: none;
}
.bereich-kachel h3 a:hover {
  text-decoration: underline;
}
.bereich-kachel > p {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}
.bereich-kachel ul {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 6px;
}
.bereich-kachel li a {
  color: var(--ink-2);
  font-size: 15px;
}
.bereich-alle {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 650;
  color: var(--accent-strong);
  text-decoration: none;
}
.bereich-alle svg {
  width: 16px;
  height: 16px;
}
.bereich-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.bereich-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink-2);
  text-decoration: none;
  font-size: 15px;
}
.bereich-links a:hover {
  border-color: var(--accent);
}
@media (max-width: 760px) {
  .bereich-kacheln {
    grid-template-columns: minmax(0, 1fr);
  }
  .suche-feld .btn {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* Am Artikelende: So geht es mit efatto schneller */
.efatto-kasten {
  margin: 36px 0 8px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid rgba(15, 122, 87, 0.18);
}
.efatto-kasten p {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}
.efatto-kasten .efatto-kasten-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.efatto-kasten-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 4px 0 0 !important;
}
.efatto-kasten-links a {
  font-weight: 650;
  color: var(--accent-strong);
}
.ratgeber-liste .efatto-kasten {
  margin-top: 28px;
}
