/* PlauderRat page CSS: only what sits inside a visual or a control the kit lacks (the Wunsch-Anruf planner,
   the help cards, the price rows, the account page, the client's mark, the cheat sheet). Tokens from system.css only. */

/* taps: the press state of the motion layer is the feedback, not the grey flash */
a, button, label, summary { -webkit-tap-highlight-color: transparent; }

/* the client's mark: a speech bubble whose three lines are the dealt "stack" */
.pr-mark { width: 26px; height: 26px; flex: none; color: var(--ink); }
.nav__logo .pr-mark { margin-right: var(--s-2); }
.footer--dark .nav__logo .pr-mark { width: 44px; height: 44px; }

/* ---------- the planner ---------- */
.pl-form { display: grid; gap: var(--s-6); min-width: 0; }
.pl-group { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--s-3); }
.pl-legend { padding: 0; margin-bottom: var(--s-3); font: 500 var(--t-small)/1.4 var(--font-text); color: var(--ink); }
.pl-dayrow { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); }
.pl-days { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pl-day {
  width: 46px; height: 46px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: var(--card); color: var(--ink);
  font: 500 var(--t-body)/1 var(--font-text); cursor: pointer; touch-action: manipulation;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.pl-day:hover { border-color: var(--ink); }
.pl-day[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pl-quick { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pl-chip {
  min-height: 44px; padding: 0 var(--s-4); border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink);
  font: 500 var(--t-small)/1 var(--font-text); cursor: pointer; touch-action: manipulation;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.pl-chip:hover { border-color: var(--ink); background: var(--card); }
.pl-pair { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: var(--s-5); align-items: start; }
.pl-pair .field select { background-color: var(--card); color: var(--ink); }
.pl-calls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
.pl-seg {
  min-height: 56px; padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: var(--card); color: var(--ink);
  font: 500 var(--t-body)/1.3 var(--font-text); text-align: left; cursor: pointer; touch-action: manipulation;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.pl-seg small { font-weight: 400; font-size: var(--t-small); color: var(--muted); white-space: nowrap; }
.pl-seg:hover { border-color: var(--ink); }
.pl-seg[aria-pressed="true"] { border-color: var(--action); box-shadow: inset 0 0 0 1px var(--action); }
.pl-opt, .pl-check { position: relative; display: flex; gap: var(--s-3); align-items: flex-start; cursor: pointer; }
.pl-opt { min-height: 64px; padding: var(--s-3) var(--s-4); border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--card);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.pl-opt:hover { border-color: var(--ink); }
.pl-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pl-opt span { font: 500 var(--t-body)/1.35 var(--font-text); }
.pl-opt small { font-weight: 400; font-size: var(--t-small); color: var(--muted); white-space: nowrap; }
.pl-opt:has(input:checked) { border-color: var(--action); box-shadow: inset 0 0 0 1px var(--action); }
.pl-opt:has(input:focus-visible) { outline: 2px solid var(--action); outline-offset: 2px; }
.pl-reminders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2) var(--s-5); }
.pl-check { min-height: 44px; align-items: center; font-size: var(--t-body); }
.pl-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--action); flex: none; }
@media (max-width: 1279px) { .pl-pair { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 639px) {
  .pl-form { gap: var(--s-5); }
  .pl-calls { grid-template-columns: minmax(0, 1fr); }
  .pl-seg { min-height: 48px; }
  .pl-reminders { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2) var(--s-3); }
  .pl-check { font-size: var(--t-small); }
  .pl-day { width: calc((100% - 6 * var(--s-2)) / 7); min-width: 40px; }
}

/* the result card: what the planned calls come to */
.pl-card { display: grid; gap: var(--s-4); padding: var(--s-7); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); min-width: 0; }
.pl-card__sum { display: grid; gap: var(--s-4); min-width: 0; }
.pl-card__label { font: 500 var(--t-label)/1.4 var(--font-text); color: var(--muted); }
.pl-next { font: var(--display-weight) var(--t-h3)/1.2 var(--font-display); letter-spacing: var(--display-tracking); text-wrap: balance; }
.pl-facts { display: grid; margin: 0; }
.pl-facts > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: var(--s-4); padding-block: var(--s-3); border-bottom: 1px solid var(--line); }
.pl-facts dt { color: var(--muted); }
.pl-facts dd { margin: 0; overflow-wrap: anywhere; }
.pl-num { font-variant-numeric: tabular-nums; }
.pl-fit { color: var(--ink); }
@media (max-width: 639px) { .pl-card { padding: var(--s-5); gap: var(--s-3); } .pl-facts > div { grid-template-columns: 108px minmax(0, 1fr); gap: var(--s-3); padding-block: var(--s-2); } }

/* ---------- the hero's language card (on the photograph, in the kit's .ly-float) ---------- */
.lang-float { gap: var(--s-2); width: min(340px, calc(100% - 2 * var(--s-5))); }
.lang-float .ly-float__title { font-size: var(--t-card); line-height: 1.3; }
.lang-hello { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-1) 0 0; padding: 0; list-style: none; }
.lang-hello li { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--t-small); line-height: 1.4; white-space: nowrap; background: var(--surface); }
@media (max-width: 639px) {
  .lang-float .ly-float__title { display: none; }
  .lang-float { gap: var(--s-1); padding: var(--s-3) var(--s-4); }
}
.lang-line { display: none; }
@media (max-width: 639px) {
  .lang-hello { display: none; }
  .lang-line { display: block; font-size: var(--t-small); line-height: 1.4; }
}

/* ---------- "Hilfe im Alltag": four plain cards, one fixed price under them ---------- */
.hl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); margin: 0; padding: 0; list-style: none; }
.hl-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-content: start; align-items: center; gap: var(--s-3) var(--s-3); padding: var(--s-4) var(--s-5); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); min-width: 0; }
.hl-item > p { grid-column: 1 / -1; }
.hl-item h3 { font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.01em; }
.hl-item p { font-size: var(--t-body); line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.hl-price { margin-top: var(--s-3); padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: color-mix(in oklab, var(--action) 7%, var(--bg)); font-size: var(--t-body); line-height: 1.5; text-wrap: pretty; }
.hl-price strong { display: block; font-weight: 600; }
@media (max-width: 1023px) {
  .hl-price { padding: 0; background: none; }
}
/* a phone: the four as plain rows with a hairline between, the words on the page's left line */
@media (max-width: 639px) {
  .hl-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hl-item { grid-template-columns: minmax(0, 1fr); gap: var(--s-2); padding: var(--s-3) 0; background: none; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .hl-item:first-child { padding-top: 0; }
}

/* ---------- the planner's result card: the button is the card's action, full width ---------- */
.wa-card { border-color: var(--line-strong); }
.wa-card .wa-book { width: 100%; justify-content: center; margin-top: var(--s-2); }
.wa-card { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) and (max-width: 1023px) { .wa-card .wa-book { white-space: normal; height: auto; min-height: 44px; padding-block: var(--s-2); text-align: center; } }
.wa-card__note { font-size: var(--t-small); line-height: 1.5; color: var(--muted); }

/* ---------- the price cards: the same rows in every card; what a package adds is marked, what it lacks is struck ---------- */
.plan__line { color: var(--muted); }
#preise .card--plan.is-featured { background: var(--bg); }
/* price and minutes on one row, the minutes as a bar against the largest: the Kombi's runs full and in the action colour */
.plan-pm { display: grid; grid-template-columns: auto auto; justify-content: space-between; align-items: baseline; gap: var(--s-2) var(--s-3); }
.plan-pm .price { margin: 0; }
.plan-pm__min { text-align: right; font-size: var(--t-small); line-height: 1.3; color: var(--muted); }
.plan-pm__min b { display: block; font: 600 20px/1.2 var(--font-text); color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-pm__bar { grid-column: 1 / -1; position: relative; height: 8px; border-radius: 999px; background: color-mix(in oklab, var(--ink) 8%, transparent); overflow: hidden; }
.plan-pm__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--m, 1) * 100%); border-radius: inherit; background: color-mix(in oklab, var(--ink) 38%, var(--bg)); }
.plan-pm--top .plan-pm__min b { color: var(--action); font-size: 24px; }
.plan-pm--top .plan-pm__bar::after { background: var(--action); }
.plan__line--save { color: var(--action); font-weight: 600; }
.plan-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.plan-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--s-3); align-items: start; padding: 6px var(--s-3); border-radius: var(--r-sm); font-size: var(--t-body); line-height: 1.45; }
.plan-list li::before { content: ""; width: 20px; height: 20px; margin-top: 1px; background: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.plan-list li.is-in { font-weight: 600; background: color-mix(in oklab, var(--action) 8%, var(--bg)); }
.plan-list li.is-in::before { background: var(--action); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cmask id='m'%3E%3Crect width='20' height='20' fill='white'/%3E%3Cpath d='M6 10.2l2.6 2.6L14 7.4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3Ccircle cx='10' cy='10' r='10' mask='url(%23m)'/%3E%3C/svg%3E") center / 20px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cmask id='m'%3E%3Crect width='20' height='20' fill='white'/%3E%3Cpath d='M6 10.2l2.6 2.6L14 7.4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3Ccircle cx='10' cy='10' r='10' mask='url(%23m)'/%3E%3C/svg%3E") center / 20px no-repeat; }
.plan-list li.is-off { color: var(--muted); }
.plan-list li.is-off::before { background: var(--muted); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 6.5l7 7M13.5 6.5l-7 7' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 6.5l7 7M13.5 6.5l-7 7' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.plan-list li.is-off s { text-decoration-thickness: 1px; }
.plan-base { margin-top: var(--s-1); padding-top: var(--s-3); border-top: 1px solid var(--line); font-size: var(--t-body); line-height: 1.5; }
.plan-base b { font-weight: 600; }
/* a tablet and a phone: narrow or stacked cards; what every package holds is said once above them, not three times */
.plan-common { display: none; }
@media (max-width: 1023px) {
  .plan-common { display: block; font-weight: 500; }
  #preise .plan-base { display: none; }
}
@media (max-width: 639px) {
  #preise .plan-list li { padding-block: 4px; }
  #preise .card.card--plan { gap: var(--s-2); }
  #preise .plan-list { gap: 0; }
}

/* ---------- the cheat sheet on the booking page (prints alone) ---------- */
.cheat { background: #ffffff; color: #111111; border: 6px solid #111111; border-radius: var(--r-md); padding: clamp(24px, 4vw, 48px); display: grid; gap: var(--s-5); min-width: 0; }
.cheat__kicker { font: 500 var(--t-label)/1.3 var(--font-text); }
.cheat h2 { font-size: clamp(28px, 3.4vw, 40px); }
.cheat__num { font: var(--display-weight) clamp(36px, 7vw, 68px)/1.05 var(--font-display); letter-spacing: var(--display-tracking); border-block: 3px solid #111111; padding-block: var(--s-4); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.cheat ol { margin: 0; padding-left: 1.4em; display: grid; gap: var(--s-2); font: 500 22px/1.35 var(--font-text); }
.cheat__rows { display: grid; gap: var(--s-4); font-size: 20px; line-height: 1.4; }
.cheat__rows p { display: grid; gap: 2px; }
.cheat__rows b { font: 500 var(--t-label)/1.3 var(--font-text); color: #4a4a4a; }
.cheat__sos { background: #111111; color: #ffffff; border-radius: var(--r-sm); padding: var(--s-4) var(--s-5); font: 500 20px/1.35 var(--font-text); }
@media print {
  body > :not(main), .no-print { display: none !important; }
  main, .bk, .bk__done { display: block !important; padding: 0 !important; min-height: 0 !important; }
  .cheat { border-color: #111111; break-inside: avoid; }
}
