/* Startseite „Was suchst du?“: Lehrstelle oder Job (Ben 07.11.2026). Nur Layout, Farben und Abstände aus styles.css. */
.wahl-sec { padding: clamp(32px, 7vw, 88px) 0 clamp(40px, 8vw, 96px); }
.wahl-kicker { margin: 0 0 10px; }
.wahl-h { font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: 1; letter-spacing: -0.03em; margin: 0 0 clamp(24px, 4vw, 40px); }
.wahl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.wahl-karte {
  position: relative; display: flex; flex-direction: column; min-width: 0; color: var(--ink); text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.wahl-karte:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(18, 20, 18, .45); border-color: var(--ink); }
.wahl-karte:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wahl-foto { display: block; aspect-ratio: 3 / 2; background: var(--soft); overflow: hidden; }
.wahl-foto img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.wahl-karte:hover .wahl-foto img { transform: scale(1.03); }
.wahl-txt { display: flex; flex-direction: column; gap: 6px; padding: clamp(16px, 2.4vw, 26px); padding-right: 76px; }
.wahl-txt b { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.1; letter-spacing: -0.02em; }
.wahl-txt small { color: var(--muted); font-size: 1rem; line-height: 1.45; }
.wahl-pfeil {
  position: absolute; right: clamp(16px, 2.4vw, 26px); bottom: clamp(16px, 2.4vw, 26px); width: 48px; height: 48px; border-radius: var(--r-pill);
  display: grid; place-items: center; background: var(--ink); color: var(--lime);
}
.wahl-pfeil svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.wahl-karte:hover .wahl-pfeil { background: var(--lime); color: var(--ink); }
/* Zuletzt gewählt (zs_ziel, site.js setzt <html data-ziel>): kleine Marke, sonst nichts */
.wahl-zuletzt { display: none; align-self: flex-start; font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: var(--r-pill); background: var(--lime-soft); color: var(--lime-ink); }
html[data-ziel="lehre"] .wahl-lehre .wahl-zuletzt, html[data-ziel="job"] .wahl-job .wahl-zuletzt { display: inline-block; }
html[data-ziel="lehre"] .wahl-lehre, html[data-ziel="job"] .wahl-job { border-color: var(--ink); }
/* Im Panel ohne Konto (app.js waehlen): dieselben Karten als Knöpfe */
button.wahl-karte { font: inherit; text-align: left; padding: 0; cursor: pointer; width: 100%; }
.wahl-panel .wz-q { margin: 0 0 18px; }
.wahl-panel .wahl-foto { aspect-ratio: 16 / 9; }
.wahl-unter { margin: clamp(18px, 3vw, 28px) 0 0; color: var(--muted); }
@media (max-width: 640px) {
  .wahl-grid { grid-template-columns: minmax(0, 1fr); }
  .wahl-foto { aspect-ratio: 16 / 7; }
}
@media (prefers-reduced-motion: reduce) { .wahl-karte, .wahl-foto img { transition: none; } .wahl-karte:hover { transform: none; } }
