/* LessReels – Webseite (Version 11: Fragebogen mit Warteliste)
   Marke: Wortmarke «LessReels» (Nachtblau und Blau-Verlauf). Schrift: Plus Jakarta Sans (lokal). */

@font-face { font-family: 'Plus Jakarta Sans'; src: url('../fonts/jakarta-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url('../fonts/jakarta-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url('../fonts/jakarta-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url('../fonts/jakarta-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url('../fonts/jakarta-800.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --blue: #0A62F5;        /* «R» im Logo */
  --blue-deep: #0047C8;
  --cyan: #00ADFE;        /* «s» im Logo */
  --navy: #031346;        /* «Less» im Logo */
  --ice: #EAF3FF;
  --ice-2: #D6E7FF;
  --ink: #08122E;
  --text-2: #586179;
  --line: #E3E8F2;
  --soft: #F4F8FE;
  --white: #FFFFFF;
  --error: #B42318;
  --grad: linear-gradient(115deg, #0160F8 0%, #0A8CFF 55%, #01ADFE 100%);
  --font: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
  --container: 1180px;
  --gutter: 20px;
  --header-h: 68px;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p, ul, ol, figure, h1, h2, h3, fieldset { margin: 0; }
fieldset { min-width: 0; padding: 0; border: 0; }
legend { padding: 0; }
button, input { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
html.dlg-open { overflow: hidden; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -120px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Typo ---------- */
.h1, .h2, .h3 { font-weight: 800; letter-spacing: -0.03em; }
.h1, .h2 { text-wrap: balance; }
.h1 { font-size: clamp(40px, 6.6vw, 76px); line-height: 1.03; }
.lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; color: var(--text-2); max-width: 32em; }
.nw { white-space: nowrap; }
.ap { margin-right: -0.08em; margin-left: -0.02em; }
.qo { margin-right: -0.07em; }
.qc { margin-left: -0.05em; }
.cm { margin-left: -0.06em; }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; width: auto; height: 27px; }
@media (min-width: 768px) { .brand-logo { height: 31px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px; border: 0; border-radius: 999px; font-size: 16px; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.72; cursor: progress; }
.btn-primary { background: var(--blue); color: #fff; }
@media (hover: hover) { .btn-primary:hover { background: var(--blue-deep); } }
.btn-ghost { background: var(--ice); color: var(--blue-deep); }
@media (hover: hover) { .btn-ghost:hover { background: var(--ice-2); } }
.btn-big { height: 60px; padding: 0 34px; font-size: 18px; box-shadow: 0 18px 34px -16px rgba(10, 98, 245, 0.75); }
.btn-text { height: 44px; padding: 0 6px; border: 0; background: none; color: var(--text-2); font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.btn-text:hover { color: var(--ink); }

/* ---------- Kopfzeile ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.88); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang summary { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 10px 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; list-style: none; cursor: pointer; user-select: none; -webkit-user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { border-color: #C6D2E6; }
.lang summary svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.lang[open] summary svg { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 172px; margin: 0; padding: 6px; list-style: none; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 22px 44px -18px rgba(8, 18, 46, 0.35); }
.lang-menu a { display: block; padding: 10px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.lang-menu a:hover { background: var(--soft); }
.lang-menu a[aria-current='true'] { background: var(--ice); color: var(--blue-deep); }

/* ---------- Fragebogen ---------- */
/* Startbildschirm: Kopfzeile und Fragebogen füllen zusammen den ganzen Bildschirm, komplett weiss. Die dunkle Fusszeile
   kommt erst beim Scrollen. 100vh ist auf dem Handy die volle Höhe ohne Browserleisten; so scheint die Fusszeile auch
   nicht durch die durchsichtige Leiste von Safari. Der Inhalt steht in der Mitte, dank mehr Abstand unten leicht darüber. */
.qz-main { background: var(--white); }
.qz { display: flex; flex-direction: column; justify-content: center; min-height: calc(100vh - var(--header-h)); padding: 40px 0 88px; }
@media (min-width: 768px) { .qz { padding: 72px 0 120px; } }
.qz-wrap { max-width: calc(720px + 2 * var(--gutter)); }

.qz-intro { text-align: center; }
.qz-h1 { margin: 0 auto; max-width: 12.5em; }
.qz-lead { margin: 22px auto 0; }
/* «Reels» im Titel wie im Logo: Blau-Verlauf, am Ende etwas dunkler als im Logo, damit es auf Weiss gut lesbar bleibt */
.h1 .reels { background: linear-gradient(120deg, #0160F8 0%, #0A96FE 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.qz-intro .btn-big { margin-top: 34px; }
.qz-noscript { margin-top: 18px; font-weight: 700; color: var(--error); }

.qz-card { padding: 24px 20px 20px; border-radius: 30px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -36px rgba(3, 19, 70, 0.35); }
@media (min-width: 560px) { .qz-card { padding: 34px 36px 28px; } }
.qz-top { display: flex; flex-direction: column; gap: 12px; }
.qz-count { font-size: 14px; font-weight: 700; color: var(--text-2); font-variant-numeric: tabular-nums; }
.qz-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.qz-bar span { height: 6px; border-radius: 999px; background: var(--ice-2); transition: background 0.3s ease; }
.qz-bar span.is-on { background: var(--grad); }

.qz-step { margin-top: 26px; }
.qz-q { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; text-wrap: balance; }
.qz-q:focus { outline: none; }
.qz-hint { margin-top: 10px; font-size: 15px; color: var(--text-2); }
.qz-err { margin-top: 12px; font-size: 15px; font-weight: 700; color: var(--error); }

.qz-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
@media (min-width: 560px) { .qz-opts-apps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.qz-opts-often { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .qz-opts-often { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; font-size: 16px; font-weight: 700; line-height: 1.25; transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease; }
.opt span::before { content: ''; flex: none; width: 22px; height: 22px; border: 2px solid #C6D2E6; border-radius: 7px; background: #fff center / 14px no-repeat; transition: background-color 0.15s ease, border-color 0.15s ease; }
.opt input[type='radio'] + span::before { border-radius: 50%; }
@media (hover: hover) { .opt:hover span { border-color: #B9C9E6; } }
.opt input:checked + span { border-color: var(--blue); background: var(--ice); box-shadow: 0 0 0 1px var(--blue) inset; }
.opt input:checked + span::before { border-color: var(--blue); background-color: var(--blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7'/%3E%3C/svg%3E"); }
.opt input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }

.qz-range { margin-top: 26px; }
.qz-out { display: block; font-size: clamp(34px, 6vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.qz-range input[type='range'] { --p: 20%; display: block; width: 100%; height: 12px; margin: 22px 0 0; border-radius: 999px; background: linear-gradient(to right, #0160F8, #01ADFE) 0 0 / var(--p) 100% no-repeat, var(--ice-2); -webkit-appearance: none; appearance: none; cursor: pointer; }
.qz-range input[type='range']::-webkit-slider-thumb { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 6px 16px rgba(3, 19, 70, 0.3), inset 0 0 0 8px var(--blue); -webkit-appearance: none; appearance: none; }
.qz-range input[type='range']::-moz-range-thumb { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 6px 16px rgba(3, 19, 70, 0.3), inset 0 0 0 8px var(--blue); }
.qz-range input[type='range']::-moz-range-track { height: 12px; border-radius: 999px; background: transparent; }
.qz-range input[type='range']:focus-visible { outline: 3px solid var(--blue); outline-offset: 8px; }
.qz-scale { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.qz-sub { margin-top: 18px; font-size: 17px; font-weight: 700; }

.qz-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 30px; }
.qz-nav [data-q-next] { margin-left: auto; min-width: 150px; }
@media (max-width: 419px) {
  /* Schmale Handys: «Zurück» so breit wie nötig, der Knopf nach vorne bekommt den Rest (lange Texte wie «Ver meu resultado») */
  .qz-nav [data-q-back] { flex: 0 0 auto; padding: 0 20px; }
  .qz-nav [data-q-next] { flex: 1 1 auto; min-width: 0; padding: 0 18px; white-space: normal; line-height: 1.15; text-align: center; }
}

/* Ergebnis: die Zahl ist der eine laute Moment der Seite */
.qz-result { text-align: center; }
.qz-r-pre { font-size: clamp(20px, 2.4vw, 24px); font-weight: 700; }
.qz-r-num { margin-top: 6px; line-height: 0.95; }
.qz-r-num:focus { outline: none; }
.qz-r-vis { display: block; }
.qz-r-big { font-size: clamp(104px, 30vw, 184px); font-weight: 800; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.qz-r-unit { display: block; margin-top: 4px; font-size: clamp(34px, 6vw, 52px); font-weight: 800; letter-spacing: -0.03em; color: var(--navy); }
.qz-r-post { margin: 14px auto 0; max-width: 22em; font-size: clamp(19px, 2.2vw, 23px); font-weight: 700; line-height: 1.35; text-wrap: balance; }
.qz-r-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 26px auto 0; padding: 0; list-style: none; }
.qz-r-facts li { padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1.5px var(--line) inset; font-size: 15px; font-weight: 700; color: var(--text-2); font-variant-numeric: tabular-nums; }
.qz-r-wake { margin-top: 18px; font-size: 16px; font-weight: 600; color: var(--text-2); }
.qz-r-often { margin-top: 6px; font-size: 16px; font-weight: 700; }
.qz-r-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 32px; }
.qz-r-actions .btn-big.is-done { background: var(--ice); color: var(--blue-deep); box-shadow: none; }
.qz-r-note { margin: 22px auto 0; max-width: 30em; font-size: 13px; color: var(--text-2); }
@media (max-width: 419px) { .qz-r-actions .btn-big { width: 100%; } }

/* ---------- Fenster: Warteliste ---------- */
.wl-dialog { width: min(520px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: 30px; background: #fff; color: var(--ink); box-shadow: 0 40px 90px -30px rgba(3, 19, 70, 0.55); overflow: auto; overscroll-behavior: contain; }
.wl-dialog:not([open]) { display: none; }   /* auch in Browsern ohne <dialog> versteckt */
/* Ohne Weichzeichner: Die eigene Zahl bleibt hinter dem Fenster lesbar («Hol dir diese Zeit zurück») */
.wl-dialog::backdrop { background: rgba(3, 19, 70, 0.42); }
.wl-dialog[open] { animation: dlg-in 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.1) both; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (max-width: 559px) {
  /* Auf dem Handy kommt das Fenster von unten */
  .wl-dialog { width: 100vw; max-height: 92vh; max-height: 92dvh; margin: auto 0 0; border-radius: 28px 28px 0 0; }
  .wl-dialog[open] { animation-name: dlg-up; }
  @keyframes dlg-up { from { transform: translateY(100%); } to { transform: none; } }
}
.dlg-inner { position: relative; padding: 30px 24px calc(26px + env(safe-area-inset-bottom)); }
@media (min-width: 560px) { .dlg-inner { padding: 38px 38px 32px; } }
.dlg-close { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); cursor: pointer; }
.dlg-close:hover { background: var(--ice); }
.dlg-close svg { width: 18px; height: 18px; }
.dlg-title { padding-right: 40px; font-size: clamp(26px, 4vw, 32px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; text-wrap: balance; }
.dlg-title:focus { outline: none; }
.dlg-text { margin-top: 12px; font-size: 17px; color: var(--text-2); }
.dlg-young { margin-top: 20px; padding: 16px 18px; border-radius: 18px; background: var(--ice); font-size: 16px; font-weight: 600; }

.wl { margin-top: 22px; }
.wl-field { display: flex; flex-direction: column; gap: 10px; }
.wl-input { width: 100%; height: 56px; padding: 0 22px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: 17px; outline: none; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.wl-input::placeholder { color: #8A93A8; }
.wl-input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 98, 245, 0.18); }
.wl-input[aria-invalid='true'] { border-color: var(--error); }
.wl-field .btn { height: 56px; white-space: normal; text-align: center; line-height: 1.2; }
.wl-note { margin-top: 14px; }
.wl-trust { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; list-style: none; font-size: 14px; font-weight: 600; }
.wl-trust li { display: inline-flex; align-items: center; gap: 6px; }
.wl-trust svg { width: 16px; height: 16px; flex: none; color: var(--blue); }
.wl-legal { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.wl-legal a { color: inherit; text-underline-offset: 2px; }
.wl-error { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--error); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Bestätigung */
.done-mark { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--grad); color: #fff; }
.done-mark svg { width: 28px; height: 28px; }
.dlg-done .dlg-title { margin-top: 18px; }
.perks { display: grid; gap: 12px; margin-top: 22px; padding: 0; list-style: none; }
.perks li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 18px; border-radius: 20px; background: var(--soft); font-size: 15px; line-height: 1.5; color: var(--text-2); }
.perk-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #fff; color: var(--blue); box-shadow: 0 0 0 1.5px var(--ice-2) inset; }
.perk-ic svg { width: 22px; height: 22px; }
.perk-t { margin-bottom: 2px; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.done-actions .btn { flex: 1 1 180px; min-width: 0; white-space: normal; text-align: center; line-height: 1.2; height: auto; min-height: 52px; padding: 12px 20px; }

/* ---------- Fusszeile ---------- */
.site-footer { padding: 56px 0 40px; background: var(--navy); color: rgba(255, 255, 255, 0.78); font-size: 15px; }
.site-footer .brand-logo { height: 28px; }
.footer-top { display: grid; gap: 36px; }
@media (min-width: 560px) { .footer-top { grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); } }
.footer-col a[aria-current='true'] { color: #fff; font-weight: 700; }
.footer-claim { margin-top: 14px; }
.footer-col h2 { margin-bottom: 14px; font-size: 15px; font-weight: 700; color: #fff; }
.footer-col ul { display: grid; gap: 10px; padding: 0; list-style: none; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer :focus-visible { outline-color: #fff; }
.footer-bottom { display: grid; gap: 6px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 14px; color: rgba(255, 255, 255, 0.64); }

/* ---------- Rechtliches ---------- */
.legal { padding: 56px 0 96px; }
.legal-body { max-width: 720px; }
.legal-body .h1 { font-size: clamp(38px, 5.6vw, 56px); }
.legal-body .stand { margin-top: 14px; color: var(--text-2); }
.legal-body h2 { margin-top: 44px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; }
.legal-body h3 { margin-top: 24px; font-size: 18px; font-weight: 700; }
.legal-body p, .legal-body ul { margin-top: 12px; }
.legal-body ul { padding-left: 22px; }
.legal-body li + li { margin-top: 6px; }
.legal-body a { color: var(--blue-deep); text-underline-offset: 3px; }
.lang-note { margin-top: 16px; font-size: 14px; color: var(--text-2); }
.lang-note a { color: var(--blue-deep); text-underline-offset: 3px; }
.legal-box { margin-top: 28px; padding: 18px 20px; border-radius: 18px; background: var(--ice); color: var(--ink); font-size: 15px; }
.ph { padding: 0 4px; border-radius: 4px; background: #FFF1C2; color: #5C4300; font-weight: 600; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: flex; align-items: center; padding: 80px 0; }
.notfound .lead { margin-top: 18px; }
.notfound .btn { margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .wl-dialog[open] { animation: none; }
}
