/* Preisseite (live seit 29.09.2026, Entwurf A „Karten“ aus mockups/preisseite-2026-09-29, seither vier Pakete): erst die
   Grundlage wie auf der Startseite (M1: Kopf, Fragen, Schluss, Fuß), dann die Gestaltung des Preisteils.
   Schriften kommen aus den vorhandenen Ordnern der Seite. */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('/app/static/fonts/outfit-variable.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('/app/static/fonts/source-sans-3-variable.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: italic; font-weight: 400; font-display: swap; src: url('/app/static/fonts/source-sans-3-italic.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/bricolage-grotesque-latin.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/fonts/hanken-grotesk-latin.woff2') format('woff2'); }

:root {
  --ink: #0D0F16;
  --ink-2: #2C3140;
  --muted: #646B7E;
  --faint: #9CA2B3;
  --line: #E4E6EE;
  --line-2: #D4D7E2;
  --bg: #FAFAFC;
  --surface: #FFFFFF;
  --panel: #F3F4F8;
  --accent: #3B38F5;
  --accent-d: #2A27D6;
  --violet: #7A5CFF;
  --lavendel: #B9B0FF;
  --tint: #ECEBFF;
  --grad: linear-gradient(100deg, #3B38F5, #7A5CFF);
  --display: 'Outfit', system-ui, sans-serif;
  --text: 'Source Sans 3', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); font: 400 18px/1.62 var(--text); color: var(--ink-2); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 500; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; font: 600 15px var(--display); text-decoration: none; }
.skip:focus { top: 12px; }
.nur-lesbar { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

/* ─── Kopf wie M1 ─── */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo svg { width: 30px; height: 27px; flex: none; }
.kopf { position: sticky; top: 0; z-index: 30; background: rgba(250, 250, 252, 0.84); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid transparent; transition: border-color 0.25s; }
.kopf.ist-gescrollt { border-bottom-color: var(--line); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 70px; }
.kopf .logo span { font: 700 20.8px/1 'Bricolage Grotesque', var(--display); letter-spacing: -0.04em; }
.kopf-nav { display: flex; align-items: center; gap: 32px; }
.kopf-link { position: relative; font: 400 14.4px 'Hanken Grotesk', var(--text); color: var(--ink-2); text-decoration: none; transition: color 0.2s; }
.kopf-link::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1.5px; background: var(--accent); transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.kopf-link:hover, .kopf-link[aria-current="page"] { color: var(--ink); }
.kopf-link:hover::after, .kopf-link[aria-current="page"]::after { width: 100%; }
.kopf-cta { padding: 8px 17px; border-radius: 8px; background: var(--ink); color: #fff; font: 500 14.4px 'Hanken Grotesk', var(--text); text-decoration: none; white-space: nowrap; transition: background-color 0.2s, transform 0.2s; }
.kopf-cta:hover { background: var(--accent); transform: translateY(-1px); }

/* ─── Knöpfe wie M1 ─── */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 12px; border: 1px solid transparent; font: 600 16.5px/1 var(--display); letter-spacing: -0.1px; text-decoration: none; white-space: nowrap; cursor: pointer; transition: box-shadow 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.15s; }
.knopf:active { transform: translateY(1px); }
.knopf-primaer { background: var(--grad); color: #fff; box-shadow: 0 1px 2px rgba(13, 15, 22, 0.12), 0 8px 22px rgba(59, 56, 245, 0.28); }
.knopf-primaer:hover { box-shadow: 0 1px 2px rgba(13, 15, 22, 0.12), 0 12px 30px rgba(59, 56, 245, 0.4); }
.knopf-sekundaer { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.knopf-sekundaer:hover { border-color: var(--accent); color: var(--accent-d); }
.knopf-klein { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 10px; }

/* ─── Zahlweise: Monatlich / Jährlich ─── */
.zahlweise { display: inline-flex; gap: 4px; margin: 0; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: 0 1px 2px rgba(13, 15, 22, 0.04); }
.zahlweise label { position: relative; display: block; }
.zahlweise input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.zahlweise span { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 20px; border-radius: 999px; font: 500 15.5px var(--display); color: var(--muted); white-space: nowrap; transition: background-color 0.2s, color 0.2s; }
.zahlweise label:hover span { color: var(--ink); }
.zahlweise input:checked + span { background: var(--ink); color: #fff; }
.zahlweise input:focus-visible + span { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.zahlweise b { padding: 3px 9px; border-radius: 999px; background: var(--tint); font: 600 12.5px/1.3 var(--display); color: var(--accent); transition: background-color 0.2s, color 0.2s; }
.zahlweise input:checked + span b { background: rgba(255, 255, 255, 0.16); color: #fff; }

/* Zahl, die sich nach einer Eingabe ändert, rollt kurz ein (Antwort auf den Klick, keine Deko) */
.zahl-wechsel { display: inline-block; animation: zahl-rein 0.34s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes zahl-rein { from { opacity: 0; transform: translateY(0.3em); } }
.tabellenziffern { font-variant-numeric: tabular-nums; }

/* ─── Haken-Liste und Hinweis ─── */
.haken { display: grid; gap: 11px; }
.haken li { display: flex; align-items: flex-start; gap: 12px; }
.haken svg { flex: none; width: 20px; height: 20px; margin-top: 4px; color: var(--accent); }
.hinweis { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.hinweis svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }

/* ─── Fragen wie M1 ─── */
.fragen-bereich { padding: clamp(96px, 12vw, 160px) 0; }
.fragen-raster { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.fragen-kopf { position: sticky; top: 118px; }
.fragen-bereich h2 { font-size: clamp(30px, 2.8vw, 40px); line-height: 1.12; letter-spacing: -0.03em; }
.fragen-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 22px; font: 500 15.5px var(--display); color: var(--accent); text-decoration: none; }
.fragen-link:hover { color: var(--accent-d); text-decoration: underline; text-underline-offset: 3px; }
.fragen-link svg { flex: none; width: 14px; height: 14px; }
.fragen details { border-bottom: 1px solid var(--line); }
.fragen summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 22px 0; font: 600 19px/1.35 var(--display); color: var(--ink); }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--muted); transition: transform 0.25s ease; }
.fragen details[open] summary svg { transform: rotate(45deg); color: var(--accent); }
.fragen details p { padding: 0 0 22px; max-width: 68ch; }
.fragen details:first-child summary { padding-top: 6px; }

/* ─── Schluss wie M1: dunkles Band, Licht in Blau und Violett von unten ─── */
.schluss { padding: clamp(96px, 12vw, 176px) 0; text-align: center; color: #B4BACB;
  background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(59, 56, 245, 0.38), transparent 70%), radial-gradient(ellipse 40% 50% at 70% 100%, rgba(122, 92, 255, 0.3), transparent 70%), var(--ink); }
.schluss h2 { margin: 0 auto; max-width: 13ch; font-size: clamp(44px, 6.4vw, 94px); line-height: 0.99; letter-spacing: -0.045em; color: #fff; }
.schluss p { margin: 26px auto 0; max-width: 30em; font-size: clamp(18px, 1.5vw, 20px); }
.schluss-aktionen { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }

/* ─── Fuß wie M1 ─── */
.fuss { padding: 28px 0 44px; font-size: 14.5px; color: var(--muted); }
.fuss-innen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.fuss nav { display: flex; gap: 22px; }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--ink); }

/* ─── Dialog nach „… wählen“: Online-Buchung noch nicht aktiv (Inhalt wie live) ─── */
.wahl { width: min(468px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 24px; background: var(--surface); color: var(--ink-2); box-shadow: 0 32px 90px rgba(13, 15, 22, 0.3); }
.wahl::backdrop { background: rgba(13, 15, 22, 0.44); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.wahl[open] { animation: wahl-auf 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes wahl-auf { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
.wahl-innen { position: relative; padding: 30px 28px 26px; }
.wahl h2 { padding-right: 40px; font-size: 25px; line-height: 1.2; letter-spacing: -0.02em; }
.wahl-summe { margin: 18px 0 16px; padding: 16px 18px; border-radius: 16px; background: var(--panel); }
.wahl-summe strong { display: block; font: 600 24px/1.2 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.wahl-summe span { display: block; margin-top: 4px; font-size: 15.5px; color: var(--muted); }
.wahl p { font-size: 16px; line-height: 1.55; }
.wahl-aktionen { display: grid; gap: 10px; margin-top: 22px; }
.wahl-zu { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; }
.wahl-zu:hover { background: var(--panel); color: var(--ink); }
.wahl-zu svg { width: 18px; height: 18px; }

/* ─── Schmal ─── */
@media (max-width: 1020px) {
  .fragen-raster { grid-template-columns: minmax(0, 1fr); }
  .fragen-kopf { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .kopf-innen { height: 64px; gap: 12px; }
  .kopf-nav { gap: 18px; }
  /* Am Handy nur Preise: Produkt übernimmt das Logo, Login gehört an den Desktop (wie M1) */
  .kopf-link:not(.kopf-link-preise), .fuss-login { display: none; }
  .kopf-link-preise::before { content: ""; position: absolute; inset: -12px -8px; }
  .zahlweise span { height: 40px; padding: 0 16px; font-size: 15px; }
}
@media (max-width: 374px) {
  .kopf-innen { gap: 10px; }
  .kopf .logo { gap: 8px; }
  .kopf .logo span { font-size: 18.5px; }
  .kopf-nav { gap: 12px; }
  .kopf-link-preise, .kopf-cta { font-size: 14px; }
  .kopf-cta { padding: 8px 11px; }
  /* Umschalter passt so auch bei 320 px Breite samt „10 % sparen“ in eine Zeile */
  .zahlweise span { padding: 0 11px; gap: 6px; }
  .zahlweise b { padding: 2px 7px; font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
/* Variante A „Drei Karten“: Die Kundenzahl steht groß als Erstes in jeder Karte, weil nur sie die Pakete
   unterscheidet. Die empfohlene Karte ist dunkel mit dem Licht des Schlussbands von M1; sonst bleibt alles ruhig. */
.a-held { padding: clamp(64px, 9vw, 116px) var(--gutter) clamp(48px, 6vw, 76px); text-align: center; }
.a-held h1 { font-size: clamp(44px, 6vw, 84px); line-height: 0.98; letter-spacing: -0.045em; }
.a-held p { margin: 22px auto 0; max-width: 34em; font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); }
.a-held .zahlweise { margin-top: 36px; }

/* Vier Pakete nebeneinander; Zahl und Schrift so bemessen, dass auch „14 Kundenaccounts“ in einer Zeile bleibt */
.a-pakete { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; padding-top: 14px; }
.a-karte { position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); color: var(--ink-2); }
.a-karte h2 { font-size: 21px; letter-spacing: -0.01em; }
.a-anzahl { display: flex; align-items: flex-end; gap: 10px; margin-top: 30px; }
.a-anzahl strong { font: 400 clamp(76px, 6.2vw, 88px)/0.78 var(--display); letter-spacing: -0.06em; color: var(--ink); }
.a-anzahl span { padding-bottom: 3px; font: 500 16.5px/1.2 var(--display); letter-spacing: -0.01em; color: var(--ink); }
.a-preis { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.a-betrag { font: 600 40px/1 var(--display); letter-spacing: -0.03em; color: var(--ink); }
.a-monat { font-size: 16px; color: var(--muted); }
.a-abrechnung { min-height: 1.55em; margin-top: 8px; font-size: 14px; color: var(--muted); }
.a-abrechnung del { margin-right: 8px; color: var(--faint); }
.a-karte .haken { margin: 24px 0 30px; font-size: 16px; }
.a-karte .knopf { width: 100%; margin-top: auto; }
.a-marke { position: absolute; top: 25px; right: 22px; padding: 5px 12px; border-radius: 999px; font: 600 13px/1.2 var(--display); }

.a-karte.ist-empfohlen { border-color: transparent; color: #C6CBD8; transform: translateY(-14px);
  background: radial-gradient(ellipse 120% 58% at 50% 100%, rgba(59, 56, 245, 0.5), transparent 72%), radial-gradient(ellipse 70% 40% at 88% 100%, rgba(122, 92, 255, 0.42), transparent 70%), var(--ink);
  box-shadow: 0 34px 80px rgba(28, 25, 120, 0.3); }
.ist-empfohlen h2, .ist-empfohlen .a-anzahl strong, .ist-empfohlen .a-anzahl span, .ist-empfohlen .a-betrag { color: #fff; }
.ist-empfohlen .a-preis { border-top-color: rgba(255, 255, 255, 0.12); }
.ist-empfohlen .a-monat, .ist-empfohlen .a-abrechnung { color: #A3AABC; }
.ist-empfohlen .a-abrechnung del { color: #767D90; }
.ist-empfohlen .haken svg { color: var(--lavendel); }
.ist-empfohlen .a-marke { background: rgba(255, 255, 255, 0.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.ist-empfohlen .knopf-primaer { box-shadow: 0 10px 30px rgba(59, 56, 245, 0.45); }

.a-extras { display: grid; justify-items: center; gap: 24px; padding-top: clamp(44px, 5vw, 64px); }
.a-inklusive { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; font: 500 16.5px var(--display); color: var(--ink); }
.a-inklusive li { display: flex; align-items: center; gap: 10px; }
.a-inklusive svg { flex: none; width: 22px; height: 22px; color: var(--accent); }
.a-extras .hinweis { justify-content: center; text-align: center; }

@media (max-width: 1199px) {
  .a-pakete { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 920px; gap: 20px; }
  .a-karte { padding: 30px 30px 28px; }
  .a-anzahl { gap: 14px; }
  .a-anzahl strong { font-size: 104px; }
  .a-anzahl span { font-size: 18px; }
  .a-abrechnung { font-size: 15px; }
  .a-karte .haken { font-size: 16.5px; }
  .a-marke { top: 27px; right: 26px; }
  /* Im Zwei-mal-zwei-Raster stünde die angehobene Karte schief */
  .a-karte.ist-empfohlen { transform: none; }
}
@media (max-width: 900px) {
  .a-pakete { grid-template-columns: minmax(0, 1fr); max-width: 560px; gap: 16px; }
  .a-karte.ist-empfohlen { transform: none; }
}
@media (max-width: 640px) {
  .a-held { text-align: left; }
  .a-held p { margin-left: 0; }
  .a-karte { border-radius: 22px; padding: 24px 22px 22px; }
  .a-anzahl { margin-top: 24px; }
  .a-anzahl strong { font-size: 84px; }
  .a-betrag { font-size: 36px; }
  .a-marke { top: 22px; right: 20px; }
  .a-extras { justify-items: start; }
  .a-extras .hinweis { justify-content: flex-start; text-align: left; }
  .a-inklusive { flex-direction: column; align-items: flex-start; gap: 12px; }
}
