/* ==========================================================================
   Sawton hell · Beta der Seite Leistungen und Preise (nicht verlinkt, noindex)

   Website bauen, Zusätze, Website betreiben (monatlich/jährlich), Tokens
   (als Türme mit Monatslinie, Klassen „tk“).
   Preiskarten = .preis aus start.css (wie auf der Startseite). Baut auf
   start.css und unterseite.css auf. Eigene Klassen: „le-“.
   ========================================================================== */

.le-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
/* Empfohlene Stufe (Business): dunkle Karte, breit und schmal (Nutzer 02.12.2026). */
.le-preis--stark { border-color: var(--tinte); background: var(--tinte); color: #fff; box-shadow: 0 0 0 1px var(--tinte), 0 26px 44px -30px rgba(0, 0, 0, 0.7); }
.le-preis--stark .preis__zahl span { color: rgba(255, 255, 255, 0.6); }
.le-preis--stark li { border-top-color: rgba(255, 255, 255, 0.14); }
.le-preis--stark li .ik { color: #7abfff; }
.le-preis--stark .le-token { background: rgba(255, 255, 255, 0.12); color: #fff; }
.le-zahl--wort b { font-size: clamp(32px, 3.4vw, 44px); letter-spacing: -0.04em; }
.le-text { margin-top: 18px; font-size: 16px; line-height: 1.55; color: var(--tinte-2); }
.le-token { flex: none; padding: 6px 9px; border-radius: 6px; background: var(--nebel); font: 500 12px/1 var(--mono); color: var(--tinte-2); white-space: nowrap; }

.le-kopfzeile { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 24px; }

/* Dazu buchbar (02.12.2026): vier Zusätze als ruhende Tasten wie das Pult der
   Startseite (Pixel-Symbol, Name, Preis), der Rest klappt als Preisliste mit
   Punktlinie auf („+ 6 weitere“). */
.le-extra { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.le-extra__teil { display: flex; padding: 1px 1px 4px; border-radius: 18px; background: #c4c6c2; }
.le-extra__kappe { flex: 1; display: grid; grid-template-rows: auto 1fr auto; gap: 14px; padding: 18px 18px 16px; border-radius: 17px; background: #fff; box-shadow: inset -1px -1px 0 rgba(0, 0, 0, 0.06); }
.le-extra .px { width: 34px; height: 34px; }
.le-extra__name { font: 600 16px/1.25 var(--grotesk); letter-spacing: -0.01em; }
.le-extra__preis { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.le-extra__preis b { font: 500 26px/1 var(--mono); letter-spacing: -0.05em; }
.le-extra__preis small { font: 400 12.5px/1.2 var(--mono); color: var(--grau); }
.le-mehr { margin-top: 16px; }
.le-mehr > summary { list-style: none; }
.le-mehr > summary::-webkit-details-marker { display: none; }
.le-mehr__pfeil { width: 16px; height: 16px; transition: transform 0.3s var(--raus); }
.le-mehr[open] .le-mehr__pfeil { transform: rotate(180deg); }
.le-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; margin-top: 12px; }
.le-liste li { display: grid; grid-template-columns: auto minmax(16px, 1fr) auto; align-items: start; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--linie); }
.le-liste span { font-size: 16px; line-height: 1.3; }
.le-liste i { margin-top: 15px; border-bottom: 1.5px dotted #b8bab6; }
/* Der Zusatz hängt frei unter dem Preis: So bestimmt nur der Preis die Spaltenbreite und die Punktlinie läuft bis an ihn heran. */
.le-liste b { position: relative; font: 500 17px/1.2 var(--mono); letter-spacing: -0.03em; text-align: right; white-space: nowrap; }
.le-liste small { position: absolute; right: 0; top: 100%; margin-top: 3px; font: 400 12px/1.2 var(--mono); letter-spacing: 0; color: var(--grau); white-space: nowrap; }
.le-liste li:has(small) { padding-bottom: 28px; }
html.fx-an .le-mehr[open] .le-liste li { animation: le-auf 0.4s var(--raus) calc(var(--n, 0) * 45ms) backwards; }
.le-liste li:nth-child(2) { --n: 1; } .le-liste li:nth-child(3) { --n: 2; } .le-liste li:nth-child(4) { --n: 3; } .le-liste li:nth-child(5) { --n: 4; } .le-liste li:nth-child(6) { --n: 5; }
html.ruhig .le-mehr[open] .le-liste li { animation: none; }
@keyframes le-auf { from { opacity: 0; transform: translateY(6px); } }



@media (max-width: 1000px) {
  .le-raster { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
  .le-extra { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Licht im Kopf: Fassung B, eine Stufe dunkler als Studio. Ersatztöne ohne WebGL. */
.st-held { --licht-1: #5b9be6; --licht-2: #b9d4f3; }

/* --------------------------------------------------------------------------
   Sawton Tokens als Bild (28.11.2026). Sechs Türme aus Tokens, jeder so hoch
   wie der Preis der Aufgabe (2 bis 40). Zwei gestrichelte Monatslinien liegen
   auf der Höhe des Guthabens: Core (--core, blau) und Business (--business,
   Tinte). Scheiben bis zur Core-Linie sind blau, bis zur Business-Linie
   schwarz, darüber hell (dazukaufen). Beide Abos stehen gleichzeitig da,
   ohne Umschalter. --takt = Höhe eines Tokens samt Fuge. Der Kopf liegt über
   der freien Fläche links oben, der hohe Turm steigt rechts daneben auf.
   -------------------------------------------------------------------------- */
.tk { --takt: 10px; --buehne: calc(40 * var(--takt) + 96px); --steg: 96px; --core: 3; --business: 8; --f-core: var(--blau); --f-business: var(--tinte); display: grid; }
.tk__kopf, .tk__feld { grid-area: 1 / 1; min-width: 0; }
.tk__kopf { position: relative; z-index: 2; align-self: start; justify-self: start; display: grid; gap: 16px; justify-items: start; max-width: 56%; }
.tk__kurs { display: flex; align-items: center; gap: 10px; font: 500 clamp(17px, 1.6vw, 21px)/1.2 var(--mono); letter-spacing: -0.04em; }
.tk__kurs b { font-weight: 500; }
.tk__abos { display: flex; flex-wrap: wrap; gap: 8px; }
.tk__abo { padding: 8px 12px; border-radius: 8px; color: #fff; font: 500 13.5px/1 var(--mono); letter-spacing: -0.02em; white-space: nowrap; }
.tk__abo--core { background: var(--f-core); }
.tk__abo--business { background: var(--f-business); }

.tk__feld { position: relative; padding-left: var(--steg); }
.tk__tuerme { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 10px; }
.tk__turm { display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; }
.tk__saeule { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; width: 100%; height: var(--buehne); border-bottom: 1.5px solid var(--tinte); }
/* Die Zahl liegt über den Monatslinien und deckt sie an ihrer Stelle ab. */
.tk__zahl { position: relative; z-index: 2; margin-bottom: 4px; padding: 3px 7px; border-radius: 5px; background: #fff; font: 500 15px/1 var(--mono); letter-spacing: -0.03em; }
.tk__stapel { display: flex; flex-direction: column-reverse; align-items: center; width: 100%; padding-bottom: 1px; }
/* Goodie steht oben auf dem höchsten Turm. */
.tk__goodie { width: 56px; height: 60px; margin-bottom: -1px; }
html.fx-an .tk:not(.ist-da) .tk__goodie { opacity: 0; }
html.fx-an .tk.ist-da .tk__goodie { animation: tk-goodie 0.5s var(--raus) 1s backwards; }
@keyframes tk-goodie { from { opacity: 0; transform: translateY(-28px); } }

/* Ein Token: flache Scheibe mit dunkler Unterkante, wie eine kleine Taste. */
.tk__muenze {
  display: block; width: min(100%, 62px); height: calc(var(--takt) - 1px); margin-top: 1px; border-radius: 3px;
  background: var(--nebel); box-shadow: inset 0 0 0 1px var(--linie-fest);
}
.tk__muenze--core { background: var(--f-core); box-shadow: inset 0 -1.5px 0 var(--blau-kante); }
.tk__muenze--business { background: var(--f-business); box-shadow: inset 0 -1.5px 0 #000; }
.tk__muenze--zeichen { display: inline-block; width: 30px; height: 9px; margin: 0; border-radius: 4px; }
html.fx-an .tk:not(.ist-da) .tk__stapel .tk__muenze { opacity: 0; }
html.fx-an .tk.ist-da .tk__stapel .tk__muenze { animation: tk-fall 0.42s var(--raus) calc(var(--i, 0) * 9ms) backwards; }
@keyframes tk-fall { from { opacity: 0; transform: translateY(-22px); } }

.tk__name { margin-top: 12px; margin-bottom: 4px; font-size: 15px; line-height: 1.3; text-wrap: balance; }
.tk__kurz { display: none; }
/* Je Turm zwei Zeilen: reicht das Guthaben von Core, reicht das von Business? */
.tk__stand { display: inline-flex; align-items: center; gap: 6px; margin-top: 5px; font: 500 12.5px/1.2 var(--mono); letter-spacing: -0.02em; color: var(--tinte-2); }
.tk__stand::before { content: ''; flex: none; width: 9px; height: 9px; border-radius: 3px; }
.tk__stand--core::before { background: var(--f-core); }
.tk__stand--business::before { background: var(--f-business); }
.tk__stand .ik { width: 14px; height: 14px; stroke-width: 2.6; color: var(--tinte); }

/* Monatslinien: quer über alle Türme, je auf der Höhe des Guthabens. */
.tk__linie { position: absolute; left: 0; right: 0; z-index: 1; height: 0; border-top: 1.5px dashed; pointer-events: none; }
.tk__linie--core { top: calc(var(--buehne) - var(--core) * var(--takt) - 1px); border-color: var(--f-core); }
.tk__linie--business { top: calc(var(--buehne) - var(--business) * var(--takt) - 1px); border-color: var(--f-business); }
.tk__linie span { position: absolute; left: 0; top: 0; transform: translateY(-50%); padding: 4px 7px; border-radius: 5px; color: #fff; font: 500 12px/1 var(--mono); letter-spacing: -0.02em; }
.tk__linie--core span { background: var(--f-core); }
.tk__linie--business span { background: var(--f-business); }
html.ruhig .tk__muenze, html.ruhig .tk__goodie { animation: none !important; }

@media (max-width: 900px) {
  .tk { display: block; --takt: 7px; --buehne: calc(40 * var(--takt) + 76px); --steg: 70px; }
  .tk__kopf { max-width: none; margin-bottom: 8px; }
  .tk__tuerme { gap: 0 5px; }
  .tk__muenze { border-radius: 2px; }
  .tk__zahl { font-size: 13px; margin-bottom: 3px; padding: 2px 4px; }
  .tk__lang { display: none; }
  .tk__kurz { display: inline; }
  .tk__name { margin-top: 9px; font: 500 11.5px/1.2 var(--mono); letter-spacing: -0.03em; }
  .tk__stand { gap: 4px; font-size: 11.5px; margin-top: 4px; }
  .tk__stand::before { width: 7px; height: 7px; border-radius: 2px; }
  .tk__goodie { width: 42px; height: 45px; }
  .tk__linie span { padding: 3px 5px; font-size: 10.5px; }
  .tk__abo { padding: 7px 10px; font-size: 12.5px; }
}

/* Pflichtzeile unter den Preisen (Umsatzsteuer, nur Unternehmen) */
.le-fussnote { margin-top: 22px; font: 400 12.5px/1.5 var(--mono); color: var(--grau); }

/* Handy (02.12.2026, Nutzer: „nicht untereinander, nach rechts schieben“):
   Preiskarten liegen nebeneinander und lassen sich wischen, die nächste Karte
   schaut rechts herein. „Dazu buchbar“ als kleine Kacheln, zwei je Zeile. */
@media (max-width: 760px) {
  .le-raster {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%;
    max-width: none; gap: 10px; margin-top: 18px;
    margin-inline: calc(-1 * var(--rand)); padding: 4px var(--rand) 10px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--rand); scrollbar-width: none;
  }
  .le-raster::-webkit-scrollbar { display: none; }
  .le-raster > .preis { scroll-snap-align: start; padding: 18px 18px 14px; border-radius: 20px; }
  .le-raster .preis h3 { font-size: 18px; }
  .le-raster .preis__zahl { margin-top: 12px; }
  .le-raster .preis__zahl b { font-size: 38px; }
  .le-raster .le-zahl--wort b { font-size: 28px; }
  .le-raster .preis ul { margin-top: 12px; }
  .le-raster .preis li { gap: 8px; padding: 6px 0; font-size: 14px; line-height: 1.35; }
  .le-raster .le-text { margin-top: 12px; font-size: 14px; }
  .le-extra { gap: 8px; margin-top: 18px; }
  .le-extra__teil { padding-bottom: 3px; border-radius: 15px; }
  .le-extra__kappe { gap: 10px; padding: 13px 13px 12px; border-radius: 14px; }
  .le-extra .px { width: 26px; height: 26px; }
  .le-extra__name { font-size: 14px; }
  .le-extra__preis b { font-size: 20px; }
  .le-extra__preis small { font-size: 11px; }
  .le-mehr { margin-top: 12px; }
  .le-mehr > summary.taste { display: flex; }
  .le-liste { grid-template-columns: minmax(0, 1fr); margin-top: 6px; }
  .le-liste li { gap: 8px; padding: 10px 0; }
  .le-liste span { font-size: 14.5px; }
  .le-liste i { margin-top: 13px; }
  .le-liste b { font-size: 15px; }
  .le-liste small { font-size: 11px; }
  .le-liste li:has(small) { padding-bottom: 25px; }
  .le-fussnote { margin-top: 16px; font-size: 11.5px; }
}
