/* Four Elements: Preise und FAQ (Überarbeitung 11/2026).
   Nur auf preise.html und faq.html eingebunden, nach style.css und licht.css. */

/* ---------- Preise: Seitenkopf ----------
   Wenig Text neben dem Foto, also Foto schmaler und Kopf niedriger. */
@media (min-width: 861px) {
  .kopf-seite {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
    min-height: clamp(340px, 42svh, 430px);
  }
  .kopf-seite .kopf-text { padding-block: clamp(40px, 5vw, 72px); }
  .kopf-seite .kopf-lead { margin-bottom: 0; }
  .kopf-seite .kopf-bild::before { width: 40%; }
}

/* ---------- Preise: Abstände ---------- */
.einstieg + #karten { padding-top: clamp(40px, 5vw, 72px); }
#karten + .section-tight { padding-top: 0; }
#karten .section-head { margin-bottom: clamp(26px, 3.4vw, 40px); }
.einstieg-angebot .angebot-link { margin-top: auto; }

/* ---------- Preise auf dem Handy ---------- */
@media (max-width: 860px) {
  /* Kopf niedriger, damit die Angebote früher kommen */
  .kopf-seite .kopf-text { padding-top: 132px; padding-bottom: 26px; }
  .kopf-seite .kopf-lead { margin-bottom: 0; }

  /* Ganze Angebotskarte ist ein Link: großzügig antippbar, Pfeil als Hinweis */
  .einstieg-angebot { min-height: 64px; }
  .einstieg-angebot .angebot-link::after { content: " →"; }
}

@media (max-width: 700px) {
  .einstieg-kopf p:last-child { font-size: 1.02rem; }
  #karten .section-head p { font-size: 1rem; }

  /* Live-Preisliste: Zeilen luftiger, Knopf gut antippbar */
  .preis-karte { padding: 18px 0; gap: 6px 14px; }
  .preis-karte h3 { line-height: 1.3; }
  .preis-je { grid-column: 1 / -1; margin: 0; font-size: 0.9rem; }
  .preis-karte .button {
    min-height: 44px;
    min-width: 132px;
    margin-top: 12px;
    justify-content: center;
  }
  .preis-klein { grid-column: 1 / -1; margin: 4px 0 0; font-size: 0.85rem; color: var(--ink-faint); }
  .preise-platzhalter .button { width: 100%; min-height: 48px; justify-content: center; }

  /* Hinweise unter den Preisen als ruhige Liste */
  .preis-hinweise { gap: 22px; }
  .preis-hinweise h3 { font-size: 1rem; }
  .preis-hinweise p { font-size: 0.96rem; line-height: 1.6; }

  /* Zwei Knöpfe im dunklen Band untereinander, volle Breite */
  .buchen-band .kopf-knoepfe { flex-direction: column; }
  .buchen-band .kopf-knoepfe .button { flex: none; width: 100%; min-height: 48px; }
}

/* ---------- FAQ ---------- */
.faq-seite { padding-top: 0; }
.faq-sprung {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.faq-sprung a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.faq-sprung a:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .faq-sprung a:hover { border-color: var(--pink-deep); }
}
.faq-gruppen { display: grid; gap: clamp(40px, 5vw, 64px); }
.faq-gruppe { scroll-margin-top: calc(var(--kopf-hoehe, 72px) + 20px); }
.faq-gruppe-titel {
  font-family: "Outfit", "DM Sans", sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 600;
  margin: 0 0 12px;
}
@media (min-width: 861px) {
  .faq-gruppe {
    display: grid;
    grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: start;
  }
  .faq-gruppe-titel { position: sticky; top: calc(var(--kopf-hoehe, 72px) + 24px); padding-top: 20px; }
}
.faq-item > button { min-height: 56px; }
.faq-answer a { color: var(--pink-deep); font-weight: 500; }

@media (max-width: 700px) {
  .faq-sprung { gap: 8px; }
  .faq-sprung a { padding: 0 15px; font-size: 0.92rem; }
  .faq-item > button { padding: 16px 0; font-size: 1.02rem; gap: 14px; }
  .faq-item > button span { width: 32px; height: 32px; }
  .faq-answer p { font-size: 0.98rem; line-height: 1.65; padding-bottom: 20px; }
  .faq-item.open .faq-answer { max-height: 900px; }
}

/* ---------- Platz für die feste Leiste „Class buchen“ (main.js) ---------- */
@media (max-width: 960px) {
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  .faq-sprung a { transition: none; }
  .faq-sprung a:active { transform: none; }
}
