/* KI-Sichtbarkeit. Eigene Gestaltung für diese Seite: Papierweiss, Kugelschreiber-Blauschwarz,
   Leuchtstift-Gelb als einziges Signal (genannt werden heisst markiert werden), Korrekturrot nur fürs Durchstreichen.
   Eine Schrift: Schibsted Grotesk, schwer und gross. Keine Karten mit Schatten, keine Rundungen. */
:root {
  --papier: #f3f3f0;
  --papier-hell: #ffffff;
  --blatt: #ffffff;
  --tinte: #161a2b;
  --tinte-weich: #545868;
  --violett: #161a2b;
  --gelb: #ffe44d;
  --rot: #c8321f;
  --linie: rgba(22, 26, 43, 0.16);
  --schrift-titel: var(--schrift-text);
}
html { background: var(--papier); color: var(--tinte); }
.ki { background: var(--papier); color: var(--tinte); }
.ki h1, .ki h2 { font-weight: 800; letter-spacing: -0.032em; }
.nur-vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ki-breite { max-width: 1180px; margin: 0 auto; padding-inline: clamp(16px, 5vw, 64px); }
mark { background: linear-gradient(transparent 12%, var(--gelb) 12%, var(--gelb) 88%, transparent 88%); color: inherit; padding-inline: 0.12em; }

/* Kopf bleibt oben, damit der Gratis-Check immer einen Klick entfernt ist */
.ki .kopf { position: sticky; top: 0; background: var(--papier); border-bottom: 1.5px solid var(--tinte); padding-block: 10px; padding-inline: max(clamp(16px, 5vw, 64px), calc((100% - 1180px) / 2 + 64px)); }
.ki .kopf-link { color: var(--tinte); }
.ki .kopf-kontakt { background: var(--gelb); padding: 8px 12px; font-weight: 700; border: 1.5px solid var(--tinte); transition: background-color 0.2s ease, color 0.2s ease; }
.ki .kopf-kontakt:hover { background: var(--tinte); color: var(--gelb); }

/* Knopf: Leuchtstift-Gelb mit Tintenrand, die eine Hauptaktion */
.knopf { display: inline-block; border: 1.5px solid var(--tinte); border-radius: 0; background: var(--gelb); color: var(--tinte); font: 700 1.08rem/1.2 var(--schrift-text); padding: 17px 26px; text-decoration: none; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.knopf:hover { background: var(--tinte); color: var(--gelb); }
.knopf:active { transform: translateY(1px); }
.knopf-leise { background: transparent; padding: 11px 16px; font-size: 0.98rem; }
.knopf-leise:hover { background: var(--tinte); color: var(--papier-hell); }

/* Held: Titel über die ganze Breite, darunter Text links und die Antwort rechts */
.held { display: grid; gap: clamp(28px, 4vw, 48px) clamp(32px, 6vw, 88px); padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(64px, 9vw, 120px); }
@media (min-width: 940px) { .held { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } .held-titel { grid-column: 1 / -1; } }
.ort-zeile { font-weight: 600; font-size: 0.98rem; color: var(--tinte-weich); margin-bottom: 0.9rem; }
.held h1 { font-size: clamp(2.45rem, 5.2vw, 4.2rem); line-height: 0.98; text-wrap: wrap; }
@media (min-width: 940px) { .held h1 { font-size: clamp(2.8rem, 4.2vw, 4rem); } .held h1 span { display: block; } }
.lead { max-width: 33rem; font-size: clamp(1.12rem, 1.5vw, 1.25rem); line-height: 1.5; }
.held-aktion { margin-top: 1.8rem; }
.knopf-zusatz { margin-top: 0.8rem; font-size: 0.92rem; color: var(--tinte-weich); }

/* Die nachgestellte Antwort: ein Blatt, keine Chat-Blase */
.antwort { margin: 0; min-width: 0; }
.umschalter { display: inline-flex; margin: 0 0 -1.5px; padding: 0; border: 0; min-inline-size: 0; }
.umschalter input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.umschalter label { padding: 9px 16px; border: 1.5px solid var(--tinte); font-weight: 700; font-size: 0.92rem; line-height: 1.2; cursor: pointer; background: var(--papier); transition: background-color 0.25s ease, color 0.25s ease; }
.umschalter label + input + label { border-left: 0; }
.umschalter input:checked + label { background: var(--tinte); color: var(--papier-hell); }
.umschalter input:focus-visible + label { outline: 3px solid var(--gelb); outline-offset: 0; }
.fenster { background: var(--blatt); border: 1.5px solid var(--tinte); padding: clamp(18px, 2.6vw, 28px); }
.frage-von { font-size: 0.85rem; color: var(--tinte-weich); }
.frage { margin-top: 0.4rem; font-size: clamp(1.12rem, 1.7vw, 1.32rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.ki-text { margin-top: 1.2rem; }
.ki-text > p { color: var(--tinte-weich); }
.namen { list-style: none; padding: 0; margin: 10px 0 0; counter-reset: platz; display: grid; }
.namen li { display: grid; grid-template-rows: 1fr; counter-increment: platz; transition: grid-template-rows 0.6s cubic-bezier(0.3, 0.7, 0.2, 1), opacity 0.45s ease; }
.namen .zeile { overflow: hidden; min-height: 0; }
.namen .inhalt { position: relative; padding: 12px 0 12px 42px; border-top: 1px solid var(--linie); }
.namen .inhalt::before { content: counter(platz); position: absolute; left: 0; top: 8px; font-weight: 800; font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.namen b { display: block; font-weight: 700; font-size: 1.05rem; }
.grund { display: block; margin-top: 2px; font-size: 0.92rem; line-height: 1.4; color: var(--tinte-weich); }
.balken { display: inline-block; width: 6.6em; height: 0.9em; vertical-align: -0.08em; background: var(--tinte); }
.namen li:nth-child(3) .balken { width: 4.8em; }
.namen li:nth-child(4) .balken { width: 7.8em; }
.markiert { background: linear-gradient(transparent 10%, var(--gelb) 10%, var(--gelb) 90%, transparent 90%) 0 0 / 0% 100% no-repeat; transition: background-size 0.7s 0.35s cubic-bezier(0.5, 0, 0.2, 1); padding-inline: 0.12em; }
.quelle { display: block; margin-top: 4px; font-size: 0.82rem; color: var(--tinte-weich); text-decoration: underline; text-underline-offset: 0.2em; }
.quelle::before { content: 'Quelle: '; }
.befunde { display: grid; margin-top: 16px; }
.befund { grid-area: 1 / 1; font-weight: 800; font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.2; letter-spacing: -0.015em; transition: opacity 0.35s ease; }
.befund-heute b { color: var(--rot); }
.befund-nachher b { background: linear-gradient(transparent 12%, var(--gelb) 12%, var(--gelb) 88%, transparent 88%); padding-inline: 0.1em; }
.antwort figcaption { margin-top: 8px; font-size: 0.84rem; color: var(--tinte-weich); max-width: 36rem; }

/* Heute fehlt die eigene Firma. Im Ziel steht sie in der Liste, die letzte Firma fällt weg. */
.namen .eigene { grid-template-rows: 0fr; opacity: 0; visibility: hidden; counter-increment: none; transition: grid-template-rows 0.6s cubic-bezier(0.3, 0.7, 0.2, 1), opacity 0.45s ease, visibility 0s 0.6s; }
.befund-nachher { opacity: 0; visibility: hidden; }
.antwort:has(#ansicht-nachher:checked) .eigene { grid-template-rows: 1fr; opacity: 1; visibility: visible; counter-increment: platz; transition: grid-template-rows 0.6s cubic-bezier(0.3, 0.7, 0.2, 1), opacity 0.45s 0.15s ease, visibility 0s; }
.antwort:has(#ansicht-nachher:checked) .markiert { background-size: 100% 100%; }
.antwort:has(#ansicht-nachher:checked) .letzte { grid-template-rows: 0fr; opacity: 0; visibility: hidden; counter-increment: none; transition: grid-template-rows 0.6s cubic-bezier(0.3, 0.7, 0.2, 1), opacity 0.3s ease, visibility 0s 0.6s; }
.antwort:has(#ansicht-nachher:checked) .befund-heute { opacity: 0; visibility: hidden; }
.antwort:has(#ansicht-nachher:checked) .befund-nachher { opacity: 1; visibility: visible; }

/* Abschnitte. Unterhalb des Einstiegs rechnet der Browser sie erst, wenn sie in die Nähe kommen. */
.band { padding-block: clamp(64px, 9vw, 128px); border-top: 1.5px solid var(--tinte); content-visibility: auto; contain-intrinsic-size: auto 1000px; }
.band h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1; max-width: 18ch; }
.band-lead { margin-top: 1.1rem; max-width: 38rem; font-size: clamp(1.08rem, 1.4vw, 1.2rem); }
.band h3 { font-weight: 800; font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.2; letter-spacing: -0.012em; margin: 0; }
.zwei { display: grid; gap: clamp(36px, 6vw, 88px); }
@media (min-width: 900px) { .zwei { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.belege { list-style: none; padding: 0; margin: clamp(28px, 4vw, 44px) 0 0; display: grid; gap: 0 clamp(28px, 5vw, 64px); border-top: 1.5px solid var(--tinte); }
@media (min-width: 760px) { .belege { grid-template-columns: 1fr 1fr; } }
.belege li { display: flex; gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--linie); }
.beleg-zahl { flex: none; min-width: 2.5em; font-weight: 800; font-size: clamp(1.9rem, 3.2vw, 2.5rem); line-height: 1; letter-spacing: -0.04em; }
.beleg-quelle { display: block; margin-top: 8px; font-size: 0.86rem; color: var(--tinte-weich); }
.beleg-quelle a { color: inherit; }
.zusagen { list-style: none; padding: 0; margin: 1.2rem 0 0; max-width: 38rem; border-top: 1.5px solid var(--tinte); }
.zusagen li { padding: 14px 0; border-bottom: 1px solid var(--linie); }
.zusagen strong { font-weight: 800; }
.handwerk { margin-top: 1.4rem; font-size: 0.98rem; color: var(--tinte-weich); max-width: 34rem; }

/* Platz 7: zwei Zahlenreihen untereinander. Oben ist Ihre Firma markiert, unten gibt es Platz 4 bis 10 nicht mehr. */
.reihen { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: clamp(32px, 4vw, 48px); }
.reihe h3 { font-size: 1rem; font-weight: 700; color: var(--tinte-weich); letter-spacing: 0; }
.zahlen { list-style: none; padding: 0; margin: 10px 0 12px; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); border-top: 1.5px solid var(--tinte); }
.zahlen li { padding-top: 10px; font-weight: 800; font-size: clamp(1.5rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.zahlen .sie { background: linear-gradient(var(--gelb), var(--gelb)) 0 10px / 100% calc(100% - 10px) no-repeat; padding-left: 0.08em; }
.zahlen .weg { color: #767987; text-decoration: line-through; text-decoration-color: var(--rot); text-decoration-thickness: 0.07em; }
.reihe > p { max-width: 38rem; color: var(--tinte-weich); }
.drei { list-style: none; padding: 0; margin: clamp(56px, 8vw, 96px) 0 0; display: grid; gap: 32px; }
@media (min-width: 820px) { .drei { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); } }
.drei li { padding-top: 16px; border-top: 1.5px solid var(--tinte); }
.drei p { margin-top: 0.5rem; color: var(--tinte-weich); }

/* Was Sie bekommen */
.bekommen h3 { margin-bottom: 1.1rem; }
.ki .haken { gap: 16px; }
.ki .haken li { padding-left: 32px; }
.ki .haken li::before { border-color: var(--tinte); }

/* So sieht der Gratis-Check aus: ein Bericht als Tabelle */
.bericht { margin: clamp(32px, 5vw, 56px) 0 0; }
.bericht table { width: 100%; border-collapse: collapse; background: var(--blatt); border: 1.5px solid var(--tinte); }
.bericht th, .bericht td { text-align: left; vertical-align: top; padding: 14px 16px; border-top: 1px solid var(--linie); }
.bericht thead th { border-top: 0; border-bottom: 1.5px solid var(--tinte); font-size: 0.88rem; font-weight: 700; }
.bericht tbody th { font-weight: 600; width: 40%; }
.bericht td { font-weight: 600; white-space: nowrap; }
.bericht .fehlt { color: var(--tinte-weich); font-weight: 500; }
.bericht .da { color: var(--tinte); }
.bericht .da::before { content: ''; display: inline-block; width: 0.7em; height: 0.7em; margin-right: 0.45em; background: var(--gelb); outline: 1.5px solid var(--tinte); vertical-align: -0.02em; }
.bericht figcaption { margin-top: 10px; font-size: 0.86rem; color: var(--tinte-weich); }
@media (max-width: 720px) {
  .bericht table, .bericht tbody, .bericht tr, .bericht th, .bericht td { display: block; width: auto; }
  .bericht thead { display: none; }
  .bericht tbody tr { padding: 14px 16px; border-top: 1px solid var(--linie); }
  .bericht tbody tr:first-child { border-top: 0; }
  .bericht tbody th { width: auto; padding: 0 0 8px; border: 0; }
  .bericht td { display: flex; justify-content: space-between; padding: 4px 0; border: 0; }
  .bericht td::after { content: attr(data-dienst); order: -1; flex: 1; font-weight: 500; color: var(--tinte-weich); }
  .bericht .da::before { align-self: center; }
}

/* Drei Schritte: eine echte Reihenfolge, darum mit Zahlen */
.schritte { list-style: none; padding: 0; margin: clamp(36px, 5vw, 64px) 0 0; display: grid; gap: 40px; }
@media (min-width: 820px) { .schritte { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); } }
.schritte li { border-top: 1.5px solid var(--tinte); padding-top: 14px; }
.schritt-zahl { font-weight: 800; font-size: clamp(3.4rem, 6vw, 5rem); line-height: 0.9; letter-spacing: -0.05em; margin-bottom: 18px; }
.schritte h3 { margin-bottom: 0.5rem; }
.schritte p:not(.schritt-zahl) { max-width: 30rem; }
.schritt-ergebnis { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--linie); font-size: 0.98rem; color: var(--tinte-weich); }
.schritt-ergebnis span { display: block; font-weight: 700; color: var(--tinte); }

/* Preise: eine ruhige Preisliste, der Preis steht rechts */
.preise { list-style: none; padding: 0; margin: clamp(36px, 5vw, 64px) 0 0; border-top: 1.5px solid var(--tinte); }
.stufe { display: grid; gap: 10px 32px; grid-template-columns: minmax(0, 1fr) auto; padding: 24px 0; border-bottom: 1px solid var(--linie); }
.stufe-name { grid-column: 1; }
.stufe-name h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.stufe-name p { margin-top: 0.25rem; font-weight: 600; }
.betrag { grid-column: 2; grid-row: 1; text-align: right; font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.05; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.betrag span { font-variant-numeric: normal; display: block; margin-top: 6px; font-size: 0.82rem; font-weight: 500; letter-spacing: 0; color: var(--tinte-weich); }
.stufe-inhalt { grid-column: 1 / -1; }
.stufe-inhalt ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.stufe-inhalt li { position: relative; padding-left: 18px; }
.stufe-inhalt li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; background: var(--tinte); }
.stufe-hinweis { margin-top: 10px; font-size: 0.9rem; color: var(--tinte-weich); }
.einfuehrung { margin-top: 14px; font-size: 1rem; }
.einfuehrung mark { font-weight: 800; }
@media (min-width: 860px) {
  .stufe { grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 2fr); padding: 30px 0; }
  .stufe-inhalt { grid-column: 2; grid-row: 1; }
  .betrag { grid-column: 3; }
}
.hervor { background: var(--blatt); margin-inline: calc(-1 * clamp(14px, 2vw, 24px)); padding-inline: clamp(14px, 2vw, 24px); border-bottom-color: var(--tinte); }
.preis-aktion { margin-top: 28px; }
.preis-hinweis { margin-top: 14px; font-size: 0.92rem; color: var(--tinte-weich); }

/* Die ersten fünf: ein Register mit freien Linien, auf die später die Namen kommen */
.plaetze { list-style: none; padding: 0; margin: 0; align-self: center; border-top: 1.5px solid var(--tinte); }
.plaetze li { display: flex; align-items: baseline; gap: 18px; padding: 16px 0 10px; border-bottom: 1px solid var(--linie); }
.plaetze .nr { width: 1.3em; font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; letter-spacing: -0.04em; }
.platz-linie { flex: 1; }
.platz-text { font-size: 0.95rem; font-weight: 600; color: var(--tinte-weich); }
.plaetze .vergeben .platz-text { flex: 1; color: var(--tinte); }

/* Person */
.person { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; max-width: 900px; }
.person .portrait { display: block; width: clamp(96px, 16vw, 150px); border: 1.5px solid var(--tinte); }
.person img { display: block; width: 100%; height: auto; }
.person h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.person p { margin-top: 1rem; max-width: 40rem; }
.person a { text-decoration-color: var(--tinte); text-decoration-thickness: 1.5px; text-underline-offset: 0.18em; }
.person a:hover { background: var(--gelb); }
@media (max-width: 560px) { .person { grid-template-columns: 1fr; } }

/* Fragen */
.ki-faq { margin-top: clamp(32px, 5vw, 56px); display: grid; column-gap: clamp(32px, 5vw, 72px); border-bottom: 1px solid var(--linie); }
.ki-faq h3 { font-size: 1.18rem; padding-top: 22px; border-top: 1px solid var(--linie); }
.ki-faq p { margin: 0.5rem 0 22px; max-width: 40rem; color: var(--tinte-weich); }
.ki-faq a { color: var(--tinte); }
@media (min-width: 900px) { .ki-faq { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } .ki-faq h3 { grid-column: 1; padding-bottom: 22px; } .ki-faq p { grid-column: 2; margin: 0; padding: 22px 0; border-top: 1px solid var(--linie); } }

/* Formular: ein Blatt mit klaren Feldern */
.formular { display: grid; gap: 16px; background: var(--blatt); border: 1.5px solid var(--tinte); padding: clamp(20px, 3.5vw, 36px); }
@media (min-width: 600px) { .formular { grid-template-columns: 1fr 1fr; } .feld-breit { grid-column: 1 / -1; } }
.feld { display: grid; gap: 6px; font-weight: 700; font-size: 0.95rem; }
.feld i { font-style: normal; font-weight: 500; color: var(--tinte-weich); }
.feld input { width: 100%; font: 500 1.06rem/1.3 var(--schrift-text); color: var(--tinte); background: var(--blatt); border: 1.5px solid rgba(22, 26, 43, 0.45); border-radius: 0; padding: 13px 14px; transition: border-color 0.2s ease; }
.feld input::placeholder { color: rgba(84, 88, 104, 0.6); }
.feld input:focus { outline: none; border-color: var(--tinte); box-shadow: 0 0 0 3px var(--gelb); }
.feld input[aria-invalid='true'] { border-color: var(--rot); }
.formular .knopf { width: 100%; }
@media (min-width: 600px) { .formular .knopf { width: auto; } }
.formular-hinweis { font-size: 0.86rem; color: var(--tinte-weich); }
.formular-fehler { color: var(--rot); font-weight: 700; }
.formular-danke { padding: 18px; background: #fff8cc; border: 1.5px solid var(--tinte); }
.formular-danke p + p { margin-top: 0.6rem; }
.formular-danke textarea { display: block; width: 100%; margin: 12px 0; font: 0.92rem/1.45 var(--schrift-text); padding: 10px; border: 1px solid var(--linie); border-radius: 0; background: #fff; resize: vertical; }
.ohne-js { grid-column: 1 / -1; }
.stand { margin-top: 18px; font-size: 0.86rem; color: var(--tinte-weich); }

@media (prefers-reduced-motion: reduce) {
  .namen li, .namen .eigene, .markiert, .befund, .knopf { transition: none !important; }
}
