/* aus DepthLevels.vue (Nuxt), unverändert – nur in .c-levels eingepackt */
.c-levels {
.levels { display: flex; flex-direction: column; gap: 40px; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.head .h2 { line-height: 1.02; max-width: 640px; }
.head p { margin: 0; max-width: 380px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 32px; align-items: stretch; }

.ladder { display: flex; flex-direction: column; position: relative; overflow: hidden; }
.ladder button {
  all: unset; box-sizing: border-box; cursor: pointer; position: relative;
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 0 22px; outline-offset: -3px;
  /* Leiste füllt die Höhe des Infokastens; gewählte Stufe bekommt mehr Anteil */
  flex: 76 1 76px; min-height: 76px; transition: flex-grow var(--t-state) var(--ease), flex-basis var(--t-state) var(--ease);
}
.ladder button[aria-selected="true"] { flex: 104 1 104px; outline: 3px solid var(--teal); }
.ladder button:focus-visible { outline: 3px solid var(--ink); }
.depth { font: 600 26px var(--mono); }
.name { display: flex; flex-direction: column; gap: 2px; }
.name b { font: 600 16px var(--font); }
.name span { font-size: 14px; opacity: .85; }
.price { font: 500 14px var(--mono); }
/* Handy: schmalere Tiefen-Spalte, damit die Stufennamen Platz haben */
@media (max-width: 559px) {
  .ladder button { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 12px; padding: 0 16px; }
  .depth { font-size: 20px; }
}

.panels { background: var(--foam-2); border: 1px solid var(--line); padding: 36px; display: grid; }
.panel { container-type: inline-size; grid-area: 1 / 1; display: flex; flex-direction: column; gap: 22px; visibility: hidden; opacity: 0; transition: opacity var(--t-content) ease, visibility var(--t-content); }
.panel.is-active { visibility: visible; opacity: 1; }
.kicker { display: flex; flex-direction: column; gap: 6px; }
.kicker span:first-child { font: 600 13px var(--mono); letter-spacing: .12em; color: var(--teal); }
.kicker span:last-child { font: 500 14px var(--mono); color: var(--muted); }
h3 { margin: 0; font: 700 33px/1.02 var(--font); }
/* Beschreibung im selben Dunkelgrau wie die Kurskarten auf /kurse (CourseGroup .text) */
.panel > p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.facts-rows { display: flex; flex-direction: column; border-top: 1px solid var(--line-strong); margin-bottom: -14px; }
.facts-rows > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.facts-rows > div:last-child { border-bottom: 0; }
/* Voraussetzung: Häkchen-Liste untereinander */
.req ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.req li { display: flex; gap: 7px; align-items: baseline; }
.req li::before { content: '✓'; color: var(--teal); font-weight: 700; }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.price-row > div:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.price-row b { font: 700 36px/1.02 var(--font); white-space: nowrap; }
@media (max-width: 559px) {
  .panels { padding: 24px 20px; }
  .facts-rows > div { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
}
/* Schmaler Kasten (Handy, aber auch Tablet neben der Stufenleiste): Knöpfe unter den Preis,
   sonst quetscht sich die Preis-Anmerkung daneben – nach Kastenbreite, nicht Bildschirmbreite */
@container (max-width: 479px) {
  .price-row { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .ctas { justify-self: start; }
}
.price-row span { font-size: 14px; line-height: 1.4; color: var(--muted); text-wrap: pretty; }
}
