/* Landeseite „Buchungssätze üben" — Wege ins Satzwerk (seit 19.10.2026).
   Liegt über seo-landing.css und knowledge-hb.css und betrifft nur diese
   Seite (body.bu-landing). Hauptbuch & Beleg: Saldo-Rot für die
   Haupthandlung, Tinte-Rahmen für die zweite, keine weichen Schatten. */

.bu-landing {
    --bu-tinte: #1A1A17;
    --bu-rot: #B0492C;
    --bu-rot-dunkel: #93381C;
    --bu-grau: #5F5848;
    --bu-linie: #DAD3C2;
    --bu-flaeche: #FCFAF4;
    --bu-ocker: #8F5F3C;
}

/* ── Knöpfe ───────────────────────────────────────────────────────── */

.bu-landing .bu-knoepfe {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 0;
}
.bu-landing .bu-knopf,
.bu-landing .bu-knopf-zweit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid var(--bu-tinte);
    font-family: 'Lora', Georgia, serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    touch-action: manipulation;
}
.bu-landing .bu-knopf { background: var(--bu-rot); border-color: var(--bu-rot); color: #FCFAF4; }
.bu-landing .bu-knopf:hover { background: var(--bu-rot-dunkel); border-color: var(--bu-rot-dunkel); }
.bu-landing .bu-knopf-zweit { background: transparent; color: var(--bu-tinte); }
.bu-landing .bu-knopf-zweit:hover { background: rgba(26, 26, 23, 0.05); }

.bu-landing .bu-nebenwege {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--bu-grau);
}
.bu-landing .bu-nebenwege a { color: var(--bu-tinte); text-decoration: underline; text-underline-offset: 3px; }
.bu-landing .bu-nebenwege a:hover { color: var(--bu-rot); }

/* ── Kasten nach den Aufgaben ─────────────────────────────────────── */

.bu-landing .bu-weiter {
    margin: 18px 0 0;
    padding: 18px 20px;
    border: 1px solid var(--bu-tinte);
    border-left: 4px solid var(--bu-rot);
    background: var(--bu-flaeche);
}
.bu-landing .bu-weiter[hidden] { display: none; }
.bu-landing .bu-weiter-marke {
    margin: 0 0 4px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #1F7A4D;
}
.bu-landing .bu-weiter-titel {
    margin: 0;
    font-family: 'Lora', Georgia, serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--bu-tinte);
}
/* Ist der Kasten da, braucht die Knopfreihe darunter nicht dieselben Ziele
   noch einmal. */
.bu-landing .bu-weiter:not([hidden]) ~ .bu-kopf-knoepfe { display: none; }

/* ── Werkzeug entschachteln ───────────────────────────────────────── */
/* Die Stufentafel (ohne Anmeldung / Konto / Expert) steht im Werkzeug als
   eigener Kasten mit Druckschatten — Kasten in Kasten. Hier nur eine
   ruhige Fläche mit Linie oben. */
.bu-landing .seo-uebungsplatz .ag-werbung {
    border: 0 !important;
    border-top: 1px solid var(--bu-linie) !important;
    box-shadow: none !important;
    background: transparent !important;
    margin-top: 18px !important;
    padding: 16px 0 0 !important;
}

/* ── „Selbst buchen"-Verweise im Text ─────────────────────────────── */

.bu-landing .bu-selbst { margin: 6px 0 26px; }
.bu-landing .bu-selbst a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 2px;
    border-bottom: 2px solid var(--bu-rot);
    color: var(--bu-rot);
    font-weight: 600;
    text-decoration: none;
}
.bu-landing .bu-selbst a:hover { color: var(--bu-rot-dunkel); border-bottom-color: var(--bu-rot-dunkel); }

/* ── Die 5-Schritte-Methode als nummerierte Leiste ───────────────── */

.bu-landing .seo-body ol {
    counter-reset: bu-schritt;
    display: grid;
    gap: 0;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--bu-tinte);
}
.bu-landing .seo-body ol li {
    counter-increment: bu-schritt;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px solid var(--bu-linie);
    line-height: 1.55;
}
.bu-landing .seo-body ol li::before {
    content: counter(bu-schritt, decimal-leading-zero);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 13px;
    font-weight: 500;
    color: var(--bu-rot);
}

/* ── Lerngrafik mit Schloss: Hauptbuch statt altes Grün ──────────── */

.bu-landing .knowledge-unlock-cover {
    background: linear-gradient(180deg, rgba(252, 250, 244, 0) 0%, rgba(252, 250, 244, 0.96) 26%);
}
.bu-landing .knowledge-unlock-cover strong { color: var(--bu-tinte); font-family: 'Lora', Georgia, serif; }
.bu-landing .knowledge-unlock-cover a,
.bu-landing .knowledge-unlock-auth a {
    border: 1px solid var(--bu-rot);
    border-radius: 0;
    background: var(--bu-rot);
    color: #FCFAF4;
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
}
.bu-landing .knowledge-unlock-cover a:hover { background: var(--bu-rot-dunkel); }
.bu-landing .knowledge-unlock-cover small { color: var(--bu-grau); }

/* ── Schlussblock mit Nutzen ──────────────────────────────────────── */

.bu-landing .bu-schluss {
    border: 1px solid var(--bu-tinte);
    border-top: 3px solid var(--bu-rot);
    background: var(--bu-flaeche);
}
.bu-landing .bu-nutzen {
    display: grid;
    gap: 8px;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    list-style: none;
}
.bu-landing .bu-nutzen li {
    position: relative;
    padding-left: 26px;
    line-height: 1.5;
}
.bu-landing .bu-nutzen li::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 6px;
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--bu-rot);
    border-bottom: 2px solid var(--bu-rot);
    transform: rotate(-45deg);
}

/* ── Kaffee am Ende statt über dem Titel ──────────────────────────── */

.bu-landing .bu-kaffee:empty { display: none; }
.bu-landing .bu-kaffee .knowledge-coffee {
    position: static;
    margin: 28px 0 0;
    float: none;
}

/* ── Handy-Leiste ─────────────────────────────────────────────────── */

.bu-landing .bu-leiste {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 8000;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--bu-tinte);
    background: var(--bu-flaeche);
}
.bu-landing .bu-leiste[hidden] { display: none; }
.bu-landing .bu-leiste a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    background: var(--bu-rot);
    color: #FCFAF4;
    font-family: 'Lora', Georgia, serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 720px) {
    .bu-landing .bu-knopf,
    .bu-landing .bu-knopf-zweit { width: 100%; }
    .bu-landing .bu-weiter { padding: 16px; }
    .bu-landing .bu-weiter-titel { font-size: 18px; }
}
