/* Lernplan-Banner als Bild (seit 17.11.2026).
   Bild seit 18.11.2026: img/lernplan/lernplan-banner-v2-{800,1600}.webp,
   zugeschnitten aus lernplan/Individueller Lernplan – Sicher zur Prüfung(1).png
   (vorher lernplan-banner-{800,1600}.webp aus „Prüfungsplan mit Lernangebot.png“). Preise stehen IM BILD — ändern
   sich die Preise, muss das Bild neu erzeugt werden.
   Eingebunden auf dashboard.html (volle Breite), kontenplan.html und
   tutorials/index.html (klein). */
.lp-banner {
    display: block; margin: 16px 0 0; line-height: 0;
    border-radius: 10px; text-decoration: none;
    transition: transform .15s, box-shadow .15s;
}
.lp-banner img { display: block; width: 100%; height: auto; border-radius: 10px; }
.lp-banner:hover { transform: translateY(-1px); box-shadow: 3px 3px 0 rgba(35,32,27,.85); }
.lp-banner:focus-visible { outline: 3px solid rgba(176,73,44,.45); outline-offset: 3px; }
.lp-banner.ist-klein { max-width: 620px; }
.lp-banner-zeile { margin: 18px 0 8px; }
@media (prefers-reduced-motion: reduce) { .lp-banner { transition: none; } .lp-banner:hover { transform: none; } }

/* Dashboard: kompakt statt volle Spaltenbreite (Wunsch 17.11.2026, „way too big“). */
.dk-lernen .lp-banner { max-width: 440px; margin-top: 14px; }
@media (max-width: 640px) { .dk-lernen .lp-banner { max-width: none; } }

/* ── Lernplan-Hinweis mit Knopf (seit 18.11.2026) ───────────────────
   Für Werkzeug-Seiten (Satzwerk, Arbeitsblätter): ein heller Kasten mit
   (Knopf-Klasse bewusst OHNE „cta“: exercise-hb-shell.css stylt a[class*="cta"] hart um.)
   Ocker-Kante, Frage als Aufhänger, ein Knopf zu /lernplan/. */
.lp-cta {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px 28px;
    margin: 28px 0; padding: 20px 24px;
    border: 1px solid #23201B; border-left: 4px solid #A8744D; border-radius: 0;
    background: #FBF3E2; color: #23201B;
    box-shadow: 3px 3px 0 #23201B;
    font-family: 'Lora', Georgia, serif;
}
.lp-cta-marke {
    margin: 0 0 4px; font-family: 'JetBrains Mono', monospace; font-size: 12px;
    letter-spacing: .12em; text-transform: uppercase; color: #8A5A2B;
}
.lp-cta-titel { margin: 0 0 6px; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.2; font-weight: 600; }
.lp-cta-text p:last-child { margin: 0; max-width: 62ch; font-size: 16px; line-height: 1.55; color: #4A443A; }
.lp-anfordern-knopf {
    position: relative; overflow: hidden; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px;
    border: 1px solid #8E2E1B; background: linear-gradient(180deg, #C4583A 0%, #B0492C 55%, #9E3E22 100%);
    color: #FCFAF4; text-decoration: none; white-space: nowrap;
    box-shadow: 3px 3px 0 #23201B;
    font-family: 'JetBrains Mono', monospace; font-size: 15px; letter-spacing: .03em;
}
.lp-anfordern-knopf span { position: relative; z-index: 1; }
.lp-anfordern-knopf::after {
    content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; z-index: 0;
    background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,240,215,.55), rgba(255,255,255,0));
    transform: skewX(-18deg); animation: lp-cta-glanz 3.6s ease-in-out infinite;
}
.lp-anfordern-knopf:hover { background: linear-gradient(180deg, #B44A2E 0%, #93381C 100%); color: #FCFAF4; }
.lp-anfordern-knopf:focus-visible { outline: 3px solid rgba(176,73,44,.45); outline-offset: 3px; }
@keyframes lp-cta-glanz { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .lp-anfordern-knopf::after { animation: none; left: 55%; opacity: .5; } }
@media (max-width: 640px) {
    .lp-cta { grid-template-columns: minmax(0, 1fr); padding: 18px 16px; margin: 22px 0; }
    .lp-anfordern-knopf { width: 100%; white-space: normal; text-align: center; }
}

/* Hinweis mit Banner-Bild (seit 18.11.2026): Bild | Text + Knopf.
   Das Bild ist ein zweiter Weg zum selben Ziel; tabindex=-1, damit man
   mit der Tastatur nicht zweimal auf dasselbe Ziel trifft. */
/* Textspalte mindestens 260 px: Sonst ragt der Knopf zwischen 761 und ~1000 px über den Kasten. */
.lp-cta.ist-mit-bild { grid-template-columns: minmax(0, 480px) minmax(260px, 1fr); align-items: center; gap: 18px 28px; }
.lp-cta.ist-mit-bild .lp-cta-text { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.lp-cta.ist-mit-bild .lp-anfordern-knopf { margin-top: 16px; }
.lp-hinweis-bild { display: block; line-height: 0; border-radius: 10px; transition: transform .15s; }
.lp-hinweis-bild img { display: block; width: 100%; height: auto; border-radius: 10px; }
.lp-hinweis-bild:hover { transform: translateY(-1px); }
@media (max-width: 760px) {
    .lp-cta.ist-mit-bild { grid-template-columns: minmax(0, 1fr); }
    .lp-cta.ist-mit-bild .lp-anfordern-knopf { width: 100%; }
}
.lp-cta-text p:not(.lp-cta-marke):not(.lp-cta-titel) { margin: 0; max-width: 62ch; font-size: 16px; line-height: 1.55; color: #4A443A; }
