/* Komponenten der Leistungsseiten (Überblick, Beispiele, Rechner, Sicherheit, Einführung, Kontakt) */
[id] { scroll-margin-top: 96px; }

.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-box {
  width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--gruen); background: var(--gruen-matt); border: 1px solid rgba(77,255,122,.22); margin-bottom: 16px;
}

.eyebrow {
  display: inline-block; font-family: var(--mono); font-size: 14px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gruen); margin: 0 0 16px;
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; }
.hero h1 { margin: 0 0 20px; max-width: 24ch; }
.hero .lead { font-size: clamp(19px, 1.7vw, 21px); line-height: 1.6; color: #dde5df; max-width: 60ch; margin: 0 0 32px; }
.hero-split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1 var(--sans); color: #04150a; background: var(--gruen);
  border: 1px solid var(--gruen); border-radius: 10px; text-decoration: none;
  padding: 15px 24px; transition: box-shadow .2s, transform .2s, background .2s;
}
.knopf:hover, .knopf:focus-visible { color: #04150a; background: #7dffa0; box-shadow: 0 0 28px rgba(25,255,90,.45); transform: translateY(-1px); outline: none; }
.knopf.leise { background: transparent; color: var(--hell); border-color: var(--line-2); }
.knopf.leise:hover, .knopf.leise:focus-visible { border-color: var(--gruen); color: var(--gruen); box-shadow: none; }

/* Beispiel-Nachricht im Hero */
.vorschau {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-2); border-radius: 18px; padding: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 60px rgba(25,255,90,.06);
}
.vorschau-kopf { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.vorschau-kopf .punkt {
  width: 38px; height: 38px; border-radius: 50%; background: var(--gruen-matt); color: var(--gruen);
  display: flex; align-items: center; justify-content: center; border: 1px solid rgba(77,255,122,.3);
}
.vorschau-kopf b { display: block; color: var(--hell); font-size: 15px; }
.vorschau-kopf small { color: var(--muted); font-size: 13px; }
.vorschau-kopf time { margin-left: auto; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.vorschau ul { list-style: none; padding: 0; margin: 0; }
.vorschau li {
  display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45;
  background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; margin-bottom: 8px;
}
.vorschau li .ico { width: 18px; height: 18px; color: var(--gruen); margin-top: 2px; }
.vorschau li.frist .ico { color: #ffcf5a; }
.vorschau .fuss-notiz { font-size: 12.5px; color: var(--muted); margin: 12px 2px 0; }

/* Kennzahlen-Band */
.band {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
  margin: 0 0 24px; overflow: hidden;
}
.band div { padding: 24px 24px 22px; border-left: 1px solid var(--line); }
.band div:first-child { border-left: 0; }
.band b { display: block; font-size: 30px; line-height: 1.1; letter-spacing: -.02em; color: var(--gruen); margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.band span { font-size: 15.5px; color: var(--muted); line-height: 1.45; display: block; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 72px 0 0; }
.abschnitt-kopf { max-width: 720px; margin-bottom: 36px; }
.abschnitt-kopf h2 { margin: 0 0 14px; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; letter-spacing: -.02em; }
.abschnitt-kopf p { color: #d2dbd5; font-size: 19px; margin: 0 0 12px; }
.abschnitt-kopf p:last-child { margin-bottom: 0; }
.schmal { max-width: 760px; }

/* Kartenraster */
.raster-2, .raster-3, .raster-4 { display: grid; gap: 16px; }
.raster-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.raster-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.raster-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.kachel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 24px 22px; transition: border-color .2s;
}
.kachel:hover { border-color: var(--line-2); }
.kachel h3 { margin: 0 0 8px; font-size: 19px; }
.kachel p { margin: 0; font-size: 16.5px; line-height: 1.6; color: #d2dbd5; }

.hinweis-box {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--gruen-matt); border: 1px solid rgba(77,255,122,.22); border-radius: var(--radius);
  padding: 20px 24px; margin: 28px 0 0; font-size: 17.5px; color: var(--text);
}
.hinweis-box .ico { color: var(--gruen); margin-top: 3px; }
.hinweis-box p { margin: 0; }
.hinweis { font-size: 15px; color: var(--muted); }

/* Ablauf: Quellen -> KI-Mitarbeiter -> Freigabe -> Erledigt */
.ablauf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: ab; }
.ablauf .kachel { position: relative; counter-increment: ab; }
.ablauf .kachel::after {
  content: counter(ab, decimal-leading-zero); position: absolute; top: 22px; right: 22px;
  font-family: var(--mono); font-size: 13px; color: #7d9084;
}
.ablauf .kachel:not(:last-child)::before {
  content: ""; position: absolute; top: 44px; right: -17px; width: 18px; height: 1px; background: var(--line-2);
}

/* Beispieltag */
.tag-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; margin-top: 48px; }
.tag-wrap h3 { margin: 0 0 20px; font-size: 20px; }
.tag { border-left: 1px solid var(--line-2); margin: 0 0 12px 6px; padding: 2px 0 2px 26px; }
.tag div { position: relative; margin-bottom: 20px; font-size: 17px; line-height: 1.55; }
.tag div:last-child { margin-bottom: 0; }
.tag div::before {
  content: ""; position: absolute; left: -31px; top: 6px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--gruen); box-shadow: 0 0 10px rgba(25,255,90,.6);
}
.tag time { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--gruen); display: block; margin-bottom: 2px; }
.zitat {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; font-size: 18px; line-height: 1.65; color: #dde5df;
}
.zitat p:last-child { margin: 0; }

/* Wegweiser */
.wegweiser a { display: block; text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s, box-shadow .2s; }
.wegweiser a:hover, .wegweiser a:focus-visible { border-color: rgba(77,255,122,.5); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,.35); outline: none; }
.wegweiser .weiter { display: inline-block; margin-top: 14px; font-size: 15.5px; font-weight: 600; color: var(--gruen); }

/* ---------- Beispiele ---------- */
.schnell { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0 0 40px; }
.schnell a {
  display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; text-decoration: none; color: var(--text); font-size: 16px; font-weight: 500;
  transition: border-color .2s, color .2s;
}
.schnell a .ico { width: 18px; height: 18px; color: var(--gruen); }
.schnell a:hover, .schnell a:focus-visible { border-color: rgba(77,255,122,.5); color: var(--hell); outline: none; }

.agenten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.agent {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 22px; display: flex; flex-direction: column;
}
.agent-kopf { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.agent-kopf .ico-box { margin: 0; }
.agent .nr { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; display: block; margin-bottom: 2px; }
.agent h3 { margin: 0; font-size: 21px; }
.agent .kurz { color: #dde5df; margin: 0 0 14px; font-size: 17.5px; }
.agent ul { list-style: none; padding: 0; margin: 0 0 16px; font-size: 16.5px; }
.agent ul li { position: relative; padding-left: 26px; margin-bottom: 7px; line-height: 1.5; }
.agent ul li::before {
  content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px;
  border-left: 2px solid var(--gruen); border-bottom: 2px solid var(--gruen); transform: rotate(-45deg);
}
.agent .fall {
  margin: auto 0 0; font-size: 16px; line-height: 1.55; background: rgba(77,255,122,.06);
  border-radius: 10px; padding: 12px 14px; color: var(--text);
}
.agent .fall strong { color: var(--gruen); }
.agent .zur-seite { display: inline-block; margin-top: 12px; font-size: 15.5px; font-weight: 600; color: var(--gruen); text-decoration: none; }
.agent .zur-seite:hover, .agent .zur-seite:focus-visible { text-decoration: underline; }
.mehr { margin: 0 0 14px; }
.mehr summary {
  cursor: pointer; list-style: none; font-size: 15.5px; font-weight: 600; color: var(--gruen);
  display: inline-flex; align-items: center; gap: 6px;
}
.mehr summary::-webkit-details-marker { display: none; }
.mehr summary::after { content: "+"; font-family: var(--mono); }
.mehr[open] summary::after { content: "–"; }
.mehr p { margin: 10px 0 0; font-size: 16.5px; line-height: 1.6; color: #d2dbd5; }
.mehr summary:focus-visible { outline: 2px solid var(--gruen); outline-offset: 3px; border-radius: 4px; }

/* ---------- Einführung: Zeitleiste ---------- */
.schritte { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.schritte li {
  counter-increment: s; position: relative; margin: 0;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px;
  font-size: 16px; line-height: 1.55; color: #d2dbd5;
}
.schritte li::before {
  content: counter(s); display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; margin-bottom: 14px;
  font: 700 14px var(--sans); color: #04150a; background: var(--gruen);
}
.schritte b { display: block; color: var(--hell); font-size: 18px; margin-bottom: 6px; }
.schritte.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* FAQ */
.fragen { max-width: 820px; }
.fragen details { border-bottom: 1px solid var(--line); }
.fragen details:first-child { border-top: 1px solid var(--line); }
.fragen summary {
  cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative;
  color: var(--hell); font-weight: 600; font-size: 18.5px;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: "+"; position: absolute; right: 4px; top: 16px; width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--gruen); background: var(--gruen-matt);
}
.fragen details[open] summary::after { content: "–"; }
.fragen summary:focus-visible { outline: 2px solid var(--gruen); outline-offset: 4px; border-radius: 4px; }
.fragen details p { margin: 0 0 22px; color: #d2dbd5; max-width: 70ch; }

/* ---------- Kontakt ---------- */
.kontaktkarte { background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; padding: 10px 26px; }
.kontaktkarte a, .kontaktkarte div.zeile {
  display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--text);
}
.kontaktkarte > :last-child { border-bottom: 0; }
.kontaktkarte .ico-box { margin: 0; }
.kontaktkarte small { display: block; color: var(--muted); font-size: 14px; }
.kontaktkarte b { color: var(--hell); font-weight: 600; font-size: 16.5px; }
.kontaktkarte a:hover b { color: var(--gruen); }

/* ---------- Abschluss ---------- */
.cta {
  position: relative; overflow: hidden; text-align: center;
  background: radial-gradient(ellipse 70% 120% at 50% 0%, rgba(25,255,90,.14), transparent 70%), var(--panel);
  border: 1px solid rgba(77,255,122,.3); border-radius: 20px;
  padding: 56px 32px 48px; margin: 88px 0 0;
}
.cta h2 { margin: 0 0 12px; font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.02em; }
.cta p { color: #d2dbd5; max-width: 52ch; margin: 0 auto 28px; font-size: 18px; }
.cta .direkt { margin: 22px auto 0; font-size: 16px; color: var(--muted); }
.cta .direkt a { white-space: nowrap; }

/* Blättern */
.blaettern { display: flex; justify-content: space-between; gap: 16px; margin: 40px 0 0; }
.blaettern a {
  flex: 1 1 0; display: block; text-decoration: none; color: var(--hell); font-weight: 600;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; transition: border-color .2s;
}
.blaettern a:hover, .blaettern a:focus-visible { border-color: rgba(77,255,122,.5); outline: none; }
.blaettern a small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-bottom: 2px; }
.blaettern a.vor { text-align: right; }
.blaettern span.leer { flex: 1 1 0; }

/* ---------- Vergleichsrechner ---------- */
.rw {
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px;
  padding: 30px 32px 26px; box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.rw-wahl { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.rw-wahl button {
  font: 500 15px var(--sans); color: var(--text); background: transparent; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 16px;
  transition: border-color .2s, color .2s, background .2s;
}
.rw-wahl button:hover { border-color: rgba(77,255,122,.5); color: var(--hell); }
.rw-wahl button[aria-pressed="true"] { background: var(--gruen); border-color: var(--gruen); color: #04150a; font-weight: 600; }
.rw-wahl button:focus-visible, .rw input:focus-visible { outline: 2px solid var(--gruen); outline-offset: 2px; }
.rw-eingaben { display: flex; flex-wrap: wrap; gap: 18px 32px; margin-bottom: 28px; }
.rw-feld { display: flex; flex-direction: column; gap: 8px; font-size: 15.5px; color: var(--muted); }
.rw-feld-breit { flex: 1 1 320px; }
.rw-regler { display: flex; align-items: center; gap: 14px; }
.rw input[type="number"] {
  font: 500 16px var(--sans); font-variant-numeric: tabular-nums; color: var(--hell);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px;
  padding: 9px 12px; width: 104px; -moz-appearance: textfield;
}
.rw input[type="number"]::-webkit-outer-spin-button,
.rw input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rw input[type="range"] { flex: 1 1 auto; min-width: 0; accent-color: #4dff7a; height: 28px; }
.rw-balken { margin: 0 0 28px; }
.rw-bz { display: grid; grid-template-columns: 170px 1fr; gap: 4px 16px; align-items: center; margin-bottom: 14px; }
.rw-bl { font-size: 14px; font-weight: 600; color: var(--muted); }
.rw-bb { display: block; height: 14px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.rw-bb i { display: block; height: 100%; width: 0; background: #5d6f63; border-radius: 999px; transition: width .45s cubic-bezier(.2,.8,.2,1); }
.rw-ki .rw-bb i { background: var(--gruen); box-shadow: 0 0 12px rgba(25,255,90,.6); }
.rw-ki .rw-bl { color: var(--gruen); }
.rw-bw { grid-column: 2; font-size: 15px; color: var(--muted); }
.rw-kopf, .rw-z { display: grid; grid-template-columns: 1fr 96px 96px; gap: 12px; align-items: center; }
.rw-kopf { font-size: 13px; font-weight: 600; color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--line); line-height: 1.35; }
.rw-kopf span:nth-child(2), .rw-kopf span:nth-child(3) { text-align: right; }
.rw-kopf span:nth-child(3) { color: var(--gruen); }
.rw-z { padding: 10px 0; border-bottom: 1px solid var(--line); }
.rw-z input[type="number"] { width: 100%; text-align: right; }
.rw-n { font-size: 16.5px; line-height: 1.35; color: var(--hell); }
.rw-n small { display: block; font-size: 14px; color: var(--gruen); margin-top: 3px; }
.rw-n small.rw-bleibt { color: var(--muted); }
.rw-ergebnis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 28px 0 20px; }
.rw-k { border: 1px solid rgba(77,255,122,.25); border-radius: var(--radius); padding: 20px 20px 18px; background: var(--gruen-matt); }
.rw-k b {
  display: block; font-size: clamp(28px, 3.6vw, 38px); line-height: 1.05; letter-spacing: -.02em;
  color: var(--gruen); margin-bottom: 8px; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.rw-k span { font-size: 15.5px; color: var(--text); line-height: 1.4; display: block; }
.rw-k em { font-style: normal; color: var(--muted); }
.rw-neben { font-size: 16px; margin: 0 0 14px; }
.rw .hinweis { margin: 0; }

/* ---------- Responsiv ---------- */
@media (max-width: 1000px) {
  .hero-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .raster-4, .ablauf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ablauf .kachel::before { display: none; }
  .schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schnell { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band div:nth-child(3) { border-left: 0; }
  .band div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tag-wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .hero { padding: 44px 0 36px; }
  .abschnitt { padding-top: 56px; }
  .raster-2, .raster-3, .raster-4, .ablauf, .agenten, .schritte, .schritte.drei { grid-template-columns: minmax(0, 1fr); }
  .schnell { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .knoepfe .knopf { flex: 1 1 100%; }
  .cta { padding: 40px 20px 34px; margin-top: 64px; }
  .cta .knopf { width: 100%; }
  .blaettern { flex-direction: column; }
  .blaettern a.vor { text-align: left; }
  .rw { padding: 22px 16px 18px; }
  .rw-bz { grid-template-columns: minmax(0, 1fr); }
  .rw-bw { grid-column: 1; }
  .rw-kopf, .rw-z { grid-template-columns: 1fr 70px 70px; gap: 8px; }
  .rw-ergebnis { grid-template-columns: minmax(0, 1fr); }
  .agent { padding: 22px 20px 18px; }
}
@media (max-width: 420px) {
  .band { grid-template-columns: minmax(0, 1fr); }
  .band div { border-left: 0; border-top: 1px solid var(--line); }
  .band div:first-child { border-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rw-bb i, .knopf, .wegweiser a { transition: none; }
}

.abschnitt-kopf p.eyebrow { color: var(--gruen); font-size: 14px; margin: 0 0 14px; }

h1, h2, .hero h1 { text-wrap: balance; }
.agent-kopf > div { min-width: 0; }
