/* Leistungsübersicht — „Sieben Bojen" (plastisch, Licht 315°) + Raster-Korrektur */

/* Bojen: die Bewegung kommt aus leistungen.js (EINE gemeinsame Schleife) — die allgemeine
   CSS-Wiege aus site.css hier gezielt aus, sonst wiegen sie doppelt. */
.sp-bojen3d .boje { animation: none !important; cursor: pointer; outline: none; }
.sp-bojen3d .bj-text { font-family: var(--font-body); font-size: 15px; font-weight: 600; fill: #0A2E36; }
.sp-bojen3d .bj-pille { transition: fill .2s ease; }
.sp-bojen3d .bj-text { transition: fill .2s ease; }
.sp-bojen3d .boje:hover .bj-pille,
.sp-bojen3d .boje:focus-visible .bj-pille { fill: #009BAA; }
.sp-bojen3d .boje:hover .bj-text,
.sp-bojen3d .boje:focus-visible .bj-text { fill: #FFFFFF; }
.sp-bojen3d .boje:focus-visible .bj-pille { stroke: #0A2E36; stroke-width: 2.5; }
html.dark .sp-bojen3d .bj-text { fill: #0A2E36; }

/* Schilder auf schmalen Bildschirmen größer (Nachbarn einer Reihe liegen 270 Einheiten auseinander) */
@media (max-width: 700px) {
  .sp-bojen3d .bj-schild { transform: scale(1.45); transform-box: fill-box; transform-origin: center; }
}

/* 7 Karten im 2er-Raster: die hervorgehobene Karte spannt über beide Spalten → 1 + 2 + 2 + 2,
   keine allein stehende Karte unten. */
@media (min-width: 640px) and (max-width: 1023px) {
  .leistungen-raster .karte-featured { grid-column: span 2; }
  .leistungen-raster .karte-featured .karte-bild { aspect-ratio: 16 / 7.6; }
}

/* ── Handy: statt der Bojen-Grafik eine klare Liste der sieben Leistungen ── */
.bojen-liste, .nur-klein { display: none; }
@media (max-width: 767px) {
  .bojen-grafik { display: none; }
  .nur-gross { display: none; } .nur-klein { display: inline; }
  .bojen-liste { display: grid; gap: .6rem; list-style: none; margin: 0; padding: 0; }
  .bojen-liste a {
    display: flex; align-items: center; gap: .9rem; min-height: 56px; padding: .8rem 1rem;
    border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    color: var(--fg); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; line-height: 1.3;
  }
  .bojen-liste a:active { scale: .98; }
  .bojen-liste .boje-name { flex: 1; }
  .bojen-liste svg { width: 20px; height: 20px; flex: none; color: var(--tuerkis-tief); }
  .boje-punkt { flex: none; width: 14px; height: 22px; border-radius: 7px 7px 4px 4px; background: linear-gradient(180deg, var(--c) 0 38%, #FFFFFF 38% 52%, var(--c) 52%); box-shadow: inset 0 0 0 1px rgb(10 46 54 / .15); }
  .boje-tuerkis { --c: #1E97A5; } .boje-koralle { --c: #E4664F; }
}
