/* The sizes S / M / L (DEC-0020): one component for the homepage section #preise and the price page /preise/.
   Markup: src/lib/sizes.mjs. Everything is scoped to .az-sizes and carries its own tokens (the landing page's paper, ink
   and orange, DESIGN.md), so the same cards look the same in the landing sheet and in the core page frame.
   Monthly/yearly and "Nur Unterschiede zeigen" switch through native inputs and :has(), also without JavaScript.
   Logical properties throughout (Arabic reads right to left). */
.az-sizes {
  --az-paper: #f0eee7;
  --az-paper-2: #f6f4ee;
  --az-sheet: #fbfaf6;
  --az-warm: #e5dfd2;
  --az-ink: #25352f;
  --az-ink-2: #3b5146;
  --az-soft: #526054;
  --az-line: #dfd9ce;
  --az-line-strong: #bac1b7;
  --az-orange: #ff6a3d;
  --az-orange-hover: #ff7c54;
  --az-orange-deep: #a53b1b;
  --az-on-ink: #f0eee7;
  --az-on-ink-soft: #c9cfc6;
  --az-display: Barlow, 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --az-body: Instrument, 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --az-ease: cubic-bezier(.16, 1, .3, 1);
  --az-shadow: 0 1px 2px rgba(37, 53, 47, .06), 0 18px 40px -24px rgba(37, 53, 47, .32);
  color: var(--az-ink);
  font-family: var(--az-body);
}
.az-sizes :where(p, h2, h3, ul, dl, dd) { margin: 0; }
.az-sizes :where(ul) { padding: 0; list-style: none; }
.az-sizes :where(a) { color: inherit; }
.az-sizes :focus-visible { outline: 2px solid var(--az-orange-deep); outline-offset: 3px; border-radius: 8px; }

/* Monthly or yearly: the checked radio decides which of the two variants shows. */
.az-sizes:has(.az-period input[value="y"]:checked) .az-m,
.az-sizes:has(.az-period input[value="m"]:checked) .az-y { display: none !important; }

.az-period { display: inline-flex; flex-wrap: wrap; padding: 4px; border-radius: 999px; background: var(--az-sheet); box-shadow: inset 0 0 0 1px var(--az-line); }
.az-period input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.az-period label { display: inline-flex; align-items: center; min-height: 42px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: .92rem; line-height: 1.2; color: var(--az-soft); cursor: pointer; transition: background-color .35s var(--az-ease), color .35s; }
.az-period input:checked + label { background: var(--az-ink); color: var(--az-paper); }
.az-period input:focus-visible + label { outline: 2px solid var(--az-orange-deep); outline-offset: 2px; }

/* ---------- Cards ---------- */
.az-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.az-card { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 30px 26px 28px; border-radius: 24px; background: var(--az-sheet); box-shadow: var(--az-shadow); }
.az-card-top { display: flex; align-items: center; gap: 14px; }
.az-card .az-size { font-family: var(--az-display); font-weight: 600; font-size: 3.6rem; line-height: .9; letter-spacing: -.01em; }
.az-badge { padding: 5px 12px; border-radius: 999px; background: var(--az-orange); color: var(--az-ink); font-size: .78rem; font-weight: 600; white-space: nowrap; box-shadow: 0 8px 18px -8px rgba(165, 59, 27, .6); }
.az-for { flex: 1; min-width: 0; font-size: .95rem; line-height: 1.35; color: var(--az-ink-2); }
.az-was { min-height: 1.5em; font-size: .95rem; color: var(--az-soft); font-variant-numeric: tabular-nums; }
/* The value of M and L in S prices: a calculation, readable, struck finely in the text's own colour (owner, 8 Nov 2026). */
.az-was s { text-decoration-color: currentColor; text-decoration-thickness: 1px; }
/* Included monthly usage in euros, with the way to "So rechnen wir"; the trial's terms under its start. */
.az-included { margin-top: 2px; font-size: .9rem; font-weight: 600; color: var(--az-ink); }
.az-included a { margin-inline-start: .35em; white-space: nowrap; font-weight: 500; color: inherit; text-decoration: underline; text-decoration-color: var(--az-orange); text-decoration-thickness: 1.5px; text-underline-offset: .25em; }
.az-trial-terms { margin-top: 2px; font-size: .84rem; text-align: center; color: var(--az-soft); }
.az-card-recommended .az-included { color: #fff; }
.az-card-recommended .az-trial-terms { color: var(--az-on-ink-soft); }
.az-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.az-price > span { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.az-price strong { font-family: var(--az-display); font-weight: 600; font-size: clamp(2.6rem, 3.6vw, 3.3rem); line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.az-price span span { font-size: .9rem; color: var(--az-soft); }
.az-period-note { font-size: .84rem; color: var(--az-soft); }
.az-cta { display: grid; margin-top: 8px; }
.az-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: .96rem; text-align: center; text-decoration: none; color: var(--az-ink) !important; box-shadow: inset 0 0 0 1.5px var(--az-ink); transition: transform .35s var(--az-ease), background-color .2s, color .2s, box-shadow .35s var(--az-ease); }
.az-button:hover { transform: translateY(-2px); background: var(--az-ink); color: var(--az-paper) !important; }
.az-button-strong { background: var(--az-orange); box-shadow: inset 0 -2px 0 rgba(37, 53, 47, .12); }
.az-button-strong:hover { background: var(--az-orange-hover); color: var(--az-ink) !important; box-shadow: inset 0 -2px 0 rgba(37, 53, 47, .12), 0 14px 28px -16px rgba(165, 59, 27, .6); }
.az-plus { margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--az-line); font-size: .92rem; font-weight: 600; }
.az-card:not(:has(.az-plus)) .az-features { margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--az-line); }
.az-features { display: grid; gap: 9px; font-size: .92rem; line-height: 1.4; color: var(--az-ink-2); }
.az-features li { display: flex; align-items: flex-start; gap: 10px; }
.az-check { width: 1.05em; height: 1.05em; flex: none; margin-top: .15em; fill: none; stroke: var(--az-orange-deep); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.az-note { margin-top: auto; padding-top: 10px; font-size: .84rem; color: var(--az-soft); }

/* The recommended size sits on ink, as the trial did before. */
.az-card-recommended { background: var(--az-ink); color: var(--az-on-ink); box-shadow: 0 2px 4px rgba(27, 40, 35, .1), 0 40px 70px -36px rgba(27, 40, 35, .75); }
.az-card-recommended .az-for, .az-card-recommended .az-features { color: var(--az-on-ink-soft); }
.az-card-recommended .az-was, .az-card-recommended .az-price span span, .az-card-recommended .az-period-note, .az-card-recommended .az-note { color: var(--az-on-ink-soft); }
.az-card-recommended .az-plus, .az-card-recommended .az-features { border-top-color: rgba(240, 238, 231, .16); }
.az-card-recommended .az-plus { color: #fff; }
.az-card-recommended .az-check { stroke: var(--az-orange); }
.az-card-recommended :focus-visible { outline-color: #ffad8c; }

/* ---------- Lines under the cards ---------- */
.az-below { display: grid; gap: 4px; margin-top: 22px; font-size: .95rem; line-height: 1.5; }
/* "KI-Webchat für Ihre Website …": what every size includes, said once under the three cards. */
.az-webchat { margin-bottom: 6px; font-size: 1.05rem; font-weight: 600; color: var(--az-ink); }
.az-muted { color: var(--az-soft); }
/* "KI-Modelle" stays on one line in German; other languages wrap their own words. */
.az-nowrap:lang(de) { white-space: nowrap; }
.az-below a, .az-more-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--az-orange); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.az-below a:hover, .az-more-link:hover { color: var(--az-orange-deep); }
.az-small { font-size: .86rem; line-height: 1.55; color: var(--az-soft); }

/* ---------- Price page only: comparison, usage, questions ---------- */
.az-compare-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 18px; }
.az-sizes h2 { font-family: var(--az-display); font-weight: 600; font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1; letter-spacing: -.01em; }
.az-diff { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: .95rem; cursor: pointer; }
.az-diff input { width: 18px; height: 18px; margin: 0; accent-color: var(--az-ink); }
.az-compare:has(.az-diff input:checked) tr.az-same { display: none; }
.az-table-wrap { overflow-x: auto; border-radius: 18px; background: var(--az-sheet); box-shadow: inset 0 0 0 1px var(--az-line); }
.az-sizes table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.45; }
.az-compare table { min-width: 620px; }
.az-sizes th, .az-sizes td { padding: 12px 16px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--az-line); font-weight: 400; }
.az-sizes tbody tr:last-child > * { border-bottom: 0; }
.az-sizes thead th { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--az-soft); background: var(--az-paper-2); }
.az-compare thead th:not(:first-child) { font-family: var(--az-display); font-size: 1.6rem; letter-spacing: 0; text-transform: none; color: var(--az-ink); }
.az-compare th[scope="row"] { width: 46%; }
.az-compare td, .az-compare thead th:not(:first-child) { text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
.az-compare td[colspan] { white-space: normal; }
.az-compare .az-group th { padding-top: 20px; font-family: var(--az-display); font-weight: 600; font-size: 1.15rem; color: var(--az-ink); background: var(--az-paper-2); }
.az-compare .az-big { font-family: var(--az-display); font-weight: 600; font-size: 1.5rem; }
.az-yes { color: #2f6f4a; font-weight: 700; }
.az-no { color: var(--az-soft); }
.az-usage { display: grid; gap: 14px; }
.az-usage .az-table-wrap { max-width: 760px; }
.az-sizes .az-r { text-align: end; white-space: nowrap; font-variant-numeric: tabular-nums; }
.az-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.az-faq > div { display: grid; gap: 6px; padding: 18px 0; border-top: 1px solid var(--az-line); align-content: start; }
.az-faq h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.35; }
.az-faq p { font-size: .95rem; line-height: 1.6; color: var(--az-ink-2); }

@media (max-width: 900px) {
  .az-cards { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .az-was { min-height: 0; }
  .az-card:not(:has(.az-was s)) .az-was { display: none; }
}
@media (max-width: 480px) {
  .az-period { display: flex; border-radius: 22px; }
  .az-period label { flex: 1 1 auto; justify-content: center; padding: 0 14px; }
  .az-card { padding: 26px 20px 24px; }
}
@media (prefers-reduced-motion: reduce) { .az-sizes * { transition: none !important; } }

/* ---------- In the core page frame (/preise/) ---------- */
.az-eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--az-orange-deep); }
.core-sizes .core-sizes-head { display: grid; justify-items: start; gap: 22px; padding-top: 70px; padding-bottom: 40px; border-top: 0; }
.core-sizes .core-sizes-head h1 { max-width: 18ch; font-size: clamp(48px, 5.8vw, 86px); }
.core-sizes .core-sizes-head .lead { max-width: 58ch; font-size: clamp(18px, 1.6vw, 22px); color: var(--az-ink-2); }
.core-sizes .core-sizes-offer { padding-top: 0; border-top: 0; }
.core-sizes .core-sizes-faq h2 { margin-bottom: 18px; }

/* On a phone the comparison shows its three sizes without sideways scrolling (review of 11 Nov 2026, B15). */
@media (max-width: 700px) {
  .az-compare table { min-width: 0; width: 100%; table-layout: fixed; }
  .az-compare th[scope="row"], .az-compare thead th:first-child { width: 43%; }
  .az-compare th, .az-compare td { padding-inline: 4px; font-size: .8rem; overflow-wrap: break-word; hyphens: auto; }
  .az-compare th:first-child { padding-inline-start: 12px; }
  .az-compare thead th:first-child { letter-spacing: 0; }
  .az-compare td, .az-compare thead th:not(:first-child) { white-space: normal; }
  .az-compare thead th:not(:first-child) { font-size: 1.2rem; }
  .az-compare .az-big { font-size: 1rem; }
  /* A badge in a narrow cell stands under its value and may break into two lines. */
  .az-compare td .soon-badge { display: block; margin: 4px 0 0; padding: 0; border: 0; letter-spacing: 0; white-space: normal; overflow-wrap: normal; line-height: 1.25; }
  .az-compare th .soon-badge { margin-inline-start: 0; }
}

/* ---------- One screen (owner, 11 Nov 2026; src/styles/screens.css) ----------
   The price section of the homepage and every section of /preise/ fit the viewport: the cards follow the screen's
   height, a narrow screen shows one size at a time (size switch), the comparison one group at a time, the questions
   open one by one. Rows that still do not fit are dropped whole (a wrapping column), never cut. */
.sc-pricing-in, .sc-plain > * { width: 100%; max-width: 1240px; margin-inline: auto; min-height: 0; }
.sc-pricing-in { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: clamp(10px, 2svh, 24px); }
.sc-pricing-head { display: grid; gap: 10px clamp(24px, 5vw, 80px); align-items: end; }
.sc-pricing-side { display: grid; gap: clamp(8px, 1.4svh, 16px); justify-items: start; min-width: 0; }
.sc-pricing-switches { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-pricing .sc-lead { font-size: clamp(.9rem, min(3.8vw, 2svh), 1.08rem); }
.az-size-switch { display: none; padding: 4px; border-radius: 999px; background: var(--az-sheet); box-shadow: inset 0 0 0 1px var(--az-line); }
.az-size-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.az-size-switch label { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 38px; padding: 0 14px; border-radius: 999px; font: 600 1.25rem/1 var(--az-display); color: var(--az-soft); cursor: pointer; }
.az-size-switch input:checked + label { background: var(--az-ink); color: var(--az-paper); }
.az-size-switch input:focus-visible + label { outline: 2px solid var(--az-orange-deep); outline-offset: 2px; }
.sc .az-period label { min-height: 38px; padding: 0 16px; font-size: .88rem; }
.sc .az-cards { min-height: 0; gap: clamp(10px, 1.2vw, 16px); align-items: stretch; }
.sc .az-card { gap: clamp(3px, .8svh, 9px); min-height: 0; padding: clamp(14px, 2.4svh, 26px) clamp(16px, 1.7vw, 26px); border-radius: clamp(18px, 2vw, 24px); overflow: hidden; }
.sc .az-card > * { flex: none; }
.sc .az-for { font-size: .9rem; line-height: 1.3; }
.sc .az-card .az-size { font-size: clamp(2.3rem, 5.4svh, 3.4rem); }
.sc .az-badge { padding: 4px 10px; font-size: .72rem; }
.sc .az-was { min-height: 0; font-size: .84rem; }
.sc .az-card:not(:has(.az-was s)) .az-was { display: none; }
.sc .az-price strong { font-size: clamp(2rem, 5.2svh, 3.1rem); }
.sc .az-period-note, .sc .az-trial-terms, .sc .az-note { font-size: .8rem; }
.sc .az-included { margin: 0; font-size: .86rem; }
.sc .az-cta { margin-top: 2px; }
.sc .az-button { min-height: clamp(40px, 5.6svh, 50px); font-size: .92rem; }
.sc .az-plus { margin-top: 4px; padding-top: clamp(6px, 1.2svh, 14px); font-size: .86rem; }
.sc .az-card:not(:has(.az-plus)) .az-features { margin-top: 4px; padding-top: clamp(6px, 1.2svh, 14px); }
.sc .az-card > .az-features { flex: 0 1 auto; display: flex; flex-flow: column wrap; align-content: flex-start; gap: clamp(3px, .8svh, 8px) 80px; min-height: 0; overflow: hidden; font-size: .86rem; line-height: 1.35; }
.sc .az-features li { flex: none; width: 100%; }
.sc .az-note { margin-top: 0; padding-top: 2px; }
.sc .az-below { margin-top: 0; gap: 2px; font-size: .86rem; line-height: 1.45; }
.sc .az-webchat { margin: 0; font-size: .95rem; }
.sc-pricing-foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: flex-start; gap: 6px 36px; }
@media (min-width: 700px) { .sc-pricing-foot { padding-inline-end: 220px; } }
.sc-pricing-foot .lp-pricing-compare { margin: 0; font-size: .92rem; }
.az-sizes .sc-h2 span { display: block; }
@media (min-width: 900px) {
  .sc-pricing-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sc-pricing .sc-h2 { font-size: clamp(2rem, min(4.4vw, 6.3svh), 3.9rem); }
}
/* One size at a time. */
@media (max-width: 699px) {
  .az-size-switch { display: inline-flex; }
  .sc .az-cards { grid-template-columns: minmax(0, 1fr); }
  .az-sizes:has(#az-size-s:checked) .az-card:not([data-size="s"]),
  .az-sizes:has(#az-size-m:checked) .az-card:not([data-size="m"]),
  .az-sizes:has(#az-size-l:checked) .az-card:not([data-size="l"]) { display: none; }
  .sc-pricing-foot { min-height: 58px; padding-inline-end: 76px; }
  /* On a phone the head is the headline and the two switches; what every size is stands in the sections before. */
  .sc-pricing .sc-lead { display: none; }
  /* The size switch stands at the end of the headline's second line, the payment switch below. */
  .sc-pricing-head { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; }
  .sc-pricing-side, .sc-pricing-switches { display: contents; }
  .sc-pricing-head .sc-h2 { grid-area: 1 / 1 / 2 / -1; font-size: clamp(1.8rem, min(8.6vw, 6svh), 4.3rem); }
  .az-size-switch { grid-area: 1 / 2; align-self: end; }
  .sc .az-period { grid-area: 2 / 1 / 3 / -1; justify-self: start; display: inline-flex; border-radius: 999px; }
  .sc .az-period label { flex: none; min-height: 36px; padding: 0 12px; font-size: .8rem; white-space: nowrap; }
  .az-size-switch label { min-width: 38px; min-height: 38px; padding: 0 8px; }
  .sc .az-period-note { display: none; }
  .sc .az-below { font-size: .74rem; }
  .sc .az-webchat { font-size: .82rem; }
  .sc .az-included { font-size: .76rem; }
  .sc .az-included a { margin-inline-start: 0; display: inline-block; }
  .sc-pricing-foot .lp-pricing-compare { font-size: .8rem; }
}
@media (min-width: 700px) and (max-width: 899px) { .sc .az-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sc .az-card { padding-inline: 14px; } .sc .az-card-top { flex-wrap: wrap; gap: 4px 10px; } .sc .az-badge { order: -1; } .sc .az-for { flex-basis: 60%; } }
@media (max-height: 780px) and (min-width: 900px) { .sc .az-period-note { display: none; } }

/* The sections of /preise/ below the cards. */
.sc-plain { align-items: center; }
.sc-plain > * { display: grid; gap: clamp(10px, 2svh, 22px); align-content: center; }
.sc .az-compare-head { display: grid; gap: 6px; margin: 0; }
.sc .az-compare-head .az-small { max-width: 56ch; }
.az-groups { display: flex; flex-wrap: wrap; gap: 6px; }
.az-groups input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.az-groups label { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--az-line-strong); font-weight: 600; font-size: .88rem; cursor: pointer; }
.az-groups input:checked + label { background: var(--az-ink); color: var(--az-paper); box-shadow: none; }
.az-groups input:focus-visible + label { outline: 2px solid var(--az-orange-deep); outline-offset: 2px; }
.az-compare:has(#az-group-0:checked) tbody:not([data-group="0"]),
.az-compare:has(#az-group-1:checked) tbody:not([data-group="1"]),
.az-compare:has(#az-group-2:checked) tbody:not([data-group="2"]),
.az-compare:has(#az-group-3:checked) tbody:not([data-group="3"]),
.az-compare:has(#az-group-4:checked) tbody:not([data-group="4"]),
.az-compare:has(#az-group-5:checked) tbody:not([data-group="5"]),
.az-compare:has(#az-group-6:checked) tbody:not([data-group="6"]) { display: none; }
.az-compare:has(.az-groups) .az-group { display: none; }
.sc .az-table-wrap { overflow: visible; }
.sc .az-sizes th, .sc .az-sizes td, .az-sizes .sc th, .az-sizes .sc td { padding: clamp(7px, 1.3svh, 12px) 16px; }
.sc .az-usage { grid-template-columns: minmax(0, 1fr); }
.az-usage-words { display: grid; gap: clamp(6px, 1.2svh, 12px); align-content: center; }
.az-topup { padding-top: clamp(6px, 1.2svh, 12px); border-top: 1px solid var(--az-line); }
@media (min-width: 900px) { .sc .az-usage { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: center; } }
.az-faq-in { max-width: 860px !important; }
.sc .az-faq { display: block; border-top: 1.5px solid var(--az-ink); }
.sc .az-faq details { border-bottom: 1px solid var(--az-line); }
.sc .az-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(10px, 1.8svh, 18px) 2px; cursor: pointer; list-style: none; }
.sc .az-faq summary::-webkit-details-marker { display: none; }
.sc .az-faq h3 { font-size: 1.02rem; }
.sc .az-faq p { padding: 0 2px clamp(10px, 1.8svh, 18px); font-size: .93rem; line-height: 1.5; max-width: 62ch; }
.az-plus-sign { position: relative; flex: none; width: 14px; height: 14px; }
.az-plus-sign::before, .az-plus-sign::after { content: ''; position: absolute; inset: 6px 0 auto; height: 2px; border-radius: 2px; background: var(--az-ink); transition: transform .3s var(--az-ease); }
.az-plus-sign::after { transform: rotate(90deg); }
.az-faq details[open] .az-plus-sign::after { transform: rotate(0); }
@media (max-width: 699px) {
  .az-groups label { min-height: 34px; padding: 0 10px; font-size: .78rem; }
  .sc .az-sizes th, .sc .az-sizes td, .az-sizes .sc th, .az-sizes .sc td { padding-inline: 8px; font-size: .82rem; }
  .az-sizes .sc .az-small { font-size: .8rem; line-height: 1.45; }
}
@media (max-width: 699px) and (max-height: 700px) { .sc .az-was, .az-more { display: none; } .sc-pricing-foot { align-content: center; } }
@media (max-width: 699px) and (max-height: 700px) { .sc .az-compare-head .az-small { display: none; } .sc .az-features { font-size: .8rem; } }
@media (max-width: 699px) and (max-height: 700px) {
  .sc .az-sizes th, .sc .az-sizes td, .az-sizes .sc th, .az-sizes .sc td { padding-block: 5px; font-size: .78rem; }
  .az-sizes .sc .az-small { font-size: .74rem; line-height: 1.4; }
  .az-sizes .sc-plain > * { gap: 8px; }
  .az-sizes .sc h2 { font-size: 1.7rem; }
}
/* Narrow phones up to 820 px tall (360×780, 360×800; 15 Nov 2026): the comparison keeps the corner for the chat button
   below, so it drops its lead line and tightens its rows as on short phones, and stays one screen. */
@media (max-width: 380px) and (max-height: 820px) {
  .sc .az-compare-head .az-small { display: none; }
  .sc .az-sizes th, .sc .az-sizes td, .az-sizes .sc th, .az-sizes .sc td { padding-block: 5px; font-size: .78rem; }
  .az-sizes .sc .az-small { font-size: .74rem; line-height: 1.4; }
}
/* On a phone the page's chat button stands in the lower right corner: the sections below the cards keep it free where
   the screen is tall enough. */
@media (max-width: 699px) and (min-height: 740px) { .az-sizes .sc-plain { padding-bottom: 84px; } }
@media (min-width: 700px) and (max-width: 899px) { .sc .az-period-note, .sc-pricing .sc-lead { display: none; } }

/* "So rechnen wir" with Anliegen (12 Nov 2026): the three sizes side by side as numbers, then what counts. */
.az-anliegen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.az-anliegen > div { display: grid; gap: 2px; padding: clamp(8px, 1.6svh, 14px) 12px; border-radius: 16px; background: var(--az-sheet); box-shadow: inset 0 0 0 1px var(--az-line); }
.az-anliegen dt { font: 600 1.4rem/1 var(--az-display); }
.az-anliegen dd { margin: 0; display: grid; font-size: .82rem; line-height: 1.3; color: var(--az-soft); }
.az-anliegen dd b { font: 600 clamp(1.4rem, 3.6svh, 1.9rem)/1.05 var(--az-display); color: var(--az-ink); font-variant-numeric: tabular-nums; }
.az-anliegen small { font-size: .78rem; color: var(--az-soft); }
.az-compare .az-per-day { display: block; font-size: .78em; color: var(--az-soft); white-space: normal; }
.az-counts { display: grid; gap: clamp(6px, 1.3svh, 12px); margin: 0; padding: 0; list-style: none; font-size: clamp(.86rem, 2.1svh, 1rem); line-height: 1.45; color: var(--az-ink-2); }
.az-counts li { display: flex; align-items: flex-start; gap: 10px; }
.sc .az-topup { padding-top: clamp(6px, 1.2svh, 12px); border-top: 1px solid var(--az-line); }
@media (max-width: 699px) {
  .az-anliegen dd { font-size: .72rem; }
  .az-anliegen small { display: none; }
  .az-counts { font-size: .8rem; gap: 4px; line-height: 1.35; }
}
@media (max-width: 699px) and (max-height: 700px) {
  .az-usage .az-counts li:nth-child(n+4) { display: none; }
  .az-usage .az-usage-words > .az-small:first-of-type { display: none; }
}

/* The longer languages (English, French, Arabic, Turkish; 15 Nov 2026, before they are published): the German page is
   accepted as it is and keeps every rule above; these apply only where the text runs longer, so each section stays
   one screen there too (one-screen and mobile-overlap over the release cut with all languages). */
@media (max-width: 699px) and (max-height: 820px) { html:not([lang=de]) .az-counts { font-size: .76rem; line-height: 1.3; } }
/* A short wide screen: the two seals in the trial card as marks side by side (their captions stay for screen readers),
   so the card fits beside the head (French ran 16 px past 1280 × 720). */
@media (min-width: 900px) and (max-height: 760px) {
  html:not([lang=de]) .sc .trust-seals-card { flex-wrap: nowrap; margin-top: 6px; }
  html:not([lang=de]) .sc .trust-seals-card a { min-height: 32px; }
  html:not([lang=de]) .sc .trust-seals-card a > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  html:not([lang=de]) .sc .trust-seals-card img { height: 30px; }
}

/* Arabic card lists (16 Nov 2026): language-access.css gives Arabic running text line-height 1.9, which a size card's
   short feature lines do not need; with the two research and routine lines of card S the price page's hero ran past the
   screen at 768×1024 and 1280×720. 1.55 is the Arabic font's own content height (ascent 110 % + descent 45 %), so no
   glyph is cut. */
html[lang=ar] .az-features li { line-height: 1.55; }
