/* Handy: Slider und aufklappbare Texte (15.11.2026, Konstantin: „mehr auf
   jeder Seite auf dem Handy mit Slidern zur Seite arbeiten“ und „viel Text
   auf dem Handy mit Dropdown erst öffnen lassen“). Nur unter 600 px. */
@media (max-width: 600px) {
  /* Kartenreihen seitlich wischbar */
  .st-karten,
  .wegweiser,
  .detail-cards {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    margin-inline: -16px;
    padding: 6px 16px 16px;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
    border-top: 0 !important;
  }
  .st-karten::-webkit-scrollbar,
  .wegweiser::-webkit-scrollbar,
  .detail-cards::-webkit-scrollbar { display: none; }
  .st-karten > *,
  .detail-cards > * {
    flex: 0 0 82%;
    max-width: 82%;
    scroll-snap-align: start;
  }
  .wegweiser > li {
    flex: 0 0 82%;
    max-width: 82%;
    scroll-snap-align: start;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 0 !important;
    padding: 18px !important;
    background: #fff;
    border: 1px solid #EBDCE3 !important;
    border-radius: 16px;
  }
  .wegweiser > li.wegweiser-stretch { background: var(--paper-deep, #F3E6EC); }

  /* Kleiner Hinweis, dass man wischen kann: Punkte unter dem Slider */
  .wisch-punkte { display: flex; justify-content: center; gap: 6px; margin: -4px 0 14px; }
  .wisch-punkte i { width: 6px; height: 6px; border-radius: 50%; background: #D9C3CD; transition: background 0.2s, width 0.2s; }
  .wisch-punkte i.an { background: #C92877; width: 16px; border-radius: 3px; }

  /* Mitgliedschaften auf der Startseite als Slider wieder zeigen */
  #mitglied-werden { display: block !important; }
  #mitglied-werden .section-head > p, #mitglied-werden .section-foot { display: none; }

  /* Aufklappbare Texte */
  .mehr-zu { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .mehr-gruppe.mehr-zu-gruppe > :not(:first-child):not(.mehr-knopf) { display: none; }
  .mehr-knopf {
    display: inline-flex; align-items: center; gap: 6px;
    margin: 6px 0 4px; padding: 8px 0; min-height: 40px;
    background: none; border: 0; color: #A01F5F;
    font: 600 0.95rem "DM Sans", sans-serif; cursor: pointer;
  }
  .mehr-knopf::after { content: "›"; display: inline-block; transform: rotate(90deg); transition: transform 0.2s; font-size: 1.1rem; }
  .mehr-knopf[aria-expanded="true"]::after { transform: rotate(-90deg); }
}
@media (min-width: 601px) { .mehr-knopf, .wisch-punkte { display: none; } }

/* Preise auf dem Handy als kompakte Liste statt Slider (15.11.2026,
   Konstantin: „viel zu unübersichtlich“). Je Karte: Name und Preis in einer
   Zeile, darunter der Preis pro Class und ein kleiner Knopf. */
@media (max-width: 600px) {
  .preis-grid { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 10px !important; margin: 0 !important; padding: 0 !important; overflow: visible !important; }
  .preis-grid .preis-karte {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "kopf wert" "je knopf";
    align-items: center;
    gap: 6px 14px;
    padding: 16px 16px !important;
    background: #fff !important;
    border: 1px solid #EBDCE3 !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    max-width: none !important;
    flex: none !important;
  }
  .preis-grid .preis-karte-hervor { border-color: #C92877 !important; }
  .preis-grid .preis-kopf { grid-area: kopf; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 !important; }
  .preis-grid .preis-kopf h3 { margin: 0 !important; font-size: 1.08rem !important; }
  .preis-grid .preis-marke { font-size: 0.66rem !important; padding: 3px 8px !important; position: static !important; }
  .preis-grid .preis-wert { grid-area: wert; margin: 0 !important; font-size: 1.55rem !important; text-align: right; white-space: nowrap; }
  .preis-grid .preis-takt { font-size: 0.8rem !important; }
  .preis-grid .preis-je { grid-area: je; margin: 0 !important; padding: 0 !important; background: none !important; font-size: 0.85rem !important; color: #A01F5F !important; }
  .preis-grid .preis-merkmale,
  .preis-grid .preis-hinweis,
  .preis-grid .preis-karte > p:not(.preis-wert):not(.preis-je) { display: none !important; }
  .preis-grid .preis-karte .button { grid-area: knopf; margin: 0 !important; width: auto !important; min-height: 40px; padding: 8px 16px !important; font-size: 0.9rem !important; justify-self: end; }
  .preis-grid + .wisch-punkte { display: none !important; }
}

/* Startseite: alle Preise am Stück (15.11.2026, Davide: „die Preise alle
   untereinander, nicht diese Informationsblöcke dazwischen“). */
@media (max-width: 600px) {
  .einstieg-angebote { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 10px !important; overflow: visible !important; margin: 0 !important; padding: 0 !important; }
  .einstieg-angebote > * { max-width: none !important; flex: none !important; }
  .einstieg-angebote + .wisch-punkte { display: none !important; }
  .einstieg { padding-bottom: 12px !important; }
  .alle-preise { padding-top: 18px !important; }
  .alle-preise .section-head { margin-bottom: 14px !important; }
  .alle-preise .section-head h2 { font-size: 1.45rem !important; }
  .alle-preise .preis-gruppen-titel { font-size: 0.78rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft, #6B5D4C); margin: 18px 0 10px !important; font-family: "DM Sans", sans-serif !important; font-weight: 600 !important; }
}
.alle-preise { padding-top: clamp(16px, 3vw, 40px); }
