/* ============================================================================
   Preise.html — Seiten-Grundgerüst nach Figma-Redesign (06.09.2026)
   ----------------------------------------------------------------------------
   Deckt die Bereiche ab, die es vorher nicht als eigenes Stylesheet gab:
   dunkler Seiten-Hintergrund, Intro-Banner, die drei Preis-Karten,
   FAQ-Accordion, FAQ-Abschluss-CTA und der reduzierte Footer.

   Konfigurator (.pk-*) und Vergleichstabelle (.pv-*) haben weiterhin ihre
   eigenen Dateien. Alle Klassen hier mit Prefix `ps-` (Preise-Seite), damit
   nichts mit `.price-card__*` (alt), `.pk-*`, `.pv-*` oder der globalen
   Navigation kollidiert.

   Figma-Vorlage: eine 952px-Desktop-Fläche, Grund #050505, sonst neutrale
   Graustufen, Blau als BUSINESS-Akzent, Gold als PREMIUM-Akzent. Schrift
   bleibt bewusst 'Instrument Sans' (Rest der Website + Navbar darüber);
   Figma nutzte Inter, das war die Figma-Standardschrift, keine Markenwahl.

   Bewegung: nur dezente Hover-/Zustandsübergänge, < 260ms, Kurve
   [0.23,1,0.32,1]. Kein opacity:0-Startzustand. prefers-reduced-motion wird
   global von dwc-base.css entschärft.
   ========================================================================== */

/* Reset — ersetzt den alten Inline-<style>-Block in Preise.html
   (lädt nur auf dieser Seite). */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.preise-dark {
  --ps-bg:            #050505;
  --ps-surface:       #101012;   /* Karten, Banner */
  --ps-surface-2:     #17171a;   /* Innen-Boxen (Enthalten / Nicht enthalten) */
  --ps-surface-3:     #202024;   /* Hover / angehoben */
  --ps-surface-lift:  #1b1b1f;   /* BUSINESS-Karte (leicht heller) */

  --ps-border:        rgba(255, 255, 255, 0.09);
  --ps-border-strong: rgba(255, 255, 255, 0.16);

  --ps-text:          #f4f4f5;
  --ps-text-dim:      #aeb0b8;   /* ~7:1 auf #050505 */
  --ps-text-faint:    #8b8d96;   /* ~4.7:1 auf #050505 — bleibt AA für Kleintext */

  --ps-blue:          #1a6fd4;   /* DWC-Blau, = --blue der Seite */
  --ps-blue-hi:       #2f8fff;
  --ps-blue-weak:     rgba(47, 143, 255, 0.14);
  --ps-gold:          #c9a24b;   /* PREMIUM-Akzent (Figma) */
  --ps-gold-weak:     rgba(201, 162, 75, 0.14);
  --ps-good:          #57c98a;   /* enthalten-Haken */
  --ps-bad:           #6b6b73;   /* nicht-enthalten-Kreuz */

  --ps-radius-sm:     10px;
  --ps-radius:        16px;
  --ps-radius-lg:     24px;
  --ps-pill:          999px;

  --ps-ease:          cubic-bezier(0.23, 1, 0.32, 1);
  --ps-shell:         1160px;    /* inhaltliche Maximalbreite */

  min-height: 100vh;
  background: var(--ps-bg);
  color: var(--ps-text);
  font-family: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Seite selbst dunkel einfärben (html/body haben in Preise.html eine feste
   weiße Grundfarbe aus dem alten Inline-Block — die wird hier überschrieben). */
.preise-dark,
html:has(.preise-dark),
body.preise-dark { background: var(--ps-bg); }

.preise-dark main { background: var(--ps-bg); }

.preise-dark ::selection { background: rgba(47, 143, 255, 0.32); color: #fff; }

/* Fokus-Ring auf dunklem Grund (dwc-base.css liefert die Regel, braucht aber
   den Kontext-Selektor) */
.preise-dark { }
.preise-dark :where(a[href], button, input, select, textarea, summary,
  [tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 3px solid var(--ps-blue-hi);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.55);
  border-radius: 6px;
}

.ps-shell { width: min(var(--ps-shell), 100%); margin: 0 auto; padding: 0 24px; }
.ps-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ────────────────────────────────────────────────────────────────────────
   1. Intro-Banner  (ersetzt den alten hellen .hero — KEINE neue Fullscreen-
   Hero, sondern eine in sich geschlossene dunkle Karte, wie Figma sie zeigt)
   ──────────────────────────────────────────────────────────────────────── */

.ps-intro { padding: clamp(72px, 9vw, 116px) 0 clamp(40px, 5vw, 64px); }

.ps-intro__card {
  width: min(var(--ps-shell), 100%);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 56px);
  border: 1px solid var(--ps-border);
  border-radius: var(--ps-radius-lg);
  background:
    radial-gradient(120% 140% at 8% -20%, rgba(47, 143, 255, 0.12), transparent 55%),
    var(--ps-surface);
}

.ps-intro__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 18px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ps-blue-hi);
}
.ps-intro__eyebrow::before {
  content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.6;
}

.ps-intro__title {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ps-text);
}
.ps-intro__title b { color: var(--ps-blue-hi); font-weight: 800; }

.ps-intro__sub {
  margin: 18px 0 0;
  max-width: 52ch;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--ps-text-dim);
}

.ps-intro__actions { margin-top: clamp(24px, 3vw, 34px); display: flex; flex-wrap: wrap; gap: 12px; }

.ps-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 14.5px; font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s var(--ps-ease);
}
.ps-btn svg { width: 15px; height: 15px; }
.ps-btn--primary { background: #fff; color: #0b0b0d; }
.ps-btn--primary:hover { background: #e9e9ec; transform: translateY(-1px); }
.ps-btn--blue { background: var(--ps-blue); color: #fff; }
.ps-btn--blue:hover { background: var(--ps-blue-hi); transform: translateY(-1px); }
.ps-btn--ghost { background: transparent; border-color: var(--ps-border-strong); color: var(--ps-text); }
.ps-btn--ghost:hover { background: rgba(255, 255, 255, 0.05); transform: translateY(-1px); }
.ps-btn:active { transform: translateY(0); }

/* ────────────────────────────────────────────────────────────────────────
   2. Preis-Karten
   ──────────────────────────────────────────────────────────────────────── */

.ps-pakete { padding: clamp(32px, 5vw, 56px) 0 clamp(48px, 6vw, 80px); }

.ps-pakete__head {
  width: min(var(--ps-shell), 100%);
  margin: 0 auto clamp(28px, 3.4vw, 44px);
  padding: 0 24px;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.ps-pakete__titles { min-width: 0; }
.ps-h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ps-text);
}
.ps-pakete__sub {
  margin: 12px 0 0;
  font-size: clamp(14px, 1.3vw, 16px);
  color: var(--ps-text-dim);
  max-width: 46ch;
}
.ps-pakete__hint {
  flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 15px;
  border: 1px solid var(--ps-border-strong);
  border-radius: var(--ps-pill);
  background: var(--ps-surface);
  color: var(--ps-text);
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s var(--ps-ease);
}
.ps-pakete__hint svg { width: 14px; height: 14px; color: var(--ps-text-faint); }
.ps-pakete__hint:hover { background: var(--ps-surface-3); border-color: rgba(255,255,255,0.26); transform: translateY(-1px); }

.ps-cards {
  width: min(var(--ps-shell), 100%);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 24px);
  align-items: start;
}

.ps-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 26px 24px 24px;
  border: 1px solid var(--ps-border);
  border-radius: var(--ps-radius-lg);
  background: var(--ps-surface);
}
.ps-card--featured {
  background: var(--ps-surface-lift);
  border-color: rgba(47, 143, 255, 0.4);
  box-shadow: 0 30px 70px -50px rgba(47, 143, 255, 0.55);
}
.ps-card__flag {
  position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -50%);
  padding: 5px 13px;
  border-radius: var(--ps-pill);
  background: #f4f4f5;
  color: #0b0b0d;
  font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
}

.ps-card__name {
  margin: 0;
  font-size: 26px; font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ps-text);
}
.ps-card--premium .ps-card__name { color: var(--ps-gold); }
.ps-card__for {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ps-text-dim);
}

.ps-card__price {
  margin: 20px 0 0;
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px;
}
.ps-card__price-pre { font-size: 14px; font-weight: 500; color: var(--ps-text-dim); }
.ps-card__price-old {
  font-size: 17px; font-weight: 500;
  color: #8a8a92;
  text-decoration: line-through;
}
.ps-card__price-now {
  font-size: 34px; font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ps-text);
  line-height: 1;
}
.ps-card--premium .ps-card__price-now { color: var(--ps-text); }
.ps-card__price-suffix { font-size: 13px; color: var(--ps-text-dim); }

/* Innen-Boxen */
.ps-card__box {
  margin-top: 18px;
  padding: 15px 16px 16px;
  border-radius: var(--ps-radius);
  background: var(--ps-surface-2);
}
.ps-card--featured .ps-card__box { background: #111114; }
.ps-card__box-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 11px;
}
.ps-card__box-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ps-text-dim);
}
.ps-card__box-hint {
  flex: none;
  width: 17px; height: 17px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--ps-border-strong);
  color: var(--ps-text-faint);
  font-size: 10px; font-weight: 700;
}

.ps-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ps-list li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13px; line-height: 1.35;
  color: var(--ps-text);
}
.ps-list svg { flex: none; width: 15px; height: 15px; margin-top: 1px; }
.ps-list--yes svg { color: var(--ps-good); }
.ps-list--no li { color: var(--ps-text-dim); }
.ps-list--no svg { color: var(--ps-bad); }

/* Extras-Liste (ohne Box, direkt auf der Karte) */
.ps-card__extras {
  list-style: none; margin: 16px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.ps-card__extras li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 12.5px; line-height: 1.35;
}
.ps-card__extras svg { flex: none; width: 14px; height: 14px; margin-top: 1px; }
.ps-card__extras .is-yes { color: var(--ps-text); }
.ps-card__extras .is-yes svg { color: var(--ps-good); }
.ps-card__extras .is-opt { color: var(--ps-text-dim); }
.ps-card__extras .is-opt svg { color: var(--ps-blue-hi); }
.ps-card__extras .is-no { color: var(--ps-text-faint); }
.ps-card__extras .is-no svg { color: var(--ps-bad); }

.ps-card__cta {
  margin-top: auto;
  padding-top: 20px;
}
.ps-card__cta button {
  width: 100%;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-family: inherit;
  font-size: 13.5px; font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s var(--ps-ease), box-shadow 0.16s ease;
}
.ps-card__cta--plain button { background: #f4f4f5; color: #0b0b0d; }
.ps-card__cta--plain button:hover { background: #e4e4e7; transform: translateY(-1px); }
.ps-card__cta--blue button { background: var(--ps-blue); color: #fff; }
.ps-card__cta--blue button:hover { background: var(--ps-blue-hi); transform: translateY(-1px); box-shadow: 0 12px 30px -14px rgba(47,143,255,0.6); }
.ps-card__cta--gold button { background: var(--ps-gold); color: #1a1408; }
.ps-card__cta--gold button:hover { background: #d9b25e; transform: translateY(-1px); }
.ps-card__cta button:active { transform: translateY(0); }

/* Text unter den Karten */
.ps-pakete__foot {
  width: min(var(--ps-shell), 100%);
  margin: clamp(24px, 3vw, 36px) auto 0;
  padding: 0 24px;
  text-align: center;
}
.ps-pakete__foot-links {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center;
  margin-bottom: 12px;
}
.ps-pakete__foot-links a {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ps-text); font-size: 13px; font-weight: 600;
  text-decoration: none;
}
.ps-pakete__foot-links a svg { width: 12px; height: 12px; color: var(--ps-text-faint); }
.ps-pakete__foot-links a:hover { color: var(--ps-blue-hi); }
.ps-pakete__foot p {
  margin: 0 auto;
  max-width: 68ch;
  font-size: 12.5px; line-height: 1.6;
  color: var(--ps-text-faint);
}

/* ────────────────────────────────────────────────────────────────────────
   3. FAQ-Accordion
   ──────────────────────────────────────────────────────────────────────── */

.ps-faq {
  padding: clamp(56px, 7vw, 100px) 0 clamp(28px, 4vw, 44px);
  background: var(--ps-bg);
}
.ps-faq__head { text-align: center; margin-bottom: clamp(40px, 5.2vw, 64px); }
.ps-faq__head h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800; letter-spacing: -0.03em;
  color: var(--ps-text);
}

.ps-faq__list {
  width: min(760px, 100%);
  margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px;
}

.ps-faq__item {
  border: 1px solid var(--ps-border);
  border-radius: var(--ps-radius-sm);
  background: var(--ps-surface);
  overflow: hidden;
}
.ps-faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 19px 26px;
  border: 0; background: transparent;
  font-family: inherit;
  font-size: 15.5px; font-weight: 600;
  text-align: left;
  color: var(--ps-text);
  cursor: pointer;
}
.ps-faq__q:hover { color: #fff; }
.ps-faq__chev {
  flex: none; width: 18px; height: 18px;
  color: var(--ps-text-faint);
  transition: transform 0.22s var(--ps-ease), color 0.16s ease;
}
.ps-faq__item[data-open="true"] .ps-faq__chev { transform: rotate(180deg); color: var(--ps-blue-hi); }

.ps-faq__a {
  overflow: hidden;
  height: 0;
  transition: height 0.24s var(--ps-ease);
}
.ps-faq__a-inner {
  padding: 0 26px 22px;
  font-size: 14px; line-height: 1.62;
  color: var(--ps-text-dim);
}
.ps-faq__a-inner a { color: var(--ps-blue-hi); }

/* ohne JS: alle Antworten sichtbar */
.no-js .ps-faq__a { height: auto; }

/* ────────────────────────────────────────────────────────────────────────
   4. FAQ-Abschluss-CTA  (klein, zentriert — keine große Marketing-Section)
   ──────────────────────────────────────────────────────────────────────── */

.ps-faq-cta {
  padding: clamp(28px, 4vw, 48px) 24px clamp(64px, 8vw, 104px);
  text-align: center;
}
.ps-faq-cta p {
  margin: 0 0 16px;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 600;
  color: var(--ps-text);
}

/* ────────────────────────────────────────────────────────────────────────
   5. Footer  (reduziert, eine Zeile, feine Trennlinie oben)
   ──────────────────────────────────────────────────────────────────────── */

.ps-footer {
  border-top: 1px solid var(--ps-border);
  background: var(--ps-bg);
}
.ps-footer__inner {
  width: min(var(--ps-shell), 100%);
  margin: 0 auto;
  padding: 26px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px 40px; flex-wrap: wrap;
}
.ps-footer__copy {
  font-size: 12.5px;
  color: var(--ps-text-faint);
}
.ps-footer__links {
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
}
.ps-footer__links a,
.ps-footer__links button {
  border: 0; background: transparent;
  font-family: inherit;
  font-size: 12.5px; font-weight: 500;
  color: var(--ps-text-dim);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.16s ease;
}
.ps-footer__links a:hover,
.ps-footer__links button:hover { color: #fff; }

/* ────────────────────────────────────────────────────────────────────────
   Responsiv — Desktop bleibt Leitlayout; hier nur so viel, dass die Seite
   auf schmaleren Viewports nicht bricht (keine Mobil-Neugestaltung).
   ──────────────────────────────────────────────────────────────────────── */

@media (max-width: 980px) {
  .ps-cards { grid-template-columns: 1fr; max-width: 460px; }
  .ps-card__cta { margin-top: 16px; }
}
@media (max-width: 640px) {
  .ps-shell, .ps-pakete__head, .ps-cards, .ps-pakete__foot { padding-inline: 18px; }
  .ps-footer__inner { padding-inline: 20px; justify-content: flex-start; }
  .ps-faq__q { padding-inline: 20px; }
  .ps-faq__a-inner { padding-inline: 20px; }
}
