/* /preise.css */
/* /preise/: the pricing page after both references (checklist 87).
   Centred head with the one switch, one row of four plans per person and month (the day's hours as the plans' colours:
   noon, golden, dusk, night, with the sun on its way down), where it runs, the plan table with a head that sticks,
   what is the same in every plan, the calculator, the questions as two panes. Still page: hover, focus, the switch,
   the panes. */

.calm:has(.pr-head) { padding-top: clamp(132px, 8rem + 2.4vw, 176px); }
.pr-head { text-align: center; }
.pr-head .ph__h { max-width: 16ch; margin-inline: auto; }
.pr-head .ph__lead { max-width: 44ch; margin-inline: auto; }
.pr-bill { margin: 30px 0 0; }
.pr-bill button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 22px; }
.pr-pct { padding: 3px 8px 4px; border-radius: 4px; background: var(--sun); background-image: var(--impasto); background-size: 160px; color: var(--ink); font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.01em; white-space: nowrap; }

/* ---------- the row of plans ---------- */
.pr-plans { margin-top: clamp(36px, 3.4vw, 52px); }
.pr-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.pp { position: relative; display: flex; flex-direction: column; border-radius: 16px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--rule), 0 24px 44px -32px rgb(60 40 10 / 0.35); }
.pp__sky { position: relative; overflow: hidden; height: 104px; border-radius: 16px 16px 0 0; background-color: var(--sky); background-image: var(--impasto-soft); background-size: 420px; box-shadow: inset 0 -1px 0 rgb(22 19 15 / 0.08); }
.pp__sky::before { content: ""; position: absolute; right: 26px; top: var(--sun-y, 22px); width: 30px; height: 30px; border-radius: 50%; background: var(--disc, var(--sun)); box-shadow: 0 0 0 9px color-mix(in srgb, var(--disc, var(--sun)) 22%, transparent); }
.pp__sky::after { content: ""; position: absolute; left: -4%; right: -4%; bottom: -34px; height: 62px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: var(--hill); transform: rotate(-2.2deg); }
.pp[data-hour="noon"] { --sky: #f3e7cf; --sun-y: 16px; --hill: #c9cf9a; }
.pp[data-hour="golden"] { --sky: #f2d39b; --sun-y: 34px; --hill: #c7b46c; }
.pp[data-hour="dusk"] { --sky: #d9998b; --sun-y: 56px; --disc: #f6c08a; --hill: #8d5a63; }
.pp[data-hour="night"] { --sky: #1f2f55; --sun-y: 22px; --disc: #efe8dc; --hill: #0d1323; }
.pp__name { position: absolute; left: 24px; bottom: 14px; z-index: 1; font-family: var(--display); font-weight: 600; font-variation-settings: var(--head-axes-sm); font-size: 1.875rem; line-height: 1; letter-spacing: -0.015em; }
.pp__in { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 28px; }
.pp__for { min-height: 3em; font-size: 1.0625rem; line-height: 1.5; color: var(--ink-3); }
.pp__price { margin-top: 18px; font-family: var(--display); font-weight: 600; font-variation-settings: var(--head-axes); font-size: 3.25rem; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pp__per { margin-top: 8px; font-size: 1rem; color: var(--ink-3); }
.pp__note { margin-top: 2px; min-height: 1.5em; font-size: 0.9375rem; color: var(--ink-3); }
.pp .btn { margin-top: 22px; justify-content: center; padding-inline: 12px; font-size: 0.9375rem; }
.pp__plus { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 1rem; font-weight: 600; }
.pp .ticks { margin-top: 6px; }
.pp .ticks li { padding: 6px 0; font-size: 1rem; }
.pp__team { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--rule); }
.pp__team > p { font-size: 1rem; font-weight: 600; }

/* the plan most people take: an ink ring and the painted tag */
.pp.is-main { box-shadow: 0 28px 48px -30px rgb(60 40 10 / 0.5); }
.pp.is-main::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--ink); pointer-events: none; }
.pp__tag { position: absolute; z-index: 2; left: 50%; top: -14px; transform: translateX(-50%) rotate(-1.6deg); padding: 6px 12px 7px; border-radius: 4px; background-color: var(--ink); color: var(--morning); font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }

/* Enterprise: the night card */
.pp.is-night { background: var(--night); color: var(--night-ink); --ink-2: var(--night-ink-2); --ink-3: var(--night-ink-3); --rule: var(--night-rule); box-shadow: 0 24px 44px -28px rgb(10 14 30 / 0.7); }
.pp.is-night .ticks .ic { color: var(--sun-pale); }
.pp.is-night .btn { --btn-bg: var(--morning); --btn-fg: var(--ink); --btn-wipe: var(--golden); }
.pp.is-night :focus-visible { outline-color: var(--golden); }

.pr-foot { margin-top: 26px; text-align: center; font-size: 1.0625rem; color: var(--ink-3); }
.pr-foot a { color: var(--ink); }

/* ---------- where it runs: a set-off paper panel, the apps as a loose pile ---------- */
.pr-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 4fr); gap: 28px clamp(28px, 4vw, 64px); align-items: center; padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 56px); border-radius: 20px; background: var(--paper-deep); }
.pr-panel h2 { font-family: var(--display); font-weight: 600; font-variation-settings: var(--head-axes); font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); line-height: 1.05; letter-spacing: -0.02em; max-width: 12ch; }
.pr-facts { display: grid; gap: 18px; margin: 0; }
.pr-facts dt { font-weight: 600; font-size: 1.0625rem; }
.pr-facts dd { margin: 2px 0 0; font-size: 1.0625rem; line-height: 1.5; color: var(--ink-2); }
.pr-pile { position: relative; display: grid; grid-template-columns: repeat(4, 56px); gap: 12px; justify-content: end; }
.pr-pile a:not(.pr-pile__all) { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: #fff; box-shadow: 0 1px 0 rgb(255 255 255 / 0.7) inset, 0 10px 22px -12px rgb(60 40 10 / 0.45), 0 0 0 1px rgb(22 19 15 / 0.06); transition: transform 200ms var(--ease-out); }
.pr-pile a:not(.pr-pile__all):nth-child(odd) { transform: rotate(-3deg) translateY(3px); }
.pr-pile a:not(.pr-pile__all):nth-child(3n) { transform: rotate(2.5deg) translateY(-4px); }
.pr-pile img { width: 34px; height: 34px; }
.pr-pile__all { grid-column: 1 / -1; justify-self: end; margin-top: 6px; font-weight: 600; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
@media (hover: hover) and (pointer: fine) { .pr-pile a:not(.pr-pile__all):hover { transform: rotate(0) translateY(-3px); } .pr-pile__all:hover { text-decoration: underline; text-underline-offset: 4px; } }

/* ---------- the plan table ---------- */
.pr-cmp-h { text-align: center; max-width: 18ch; margin-inline: auto; }
.pr-cmp { margin-top: clamp(32px, 4vw, 56px); }
.pr-cmp th:first-child { width: 30%; }
.pr-cmp thead th { padding-bottom: 18px; }
.pr-cmp thead .cmp__n { display: flex; align-items: center; gap: 9px; }
.cmp__dot { flex: none; width: 13px; height: 13px; border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px rgb(22 19 15 / 0.14); }
.cmp__dot[data-hour="noon"] { --dot: #f3e7cf; }
.cmp__dot[data-hour="golden"] { --dot: #f2d39b; }
.cmp__dot[data-hour="dusk"] { --dot: #d9998b; }
.cmp__dot[data-hour="night"] { --dot: #121a2e; }
/* the price is the amount, its unit one quiet line below (one line "13 € pro Person und Monat" broke in the column) */
.pr-cmp thead .cmp__p { margin-top: 8px; font-variant-numeric: tabular-nums; font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
.pr-cmp thead .cmp__p::after { content: "pro Person und Monat"; display: block; margin-top: 1px; font-size: 0.875rem; font-weight: 400; color: var(--ink-2); white-space: nowrap; }
.cmp__a { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 0.9375rem; font-weight: 600; color: var(--ink); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .cmp__a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.pr-cmp tbody td { font-size: 1rem; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .pr-cmp tbody tr:not(.cmp__g):hover > * { background-color: rgb(22 19 15 / 0.025); } }
/* Pro is marked like one stroke of a highlighter (owner 2026-12-01: "abrunden, ohne diesen schwarzen Strich, wie
   eine Markierung"): ONE rounded band behind the whole column, drawn once behind the table; the sticky head cell
   repeats its rounded top on its own ground so rows never show through the corners. Every cell has the same 20 px
   of air inside its column, the head included (the head's text sat on the band's left edge before). */
.pr-cmp { position: relative; --mark: rgb(242 203 134 / 0.3); }
.pr-cmp::before { content: ""; position: absolute; z-index: 0; top: 0; bottom: -12px; left: 47.5%; width: 17.5%; border-radius: 18px; background: var(--mark); pointer-events: none; }
.pr-cmp table { position: relative; z-index: 1; }
.pr-cmp thead th:nth-child(3) { border-radius: 18px 18px 0 0; background-image: linear-gradient(var(--mark), var(--mark)); }
.pr-cmp thead th, .pr-cmp tbody td { padding-left: 20px; }
.pr-cmp thead th:first-child { padding-left: 0; }

.cmp-pick { display: none; }

/* ---------- the same in every plan ---------- */
.pr-same { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px clamp(32px, 5vw, 80px); align-items: start; padding: clamp(32px, 4vw, 52px) clamp(24px, 4vw, 56px); border-radius: 20px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--rule); }
.pr-same h2 { font-family: var(--display); font-weight: 600; font-variation-settings: var(--head-axes); font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); line-height: 1.05; letter-spacing: -0.02em; }
.pr-same__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 600; color: var(--ink); }
.pr-same ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px clamp(20px, 3vw, 40px); list-style: none; padding: 0; margin: 0; }
.pr-same li { padding-top: 18px; border-top: 2px solid var(--ink); }
.pr-same li b { display: block; font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.pr-same li span { display: block; margin-top: 8px; font-size: 1.0625rem; line-height: 1.5; color: var(--ink-2); }

/* the calculator on the evening band, centred on this page */
.pr-calc .blk__h { text-align: center; max-width: 18ch; margin-inline: auto; }
.pr-calc .calc__note { text-align: center; }

/* ---------- questions as two panes ---------- */
.asks__h { text-align: center; max-width: none; margin-inline: auto; }
/* groups of questions as one switch above the panes (the questions page) */
.asks__tabs { display: flex; width: fit-content; max-width: 100%; margin: clamp(28px, 3vw, 40px) auto 0; padding: 4px; gap: 4px; border-radius: 999px; background: rgb(22 19 15 / 0.06); box-shadow: inset 0 0 0 1px rgb(22 19 15 / 0.06); }
.asks__tabs button { height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: none; color: var(--ink-3); font: 500 1.0625rem var(--sans); cursor: pointer; transition: background-color 160ms ease-out, color 160ms ease-out; }
.asks__tabs button[aria-pressed="true"] { background: var(--sheet); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgb(22 19 15 / 0.14); }
.asks__tabs + .asks__box { margin-top: 20px; }
.asks__list li[hidden] { display: none; }
.asks__box { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: clamp(32px, 4vw, 56px); border-radius: 20px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--rule); overflow: hidden; }
.asks__list { list-style: none; margin: 0; padding: 14px; background-color: var(--forest); background-image: var(--impasto-soft); background-size: 420px; color: var(--night-ink); }
.asks__list button { display: block; width: 100%; padding: 14px 18px; border: 0; border-radius: 10px; background: none; color: inherit; font: 500 1.0625rem/1.4 var(--sans); text-align: left; cursor: pointer; opacity: 0.82; transition: background-color 160ms var(--ease-out), opacity 160ms var(--ease-out); }
.asks__list button[aria-expanded="true"] { background: rgb(255 255 255 / 0.14); opacity: 1; font-weight: 600; }
.asks__list button:focus-visible { outline: 2px solid var(--golden); outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { .asks__list button:hover { opacity: 1; } }
.asks__sheet { position: relative; padding: clamp(28px, 4vw, 56px); min-height: 340px; }
.asks__a { max-width: 46ch; }
.js .asks__a { display: none; }
.js .asks__a.is-on { display: block; animation: asks-in 260ms var(--ease-out); }
.asks__q { font-family: var(--display); font-weight: 600; font-variation-settings: var(--head-axes-sm); font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.15; letter-spacing: -0.012em; margin-bottom: 16px; }
.asks__a p { font-size: 1.1875rem; line-height: 1.6; color: var(--ink-2); }
.asks__a p + p { margin-top: 12px; }
.asks__a a { color: var(--ink); }
@keyframes asks-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .asks__a.is-on { animation: none; } }

@media (max-width: 1100px) {
  .pr-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .pr-panel { grid-template-columns: 1fr 1fr; }
  .pr-panel h2 { grid-column: 1 / -1; max-width: none; }
  .pr-same { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .pr-row { grid-template-columns: 1fr; gap: 30px; }
  .pp__for { min-height: 0; }
  .pr-panel { grid-template-columns: 1fr; }
  .pr-pile { justify-content: start; grid-template-columns: repeat(5, 52px); }
  .pr-pile a:not(.pr-pile__all) { width: 52px; height: 52px; }
  .pr-pile__all { justify-self: start; }
  .pr-same ul { grid-template-columns: 1fr; }
  .pr-cmp thead .cmp__p::after { content: none; }
  .pr-cmp::before { content: none; }
  .pr-cmp thead th:nth-child(3) { background-image: none; border-radius: 0; }
  .pr-cmp th:first-child { width: auto; }
  .pr-cmp th, .pr-cmp td { padding-left: 0; }
  /* one plan at a time: the picker sticks under the header, each row is the function and that plan's value */
  .js .cmp-pick { position: sticky; top: 68px; z-index: 5; display: grid; grid-template-columns: repeat(4, auto); gap: 4px; margin-top: 28px; padding: 4px; border-radius: 999px; background: var(--paper-deep); box-shadow: 0 8px 18px -12px rgb(60 40 10 / 0.5); }
  .cmp-pick button { height: 40px; padding: 0 8px; border: 0; border-radius: 999px; background: none; color: var(--ink-3); font: 500 0.9375rem var(--sans); cursor: pointer; }
  .cmp-pick button[aria-pressed="true"] { background: var(--sheet); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgb(22 19 15 / 0.14); }
  .js .cmp-pick + .pr-cmp { margin-top: 8px; }
  .js .pr-cmp[data-pick] tr:not(.cmp__g) { grid-template-columns: minmax(0, 1fr) minmax(0, 42%); align-items: start; padding: 14px 0; }
  .js .pr-cmp[data-pick] tbody tr:not(.cmp__g) th { grid-column: 1; font-weight: 500; }
  .js .pr-cmp[data-pick] td { display: none; grid-column: 2; text-align: right; font-weight: 500; }
  .js .pr-cmp[data-pick] td[data-l]::before { content: none; }
  .js .pr-cmp[data-pick="0"] td:nth-child(2), .js .pr-cmp[data-pick="1"] td:nth-child(3), .js .pr-cmp[data-pick="2"] td:nth-child(4), .js .pr-cmp[data-pick="3"] td:nth-child(5) { display: block; }
  .pr-cmp .cmp__g th { padding-top: 32px; }
  .asks__box { display: block; background: none; box-shadow: none; border-radius: 0; overflow: visible; }
  .asks__list, .asks__tabs { display: none; }
  .asks__sheet { padding: 0; min-height: 0; }
  .js .asks__a, .asks__a { display: block; max-width: none; padding: 22px 0 24px; border-top: 1px solid var(--rule); animation: none; }
  .asks__q { font-family: var(--sans); font-variation-settings: normal; font-size: 1.1875rem; letter-spacing: 0; margin-bottom: 8px; }
  .asks__a p { font-size: 1.0625rem; }
}
