/* Preisseite (Entwurf 13.10.2026) – nutzt die Farben und Bausteine aus styles.css */
.draft-bar { background: var(--amber-soft); color: var(--amber); border-bottom: 1px solid var(--line-strong); padding: 8px 16px; font-size: .9rem; text-align: center; }

.p-hero { padding-bottom: 40px; }
.p-hero .lead { max-width: 40em; }
.p-count { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.p-count-label { font-weight: 650; color: var(--ink); }
.p-seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; background: var(--card); }
.p-seg button { border: 0; background: transparent; padding: 9px 18px; font: 650 1rem var(--sans); color: var(--ink); cursor: pointer; min-width: 48px; }
.p-seg button + button { border-left: 1px solid var(--line); }
.p-seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.p-plans-sec { padding-top: 48px; }
.p-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.p-plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line-strong); border-radius: 16px; padding: 30px 28px 28px; }
.p-plan h2 { font-size: 1.7rem; margin: 0 0 4px; }
.p-top { border: 2px solid var(--ink); box-shadow: 0 14px 40px rgba(11, 33, 71, .12); }
.p-flag { position: absolute; top: -13px; left: 26px; margin: 0; background: var(--ink); color: #fff; font: 650 .78rem/1 var(--mono); padding: 6px 10px; border-radius: 6px; letter-spacing: .02em; }
.p-for { color: var(--muted); margin: 0 0 18px; min-height: 2.6em; }
.p-price { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.p-price b { font: 700 2.6rem/1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.p-price span { color: var(--muted); }
.p-calc { font-size: .88rem; color: var(--muted); margin: 6px 0 20px; }
.p-list { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
.p-list li { position: relative; padding: 9px 0 9px 26px; border-top: 1px solid var(--line); font-size: .97rem; }
.p-list li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.p-plan .btn { width: 100%; justify-content: center; text-align: center; }
.p-end { text-align: center; margin: 28px 0 0; color: var(--muted); }

.p-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.p-example { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; display: inline-block; }
.p-hint, .p-small { color: var(--muted); font-size: .95rem; }
.p-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; }
.p-table th, .p-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.p-table th { font: 650 .8rem var(--mono); color: var(--muted); background: var(--paper-2); }
.p-table td:last-child { white-space: nowrap; font-weight: 650; color: var(--ink); text-align: right; }
.p-table th:last-child { text-align: right; }
.p-table tr:last-child td { border-bottom: 0; }
.p-table-sm td { padding: 10px 0; background: transparent; }
.p-table-sm { border: 0; background: transparent; margin: 8px 0 14px; }
.p-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 960px) {
  .p-plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; gap: 28px; }
  .p-for { min-height: 0; }
  .p-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 560px) {
  .p-seg button { padding: 9px 0; min-width: 44px; }
  .p-plan { padding: 26px 20px 22px; }
  .p-table td:last-child { white-space: normal; }
}

/* Jährliche Zahlung, Sternchen-Hinweis zur KI-Nutzung */
.p-hero .p-count + .p-count { margin-top: 14px; }
.p-save { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 6px; background: var(--ok-soft); color: var(--ok); font-size: .8rem; }
.p-pay button[aria-pressed="true"] .p-save { background: rgba(255, 255, 255, .18); color: #fff; }
.p-ast { color: var(--rec); text-decoration: none; font-weight: 700; margin-left: 1px; align-self: flex-start; }
.p-price .p-ast { font-size: 1.3rem; line-height: 1; margin-left: -4px; }
.p-year { margin: 6px 0 0; font-size: .9rem; font-weight: 650; color: var(--ok); }
.p-star { max-width: 860px; margin: 14px auto 0; padding: 14px 18px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: var(--card); font-size: .93rem; color: var(--text); text-align: left; }
.p-star > b:first-child { color: var(--rec); }
.p-seg.p-pay button, .p-seg.p-pay button + button { padding: 9px 14px; }

/* Individual-Baukasten und Bestellformular (Entwurf 13.10.2026) */
.p-plan .p-actions { display: grid; gap: 8px; }
.i-grid, .o-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.i-config fieldset, .o-form fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.i-config legend, .o-form legend { font: 700 1.25rem var(--serif); color: var(--ink); margin-bottom: 12px; padding: 0; }
.i-mod { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; margin-bottom: 10px;
  background: var(--card); border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer; }
.i-mod:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.i-mod input { width: 20px; height: 20px; accent-color: var(--ink); }
.i-mod b { display: block; color: var(--ink); }
.i-mod small { display: block; color: var(--muted); font-size: .88rem; }
.i-mod em { font-style: normal; font-weight: 700; color: var(--ink); white-space: nowrap; }
.i-sum { position: sticky; top: 104px; background: var(--card); border: 2px solid var(--ink); border-radius: 16px; padding: 26px; }
.i-sum h2 { font-size: 1.5rem; margin: 0 0 12px; }
.i-rows { list-style: none; margin: 0 0 16px; padding: 0; }
.i-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.i-hint { margin: 10px 0 0; padding: 10px 12px; background: var(--ok-soft); color: var(--ok); border-radius: 8px; font-size: .9rem; }
.i-sum .btn { width: 100%; justify-content: center; margin-top: 16px; }
.btn.is-disabled { opacity: .45; pointer-events: none; }
.i-sum .p-count { margin: 0 0 12px; }
.o-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 14px; }
.o-form input:not([type="checkbox"]) { width: 100%; font: 16px/1.4 var(--sans); color: var(--text); background: #fff;
  border: 1px solid var(--line-strong); border-radius: 8px; padding: 12px 14px; min-height: 48px; -webkit-appearance: none; appearance: none; }
.o-form input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11, 33, 71, .14); }
.o-form label small { font-weight: 400; color: var(--muted); }
/* Eingabefehler im Bestellformular */
.o-form input[aria-invalid="true"] { border-color: #b42318; box-shadow: 0 0 0 1px #b42318; }
.o-err { display: block; color: #b42318; font-size: .88rem; font-weight: 600; }
.o-checks > .o-err { margin: -8px 0 14px 32px; }
.o-err-sum { margin: 0 0 12px; padding: 12px 14px; border: 1px solid #b42318; border-left-width: 4px; border-radius: 8px; background: #fef3f2; color: #b42318; font-weight: 600; font-size: .95rem; }
.o-row { display: grid; grid-template-columns: 140px 1fr; gap: 14px; }
.o-check { display: flex !important; grid-template-columns: none; gap: 12px; align-items: flex-start; font-weight: 400 !important; }
.o-check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--ink); }
.o-submit { font-size: 1.05rem; padding-left: 26px; padding-right: 26px; }
.o-submit:disabled { opacity: .6; cursor: not-allowed; }
.o-lock-icon { vertical-align: -2px; margin-right: 6px; }
/* Online-Bestellung gesperrt (27.10.2026) */
.o-lock { margin: 12px 0 0; padding: 12px 14px; border: 1px solid var(--line-strong); border-left: 4px solid var(--amber); border-radius: 8px;
  background: var(--amber-soft); color: var(--text); font-size: .95rem; }
.o-form fieldset:disabled { opacity: .55; }
.o-facts { list-style: none; margin: 18px 0 14px; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: .95rem; }
.o-facts li::before { content: "✓ "; color: var(--ok); font-weight: 700; }
.o-sum .p-star { margin: 14px 0 0; font-size: .85rem; }
.o-done { max-width: 720px; }
.o-done ol { padding-left: 1.2em; }
.o-done li { margin-bottom: 8px; }
@media (max-width: 960px) {
  .i-grid, .o-grid { grid-template-columns: minmax(0, 1fr); }
  .i-sum { position: static; }
  .o-sum { order: -1; }
}
@media (max-width: 560px) {
  .o-row { grid-template-columns: 110px 1fr; }
  .i-mod { grid-template-columns: auto 1fr; }
  .i-mod em { grid-column: 2; }
}

/* Danke-Seite: Praxis wird eingerichtet → „Einrichtung starten“ (Entwurf 13.10.2026) */
.setup-box { margin: 26px 0 34px; padding: 26px; border: 2px solid var(--ink); border-radius: 16px; background: var(--card); text-align: center; }
.setup-box h2 { font-size: 1.5rem; margin: 0 0 8px; }
.setup-box p { margin: 0 auto 12px; max-width: 34em; }
.setup-btn { font-size: 1.1rem; padding: 14px 30px; margin: 6px 0 12px; }
.setup-note { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 12px !important; }
.setup-spin { width: 38px; height: 38px; margin: 0 auto 14px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--ink);
  animation: setup-spin 1s linear infinite; }
@keyframes setup-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .setup-spin { animation-duration: 3s; } }

/* ---------------------------------------------------------------------------
   Überarbeitung 13.10.2026: ruhiger, wie der Rest der Website – keine Schatten, keine schwebenden Plaketten,
   keine Pillen, Linien statt Kästen. Danach: Handy-Feinschliff.
   --------------------------------------------------------------------------- */
.p-plan { border-radius: 10px; box-shadow: none; padding: 26px 24px 24px; }
.p-top { border: 1px solid var(--ink); box-shadow: inset 0 3px 0 var(--ink); }
.p-plan h2 small { display: block; font: 600 .8rem var(--sans); color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.p-flag, .p-save { display: none; }
.p-list li { padding-left: 0; }
.p-list li::before { display: none; }
.p-price b { font-size: 2.4rem; }
.p-seg { border-radius: 8px; }
.p-seg button[aria-pressed="true"] { background: var(--ink); }
.p-star { border: 0; border-top: 1px solid var(--line-strong); border-radius: 0; background: transparent; padding: 14px 0 0;
  max-width: none; font-size: .92rem; color: var(--text); }
.p-example { border-radius: 6px; }
.i-mod { border-radius: 8px; }
.i-mod:has(input:checked) { box-shadow: inset 3px 0 0 var(--ink); border-color: var(--line-strong); }
.i-sum { border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: inset 0 3px 0 var(--ink); }
.i-hint { border-radius: 6px; }
.o-facts li::before { content: "– "; color: var(--muted); font-weight: 400; }
.setup-box { border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: inset 0 3px 0 var(--ink); text-align: left; }
.setup-box p { margin-left: 0; }
.setup-spin { margin: 0 0 14px; width: 30px; height: 30px; border-width: 3px; }
.setup-btn { margin-left: 0; }

/* Handy */
@media (max-width: 760px) {
  .p-hero { padding: 36px 0 26px; }
  .p-hero h1 { font-size: 2rem; }
  .p-hero .lead { font-size: 1.05rem; }
  .p-count { gap: 8px; margin-top: 18px; }
  .p-count-label { width: 100%; font-size: .95rem; }
  .p-seg { width: 100%; }
  .p-seg button { flex: 1; min-height: 44px; padding: 10px 6px; }
  .p-seg.p-pay button, .p-seg.p-pay button + button { padding: 10px 8px; font-size: .95rem; }
  .p-plans-sec { padding-top: 24px; }
  .p-plans { gap: 18px; }
  .p-plan { padding: 22px 18px 20px; }
  .p-for { margin-bottom: 12px; }
  .p-price b { font-size: 2.1rem; }
  .p-plan .btn { min-height: 48px; }
  .p-end { text-align: left; }
  .f-sec { padding: 44px 0; }
  .p-split { gap: 24px; }
  .p-table th, .p-table td { padding: 11px 12px; font-size: .95rem; }
  .i-grid, .o-grid { gap: 22px; }
  .i-mod { padding: 12px 14px; gap: 10px 12px; }
  .i-sum, .setup-box { padding: 20px 18px; }
  .o-form input:not([type="checkbox"]) { min-height: 50px; }
  .o-row { grid-template-columns: 96px 1fr; gap: 10px; }
  .o-submit, .setup-btn, .i-sum .btn { width: 100%; justify-content: center; text-align: center; min-height: 50px; }
  .o-done h1 { font-size: 1.9rem; }
  .draft-bar { font-size: .8rem; padding: 6px 12px; }
  .f-cta-inner .btn { width: 100%; justify-content: center; }
}
.o-head { margin-bottom: 26px; }
.o-head h1 { margin-bottom: 10px; }
@media (max-width: 760px) {
  .o-head { margin-bottom: 18px; }
  .p-split .btn, .o-done .btn { width: 100%; justify-content: center; text-align: center; min-height: 48px; }
}

/* AGB: nummerierte Absätze, druckfreundlich */
.agb-list { padding-left: 1.4em; margin: 0 0 22px; }
.agb-list li { margin-bottom: 8px; }
@media print { .site-header, .site-footer, .toc, .draft-bar, .to-top { display: none !important; } .legal { display: block; } }
.toc ol.toc-plain { list-style: none; padding-left: 0; }

/* Preisseite 13.10.2026: Badge „Am beliebtesten“, Hervorhebung beim Überfahren (nur PC), 14 Tage kostenlos betonen */
.p-badge { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); background: var(--ink); color: #fff;
  font: 700 .8rem var(--sans); letter-spacing: .02em; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.p-top { padding-top: 34px; }
.p-trial { margin: 8px 0 0; text-align: center; font-size: .85rem; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .p-plan { transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
  .p-plan:hover { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), 0 14px 36px rgba(11, 33, 71, .12); transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) { .p-plan:hover { transform: none; } }
.o-trial { margin: 0; padding: 14px 16px; border: 1px solid var(--line-strong); border-left: 4px solid var(--ink); border-radius: 8px;
  background: var(--card); font-size: 1.02rem; max-width: 760px; }
.o-note { margin: 10px 0 0; }
.o-steps { margin-top: 14px; }
.o-steps summary { cursor: pointer; color: var(--muted); font-size: .92rem; }
.o-steps p { margin: 8px 0 0; }
