/* Gemeinsames Landingpage-CSS für /kleinunternehmer und
   /verfahrensdokumentation — GENERIERT aus dem Repo
   "kleinunternehmer" (deploy_flask.py). Nicht von Hand ändern. */

/* ==========================================================================
   NEU — nur für diese Landingpage
   ========================================================================== */

/* --- Abschnitte --- */
.abschnitt { margin: 0 0 48px; }
.abschnitt > h2 { margin-bottom: 0.6em; }
.abschnitt .lead { font-size: 15px; color: #444; max-width: 760px; }

.eyebrow {
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    color: #b01c41; font-weight: 600; margin: 0 0 6px;
}

.kern {
    border-left: 4px solid #b01c41; background: #faf7f8;
    padding: 18px 22px; margin: 24px 0; max-width: 820px;
}
.kern p { margin: 0; font-size: 15px; color: #444; }
.kern p + p { margin-top: 10px; }

/* --- Inhaltsverzeichnis --- */
.inhalt { border: 1px solid #ebebeb; padding: 18px 22px; margin: 0 0 40px; background: #fcfcfc; }
.inhalt h2 { font-size: 13px; color: #505050; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.inhalt ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 40px; }
.inhalt li { font-size: 13px; margin-bottom: 5px; break-inside: avoid; }
@media (max-width: 700px) { .inhalt ol { columns: 1; } }

/* --- Tabellen --- */
.tab { width: 100%; border-collapse: collapse; margin: 18px 0; }
.tab thead th {
    font-size: 12px; font-weight: 600; color: #505050; text-align: left;
    padding: 8px 10px; border-bottom: 2px solid #ebebeb;
}
.tab tbody td { padding: 10px; border-bottom: 1px solid #f0f0f0; font-size: 13.5px; vertical-align: top; }
.tab tbody td:first-child { font-weight: 600; color: #444; width: 34%; }
.tab tbody tr:hover { background: #fafafa; }
.tab .ja { color: #2f6b3a; font-weight: 600; }
.tab .nein { color: #b01c41; font-weight: 600; }
.tab .nein-betont { color: #b01c41; font-weight: 700; font-size: 15px; }

/* Banner-Kopf: Hauptzeile + Kleingewerbe-Hingucker + Themenzeile */
#banner h1.banner-haupt { font-size: 34px; font-weight: 300; color: #1a2b4a; line-height: 1.2; }
#banner h1.banner-haupt strong { font-weight: 600; }
.banner-punch { margin-top: 24px; }
.banner-punch .gross { font-size: 26px; font-weight: 300; line-height: 1.35; }
.banner-punch .gross .weg { text-decoration: line-through; text-decoration-color: #b01c41; text-decoration-thickness: 3px; color: #999; }
.banner-punch .gross .rot { color: #b01c41; font-weight: 700; }
.banner-punch .erklaer { margin-top: 10px; font-size: 15px; color: #505050; max-width: 760px; }
.banner-titelzeile { margin-top: 28px; padding-top: 22px; border-top: 1px solid #ddd; }
.banner-titelzeile .thema { font-size: 20px; font-weight: 300; margin: 0; color: #505050; }

/* Wiederkehrender Angebots-CTA unter den Abschnitten */
.angebot-cta { text-align: center; margin: 34px 0 4px; }
.angebot-cta a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 22px; border: 1px solid #1a2b4a; border-radius: 999px; color: #1a2b4a; text-decoration: none; font-size: 14px; font-weight: 600; transition: background .15s, color .15s; }
.angebot-cta a:hover { background: #1a2b4a; color: #fff; }
.angebot-cta svg { width: 16px; height: 16px; }
.tab .teils { color: #8a6512; font-weight: 600; }
.tab-scroll { overflow-x: auto; }

/* --- Vor- und Nachteile --- */
.vn { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0; }
@media (max-width: 800px) { .vn { grid-template-columns: 1fr; } }
.vn-karte { border: 1px solid #ebebeb; padding: 22px 24px; }
.vn-karte.plus { border-top: 4px solid #2f6b3a; }
.vn-karte.minus { border-top: 4px solid #b01c41; }
.vn-karte h3 { margin-top: 0; font-size: 15px; }
.vn-karte ul { margin: 0; padding: 0; list-style: none; }
.vn-karte li { font-size: 13.5px; padding: 10px 0 10px 22px; position: relative; border-bottom: 1px solid #f4f4f4; }
.vn-karte li:last-child { border-bottom: 0; }
.vn-karte li b { display: block; color: #444; margin-bottom: 2px; }
.vn-karte.plus li::before {
    content: "+"; position: absolute; left: 0; top: 9px;
    color: #2f6b3a; font-weight: 700; font-size: 15px;
}
.vn-karte.minus li::before {
    content: "−"; position: absolute; left: 0; top: 9px;
    color: #b01c41; font-weight: 700; font-size: 15px;
}

/* --- Rechner --- */
.rechner { border: 1px solid #ebebeb; background: #fff; }
.rechner-kopf { background: #F6F6F6; border-bottom: 1px solid #ebebeb; padding: 18px 24px; }
.rechner-kopf h3 { margin: 0 0 4px; color: #505050; font-size: 16px; }
.rechner-kopf p { margin: 0; font-size: 12.5px; color: #777; }
.rechner-koerper { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 800px) { .rechner-koerper { grid-template-columns: 1fr; } }
.rechner-eingabe { padding: 24px; border-right: 1px solid #ebebeb; }
@media (max-width: 800px) { .rechner-eingabe { border-right: 0; border-bottom: 1px solid #ebebeb; } }
.rechner-eingabe label { font-size: 12.5px; margin-bottom: 5px; }
.rechner-eingabe label .frage {
    display: inline-block; width: 14px; height: 14px; line-height: 14px; text-align: center;
    border-radius: 50%; background: #ebebeb; color: #666; font-size: 10px;
    font-weight: 700; cursor: help; margin-left: 4px;
}
.rechner-eingabe .erlaeut { font-size: 11.5px; color: #888; margin: -12px 0 16px; }

.slider-zeile { margin-bottom: 18px; }
.slider-zeile .kopf { display: flex; justify-content: space-between; align-items: baseline; }
.slider-zeile .wert { font-weight: 600; color: #b01c41; font-size: 14px; }
input[type="range"] {
    -webkit-appearance: none; appearance: none; width: 100%; height: 18px;
    background: transparent; margin: 4px 0 0; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: #ebebeb; }
input[type="range"]::-moz-range-track { height: 4px; background: #ebebeb; }
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%;
    background: #b01c41; margin-top: -6px; border: 0;
}
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #b01c41; border: 0; }
input[type="range"]:focus-visible { outline: 2px solid #b01c41; outline-offset: 3px; }

.rechner-ausgabe { padding: 24px; background: #fcfcfc; }
.erg-zeile {
    display: flex; justify-content: space-between; align-items: baseline;
    gap: 16px; padding: 11px 0; border-bottom: 1px solid #f0f0f0; font-size: 13.5px;
}
.erg-zeile .betrag { font-weight: 600; white-space: nowrap; }
.erg-zeile.minus .betrag { color: #b01c41; }
.erg-zeile.plus .betrag { color: #2f6b3a; }
.erg-saldo {
    margin-top: 18px; padding: 18px; border: 1px solid #ebebeb; background: #fff;
}
.erg-saldo .titel { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: #888; }
.erg-saldo .zahl { font-size: 30px; font-weight: 300; margin: 4px 0 8px; line-height: 1.1; }
.erg-saldo .zahl.gut { color: #2f6b3a; }
.erg-saldo .zahl.schlecht { color: #b01c41; }
.erg-saldo .deutung { font-size: 13px; color: #444; margin: 0; }
.erg-warnung {
    margin-top: 14px; padding: 12px 14px; background: #fff7d7;
    border-left: 4px solid #a28c3c; font-size: 12.5px; color: #444;
}
.erg-warnung.aus { display: none; }
.erg-info {
    margin-top: 14px; padding: 12px 14px; background: #f6f0f2;
    border-left: 4px solid #b01c41; font-size: 12.5px; color: #444;
}
.erg-info.aus { display: none; }
.rechner-fuss { padding: 14px 24px; border-top: 1px solid #ebebeb; font-size: 11.5px; color: #888; }

/* --- Angebot --- */
.pakete { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin: 24px 0; }
@media (max-width: 1000px) { .pakete { grid-template-columns: 1fr; } }
.paket { border: 1px solid #ebebeb; padding: 28px; display: flex; flex-direction: column; }
.paket.hervor { border-color: #b01c41; border-top: 4px solid #b01c41; }
.paket .marke { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #b01c41; font-weight: 600; }
.paket h3 { font-size: 19px; font-weight: 600; color: #505050; margin: 6px 0 4px; }
.paket .fuer { font-size: 13px; color: #777; margin: 0 0 18px; }
.paket .preis { font-size: 30px; font-weight: 300; color: #505050; line-height: 1.1; }
.paket .preis small { font-size: 13px; color: #888; font-weight: 400; }
.paket .preis-sub { font-size: 12px; color: #888; margin: 4px 0 18px; }
.paket ul { margin: 0 0 20px; padding: 0; list-style: none; flex-grow: 1; }
.paket li { font-size: 13px; padding: 7px 0 7px 20px; position: relative; border-bottom: 1px solid #f4f4f4; }
.paket li::before { content: "›"; position: absolute; left: 4px; color: #b01c41; font-weight: 700; }
.paket li.aus { color: #aaa; }
.paket li.aus::before { content: "–"; color: #ccc; }

.schritte { counter-reset: s; margin: 24px 0; padding: 0; list-style: none; }
.schritte li {
    counter-increment: s; position: relative; padding: 0 0 22px 52px;
    border-left: 1px solid #ebebeb; margin-left: 15px; font-size: 14px;
}
.schritte li:last-child { border-left-color: transparent; padding-bottom: 0; }
.schritte li::before {
    content: counter(s); position: absolute; left: -15px; top: -2px;
    width: 30px; height: 30px; line-height: 30px; text-align: center;
    background: #b01c41; color: #fff; border-radius: 50%; font-size: 13px; font-weight: 600;
}
.schritte li b { display: block; color: #444; margin-bottom: 3px; }

/* --- FAQ --- */
.faq details { border-bottom: 1px solid #ebebeb; padding: 0; }
.faq summary {
    cursor: pointer; padding: 15px 0; font-size: 14.5px; font-weight: 600;
    color: #444; list-style: none; position: relative; padding-right: 30px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; position: absolute; right: 6px; top: 13px;
    color: #b01c41; font-size: 19px; font-weight: 300;
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: #b01c41; }
.faq .antwort { padding: 0 0 18px; font-size: 13.5px; color: #555; max-width: 820px; }
.faq .antwort p { font-size: 13.5px; }
.faq .antwort p:last-child { margin-bottom: 0; }

/* --- Abschluss-CTA --- */
.cta { background: #F6F6F6; border-top: 1px solid #ebebeb; border-bottom: 1px solid #ebebeb; padding: 44px 0; margin-top: 50px; }
.cta h2 { margin-bottom: 0.5em; }
.cta p { max-width: 700px; font-size: 14.5px; }
.cta .knopfreihe { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.quelle { font-size: 11.5px; color: #999; margin-top: 10px; }
.rechtsstand { font-size: 12px; color: #888; border-top: 1px solid #ebebeb; padding-top: 14px; margin-top: 40px; }

/* --- Klartext (einfache Ebene oben) --- */
.klartext { border: 1px solid #ebebeb; border-top: 4px solid #b01c41; background: #fff; padding: 32px 36px 28px; margin-bottom: 48px; }
@media (max-width: 600px) { .klartext { padding: 24px 20px 20px; } }
.klartext > h2 { font-size: 24px; line-height: 1.25; }
.kt-lead { font-size: 16px; color: #444; max-width: 740px; }

.kt-frage { font-size: 20px; font-weight: 600; color: #505050; text-align: center; margin: 30px 0 16px; }

.kt-karten { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .kt-karten { grid-template-columns: 1fr; } }
.kt-karte { border: 1px solid #ebebeb; padding: 22px 22px 18px; text-align: center; }
.kt-karte.gut { border-top: 4px solid #2f6b3a; }
.kt-karte.schlecht { border-top: 4px solid #b01c41; }
.kt-karte svg { width: 44px; height: 44px; margin-bottom: 8px; }
.kt-karte.gut svg { color: #2f6b3a; }
.kt-karte.schlecht svg { color: #b01c41; }
.kt-karte h3 { margin: 0 0 8px; font-size: 17px; }
.kt-karte p { font-size: 14px; color: #555; margin: 0 0 10px; text-align: left; }
.kt-karte .fazit { display: block; font-weight: 700; font-size: 15px; margin-top: 4px; }
.kt-karte.gut .fazit { color: #2f6b3a; }
.kt-karte.schlecht .fazit { color: #b01c41; }

.kt-merksatz { margin: 22px 0 30px; padding: 16px 20px; background: #F6F6F6; border-left: 4px solid #505050; font-size: 15.5px; color: #444; }

.kt-zahlen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 8px 0 30px; }
@media (max-width: 700px) { .kt-zahlen { grid-template-columns: 1fr; } }
.kt-zahl { border: 1px solid #ebebeb; background: #fcfcfc; padding: 18px 18px 14px; text-align: center; }
.kt-zahl .wert { font-size: 30px; font-weight: 300; color: #b01c41; letter-spacing: 1px; }
.kt-zahl .wert small { font-size: 15px; }
.kt-zahl p { font-size: 13px; color: #555; margin: 8px 0 0; }

.kt-schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 14px 0 6px; }
@media (max-width: 700px) { .kt-schritte { grid-template-columns: 1fr; } }
.kt-schritt { text-align: center; padding: 0 6px; }
.kt-schritt .nr {
    display: inline-block; width: 40px; height: 40px; line-height: 40px; border-radius: 50%;
    background: #b01c41; color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 10px;
}
.kt-schritt h3 { font-size: 15px; margin: 0 0 6px; }
.kt-schritt p { font-size: 13.5px; color: #555; margin: 0; }

.kt-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 26px 0 8px; }
.kt-weiter { text-align: center; font-size: 13px; color: #888; margin: 18px 0 0; }
.kt-weiter a { font-weight: 600; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media print { #fuss, .cta .knopfreihe, .rechner-eingabe input { display: none; } }
