/* One section, one screen (owner, 11 Nov 2026): every section fits the viewport on every device, checked by
   _tools/tests/one-screen-browser.mjs at 360×640 … 1920×1080. `.sc` is the screen, `.sc-in` its two parts (words and
   the product surface); `.ui-*` are AloZen's own surfaces built after the dashboard (src/lib/product-ui.mjs): white
   cards on a grey ground, ink text, orange signal, 22 px corners, pill buttons. Sizes follow the viewport's width AND
   height (svh), so a short screen gets smaller type before anything is cut; what still does not fit is designed away
   (tabs, a size switch, fewer rows by container query), never clipped. Used by the landing page (bundled) and the
   string-rendered pages (/screens.css). Logical properties throughout (Arabic). */
.sc {
  --sc-paper: #f0eee7; --sc-paper-2: #f6f4ee; --sc-ink: #25352f; --sc-ink-deep: #1b2823; --sc-ink-2: #3b5146; --sc-ink-soft: #526054;
  --sc-orange: #ff6a3d; --sc-orange-deep: #a53b1b; --sc-line: #dfd9ce; --sc-on-ink: #f0eee7; --sc-on-ink-soft: #c9cfc6;
  --ui-ground: #ebebeb; --ui-card: #fff; --ui-ink: #262626; --ui-quiet: #565656; --ui-line: rgb(38 38 38 / .12); --ui-signal: #ff6a3d; --ui-signal-text: #ad4627; --ui-ok: #14532d; --ui-ok-bg: #e8f7ec;
  --sc-display: Barlow, 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --sc-body: Instrument, 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sc-gutter: clamp(16px, 4.4vw, 64px);
  --sc-head: 84px; /* the floating header of the landing page */
  --sc-gap: clamp(12px, 2.6svh, 34px);
  --sc-ease: cubic-bezier(.16, 1, .3, 1);
  position: relative; box-sizing: border-box; display: grid; grid-template-rows: minmax(0, 1fr); min-height: 100svh;
  padding: calc(var(--sc-head) + clamp(4px, 1.6svh, 24px)) var(--sc-gutter) clamp(14px, 3svh, 44px);
  background: var(--sc-paper); color: var(--sc-ink); font-family: var(--sc-body); scroll-margin-top: 0;
}
.sc *, .sc *::before, .sc *::after { box-sizing: border-box; }
.sc :where(p, h1, h2, h3, ul, ol, figure, fieldset) { margin: 0; }
.sc :where(ul, ol) { padding: 0; list-style: none; }
.sc :where(fieldset) { border: 0; padding: 0; min-width: 0; }
.sc [hidden] { display: none !important; }
/* The lock: from 600 px of height a section is exactly one screen. Lower (a phone held sideways) it flows. */
@media (min-height: 600px) { .sc { height: 100svh; } }
/* On a phone a section whose content is shorter than the screen takes its natural height (src/scripts/fit-screens.js
   measures it); its surfaces then have their natural size too. */
@media (max-width: 899px) and (min-height: 600px) {
  /* In the flow a section keeps no room for the floating header: on a phone it only returns when scrolling up. */
  .sc.sc-natural:not(.sc-hero) { --sc-head: 0px; }
  .sc.sc-natural { height: auto; min-height: 0; padding-block: calc(var(--sc-head) + clamp(28px, 5svh, 48px)) clamp(28px, 5svh, 48px); }
  .sc.sc-natural.sc-hero { min-height: 100svh; }
  .sc.sc-natural :is(.sc-media, .sc-panel) { container-type: normal; }
}
.sc-flow-head { --sc-head: 0px; } /* pages whose header stands in the flow (src/styles/core.css) */
.sc-paper-2 { background: var(--sc-paper-2); }
.sc-ink { background: var(--sc-ink-deep); color: var(--sc-on-ink); }
.sc-orange { background: var(--sc-orange); color: var(--sc-ink-deep); }
.sc-in { width: 100%; max-width: 1240px; margin-inline: auto; min-height: 0; display: grid; gap: var(--sc-gap); grid-template: 'copy' auto 'media' minmax(0, 1fr) 'foot' auto / minmax(0, 1fr); }
.sc-copy { grid-area: copy; }
.sc-media { grid-area: media; }
/* The foot: on a phone the strip at the bottom, beside the chat button of the page (it keeps the corner free); on a
   wide screen it follows the words. */
.sc-foot { grid-area: foot; min-width: 0; display: grid; gap: 8px; align-content: center; }
.sc-copy { display: grid; gap: clamp(8px, 1.7svh, 22px); align-content: end; min-width: 0; }
.sc-media { position: relative; min-width: 0; min-height: 0; display: grid; container-type: inline-size; }
@media (min-width: 900px) {
  .sc-in { grid-template: 'copy media' auto 'foot media' auto / minmax(0, 5fr) minmax(0, 6fr); align-content: center; gap: clamp(14px, 2.4svh, 26px) clamp(28px, 5vw, 84px); }
  .sc-media { align-self: center; align-content: center; }
  /* A wide screen gives the surface its natural height, up to what the screen leaves beside header and paddings. */
  .ui-win { max-height: calc(100svh - var(--sc-head) - var(--sc-chrome, 96px)); }
  .sc-hero { --sc-chrome: 150px; }
  .sc-tabbed, .sc-job { --sc-chrome: 160px; }
}
/* Below 900 px the words stand above the surface, which takes the rest of the screen: it is a size container, so a
   surface drops rows (never cuts them) when the rest is short. */
@media (max-width: 899px) {
  .sc { --sc-head: 72px; }
  /* Pages whose header stands in the flow keep no room for a floating one (owner, 13 Nov 2026: an empty band at the
     top of every screen on /preise/ and /partner/). */
  .sc-flow-head { --sc-head: 0px; }
  .sc-media, .sc-panel { container-type: size; }
  .sc-hero .sc-more { display: none; }
  .sc-in { gap: clamp(8px, 1.6svh, 16px); }
  .sc-foot { min-height: 58px; padding-inline-end: 76px; }
}

/* ---------- Words ---------- */
.sc-h1, .sc-h2 { font-family: var(--sc-display); font-weight: 600; letter-spacing: -.015em; line-height: .94; text-wrap: balance; }
.sc-h1 { font-size: clamp(2rem, min(9.8vw, 8.2svh), 5.2rem); text-transform: uppercase; }
.sc-h2 { font-size: clamp(2rem, min(9.4vw, 6.3svh), 4.3rem); }
.sc-h1 span, .sc-h2 span { display: block; }
.sc-lead { font-size: clamp(.92rem, min(4.1vw, 2.35svh), 1.24rem); line-height: 1.46; max-width: 33em; text-wrap: pretty; color: var(--sc-ink-2); }
.sc-ink .sc-lead { color: var(--sc-on-ink-soft); }
.sc-orange .sc-lead { color: var(--sc-ink-deep); }
.sc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.sc-action-note { font-size: .84rem; opacity: .78; }
.sc-button { display: inline-flex; align-items: center; justify-content: center; min-height: clamp(46px, 6.6svh, 54px); padding: 0 26px; border-radius: 999px; border: 0; background: var(--sc-orange); color: var(--sc-ink-deep); font: 600 1rem/1 var(--sc-body); text-decoration: none; cursor: pointer; transition: transform .25s var(--sc-ease), background .2s; }
.sc-button:hover { transform: translateY(-2px); background: #ff7c54; }
.sc-button-ink { background: var(--sc-ink-deep); color: var(--sc-on-ink); }
.sc-button-ink:hover { background: var(--sc-ink-2); }
/* The buttons look the same on every page, whatever the page's own sheet sets for links (core.css: a { color: inherit }).
   Owner, 12 Nov 2026: on /preise/ the dark button's words had the button's colour. */
:is(body.core, body.sector, body.lp, body.guide) .sc a.sc-button { color: var(--sc-ink-deep); text-decoration: none; }
:is(body.core, body.sector, body.lp, body.guide) .sc a.sc-button-ink { color: var(--sc-on-ink); }
.sc-more { font-weight: 600; color: inherit; text-decoration: underline; text-decoration-color: var(--sc-orange); text-decoration-thickness: 2px; text-underline-offset: .32em; }
.sc-orange .sc-more { text-decoration-color: var(--sc-ink-deep); }
.sc :focus-visible { outline: 2px solid var(--sc-orange-deep); outline-offset: 3px; border-radius: 8px; }
.sc-ink :focus-visible { outline-color: #ffad8c; }
.sc-orange :focus-visible { outline-color: var(--sc-ink-deep); }

/* Facts: three short lines. On a phone the head of each stands alone as a chip; the sentence is for wider screens. */
.sc-facts { display: grid; gap: clamp(8px, 1.5svh, 16px); }
.sc-facts li { display: grid; gap: 1px; padding-inline-start: 14px; border-inline-start: 2px solid var(--sc-orange); }
.sc-orange .sc-facts li { border-color: var(--sc-ink-deep); }
.sc-facts b { font-weight: 600; font-size: 1.02rem; }
.sc-facts span { font-size: .93rem; line-height: 1.4; color: var(--sc-ink-soft); }
.sc-ink .sc-facts span { color: var(--sc-on-ink-soft); }
.sc-orange .sc-facts span { color: var(--sc-ink-deep); }
@media (max-width: 899px) {
  .sc-facts { display: flex; flex-wrap: wrap; gap: 6px; }
  .sc-facts li { padding: 4px 10px; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 999px; }
  .sc-facts b { font-size: .76rem; white-space: nowrap; }
  .sc-facts span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ---------- Tabs ---------- */
.sc-tabbed { grid-template-rows: auto minmax(0, 1fr); gap: clamp(8px, 1.4svh, 14px); }
@media (max-width: 899px) { .sc-media.sc-tabbed { container-type: normal; } }
@media (min-width: 900px) { .sc-tabbed { grid-template-rows: auto auto; justify-items: center; } .sc-tabbed .sc-tabs { width: 100%; max-width: 640px; } .sc-tabbed .sc-panel { width: 100%; } }
.sc-tabs, .sc-jobs { display: flex; flex-wrap: wrap; gap: 6px; }
.sc [role=tab] { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 28%, transparent); background: transparent; color: inherit; font: 600 .9rem/1 var(--sc-body); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.sc [role=tab] .ui-i { width: 17px; height: 17px; }
.sc [role=tab][aria-selected=true] { background: var(--sc-ink-deep); border-color: var(--sc-ink-deep); color: var(--sc-on-ink); }
.sc-ink [role=tab][aria-selected=true] { background: var(--sc-orange); border-color: var(--sc-orange); color: var(--sc-ink-deep); }
.sc-panel { min-height: 0; display: grid; }
.js .sc-panel:not([data-active]) { display: none; }
html:not(.js) .sc:has(.sc-panel) { height: auto; } /* without JavaScript every panel stands open */
html:not(.js) .sc-panel { container-type: normal !important; }

/* ---------- Product surfaces ---------- */
.ui-win { align-self: center; justify-self: center; width: 100%; max-width: 640px; max-height: 100%; min-height: 0; display: flex; flex-direction: column; overflow: hidden; background: var(--ui-ground); color: var(--ui-ink); border-radius: clamp(16px, 2.4vw, 22px); box-shadow: 0 2px 4px rgb(27 40 35 / .08), 0 34px 70px -34px rgb(27 40 35 / .55); font-size: clamp(.8rem, min(3.5vw, 2svh), .92rem); line-height: 1.4; letter-spacing: -.011em; }
.sc-ink .ui-win { box-shadow: 0 0 0 1px rgb(240 238 231 / .08), 0 40px 80px -30px rgb(0 0 0 / .7); }
.ui-i { width: 1.2em; height: 1.2em; flex: none; }
.ui-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ui-bar { flex: none; display: flex; align-items: center; gap: 9px; padding: 11px 14px; background: var(--ui-card); border-bottom: 1px solid var(--ui-line); }
.ui-bar b { font-weight: 650; font-size: 1.04em; }
.ui-mark { width: 22px; height: 22px; }
.ui-tag { margin-inline-start: auto; font: 600 .68rem/1 var(--sc-body); color: var(--ui-quiet); border: 1px solid var(--ui-line); border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.ui-bar-ch { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ui-ground); }
.ui-done { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--ui-ok); }
.ui-done .ui-i { width: 1.25em; height: 1.25em; padding: 2px; border-radius: 50%; background: var(--ui-ok-bg); stroke-width: 2.6; }

/* Verlauf */
.ui-filters { flex: none; display: flex; gap: 6px; padding: 10px 14px 0; overflow: hidden; white-space: nowrap; mask-image: linear-gradient(90deg, #000 86%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); }
.ui-filters span { padding: 5px 11px; border-radius: 999px; background: var(--ui-card); font-weight: 500; font-size: .88em; }
.ui-filters span[data-on] { background: var(--ui-ink); color: #fff; }
.ui-stats { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px 14px 0; }
.ui-stats span { display: grid; padding: 8px 12px; background: var(--ui-card); border-radius: 14px; color: var(--ui-quiet); font-size: .84em; }
.ui-stats b { font: 650 1.5em/1.15 var(--sc-body); color: var(--ui-ink); }
/* Rows that do not fit are dropped whole, never cut: a wrapping column puts them beside the list, out of sight. */
.ui-rows, .ui-rule-list { min-height: 0; display: flex; flex-flow: column wrap; align-content: flex-start; gap: 6px 60px; overflow: hidden; }
.ui-rows > li, .ui-rule-list > li { position: relative; flex: 1 0 auto; width: 100%; }
.ui-rows { padding: 10px 14px; margin-bottom: 4px; }
.ui-row { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 4px 10px; padding: 9px 12px; background: var(--ui-card); border-radius: 14px; }
.ui-row-time { color: var(--ui-quiet); font-variant-numeric: tabular-nums; font-size: .86em; }
.ui-ch { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ui-ground); }
.ui-ch .ui-i { width: 15px; height: 15px; }
.ui-row-main { display: grid; min-width: 0; }
.ui-row-main b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-row-text { color: var(--ui-quiet); font-size: .9em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-row .ui-done span, .ui-row .ui-live, .ui-ask { font-size: .84em; white-space: nowrap; }
.ui-row-ask { box-shadow: inset 4px 0 0 var(--ui-signal); }
.ui-ask { font-weight: 600; color: var(--ui-signal-text); }
.ui-live { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ui-quiet); }
.ui-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ui-signal); }
@container (max-width: 520px) {
  .ui-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .ui-row-time { display: none; }
  .ui-row .ui-done span { display: none; }
  .ui-ask, .ui-live { grid-column: 2 / -1; }
  .ui-row-ask .ui-row-main, .ui-row-live .ui-row-main { grid-column: 2 / -1; }
}
@container (max-height: 470px) { .ui-stats { display: none; } }
@container (max-height: 300px) { .ui-filters { display: none; } }

/* Anruf */
.ui-call-head { flex: none; display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.ui-play { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ui-signal); color: var(--ui-ink); cursor: pointer; }
.ui-play .ui-i { width: 20px; height: 20px; }
.ui-play .ui-i-pause, .ui-play[aria-pressed=true] .ui-i-play { display: none; }
.ui-play[aria-pressed=true] .ui-i-pause { display: block; }
.ui-play-still { cursor: default; background: var(--ui-card); }
.ui-call-meta { display: grid; }
.ui-call-meta small { color: var(--ui-quiet); }
.ui-wave { flex: 1; min-width: 0; height: 30px; display: flex; align-items: center; justify-content: flex-end; gap: 3px; overflow: hidden; }
.ui-wave i { flex: none; width: 3px; height: var(--h); border-radius: 2px; background: var(--ui-ink); opacity: .22; }
/* A conversation that does not fit drops its last lines whole (see the rows above); the zero-height first item keeps
   the column as wide as the window, so lines still stand left and right. */
.ui-talk, .ui-thread { min-height: 0; display: flex; flex-flow: column wrap; align-content: flex-start; justify-content: center; gap: 6px 60px; overflow: hidden; }
.ui-talk::before, .ui-thread::before { content: ''; flex: none; width: 100%; height: 0; margin-bottom: -6px; }
.ui-talk > *, .ui-thread > * { flex: none; }
.ui-talk { padding: 0 14px; }
.ui-say { max-width: 84%; padding: 8px 12px; border-radius: 16px; }
.ui-say-in { align-self: flex-end; border: 1px solid var(--ui-line); border-end-end-radius: 4px; }
.ui-say-az { align-self: flex-start; background: var(--ui-card); border-end-start-radius: 4px; }
.ui-say[data-now] { box-shadow: 0 0 0 2px var(--ui-signal); }
.ui-results { flex: none; display: grid; gap: 4px; margin: 10px 14px 14px; padding: 10px 12px; background: var(--ui-card); border-radius: 14px; }
@container (max-height: 330px) { .ui-call .ui-wave { display: none; } .ui-results li:nth-child(n+2) { display: none; } .ui-call-head { padding-block: 8px; } .ui-play { width: 36px; height: 36px; } }

/* Unterhaltung */
.ui-thread { padding: 12px 14px; }
.ui-chat .ui-results { margin-top: 0; }
.ui-msg { display: grid; gap: 5px; max-width: 86%; padding: 8px 12px; border-radius: 16px; }
.ui-msg-name { color: var(--ui-quiet); font-size: .8em; }
.ui-msg-in { align-self: flex-start; background: var(--ui-card); border-end-start-radius: 4px; }
.ui-msg-az, .ui-msg-ask { align-self: flex-end; background: var(--ui-ink); color: #fff; border-end-end-radius: 4px; }
.ui-msg-az .ui-msg-name, .ui-msg-ask .ui-msg-name { color: rgb(255 255 255 / .66); }
.ui-msg-you { align-self: flex-end; background: #d9fdd3; border-end-end-radius: 4px; }
.ui-chat-wa .ui-msg-az, .ui-chat-wa .ui-msg-ask { align-self: flex-start; background: var(--ui-card); color: var(--ui-ink); border-radius: 16px; border-end-start-radius: 4px; }
.ui-chat-wa .ui-msg-az .ui-msg-name, .ui-chat-wa .ui-msg-ask .ui-msg-name { color: var(--ui-signal-text); font-weight: 600; }
.ui-choice { display: flex; gap: 6px; }
.ui-choice b, .ui-choice i { font-style: normal; font-weight: 600; padding: 5px 16px; border-radius: 999px; border: 1px solid var(--ui-line); }
.ui-choice b { background: var(--ui-signal); border-color: var(--ui-signal); color: var(--ui-ink); }
.ui-art { display: grid; gap: 4px; padding: 8px 10px; border-radius: 12px; background: var(--ui-ground); color: var(--ui-ink); font-size: .92em; }
.ui-art-head { display: flex; align-items: center; gap: 6px; }
.ui-art-row { display: flex; justify-content: space-between; gap: 14px; }
.ui-art img { width: 100%; height: clamp(56px, 13cqh, 120px); object-fit: cover; border-radius: 8px; }
.ui-art small { color: var(--ui-quiet); }
@container (max-height: 300px) { .ui-art img { display: none; } .ui-msg-name { display: none; } }

/* Web-Chat auf der Website des Kunden */
.ui-browser { background: var(--ui-card); max-width: 700px; }
.ui-browser-bar { flex: none; display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: var(--ui-ground); }
.ui-dots { display: flex; gap: 5px; }
.ui-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgb(38 38 38 / .22); }
.ui-url { flex: 1; min-width: 0; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; background: var(--ui-card); border-radius: 999px; color: var(--ui-quiet); font-size: .88em; white-space: nowrap; overflow: hidden; }
.ui-url .ui-i { width: 12px; height: 12px; }
.ui-browser .ui-tag { margin-inline-start: 0; }
.ui-browser-body { position: relative; flex: 0 1 auto; min-height: 0; display: grid; container-type: size; height: clamp(230px, 56svh, 520px); }
.ui-site { grid-area: 1 / 1; display: grid; align-content: start; gap: 8px; padding: 14px 16px; background: #f6f3eb linear-gradient(180deg, rgb(27 40 35 / .0), rgb(27 40 35 / .0)); color: #25352f; overflow: hidden; }
.ui-site-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.ui-site > :not(.ui-site-photo) { position: relative; }
.ui-site-nav { display: flex; align-items: center; gap: 14px; font-size: .86em; color: #fff; text-shadow: 0 1px 8px rgb(0 0 0 / .5); }
.ui-site-nav b { margin-inline-end: auto; font-size: 1.1em; }
.ui-site-title { margin-top: 5cqh; max-width: 46%; font: 600 clamp(1.3rem, 7cqw, 2.6rem)/.98 var(--sc-display); color: #fff; text-shadow: 0 1px 14px rgb(0 0 0 / .55); }
.ui-site-text { max-width: 44%; font-size: .92em; color: #fff; text-shadow: 0 1px 10px rgb(0 0 0 / .6); }
.ui-site-blocks { display: none; }
.ui-widget { grid-area: 1 / 1; position: relative; align-self: end; justify-self: end; width: min(62%, 300px); max-height: calc(100% - 20px); margin: 10px; display: flex; flex-direction: column; overflow: hidden; background: #f6f3eb; color: #25352f; border-radius: 18px; box-shadow: 0 18px 44px -14px rgb(0 0 0 / .55); }
.ui-widget-head { flex: none; display: flex; align-items: center; gap: 9px; padding: 10px 12px; background: #fff; }
.ui-widget-head span:last-child { display: grid; line-height: 1.25; }
.ui-widget-head small { color: #2f7a46; font-size: .82em; }
.ui-avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ui-signal); color: #25352f; }
.ui-widget .ui-thread { padding: 10px; gap: 6px 60px; justify-content: flex-start; }
.ui-widget .ui-msg { padding: 7px 10px; font-size: .94em; }
.ui-widget .ui-msg-in { align-self: flex-end; background: #25352f; color: #fff; border-radius: 16px; border-end-end-radius: 4px; }
.ui-widget .ui-msg-az { align-self: flex-start; background: #fff; color: #25352f; border-radius: 16px; border-end-start-radius: 4px; }
.ui-widget-input { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 10px 10px; padding: 8px 8px 8px 14px; background: #fff; border-radius: 999px; color: #7b857d; font-size: .9em; }
.ui-widget-input .ui-i { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--ui-signal); color: #25352f; }
@container (max-height: 215px) { .ui-widget-input { display: none; } }
@container (max-width: 430px) { .ui-widget { width: min(74%, 290px); } .ui-site-title, .ui-site-text { max-width: 70%; } .ui-site-nav span { display: none; } }

/* The website chat plays as the visitor scrolls (owner, 14 Nov 2026; src/scripts/live-chat.js sets data-live and marks
   each message that has arrived). Without it, the whole conversation stands. */
.ui-slots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 3px; }
.ui-slots b { padding: 4px 11px; border: 1.5px solid currentColor; border-radius: 999px; font-weight: 600; font-size: .92em; }
.ui-slots b[data-pick] { background: #25352f; border-color: #25352f; color: #fff; }
.ui-widget .ui-art { margin-top: 3px; background: var(--ui-ok-bg); color: var(--ui-ok); }
.ui-widget .ui-art-head b { color: var(--ui-ok); }
.ui-widget .ui-art-row b { color: #25352f; }
.ui-typing { display: none; }
.sc-webchat[data-live] .ui-widget .ui-msg:not([data-shown]) { display: none; }
.sc-webchat[data-live] .ui-widget .ui-thread { flex: 1 1 auto; min-height: 0; overflow: hidden; flex-wrap: nowrap; justify-content: flex-end; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 28px); mask-image: linear-gradient(to bottom, transparent, #000 28px); }
.sc-webchat[data-live] .ui-msg:not(:has(~ .ui-msg[data-shown])) .ui-slots b[data-pick] { background: none; border-color: currentColor; color: inherit; }
.sc-webchat[data-live] .ui-typing[data-shown] { display: flex; gap: 4px; align-self: flex-start; padding: 11px 13px; background: #fff; border-radius: 16px; border-end-start-radius: 4px; }
.ui-typing i { width: 7px; height: 7px; border-radius: 50%; background: #8d978f; }
@media (prefers-reduced-motion: no-preference) {
  .sc-webchat[data-live] .ui-msg[data-shown], .sc-webchat[data-live] .ui-typing[data-shown] { animation: ui-arrive .45s var(--sc-ease) both; }
  .ui-typing i { animation: ui-pulse 1s ease-in-out infinite; }
  .ui-typing i:nth-child(2) { animation-delay: .15s; }
  .ui-typing i:nth-child(3) { animation-delay: .3s; }
}
/* Wide screens: the words and the chat stay together while the visitor scrolls through the conversation. */
@media (min-width: 900px) and (min-height: 600px) {
  .sc-webchat[data-live] { height: calc(100svh + var(--chat-steps, 4) * 34svh); }
  .sc-webchat[data-live] > .sc-in { position: sticky; top: calc(var(--sc-head) + clamp(4px, 1.6svh, 24px)); align-self: start; height: calc(100svh - var(--sc-head) - clamp(4px, 1.6svh, 24px) - clamp(14px, 3svh, 44px)); }
  /* The whole conversation with its booked appointment wants about 480 px: the website gets the height the screen leaves. */
  .sc-webchat[data-live] .ui-browser-body { height: clamp(300px, calc(100svh - var(--sc-head) - 150px), 600px); }
}
/* Phones and tablets: the words scroll past, then the chat stays in the middle of the screen, a little narrower, while
   the conversation plays (owner, 14 Nov 2026: „ein bisschen schmaler … in der Sektion bleiben“). */
@media (max-width: 899px) and (min-height: 600px) {
  .sc-webchat[data-live] { --chat-h: min(calc(100svh - 170px), 620px); height: auto; }
  .sc-webchat[data-live] .sc-media { container-type: normal; display: block; height: calc(var(--chat-h) + var(--chat-steps, 4) * 32svh); }
  .sc-webchat[data-live] .ui-browser { position: sticky; top: max(84px, calc((100svh - var(--chat-h)) / 2 + 22px)); height: var(--chat-h); max-height: none; }
  .sc-webchat[data-live] .ui-browser-body { flex: 1 1 auto; height: auto; }
}
@container (max-width: 430px) { .sc-webchat .ui-widget { width: min(68%, 250px); font-size: .94em; } .sc-webchat .ui-widget .ui-thread { padding: 8px; } }

/* Freiraum */
.ui-rule-list { padding: 12px 14px 0; }
.ui-rule-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 9px 12px; background: var(--ui-card); border-radius: 14px; }
.ui-rule { font-weight: 600; }
.ui-switch { position: relative; display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--ui-ground); }
.ui-switch label { position: relative; cursor: pointer; }
.ui-switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.ui-switch span { display: block; padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: .88em; color: var(--ui-quiet); transition: background .2s, color .2s; }
.ui-switch input:checked + span { background: var(--ui-ink); color: #fff; }
.ui-switch input[value=self]:checked + span { background: var(--ui-signal); color: var(--ui-ink); }
.ui-switch input:focus-visible + span { outline: 2px solid var(--ui-signal-text); outline-offset: 2px; }
.ui-rules-foot { display: flex; align-items: center; gap: 8px; margin: 10px 14px 14px; color: var(--ui-quiet); font-size: .92em; }

/* ---------- 1 Hero ---------- */
.sc-hero { grid-template-rows: minmax(0, 1fr) auto; padding-bottom: 0; row-gap: clamp(8px, 1.8svh, 22px); }
.sc-hero .sc-h1 { color: #fff; }
.sc-hero .sc-h1 span:last-child { color: var(--sc-orange); }
.sc-hero .lp-band { margin-inline: calc(var(--sc-gutter) * -1); }
@media (min-width: 900px) { .sc-hero .ui-win { max-width: 660px; } }

/* ---------- 4 Assistant ---------- */
.sc-job { gap: clamp(8px, 1.4svh, 14px); }
.sc-job-text { font-size: clamp(.88rem, min(3.7vw, 2.1svh), 1.06rem); line-height: 1.4; color: var(--sc-on-ink-soft); text-wrap: pretty; }
.sc-assistant .ui-win { max-width: 470px; }
@media (min-width: 900px) {
  .sc-jobs { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); }
  .sc-job { grid-template-rows: auto auto; align-content: center; justify-items: center; }
  .sc-job-text { width: 100%; max-width: 470px; }
}
@media (max-width: 899px) {
  .sc-assistant .sc-media { container-type: normal; }
  /* On a phone the sentence about the chosen order is the section's foot, beside the chat button. */
  .sc-job { grid-template-rows: minmax(0, 1fr) auto; }
  .sc-job-text { order: 2; min-height: 58px; padding-inline-end: 76px; display: grid; align-content: center; }
  .sc-assistant .ui-win { align-self: start; }
  .sc-jobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sc-jobs [role=tab] { justify-content: center; min-height: 36px; padding: 0 6px; font-size: .78rem; gap: 5px; white-space: nowrap; }
  .sc-jobs [role=tab] .ui-i { width: 14px; height: 14px; }
  /* Customer service on a phone: the three facts follow the words, the channel switch is the foot (in reach of the
     thumb, beside the chat button). */
  .sc-service .sc-in { grid-template: 'copy' auto 'foot' auto 'media' minmax(0, 1fr) / minmax(0, 1fr); }
  .sc-service .sc-foot { min-height: 0; padding-inline-end: 0; }
  .sc-tabbed { grid-template-rows: minmax(0, 1fr) auto; }
  .sc-tabs { order: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: center; min-height: 58px; padding-inline-end: 76px; }
  .sc-tabs [role=tab] { min-height: 38px; justify-content: center; padding: 0 4px; font-size: .78rem; gap: 5px; }
  .sc-tabbed .ui-win { align-self: end; }
}
@media (max-width: 399px) { .sc-jobs [role=tab] .ui-i { display: none; } }
/* A phone's two job buttons share the width; a long label wraps inside its button instead of running off the screen
   (owner, 13 Nov 2026: „Sie geben einen Auftrag" was cut at the edge in Safari). */
@media (max-width: 899px) {
  .sc-jobs [role=tab] { min-width: 0; padding-inline: 10px; font-size: .8rem; line-height: 1.15; text-align: start; }
  .sc-jobs [role=tab] > span { min-width: 0; }
}

/* ---------- 5 Control ---------- */
.sc-control .ui-win { max-width: 560px; }
.sc-start { gap: clamp(6px, 1.2svh, 12px); }
.sc-start h3 { font: 600 1rem/1.2 var(--sc-body); }
.sc-steps { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.sc-steps li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; }
.sc-steps span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sc-ink-deep); color: var(--sc-on-ink); font-size: .82rem; }
.sc-setup, .sc-trust { font-size: .93rem; line-height: 1.45; color: var(--sc-ink-soft); max-width: 34em; }
@media (max-width: 899px) {
  .sc-start h3, .sc-setup { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .sc-steps { gap: 4px 12px; }
  .sc-steps li { font-size: .78rem; gap: 5px; }
  .sc-steps span { width: 19px; height: 19px; font-size: .7rem; }
  .sc-trust { font-size: .78rem; }
  .ui-rule-list li { padding: 7px 10px; }
  .ui-switch span { padding: 5px 10px; }
}

/* ---------- Motion: one sequence per surface, played when it comes into view (src/scripts/landing.js sets data-played) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-play]:not([data-played]) :is(.ui-row, .ui-say, .ui-msg) { opacity: 0; transform: translateY(8px); }
  .js [data-play][data-played] :is(.ui-row, .ui-say, .ui-msg) { animation: ui-arrive .5s var(--sc-ease) both; animation-delay: calc(var(--k) * .22s + .1s); }
  .ui-live i { animation: ui-pulse 1.4s ease-in-out infinite; }
  .js [data-play][data-played] .ui-row[data-arrive] { animation: ui-arrive .55s var(--sc-ease) both; animation-delay: 0s; }
  .ui-row[data-resolved] .ui-done { animation: ui-pop .5s var(--sc-ease) both; }
  @keyframes ui-pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
  @keyframes ui-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  @keyframes ui-pulse { 50% { opacity: .25; transform: scale(.7); } }
}

/* The hero's logo band stands in the flow at the bottom of the screen. */
.sc-hero .lp-band { position: relative; inset: auto; left: auto; right: auto; bottom: auto; margin-bottom: clamp(10px, 2svh, 22px); height: clamp(36px, 5.4svh, 46px); border-radius: 14px; }
.ui-site-note { position: absolute !important; inset-block-end: 6px; inset-inline-start: 10px; font-size: .68rem; color: #fff; opacity: .85; text-shadow: 0 1px 6px rgb(0 0 0 / .7); }

/* Wide but short screens (1280×720): the surfaces drop their secondary rows, as on a phone. */
@media (min-width: 900px) and (max-height: 780px) {
  .ui-stats { display: none; }
  .ui-browser-body { height: clamp(230px, 50svh, 520px); }
}

/* ---------- 2 The pain in the owner's own numbers, and the comparison ---------- */
.sc-cost-in { width: 100%; max-width: 1240px; margin-inline: auto; min-height: 0; display: grid; gap: clamp(8px, 1.6svh, 16px); grid-template: 'copy' auto 'panel' minmax(0, 1fr) 'tabs' auto / minmax(0, 1fr); }
.sc-cost-in > .sc-copy { grid-area: copy; }
.sc-cost-in > .sc-panel { grid-area: panel; }
.sc-cost-tabs { grid-area: tabs; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.sc-mark { background: linear-gradient(var(--sc-orange), var(--sc-orange)) 0 100% / 100% .09em no-repeat; padding-bottom: .04em; }
/* The calculator: on a wide screen in the orange phone (the studio render, its display cut out), on a phone a card. */
.ph { position: relative; justify-self: center; align-self: center; height: 100%; max-height: 620px; aspect-ratio: 794 / 1600; }
.ph-frame { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; user-select: none; }
.ph-shadow { position: absolute; left: 6%; right: 6%; bottom: -3.2%; height: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgb(27 40 35 / .42), transparent); filter: blur(5px); }
.ph-screen { position: absolute; z-index: 1; left: 6.4%; top: 2.6%; width: 87%; height: 94.8%; overflow: hidden; border-radius: 13.6% / 6.8%; background: #111915; color: #eef0ea; container-type: size; font: 500 4.8cqw/1.38 var(--sc-body); }
.ph-status { position: absolute; top: 0; inset-inline: 0; height: 11.5cqw; display: flex; align-items: center; justify-content: space-between; padding-inline: 9.5cqw 8cqw; font-size: 3.9cqw; font-weight: 600; }
.ph-status span { display: flex; align-items: flex-end; gap: .7cqw; height: 3cqw; }
.ph-status i { width: 1cqw; border-radius: .4cqw; background: currentColor; }
.ph-status i:nth-child(1) { height: 35%; } .ph-status i:nth-child(2) { height: 55%; } .ph-status i:nth-child(3) { height: 78%; } .ph-status i:nth-child(4) { height: 100%; }
.calc { --soft: #a9b3ac; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 3cqw; padding: 15cqw 7cqw 7cqw; }
.calc h3 { font: 600 7cqw/1 var(--sc-display); }
.calc-field label { display: block; font-size: max(13px, 4.3cqw); line-height: 1.32; color: var(--soft); }
.calc-range { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3cqw; margin-top: 1cqw; }
.calc-range output { font-weight: 600; font-size: max(14px, 5cqw); color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-range input { --track: rgb(240 238 231 / .16); -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 30px; margin: 0; background: transparent; cursor: pointer; }
.calc-range input::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--sc-orange) calc(12px + var(--p, .5) * (100% - 24px)), var(--track) 0); }
.calc-range input::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--sc-orange) calc(12px + var(--p, .5) * (100% - 24px)), var(--track) 0); }
[dir=rtl] .calc-range input::-webkit-slider-runnable-track { background: linear-gradient(270deg, var(--sc-orange) calc(12px + var(--p, .5) * (100% - 24px)), var(--track) 0); }
[dir=rtl] .calc-range input::-moz-range-track { background: linear-gradient(270deg, var(--sc-orange) calc(12px + var(--p, .5) * (100% - 24px)), var(--track) 0); }
.calc-range input::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin-top: -9px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgb(255 106 61 / .22), 0 4px 12px rgb(0 0 0 / .4); }
.calc-range input::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgb(255 106 61 / .22), 0 4px 12px rgb(0 0 0 / .4); }
.calc-range input:focus-visible { outline: 2px solid #ffad8c; outline-offset: 2px; }
html:not(.js) .calc-range input { display: none; }
.calc-sum { display: grid; gap: 3cqw; padding-top: 3.4cqw; border-top: 1px solid rgb(240 238 231 / .12); }
.calc-row p { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .5em; }
.calc-label { flex-basis: 100%; font-size: max(11px, 3.2cqw); font-weight: 600; color: var(--soft); }
.calc-amount { font: 600 12cqw/1.05 var(--sc-display); font-variant-numeric: tabular-nums; }
.calc-plan .calc-amount { font-size: 8.4cqw; color: var(--sc-orange); }
.calc-per { font-size: max(12px, 3.8cqw); color: var(--soft); }
.calc-bar { display: block; height: 2.2cqw; min-height: 5px; margin-top: 1.6cqw; border-radius: 99px; background: rgb(240 238 231 / .12); overflow: hidden; }
.calc-bar::before { content: ''; display: block; height: 100%; width: calc(var(--w, 1) * 100%); border-radius: 99px; background: #eef0ea; transition: width .5s var(--sc-ease); }
.calc-plan .calc-bar::before { background: var(--sc-orange); }
.calc-fit { display: block; margin-top: 1.4cqw; font-size: max(12px, 3.6cqw); color: var(--soft); }
.calc-method { font-size: max(11px, 3.2cqw); line-height: 1.35; color: rgb(238 240 234 / .62); }
/* The comparison: the help the owner knows today, beside AloZen. */
.cmp { min-height: 0; display: grid; gap: clamp(6px, 1.4svh, 14px); align-content: center; }
.cmp h3 { font: 600 clamp(1.5rem, min(6vw, 4.6svh), 2.5rem)/1 var(--sc-display); }
.cmp-head, .cmp li { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 4px clamp(12px, 2vw, 28px); }
.cmp-head { font-weight: 600; font-size: .92rem; }
.cmp li { padding-block: clamp(8px, 2svh, 26px); border-top: 1px solid var(--sc-line); align-items: start; }
.cmp h4 { margin: 0; font: 600 clamp(1.1rem, 2.6svh, 1.45rem)/1.15 var(--sc-display); }
.cmp-today { color: var(--sc-ink-soft); font-size: clamp(.86rem, 2svh, 1.02rem); line-height: 1.4; }
.cmp-az { display: flex; gap: 10px; font-weight: 500; font-size: clamp(.9rem, 2.1svh, 1.08rem); line-height: 1.4; }
.cmp-k { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cmp-stamp { flex: none; display: inline-grid; place-items: center; width: 1.45em; height: 1.45em; border-radius: 50%; background: var(--sc-orange); color: var(--sc-ink-deep); }
.cmp-stamp svg { width: .95em; height: .95em; stroke-width: 2.4; }
.cmp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding-top: clamp(6px, 1.4svh, 14px); border-top: 1px solid var(--sc-line); }
.cmp-cta small { color: var(--sc-ink-soft); font-size: .9rem; }
@media (min-width: 900px) {
  .sc-cost-in { grid-template: 'copy cmp' auto 'calc cmp' minmax(0, 1fr) / minmax(0, 5fr) minmax(0, 6fr); gap: clamp(10px, 2svh, 24px) clamp(28px, 5vw, 84px); }
  .sc-cost-tabs { display: none; }
  .js .sc-cost .sc-panel:not([data-active]) { display: grid; }
  .sc-cost-calc { grid-area: calc !important; container-type: normal; }
  .sc-cost-cmp { grid-area: cmp !important; align-content: center; }
  .sc-cost .sc-h2 { font-size: clamp(2rem, min(4.2vw, 5.6svh), 3.6rem); }
}
@media (max-width: 899px) {
  .sc-cost-tabs { min-height: 58px; padding-inline-end: 76px; align-content: center; }
  .sc-cost .sc-panel { container-type: normal; }
  .cmp-head { display: none; }
  .cmp li { grid-template-columns: minmax(0, 1fr); gap: 2px; padding-block: clamp(5px, 1.2svh, 12px); }
  .cmp h3 { font-size: 1.3rem; }
  .cmp-today { font-size: clamp(.78rem, 1.9svh, .9rem); }
  .cmp-az { font-size: clamp(.8rem, 2svh, .94rem); }
  .cmp-k { position: static; width: auto; height: auto; clip-path: none; font-weight: 600; margin-inline-end: .35em; }
  .cmp-k::after { content: ':'; }
  .cmp-cta { display: none; }
}
/* The calculator as a card: on a phone (no phone inside a phone) and on a wide screen too short for the orange phone. */
@media (max-width: 899px), (max-height: 819px) {
  .ph { height: auto; max-height: 100%; width: 100%; aspect-ratio: auto; align-self: stretch; display: grid; }
  .ph-frame, .ph-shadow, .ph-status { display: none; }
  .ph-screen { position: relative; inset: auto; left: auto; top: auto; width: 100%; height: auto; border-radius: 20px; container-type: inline-size; font-size: .9rem; }
  .calc { gap: clamp(6px, 1.5svh, 14px); padding: clamp(12px, 2.4svh, 20px) 16px; }
  .calc h3 { font-size: 1.3rem; }
  .calc-field label { font-size: clamp(.8rem, 2svh, .9rem); }
  .calc-range { gap: 12px; margin-top: 2px; }
  .calc-range output { font-size: 1rem; }
  .calc-sum { gap: 8px; padding-top: 10px; }
  .calc-label { font-size: .72rem; }
  .calc-amount { font-size: clamp(1.7rem, 5.4svh, 2.4rem); }
  .calc-plan .calc-amount { font-size: clamp(1.3rem, 4svh, 1.7rem); }
  .calc-per, .calc-fit { font-size: .8rem; }
  .calc-bar { height: 6px; margin-top: 4px; }
  .calc-method { font-size: .72rem; }
}
@media (min-width: 900px) and (max-height: 819px) { .ph { max-width: 420px; align-self: center; } }
@media (max-width: 899px) and (max-height: 700px) { .calc h3, .calc-fit { display: none; } }
/* The hero's first line stands on one line on a wide screen; the answer follows in orange. */
@media (min-width: 900px) {
  .sc-hero .sc-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sc-hero .sc-h1 { font-size: clamp(2.4rem, min(4.1vw, 8.4svh), 3.9rem); }
  .lp .sc-hero .sc-h1 span:first-child { white-space: nowrap; }
}

/* ---------- Core pages built as screens (src/lib/core-screens.mjs): help, partner ---------- */
body.core main:has(> .sc) { max-width: none; margin: 0; padding: 0; }
body.core .sc { max-width: none; margin: 0; border: 0; }
body.core .sc-h1, body.core .sc-h2 { margin: 0; max-width: none; font-family: var(--sc-display); font-weight: 600; letter-spacing: -.015em; line-height: .94; color: inherit; }
body.core .sc-h1 { font-size: clamp(2rem, min(9.8vw, 8.2svh), 4.4rem); }
body.core .sc-h2 { font-size: clamp(1.9rem, min(8.6vw, 6.3svh), 3.9rem); }
body.core .sc-lead { margin: 0; max-width: 33em; font-size: clamp(.92rem, min(4.1vw, 2.35svh), 1.24rem); line-height: 1.46; }
body.core .sc-ink .sc-lead { color: var(--sc-on-ink-soft); }
body.core .sc-ink .sc-h1 { color: #fff; }
body.core .sc-ink .sc-h1 span:last-child { color: var(--sc-orange); }
/* The first section shares the first screen with the header that stands above it. */
body.core .sc-first { min-height: 0; }
@media (min-height: 600px) { body.core .sc-first { height: calc(100svh - 108px); } }
@media (min-height: 600px) and (max-width: 760px) { body.core .sc-first { height: calc(100svh - 124px); } }
.sc-core-hero .ui-win { max-width: 520px; }
.ui-row-plain { grid-template-columns: minmax(0, 1fr); }
.ui-benefits .ui-row-text { white-space: normal; }
.sc-faq-in { width: 100%; max-width: 920px; margin-inline: auto; min-height: 0; display: grid; gap: clamp(8px, 1.8svh, 22px); align-content: center; }
.sc-faq-in .sc-panel { container-type: normal; }
.sc-faq-list { border-top: 1.5px solid var(--sc-ink); }
.sc-faq-list details { border-bottom: 1px solid var(--sc-line); }
.sc-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(9px, 1.7svh, 18px) 2px; cursor: pointer; list-style: none; }
.sc-faq-list summary::-webkit-details-marker { display: none; }
.sc-faq-list h3 { margin: 0; font: 600 clamp(.95rem, 2.2svh, 1.06rem)/1.3 var(--sc-body); }
.sc-faq-list p { margin: 0; padding: 0 2px clamp(9px, 1.7svh, 18px); max-width: 62ch; font-size: clamp(.88rem, 2.05svh, 1rem); line-height: 1.5; color: var(--sc-ink-2); }
.sc-plus { position: relative; flex: none; width: 14px; height: 14px; }
.sc-plus::before, .sc-plus::after { content: ''; position: absolute; inset: 6px 0 auto; height: 2px; border-radius: 2px; background: var(--sc-ink); transition: transform .3s var(--sc-ease); }
.sc-plus::after { transform: rotate(90deg); }
.sc-faq-list details[open] .sc-plus::after { transform: rotate(0); }
.sc-faq-in .sc-faq-tabs { order: 0; display: flex; flex-wrap: wrap; min-height: 0; padding: 0; gap: 6px; }
.sc-rows { margin: 0; display: grid; gap: 0; align-self: center; border-top: 1.5px solid var(--sc-ink); }
.sc-rows > div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4px 24px; padding: clamp(10px, 2.2svh, 24px) 2px; border-bottom: 1px solid var(--sc-line); }
.sc-rows dt { font: 600 clamp(1.1rem, 2.8svh, 1.5rem)/1.15 var(--sc-display); }
.sc-rows dd { margin: 0; font-size: clamp(.9rem, 2.1svh, 1.06rem); line-height: 1.45; color: var(--sc-ink-2); }
.sc-choices { align-self: center; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 1.4svh, 14px); }
.sc-choices a { display: grid; gap: 4px; align-content: start; padding: clamp(12px, 2.2svh, 22px) clamp(14px, 1.6vw, 22px); border-radius: 18px; background: var(--ui-card); color: var(--ui-ink); text-decoration: none; box-shadow: 0 1px 2px rgb(27 40 35 / .06), 0 18px 40px -26px rgb(27 40 35 / .4); transition: transform .25s var(--sc-ease); }
.sc-choices a:hover { transform: translateY(-2px); }
.sc-choices b { font: 600 clamp(1.05rem, 2.6svh, 1.35rem)/1.15 var(--sc-display); }
.sc-choices span { font-size: clamp(.84rem, 1.95svh, .95rem); line-height: 1.4; color: var(--ui-quiet); }
.sc-core-rows .sc-media, .sc-core-choices .sc-media, .sc-core-models .sc-media { container-type: normal; }
.sc-core-models .sc-trust { max-width: none; }
@media (max-width: 899px) {
  .sc-rows > div { grid-template-columns: minmax(0, 1fr); }
  .sc-choices { grid-template-columns: minmax(0, 1fr); }
  .sc-core-rows .sc-in, .sc-core-choices .sc-in, .sc-core-models .sc-in { align-content: center; grid-template-rows: auto auto auto; }
  .sc-core-choices .sc-media { padding-bottom: 60px; }
  .sc-faq-in .sc-faq-tabs [role=tab] { min-height: 34px; padding: 0 10px; font-size: .76rem; }
}
.sc-core-models .cmp-stamp { display: none; }
/* The price page's first section needs the whole screen for its cards; the header scrolls away above it. */
@media (min-height: 600px) { body.core .sc-first.sc-pricing { height: 100svh; } }
/* The partner page's advantages on a short phone: the names carry them, the sentences are for taller screens. */
@media (max-width: 899px) and (max-height: 700px) { .ui-benefits .ui-row-text { display: none; } .ui-benefits .ui-row { padding-block: 6px; } }
body.core .sc .soon-note { margin: 0; font-size: clamp(.78rem, 1.9svh, .9rem); line-height: 1.4; color: var(--sc-on-ink-soft); }

/* 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: 899px) and (min-height: 600px) { html:not([lang=de]) .sc.sc-natural { padding-block: calc(var(--sc-head) + clamp(16px, 3svh, 48px)) clamp(16px, 3svh, 48px); } }
@media (max-width: 899px) { html:not([lang=de]) .cmp li { padding-block: clamp(4px, .7svh, 12px); } }
@media (max-width: 899px) and (max-height: 820px) { html:not([lang=de]) .cmp h3 { font-size: 1.15rem; } }
@media (max-width: 899px) and (max-height: 700px) {
  html:not([lang=de]) .sc.sc-natural:not(.sc-hero) { padding-block: 14px; }
  html:not([lang=de]) .cmp li { padding-block: 3px; }
  html:not([lang=de]) .cmp h3 { font-size: 1.1rem; }
  html:not([lang=de]) .sc-h1, html:not([lang=de]) body.core .sc-h1 { font-size: clamp(1.75rem, min(8.4vw, 8.2svh), 5.2rem); }
  html:not([lang=de]) .sc-h2 { font-size: clamp(1.75rem, min(8.6vw, 6.3svh), 4.3rem); }
  html:not([lang=de]) .sc-facts { gap: 4px; }
  html:not([lang=de]) .sc-facts li { padding: 2px 8px; }
  html:not([lang=de]) .sc-facts b { font-size: .72rem; }
  /* The website chat keeps room for at least one message: its note („Lily on this page is the same chat“) waits for a
     taller screen. */
  html:not([lang=de]) .sc-webchat .sc-action-note { display: none; }
  /* „Unverbindlich. Keine Zahlungsinfos notwendig.“ under the sector buttons (16 Nov 2026) stays on one line. */
  html:not([lang=de]) .sc-sector-compare .sc-action-note, html:not([lang=de]) .sc-sector-example .sc-action-note { font-size: .72rem; line-height: 1.3; }
}
@media (max-width: 760px) and (max-height: 700px) { html[lang=ar] .sc .sc-h2 { font-size: 26px; line-height: 1.3; } }
