/* Schriften selbst gehostet (kein Abruf bei Google), nur der Zeichensatz „latin“.
   Dieselben Dateien und Fallback-Maße wie next/font in apps/web (src/app/fonts.ts). */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/bricolage-grotesque-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque Fallback';
  src: local('Arial');
  ascent-override: 88.21%;
  descent-override: 25.61%;
  line-gap-override: 0%;
  size-adjust: 105.43%;
}

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonts/figtree-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree Fallback';
  src: local('Arial');
  ascent-override: 94.32%;
  descent-override: 24.82%;
  line-gap-override: 0%;
  size-adjust: 100.72%;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono Fallback';
  src: local('Arial');
  ascent-override: 75.79%;
  descent-override: 22.29%;
  line-gap-override: 0%;
  size-adjust: 134.59%;
}

/* Dieselben Variablen, die next/font in der App setzt; tokens.css liest sie. */
:root {
  --font-bricolage: 'Bricolage Grotesque', 'Bricolage Grotesque Fallback';
  --font-figtree: 'Figtree', 'Figtree Fallback';
  --font-jetbrains: 'JetBrains Mono', 'JetBrains Mono Fallback';
}

/* HeyCodes Component Library – alle Styles in fester Reihenfolge.
   In der App einmal im Root-Layout importieren: import '@heycodes/ui/styles.css'; */

/* HeyCodes · Tokens
   Quelle: Claude Design „HeyCodes · Arbeitskopie“, cl.css Abschnitt 1, und tokens.json.
   Farben folgen per light-dark() dem color-scheme:
   – ohne Angabe der Systemeinstellung (prefers-color-scheme),
   – data-theme="light" | "dark" an einem beliebigen Element erzwingt das Theme für den ganzen Teilbaum. */

:root {
  color-scheme: light dark;

  /* ---------- Farben ---------- */
  --canvas: light-dark(#F3F5F0, #0E1712);
  --surface: light-dark(#FFFFFF, #17241C);
  --surface-sunken: light-dark(#EEF3E8, #203227);
  --surface-hover: light-dark(#F6F8F4, #1B2B21);
  --ink: light-dark(#142019, #E6EEE3);
  --ink-strong: light-dark(#0F2A17, #F2F7EF);
  --muted: light-dark(#5F6B62, #9DB0A2);
  --ink-faint: light-dark(#808C83, #6E8274);
  --control: light-dark(#808C83, #6A8172);
  --line: light-dark(#E4E9E0, #26392D);
  --line-strong: light-dark(#D6DDD2, #33493B);
  --value: light-dark(#0F2A17, #B2F06E);

  --band: light-dark(#0F2A17, #08110C);
  --on-band: #EEF3E8;
  --on-band-muted: #9FB3A4;
  --band-field: light-dark(rgba(238, 243, 232, 0.09), rgba(238, 243, 232, 0.08));
  --band-field-hover: rgba(238, 243, 232, 0.14);
  --band-stripe: rgba(238, 243, 232, 0.035);

  --action: light-dark(#0F2A17, #B2F06E);
  --on-action: light-dark(#EEF3E8, #0F2A17);
  --action-accent: light-dark(#B2F06E, #0F2A17);
  --on-action-accent: light-dark(#0F2A17, #B2F06E);

  --lime: #B2F06E;
  --on-lime: #0F2A17;
  --lime-soft: light-dark(#E6F6DA, #22402B);

  --success: light-dark(#23793A, #6BD47F);
  --fail: light-dark(#E8590C, #FF8A4C);
  --fail-soft: light-dark(#FDE6DA, #3D2014);
  --on-fail-soft: light-dark(#7A2E06, #FFB590);
  --warn: light-dark(#8A5300, #FFC766);
  --warn-soft: light-dark(#FFF1D6, #3A2C0E);

  --focus: light-dark(#1F6FEB, #7FB2FF);
  --focus-ring: light-dark(rgba(31, 111, 235, 0.25), rgba(127, 178, 255, 0.3));
  --scrim: light-dark(rgba(10, 22, 14, 0.4), rgba(0, 0, 0, 0.6));
  --bar: light-dark(rgba(243, 245, 240, 0.86), rgba(14, 23, 18, 0.86));
  --img-outline: light-dark(rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0.1));

  /* ---------- Schatten ----------
     Hell: Schatten als Kante (Krehel). Dunkel: Schatten werden zu 1px-Lichtkanten. */
  --shadow-card:
    0 0 0 1px light-dark(rgba(0, 0, 0, 0.04), rgba(255, 255, 255, 0.06)),
    0 1px 2px -1px light-dark(rgba(0, 0, 0, 0.06), transparent),
    0 2px 4px 0 light-dark(rgba(0, 0, 0, 0.03), transparent);
  --shadow-card-hover:
    0 0 0 1px light-dark(rgba(0, 0, 0, 0.06), rgba(255, 255, 255, 0.1)),
    0 2px 4px -1px light-dark(rgba(0, 0, 0, 0.08), transparent),
    0 6px 14px 0 light-dark(rgba(0, 0, 0, 0.06), transparent);
  --shadow-float:
    0 10px 30px light-dark(rgba(15, 42, 23, 0.28), rgba(0, 0, 0, 0.5)),
    0 0 0 1px light-dark(transparent, rgba(255, 255, 255, 0.08));
  --shadow-sheet:
    0 -10px 40px light-dark(rgba(10, 22, 14, 0.18), rgba(0, 0, 0, 0.5)),
    0 0 0 1px light-dark(transparent, rgba(255, 255, 255, 0.06));
  --shadow-pop:
    0 12px 32px light-dark(rgba(15, 42, 23, 0.16), rgba(0, 0, 0, 0.5)),
    0 0 0 1px light-dark(rgba(0, 0, 0, 0.05), rgba(255, 255, 255, 0.08));

  /* ---------- Schrift ----------
     Die App setzt --font-bricolage, --font-figtree und --font-jetbrains (next/font, selbst gehostet).
     Ohne diese Variablen greifen die Familiennamen. */
  --font-display: var(--font-bricolage, 'Bricolage Grotesque'), var(--font-figtree, 'Figtree'), system-ui, sans-serif;
  --font-sans: var(--font-figtree, 'Figtree'), system-ui, sans-serif;
  --font-mono: var(--font-jetbrains, 'JetBrains Mono'), ui-monospace, monospace;

  /* ---------- Bewegung (Emil Kowalski) ---------- */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-icon: cubic-bezier(0.2, 0, 0, 1);
  --dur-press: 150ms;
  --dur-hover: 200ms;
  --dur-swap-in: 250ms;
  --dur-swap-out: 150ms;
  --dur-icon: 300ms;
  --dur-pop-in: 200ms;
  --dur-toast-in: 300ms;
  --dur-sheet-in: 500ms;
  --dur-sheet-out: 280ms;

  /* ---------- Radien (konzentrisch: außen = innen + Innenabstand) ---------- */
  --radius-badge: 7px;
  --radius-sm: 12px;
  --radius-md: 14px;
  --radius-cta: 18px;
  --radius-list: 20px;
  --radius-card: 22px;
  --radius-pass: 28px;
  --radius-pill: 9999px;

  /* ---------- Abstände und Maße ---------- */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-14: 14px;
  --space-16: 16px;
  --space-22: 22px;
  --space-28: 28px;
  --space-40: 40px;
  --space-56: 56px;
  --hit-min: 44px;
  --cta-height: 56px;
  --input-height: 52px;
  --content-max: 1160px;
}

/* Theme erzwingen – auch für Inseln innerhalb der Seite (z. B. im Styleguide) */
[data-theme='light'] {
  color-scheme: light;
}
[data-theme='dark'] {
  color-scheme: dark;
}

/* HeyCodes · Basis (cl.css Abschnitt 2)
   .cl-root ist der Container für alle Container-Queries:
   mobil bis 899 px Containerbreite, Desktop ab 900 px (@container cl). Nicht per Viewport. */

.cl-root {
  container: cl / inline-size;
  position: relative;
  width: 100%;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.cl-root,
.cl-root *,
.cl-root *::before,
.cl-root *::after {
  box-sizing: border-box;
}
:where(.cl-root) :where(h1, h2, h3) {
  text-wrap: balance;
}
:where(.cl-root) :where(p, li, dd) {
  text-wrap: pretty;
}
:where(.cl-root) a {
  color: inherit;
}
:where(.cl-root) :where(button, input, textarea, select) {
  font: inherit;
}
.cl-root :focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* ---------- Hilfsklassen ---------- */
.cl-num {
  font-variant-numeric: tabular-nums;
}
.cl-nobr {
  white-space: nowrap;
}
.cl-mono {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.cl-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@container cl (max-width: 899px) {
  .cl-hide-mob {
    display: none !important;
  }
}
@container cl (min-width: 900px) {
  .cl-hide-desk {
    display: none !important;
  }
}

/* Gestapelte Zelle: mehrere Zustände liegen übereinander, nur einer ist sichtbar (.cl-swap) */
.cl-cell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.cl-cell > * {
  grid-area: 1 / 1;
  min-width: 0;
}

/* ---------- Layout ---------- */
.cl-wrap {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.cl-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.cl-main {
  padding-top: 26px;
  padding-bottom: 8px;
}
.cl-narrow {
  max-width: 640px;
  margin: 0 auto;
}
.cl-grid2,
.cl-grid3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
@container cl (min-width: 900px) {
  .cl-wrap {
    padding-left: 40px;
    padding-right: 40px;
  }
  .cl-stack {
    gap: 40px;
  }
  .cl-main {
    padding-top: 56px;
  }
  .cl-grid2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .cl-grid3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}


/* Überschriften und Text (cl.css Abschnitte 3 und 12) */

.cl-h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: 'opsz' 96;
  font-size: 36px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink-strong);
  /* Begriff des Shops („Empfehlungscode“) und lange Shop-Namen: lieber umbrechen als überlaufen (nicht im Design) */
  overflow-wrap: break-word;
}
.cl-h1--hero {
  font-size: 40px;
  letter-spacing: -0.02em;
}
.cl-lead {
  margin: 10px 0 0;
  font-size: 17px;
  color: var(--muted);
}

.cl-h2 {
  margin: 0 0 12px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
  overflow-wrap: break-word;
}
.cl-h2--row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.cl-h2__link {
  flex: 0 0 auto;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-strong);
  text-decoration: none;
  white-space: nowrap;
}
.cl-h2__meta {
  flex: 0 0 auto;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  white-space: nowrap;
}

.cl-group {
  margin: 0 0 8px 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.cl-list + .cl-group {
  margin-top: 22px;
}

.cl-prose {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
}
.cl-prose h2 {
  margin: 44px 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink-strong);
}
.cl-prose h3 {
  margin: 28px 0 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-strong);
}
.cl-prose p {
  margin: 0 0 16px;
}
.cl-prose ul,
.cl-prose ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.cl-prose li {
  margin: 0 0 6px;
}
/* Lange Wörter (Datenschutz-Grundverordnung) brechen statt überzulaufen */
.cl-prose {
  overflow-wrap: break-word;
  hyphens: auto;
}
.cl-prose > :first-child {
  margin-top: 0;
}
.cl-prose strong {
  color: var(--ink-strong);
}
.cl-prose h4 {
  margin: 20px 0 6px;
  font-size: inherit;
  font-weight: 700;
  color: var(--ink-strong);
}
.cl-prose address {
  margin: 0 0 16px;
  font-style: normal;
}
.cl-prose--compact {
  font-size: 16px;
}
.cl-prose--compact h2 {
  margin-top: 36px;
  font-size: 22px;
}
.cl-prose--compact h3 {
  margin-top: 24px;
  font-size: 17px;
}

@container cl (min-width: 900px) {
  .cl-h1 {
    font-size: 60px;
  }
  .cl-h1--hero {
    font-size: 72px;
  }
  .cl-lead {
    font-size: 18px;
  }
  .cl-h2 {
    font-size: 26px;
  }
  .cl-prose {
    font-size: 19px;
  }
  .cl-prose h2 {
    font-size: 32px;
  }
  .cl-prose--compact {
    font-size: 17px;
  }
  .cl-prose--compact h2 {
    font-size: 26px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .cl-h2__link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

/* Buttons und Links (cl.css Abschnitte 3, 5, 14) */

.cl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
  color: var(--ink-strong);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.cl-btn--icon-end {
  padding: 0 14px 0 16px;
}
.cl-btn--primary {
  background: var(--action);
  color: var(--on-action);
}
.cl-btn--lime {
  background: var(--lime);
  color: var(--on-lime);
}
.cl-btn--band {
  background: var(--band-field);
  color: var(--on-band);
}
.cl-btn--surface {
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.cl-btn--ghost {
  background: transparent;
}
.cl-btn--lg {
  height: 54px;
  padding: 0 22px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 700;
}
.cl-btn--block {
  display: flex;
  width: 100%;
}
.cl-btn--pill {
  border-radius: var(--radius-pill);
}
.cl-btn__mono {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.cl-btn:disabled,
.cl-btn[aria-disabled='true'] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Icon-Button auf dem Band */
.cl-iconbtn {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--on-band);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}

/* Textlink */
.cl-link {
  color: var(--ink-strong);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .cl-btn {
    transition:
      background-color 100ms ease-out,
      transform var(--dur-press) var(--ease-out);
  }
  .cl-btn:hover {
    background-color: var(--line);
  }
  .cl-btn--primary:hover {
    background-color: var(--action);
    filter: brightness(1.12);
  }
  .cl-btn--lime:hover {
    background-color: var(--lime);
    filter: brightness(1.04);
  }
  .cl-btn--band:hover {
    background-color: var(--band-field-hover);
  }
  .cl-btn--surface:hover {
    background-color: var(--surface-hover);
  }
  .cl-btn--ghost:hover {
    background-color: var(--surface-sunken);
  }
  .cl-iconbtn:hover {
    background-color: var(--band-field);
  }
}

/* Auszeichnungen (cl.css Abschnitte 8 und 16) */

.cl-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--radius-badge);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.cl-badge--exclusive {
  background: var(--lime);
  color: var(--on-lime);
}
.cl-badge--ad {
  background: var(--surface-sunken);
  color: var(--muted);
  font-weight: 600;
}
.cl-badge--soft {
  background: var(--lime-soft);
  color: var(--ink-strong);
}
.cl-badge--band {
  background: var(--band-field);
  color: var(--on-band);
}
.cl-badge--plat {
  background: var(--surface-sunken);
  color: var(--ink-strong);
  font-weight: 600;
}

/* Chips (cl.css Abschnitt 9) */

.cl-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 -16px;
  padding: 0 16px;
  scrollbar-width: none;
}
.cl-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--band-field);
  color: var(--on-band);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.cl-chip[aria-pressed='true'],
.cl-chip.is-active {
  background: var(--lime);
  color: var(--on-lime);
}
.cl-chip--surface {
  background: var(--surface);
  color: var(--ink-strong);
  box-shadow: var(--shadow-card);
}

@container cl (min-width: 900px) {
  .cl-chips {
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    overflow: visible;
  }
}

@media (hover: hover) and (pointer: fine) {
  .cl-chip {
    transition:
      background-color 100ms ease-out,
      transform var(--dur-press) var(--ease-out);
  }
  .cl-chip:not([aria-pressed='true'], .is-active):hover {
    background-color: var(--band-field-hover);
  }
  .cl-chip--surface:not([aria-pressed='true'], .is-active):hover {
    background-color: var(--surface-hover);
  }
}

/* Chips direkt unter dem Lead im Band (z. B. Plattformen im Creator-Hub) */
.cl-lead + .cl-chips {
  margin-top: 18px;
}

/* Formulare, Segmente, Schalter (cl.css Abschnitte 9 und 14) */

.cl-field + .cl-field {
  margin-top: 18px;
}
.cl-label {
  display: block;
  margin: 0 0 6px 2px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.cl-label__opt {
  font-weight: 400;
  color: var(--muted);
}
.cl-hint {
  margin: 6px 0 0 2px;
  font-size: 14px;
  color: var(--muted);
}

.cl-input {
  width: 100%;
  height: var(--input-height);
  padding: 0 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--control);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 17px;
}
.cl-input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.cl-input:focus {
  border-color: var(--ink-strong);
  outline: none;
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.cl-input--mono {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cl-input--mono::placeholder {
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.cl-textarea {
  height: auto;
  min-height: 96px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.4;
}

.cl-suffix {
  position: relative;
}
.cl-suffix .cl-input {
  padding-right: 44px;
}
.cl-suffix__unit {
  position: absolute;
  right: 16px;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--muted);
  pointer-events: none;
}

/* Segmentierte Auswahl */
.cl-seg {
  display: flex;
  padding: 3px;
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
}
.cl-seg__btn {
  flex: 1 1 0;
  height: 38px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 150ms ease,
    color 150ms ease;
}
.cl-seg__btn[aria-pressed='true'] {
  background: var(--surface);
  color: var(--ink-strong);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.04);
}

/* Schalter */
.cl-switch {
  position: relative;
  flex: 0 0 auto;
  width: 51px;
  height: 31px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--line-strong);
  box-shadow: inset 0 0 0 1.5px var(--control);
  cursor: pointer;
  transition:
    background-color var(--dur-hover) ease,
    box-shadow var(--dur-hover) ease;
}
.cl-switch[aria-checked='true'] {
  background: var(--success);
  box-shadow: inset 0 0 0 1.5px var(--success);
}
.cl-switch__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 27px;
  height: 27px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform var(--dur-hover) var(--ease-out);
}
.cl-switch[aria-checked='true'] .cl-switch__thumb {
  transform: translateX(20px);
}
/* Angefordert, aber noch nicht bestätigt (Double-Opt-in): Daumen rechts, Spur grau */
.cl-switch.is-pending {
  background: var(--ink-faint);
  box-shadow: inset 0 0 0 1.5px var(--ink-faint);
}

@media (prefers-reduced-motion: reduce) {
  .cl-switch__thumb {
    transition: none;
  }
}

/* Ergänzungen zu form.css: Segmente aus Radio-Buttons, Fehler am Feld */

.cl-seg--radio .cl-seg__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cl-seg__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.cl-seg--radio .cl-seg__btn:has(.cl-seg__input:checked) {
  background: var(--surface);
  color: var(--ink-strong);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.04);
}
.cl-seg--radio .cl-seg__btn:has(.cl-seg__input:focus-visible) {
  box-shadow: 0 0 0 3px var(--focus-ring);
}

/* Fehler am Feld (serverseitig geprüft) */
.cl-field.is-invalid .cl-input {
  border-color: var(--fail);
}
.cl-error {
  margin: 6px 0 0 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--on-fail-soft);
}

/* Wert unter den Segmenten (Code einreichen) */
.cl-seg + .cl-suffix {
  margin-top: 10px;
}

/* Abschluss eines Formulars */
.cl-form__actions {
  margin-top: 22px;
}

/* Kacheln, Logos, Avatare (cl.css Abschnitte 7, 12b, 17, 20) */

/* Wert-Kachel */
.cl-tile {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--surface-sunken);
  color: var(--ink-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cl-tile__val {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: 'opsz' 96;
  letter-spacing: -0.03em;
  line-height: 1;
  font-size: 18px;
}
.cl-tile__unit {
  font-size: 12px;
  letter-spacing: 0;
  margin-left: 1px;
}
/* Zusatz über dem Wert („bis zu“) */
.cl-tile--pre {
  flex-direction: column;
  gap: 2px;
}
.cl-tile__pre {
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}
.cl-tile--pre .cl-tile__val {
  font-size: 16px;
}
/* Ungeprüfte Werte: Kontur statt Fläche */
.cl-tile.is-open {
  background: transparent;
  border: 1.5px dashed var(--control);
  color: var(--muted);
}

/* Shop-Logo */
.cl-logo-tile {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.03em;
  outline: 1px solid var(--img-outline);
  outline-offset: -1px;
}
.cl-logo-tile__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cl-logo-tile--sm {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 8.5px;
}
.cl-logo-tile--md {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 9.5px;
}
.cl-logo-tile--lg {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-card);
  font-size: 14px;
}
.cl-logo-tile--pass {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  font-size: 12px;
}

/* Avatar (Creator) */
.cl-avatar {
  position: relative;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  background: var(--surface-sunken);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  outline: 1px solid var(--img-outline);
  outline-offset: -1px;
}
.cl-avatar > img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}
.cl-avatar__initials {
  font-weight: 800;
  font-size: 17px;
  color: var(--ink-strong);
}
.cl-avatar--lg {
  width: 76px;
  height: 76px;
}
.cl-avatar--sm {
  width: 36px;
  height: 36px;
}
.cl-avatar--sm .cl-avatar__initials {
  font-size: 13px;
}
.cl-avatar__shop.cl-logo-tile {
  position: absolute;
  right: -8px;
  bottom: -4px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 8px;
  box-shadow: 0 0 0 2px var(--surface);
}

/* Icon-Kachel in Karten */
.cl-tilecon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--action);
  color: var(--action-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Kreis mit Symbol */
.cl-iconcircle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: var(--action);
  color: var(--action-accent);
}

@container cl (min-width: 900px) {
  .cl-tile {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }
  .cl-tile__val {
    font-size: 21px;
  }
  .cl-tile__unit {
    font-size: 14px;
  }
  .cl-tile__pre {
    font-size: 10px;
  }
  .cl-tile--pre .cl-tile__val {
    font-size: 19px;
  }
  .cl-logo-tile {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    font-size: 13px;
  }
  .cl-logo-tile--sm {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: 9px;
  }
  .cl-logo-tile--md {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    font-size: 10px;
  }
  .cl-logo-tile--lg {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-card);
    font-size: 15px;
  }
  .cl-logo-tile--pass {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    font-size: 12px;
  }
  .cl-avatar--lg {
    width: 96px;
    height: 96px;
  }
  .cl-tilecon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }
}

/* Zustände und Tooltip (cl.css Abschnitte 17 und 21) */

.cl-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px 0 5px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink-strong);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.cl-state__ico {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-strong);
  color: var(--surface);
}
.cl-state--ok {
  background: var(--lime-soft);
}
.cl-state--ok .cl-state__ico {
  background: var(--success);
}
.cl-state--teil {
  background: var(--warn-soft);
  color: var(--warn);
}
.cl-state--teil .cl-state__ico {
  background: var(--warn);
  color: var(--warn-soft);
}
.cl-state--offen {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--control);
  color: var(--ink);
}
.cl-state--offen .cl-state__ico {
  background: transparent;
  color: var(--muted);
}
.cl-state--laeuft {
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  color: var(--ink);
}
.cl-state--laeuft .cl-state__ico {
  background: transparent;
  color: var(--ink-strong);
}
.cl-state--fail {
  background: var(--fail-soft);
  color: var(--on-fail-soft);
}
.cl-state--fail .cl-state__ico {
  background: var(--fail);
}

/* Klein, in Listenzeilen */
.cl-state--sm {
  flex: 0 0 auto;
  height: 20px;
  padding: 0 7px 0 3px;
  gap: 4px;
  font-size: 11px;
}
.cl-state--sm .cl-state__ico {
  width: 14px;
  height: 14px;
}

/* Liste der Zustände mit Erklärung */
.cl-statelist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cl-statelist > li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.cl-statelist > li > span:last-child {
  flex: 1 1 240px;
  min-width: 0;
  font-size: 16px;
  color: var(--ink);
}

/* Tooltip am Zustand: Text steht immer im HTML.
   Offen bei Hover (Maus), Tastatur-Fokus und nach Antippen (.is-open). */
.cl-tip {
  position: relative;
  display: inline-flex;
}
.cl-tip > .cl-state {
  position: relative;
  margin: 0;
  border: 0;
  cursor: pointer;
}
/* Trefferfläche auf 44 px erweitern */
.cl-tip > .cl-state::after {
  content: '';
  position: absolute;
  left: -6px;
  right: -6px;
  top: -9px;
  bottom: -9px;
}
.cl-state__info {
  flex: 0 0 auto;
  margin-left: 1px;
  opacity: 0.72;
}
.cl-tip__bubble {
  position: absolute;
  left: 0;
  top: calc(100% + 9px);
  z-index: 6;
  width: max-content;
  max-width: 264px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--ink-strong);
  color: var(--surface);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  white-space: normal;
  box-shadow: var(--shadow-pop);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity 120ms ease-out,
    transform 120ms ease-out,
    visibility 0s linear 120ms;
  pointer-events: none;
}
.cl-tip__bubble::before {
  content: '';
  position: absolute;
  left: 16px;
  bottom: 100%;
  border: 6px solid transparent;
  border-bottom-color: var(--ink-strong);
}
.cl-tip.is-open .cl-tip__bubble,
.cl-tip > .cl-state:focus-visible + .cl-tip__bubble {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
@media (hover: hover) and (pointer: fine) {
  .cl-tip:hover .cl-tip__bubble {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cl-tip__bubble {
    transform: none;
    transition: none;
  }
}

/* Kopier-Knöpfe und Code-Chip (cl.css Abschnitte 5 und 17) */

.cl-copy {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  background: var(--action);
  color: var(--action-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color var(--dur-hover) ease,
    color var(--dur-hover) ease,
    transform var(--dur-press) var(--ease-out);
}
.cl-copy.is-done {
  background: var(--lime);
  color: var(--on-lime);
}
.cl-copy--soft {
  background: var(--surface-sunken);
  color: var(--ink-strong);
}
.cl-copy--soft.is-done {
  background: var(--lime);
  color: var(--on-lime);
}
.cl-copy--sm {
  width: 40px;
  height: 40px;
}
.cl-copy > svg {
  position: absolute;
  inset: 0;
  margin: auto;
}

/* Gestapelte Icons im Button „Kopieren“ */
.cl-ico {
  position: relative;
  width: 18px;
  height: 18px;
  display: inline-flex;
}
.cl-ico > svg {
  position: absolute;
  inset: 0;
}

/* Code als Text in Zeilen */
.cl-codechip {
  flex: 0 0 auto;
  padding: 4px 6px;
  border-radius: 6px;
  background: var(--surface-sunken);
  color: var(--ink-strong);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
}
.cl-codechip.is-struck {
  text-decoration: line-through;
}

/* Band, Kopf, Navigation (cl.css Abschnitt 3) */

.cl-band {
  background-color: var(--band);
  background-image: repeating-linear-gradient(90deg, var(--band-stripe) 0px, var(--band-stripe) 1px, transparent 1px, transparent 7px);
  color: var(--on-band);
}
.cl-band__inner {
  padding-top: 6px;
  padding-bottom: 28px;
}
.cl-band .cl-h1 {
  color: var(--on-band);
}
.cl-band .cl-lead {
  color: var(--on-band-muted);
}

/* Kopfzeile mobil */
.cl-topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  height: 52px;
  padding: 0 8px;
}
.cl-topbar__start {
  justify-self: start;
  display: flex;
  align-items: center;
  min-width: 0;
}
.cl-topbar__end {
  justify-self: end;
  display: flex;
  align-items: center;
}
.cl-topbar__word {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 8px;
  color: var(--on-band);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.cl-back {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 44px;
  padding: 0 8px 0 2px;
  color: var(--on-band);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
}

/* Kopf Desktop */
.cl-header {
  display: none;
}
.cl-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--on-band);
  text-decoration: none;
}
.cl-logo__mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--lime);
  color: var(--on-lime);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cl-logo__word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -0.03em;
}
.cl-header__nav {
  margin-left: auto;
  display: flex;
  gap: 32px;
  font-size: 16px;
  font-weight: 500;
}
.cl-header__nav a {
  color: var(--on-band);
  text-decoration: none;
  white-space: nowrap;
}
.cl-header__nav a[aria-current='page'] {
  color: var(--lime);
}
.cl-backlink {
  display: none;
}

@container cl (min-width: 900px) {
  .cl-band__inner {
    padding-top: 8px;
    padding-bottom: 72px;
  }
  .cl-topbar {
    display: none;
  }
  .cl-header {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 18px 40px;
  }
  .cl-backlink {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin: 0 0 14px -4px;
    color: var(--on-band-muted);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
  }
}

/* Navigation wird eng zwischen 900 und ~1100 px: Abstände verkleinern */
@container cl (min-width: 900px) and (max-width: 1099px) {
  .cl-header {
    gap: 24px;
  }
  .cl-header__nav {
    gap: 20px;
    font-size: 15px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .cl-header__nav a:hover,
  .cl-backlink:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

/* Suche: Feld, Dropdown (Desktop), Suchansicht (mobil) – cl.css Abschnitte 3 und 12b */

.cl-search {
  position: relative;
  display: block;
  flex: 1 1 320px;
  max-width: 420px;
  margin: 0;
}
.cl-search__icon {
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  color: var(--on-band-muted);
  pointer-events: none;
}
.cl-search__input {
  width: 100%;
  height: 44px;
  padding: 0 18px 0 46px;
  border-radius: var(--radius-pill);
  border: 0;
  background: var(--band-field);
  color: var(--on-band);
  font: inherit;
  font-size: 16px;
}
.cl-search__input::placeholder {
  color: var(--on-band-muted);
  opacity: 1;
}
.cl-search__input::-webkit-search-cancel-button {
  filter: grayscale(1);
}
.cl-search--hero {
  max-width: none;
  flex: none;
}
.cl-search--hero .cl-search__input {
  height: 56px;
  padding-left: 52px;
  font-size: 17px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-card);
}
.cl-search--hero .cl-search__input::placeholder {
  color: var(--muted);
}
.cl-search--hero .cl-search__icon {
  left: 18px;
  color: var(--muted);
}

/* Container für Feld + Ergebnisse */
.cl-searchbox {
  position: relative;
}
.cl-searchbox--band {
  flex: 1 1 320px;
  max-width: 420px;
}
.cl-searchbox--band > .cl-search {
  max-width: none;
}
.cl-searchbox--hero {
  margin-top: 22px;
}
.cl-searchbox--icon {
  flex: none;
  max-width: none;
}

/* Dropdown (Desktop) */
.cl-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 9;
  min-width: 320px;
  padding: 8px;
  border-radius: var(--radius-card);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-pop);
  transform-origin: top center;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.98);
  transition:
    opacity var(--dur-swap-out) ease-out,
    transform var(--dur-swap-out) ease-out,
    visibility 0s linear var(--dur-swap-out);
}
.cl-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition:
    opacity var(--dur-pop-in) var(--ease-out),
    transform var(--dur-pop-in) var(--ease-out),
    visibility 0s;
}
.cl-dropdown .cl-group {
  margin: 10px 0 6px 12px;
}
.cl-dropdown__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cl-dropdown .cl-row {
  border-radius: var(--radius-md);
  padding-left: 12px;
}
.cl-dropdown .cl-row__body {
  border-top: 0;
  min-height: 60px;
}

/* Suchansicht (mobil) */
.cl-searchview {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity var(--dur-swap-out) ease-out,
    transform var(--dur-swap-out) ease-out,
    visibility 0s linear var(--dur-swap-out);
}
.cl-searchview.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity var(--dur-pop-in) var(--ease-out),
    transform var(--dur-pop-in) var(--ease-out),
    visibility 0s;
}
.cl-searchview__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: max(8px, env(safe-area-inset-top)) 8px 10px 16px;
  background: var(--band);
}
.cl-searchview__bar .cl-search {
  flex: 1 1 auto;
  max-width: none;
}
.cl-searchview__cancel {
  flex: 0 0 auto;
  height: 44px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--on-band);
  font-size: 17px;
  cursor: pointer;
}
.cl-searchview__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 18px 16px 32px;
}
.cl-row--search .cl-row__body {
  min-height: 60px;
}
.cl-cat__icon--sm {
  width: 36px;
  height: 36px;
}

@container cl (min-width: 900px) {
  .cl-search--hero .cl-search__input {
    height: 64px;
    font-size: 18px;
  }
  .cl-searchview {
    display: none;
  }
}
@container cl (max-width: 899px) {
  .cl-dropdown {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cl-dropdown,
  .cl-dropdown.is-open,
  .cl-searchview,
  .cl-searchview.is-open {
    transform: none;
  }
}

/* Der Pass (cl.css Abschnitte 4, 16–21, zusammengeführt)
   Aufbau: Wert · Abrisslinie · Abriss mit PassAction und Prüfbeleg.
   Mobil gestapelt, ab 900 px nebeneinander. */

.cl-pass {
  --r: var(--radius-pass);
  --nr: 15px; /* Radius der Einstanzung */
  --no: 7px; /* Versatz der Einstanzung */
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  margin-top: 18px;
  color: var(--ink);
}
.cl-pass__main {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cl-pass__logo.cl-logo-tile {
  position: absolute;
  right: 20px;
  top: 20px;
}

/* Wert */
.cl-value {
  margin: 0;
  display: flex;
  align-items: flex-start;
  color: var(--value);
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: 'opsz' 96;
  line-height: 0.8;
}
.cl-value__num {
  font-size: 112px;
  letter-spacing: -0.05em;
}
.cl-value__unit {
  font-size: 54px;
  letter-spacing: -0.02em;
  margin: 8px 0 0 4px;
}
/* Zusatz über der Zahl („bis zu“) */
.cl-value--pre {
  flex-wrap: wrap;
}
.cl-value__pre {
  flex: 0 0 100%;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 10px;
}
.cl-value--word {
  color: var(--ink-strong);
}
.cl-value--word .cl-value__num {
  font-size: 76px;
  letter-spacing: -0.05em;
}
/* Ungeprüfte Werte: Kontur statt Fläche */
@supports (-webkit-text-stroke: 1px #000) {
  .cl-value--open .cl-value__num,
  .cl-value--open .cl-value__unit {
    color: var(--surface);
    -webkit-text-stroke: 4px var(--value);
    paint-order: stroke fill;
  }
}
.cl-pass__desc {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
}
.cl-pass__cond {
  margin: 6px 0 0;
  font-size: 16px;
  color: var(--muted);
}

/* Abrisslinie */
.cl-perf {
  position: relative;
  flex: 0 0 auto;
  height: 14px;
}
.cl-perf::after {
  content: '';
  position: absolute;
  left: 30px;
  right: 30px;
  top: 50%;
  margin-top: -1px;
  border-top: 2px dashed var(--line-strong);
}

/* Abriss */
.cl-stub {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Porträt des Creators über dem Wert */
.cl-who {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
}
.cl-who__text {
  min-width: 0;
}
.cl-who__name {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink-strong);
}
.cl-who__sub {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
}

/* Creator-Hinweis im Pass der Shop-Seite: leiser als das Porträt der Creator-Seite, Logo bleibt oben rechts */
.cl-byline {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0 60px 12px 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink-strong);
}
.cl-byline__avatar.cl-avatar {
  width: 28px;
  height: 28px;
}
.cl-byline__avatar .cl-avatar__initials {
  font-size: 11px;
}
.cl-byline__text {
  min-width: 0;
}
/* Plattform läuft im Text mit und bricht bei schmalen Pässen in die nächste Zeile – der Name bleibt ganz */
.cl-byline__text .cl-badge {
  margin-left: 8px;
  vertical-align: 1px;
}

/* ---------- Ticket-Form ----------
   Die Einstanzungen sind echte Aussparungen: Jeder Abschnitt malt seine Fläche als ::before mit CSS-Mask,
   die Halbkreise sitzen dort, wo die Abrisslinie liegt. Den Schatten wirft der ganze Pass per drop-shadow –
   er folgt damit den Halbkreisen, und durch die Aussparung sieht man den echten Hintergrund. */
.cl-pass {
  --hole: transparent calc(var(--nr) - 0.5px), #000 calc(var(--nr) + 0.5px);
  filter: drop-shadow(0 0 0.6px var(--img-outline)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.06)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.03));
}
.cl-pass__main,
.cl-pass > .cl-perf,
.cl-stub {
  isolation: isolate;
}
.cl-pass__main::before,
.cl-pass > .cl-perf::before,
.cl-stub::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--surface);
  pointer-events: none;
}
/* Mobil: Abriss quer, Halbkreise links und rechts */
.cl-pass__main::before {
  border-radius: var(--r) var(--r) 0 0;
  -webkit-mask:
    radial-gradient(circle at 0 calc(100% + var(--no)), var(--hole)) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle at 100% calc(100% + var(--no)), var(--hole)) 100% 0 / 51% 100% no-repeat;
  mask:
    radial-gradient(circle at 0 calc(100% + var(--no)), var(--hole)) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle at 100% calc(100% + var(--no)), var(--hole)) 100% 0 / 51% 100% no-repeat;
}
.cl-pass > .cl-perf::before {
  -webkit-mask:
    radial-gradient(circle at 0 50%, var(--hole)) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle at 100% 50%, var(--hole)) 100% 0 / 51% 100% no-repeat;
  mask:
    radial-gradient(circle at 0 50%, var(--hole)) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle at 100% 50%, var(--hole)) 100% 0 / 51% 100% no-repeat;
}
.cl-stub::before {
  border-radius: 0 0 var(--r) var(--r);
  -webkit-mask:
    radial-gradient(circle at 0 calc(var(--no) * -1), var(--hole)) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle at 100% calc(var(--no) * -1), var(--hole)) 100% 0 / 51% 100% no-repeat;
  mask:
    radial-gradient(circle at 0 calc(var(--no) * -1), var(--hole)) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle at 100% calc(var(--no) * -1), var(--hole)) 100% 0 / 51% 100% no-repeat;
}

/* ---------- PassAction: das eine Bedienelement ---------- */
.cl-codego {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 68px;
  margin: 0;
  padding: 10px 12px 10px 20px;
  border: 0;
  border-radius: var(--radius-cta);
  background: var(--action);
  color: var(--on-action);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.cl-codego__text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cl-code__text {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}
.cl-codego__main {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}
.cl-codego__label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  opacity: 0.8;
}
.cl-codego .cl-copy,
.cl-codego .cl-cta__icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  background: var(--action-accent);
  color: var(--on-action-accent);
}
/* Kopiert: heller Kreis mit dunklem Haken, in beiden Themes vom Normalzustand zu unterscheiden */
.cl-codego .cl-copy.is-done {
  background: var(--on-band);
  color: var(--band);
}

/* Zwei Beschriftungen übereinander, eine sichtbar (.cl-swap) */
.cl-labels {
  display: grid;
  text-align: left;
}
.cl-labels > * {
  grid-area: 1 / 1;
}

/* Kreis mit Pfeil (PassAction ohne Code, Sticky-Leiste) */
.cl-cta__icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--action-accent);
  color: var(--on-action-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Zeile „Melden, sobald ein Code klappt“ im Pass ohne Code */
.cl-stub > .cl-alert--inline {
  margin-top: 16px;
}

/* ---------- Unter dem Pass, auf dem Band ---------- */
.cl-passnote {
  margin: 10px 6px 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--on-band-muted);
}
.cl-passnote .cl-link {
  color: var(--on-band);
  font-weight: 500;
}
.cl-answerline {
  margin: 20px 0 0;
  max-width: 800px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--on-band-muted);
}
.cl-answerline strong {
  font-weight: 600;
  color: var(--on-band);
}

/* ---------- Desktop ---------- */
@container cl (min-width: 900px) {
  .cl-pass {
    flex-direction: row;
    max-width: 1000px;
    margin-top: 28px;
  }
  .cl-pass__main {
    padding: 44px 48px;
  }
  .cl-pass__logo.cl-logo-tile {
    right: 36px;
    top: 36px;
  }
  .cl-value__num {
    font-size: 168px;
  }
  .cl-value__unit {
    font-size: 76px;
    margin: 14px 0 0 6px;
  }
  .cl-value--word .cl-value__num {
    font-size: 112px;
  }
  .cl-value__pre {
    font-size: 30px;
    margin-bottom: 14px;
  }
  .cl-pass__desc {
    margin-top: 18px;
    font-size: 30px;
  }
  .cl-perf {
    width: 14px;
    height: auto;
  }
  .cl-pass > .cl-perf::after {
    left: 50%;
    right: auto;
    top: 34px;
    bottom: 34px;
    margin: 0 0 0 -1px;
    border-top: 0;
    border-left: 2px dashed var(--line-strong);
  }
  .cl-stub {
    flex: 0 0 430px;
    padding: 36px;
  }
  /* Abriss hochkant: Halbkreise oben und unten */
  .cl-pass__main::before {
    border-radius: var(--r) 0 0 var(--r);
    -webkit-mask:
      radial-gradient(circle at calc(100% + var(--no)) 0, var(--hole)) 0 0 / 100% 51% no-repeat,
      radial-gradient(circle at calc(100% + var(--no)) 100%, var(--hole)) 0 100% / 100% 51% no-repeat;
    mask:
      radial-gradient(circle at calc(100% + var(--no)) 0, var(--hole)) 0 0 / 100% 51% no-repeat,
      radial-gradient(circle at calc(100% + var(--no)) 100%, var(--hole)) 0 100% / 100% 51% no-repeat;
  }
  .cl-pass > .cl-perf::before {
    -webkit-mask:
      radial-gradient(circle at 50% 0, var(--hole)) 0 0 / 100% 51% no-repeat,
      radial-gradient(circle at 50% 100%, var(--hole)) 0 100% / 100% 51% no-repeat;
    mask:
      radial-gradient(circle at 50% 0, var(--hole)) 0 0 / 100% 51% no-repeat,
      radial-gradient(circle at 50% 100%, var(--hole)) 0 100% / 100% 51% no-repeat;
  }
  .cl-stub::before {
    border-radius: 0 var(--r) var(--r) 0;
    -webkit-mask:
      radial-gradient(circle at calc(var(--no) * -1) 0, var(--hole)) 0 0 / 100% 51% no-repeat,
      radial-gradient(circle at calc(var(--no) * -1) 100%, var(--hole)) 0 100% / 100% 51% no-repeat;
    mask:
      radial-gradient(circle at calc(var(--no) * -1) 0, var(--hole)) 0 0 / 100% 51% no-repeat,
      radial-gradient(circle at calc(var(--no) * -1) 100%, var(--hole)) 0 100% / 100% 51% no-repeat;
  }
  .cl-codego {
    min-height: 76px;
    padding: 12px 14px 12px 24px;
  }
  .cl-code__text {
    font-size: 30px;
  }
  .cl-codego__main {
    font-size: 21px;
  }
  .cl-codego__label {
    font-size: 14px;
  }
  .cl-answerline {
    margin-top: 28px;
    font-size: 17px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .cl-codego {
    transition:
      filter 100ms ease-out,
      transform var(--dur-press) var(--ease-out);
  }
  .cl-codego:hover {
    filter: brightness(1.12);
  }
  .cl-passnote .cl-link:hover {
    text-decoration-thickness: 2px;
  }
}

/* Mini-Pass (cl.css Abschnitte 4, 17, 18, 19) – Abriss immer hochkant */

.cl-mini {
  --r: var(--radius-card);
  --nr: 12px;
  --no: 6px;
  --hole: transparent calc(var(--nr) - 0.5px), #000 calc(var(--nr) + 0.5px);
  position: relative;
  display: flex;
  color: var(--ink);
  filter: drop-shadow(0 0 0.6px var(--img-outline)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.06)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.03));
}
.cl-mini__main {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  padding: 16px 14px 16px 18px;
  color: inherit;
  text-decoration: none;
}
.cl-mini__shop {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.cl-mini__val {
  margin: 12px 0 0;
  display: flex;
  align-items: flex-start;
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: 'opsz' 96;
  font-size: 46px;
  line-height: 0.8;
  letter-spacing: -0.045em;
  color: var(--value);
}
.cl-mini__val small {
  font-size: 24px;
  margin: 3px 0 0 2px;
  letter-spacing: -0.02em;
}
/* Zusatz über dem Wert („bis zu“) */
.cl-mini__val--pre {
  flex-wrap: wrap;
}
.cl-mini__pre {
  flex: 0 0 100%;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 6px;
}
.cl-mini__desc {
  display: block;
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--muted);
}
.cl-mini > .cl-perf {
  position: relative;
  flex: 0 0 auto;
  width: 12px;
  height: auto;
}
.cl-mini > .cl-perf::after {
  content: '';
  position: absolute;
  left: 50%;
  right: auto;
  top: 20px;
  bottom: 20px;
  margin: 0 0 0 -1px;
  border-top: 0;
  border-left: 2px dashed var(--line-strong);
}
.cl-mini__stub {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px 14px 12px;
}
.cl-mini__code {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-strong);
}

/* Ticket-Form: Flächen per Maske, Halbkreise oben und unten */
.cl-mini__main,
.cl-mini > .cl-perf,
.cl-mini__stub {
  isolation: isolate;
}
.cl-mini__main::before,
.cl-mini > .cl-perf::before,
.cl-mini__stub::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--surface);
  pointer-events: none;
}
.cl-mini__main::before {
  border-radius: var(--r) 0 0 var(--r);
  -webkit-mask:
    radial-gradient(circle at calc(100% + var(--no)) 0, var(--hole)) 0 0 / 100% 51% no-repeat,
    radial-gradient(circle at calc(100% + var(--no)) 100%, var(--hole)) 0 100% / 100% 51% no-repeat;
  mask:
    radial-gradient(circle at calc(100% + var(--no)) 0, var(--hole)) 0 0 / 100% 51% no-repeat,
    radial-gradient(circle at calc(100% + var(--no)) 100%, var(--hole)) 0 100% / 100% 51% no-repeat;
}
.cl-mini > .cl-perf::before {
  -webkit-mask:
    radial-gradient(circle at 50% 0, var(--hole)) 0 0 / 100% 51% no-repeat,
    radial-gradient(circle at 50% 100%, var(--hole)) 0 100% / 100% 51% no-repeat;
  mask:
    radial-gradient(circle at 50% 0, var(--hole)) 0 0 / 100% 51% no-repeat,
    radial-gradient(circle at 50% 100%, var(--hole)) 0 100% / 100% 51% no-repeat;
}
.cl-mini__stub::before {
  border-radius: 0 var(--r) var(--r) 0;
  -webkit-mask:
    radial-gradient(circle at calc(var(--no) * -1) 0, var(--hole)) 0 0 / 100% 51% no-repeat,
    radial-gradient(circle at calc(var(--no) * -1) 100%, var(--hole)) 0 100% / 100% 51% no-repeat;
  mask:
    radial-gradient(circle at calc(var(--no) * -1) 0, var(--hole)) 0 0 / 100% 51% no-repeat,
    radial-gradient(circle at calc(var(--no) * -1) 100%, var(--hole)) 0 100% / 100% 51% no-repeat;
}

/* Kleine PassAction */
.cl-minigo {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  align-content: center;
  column-gap: 10px;
  row-gap: 2px;
  min-height: 52px;
  margin: 0;
  padding: 7px 8px 7px 14px;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--action);
  color: var(--on-action);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.cl-minigo > .cl-mini__code {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  color: inherit;
}
.cl-minigo__label {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0.8;
}
.cl-minigo .cl-copy {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  background: var(--action-accent);
  color: var(--on-action-accent);
}
.cl-minigo .cl-copy.is-done {
  background: var(--on-band);
  color: var(--band);
}

@container cl (min-width: 900px) {
  .cl-mini__main {
    padding: 22px 20px 22px 24px;
  }
  .cl-mini__val {
    font-size: 60px;
  }
  .cl-mini__val small {
    font-size: 30px;
  }
  .cl-mini__pre {
    font-size: 16px;
  }
  .cl-mini__stub {
    padding: 18px 22px 18px 16px;
  }
  .cl-mini__code {
    font-size: 16px;
  }
  .cl-minigo {
    min-height: 56px;
    padding: 8px 8px 8px 16px;
  }
  .cl-mini--hero .cl-mini__main {
    padding: 28px 24px 28px 30px;
  }
  .cl-mini--hero .cl-mini__val {
    margin-top: 22px;
    font-size: 84px;
  }
  .cl-mini--hero .cl-mini__val small {
    font-size: 38px;
    margin: 6px 0 0 3px;
  }
  .cl-mini--hero .cl-mini__pre {
    font-size: 20px;
    margin-bottom: 8px;
  }
  .cl-mini--hero .cl-mini__desc {
    margin-top: 14px;
    font-size: 17px;
  }
  .cl-mini--hero > .cl-perf::after {
    top: 28px;
    bottom: 28px;
  }
  .cl-mini--hero .cl-mini__stub {
    padding: 24px 28px 24px 22px;
    gap: 16px;
  }
  .cl-mini--hero .cl-mini__code {
    font-size: 20px;
  }
  .cl-mini--hero .cl-minigo {
    column-gap: 14px;
    min-height: 64px;
    padding: 10px 10px 10px 18px;
    border-radius: var(--radius-cta);
  }
  .cl-mini--hero .cl-minigo .cl-copy {
    width: 44px;
    height: 44px;
  }
  .cl-mini--hero .cl-minigo__label {
    font-size: 13px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .cl-mini {
    transition:
      filter 150ms ease-out,
      transform 150ms var(--ease-out);
  }
  .cl-mini:hover {
    filter: drop-shadow(0 0 0.6px var(--img-outline)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08)) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.06));
  }
  .cl-minigo {
    transition:
      filter 100ms ease-out,
      transform var(--dur-press) var(--ease-out);
  }
  .cl-minigo:hover {
    filter: brightness(1.12);
  }
}

/* Prüfbeleg, Screenshot, Prüfprotokoll (cl.css Abschnitte 6, 16, 17) */

.cl-beleg {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--surface-sunken);
}
.cl-beleg:first-child {
  margin-top: 0;
}
.cl-beleg__body {
  flex: 1 1 auto;
  min-width: 0;
}
.cl-beleg__rows {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}
.cl-beleg__rows > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.cl-beleg__rows dt {
  min-width: 0;
  margin: 0;
  font-weight: 500;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cl-beleg__rows dd {
  flex: 0 0 auto;
  margin: 0;
  font-weight: 600;
  color: var(--ink-strong);
  white-space: nowrap;
}
.cl-beleg__rows > .is-sum {
  margin-top: 5px;
  padding-top: 7px;
  border-top: 1px dashed var(--control);
}
.cl-beleg__rows > .is-sum dt {
  font-weight: 600;
  color: var(--ink-strong);
}
.cl-beleg__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.35;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* Screenshot-Miniatur */
.cl-shot {
  position: relative;
  flex: 0 0 auto;
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background: var(--surface);
  outline: 1px solid var(--img-outline);
  outline-offset: -1px;
  overflow: hidden;
  text-decoration: none;
}
.cl-shot__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cl-shot__mock {
  position: absolute;
  left: 9px;
  right: 9px;
  top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cl-shot__mock i {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: var(--line-strong);
}
.cl-shot__mock i.is-short {
  width: 48%;
}
.cl-shot__mock i.is-code {
  width: 72%;
  background: var(--success);
}
.cl-shot__zoom {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-pill);
  background: var(--action);
  color: var(--action-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Screenshot groß */
.cl-shotbig {
  margin: 0;
  max-width: 440px;
}
.cl-shotbig__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  outline: 1px solid var(--img-outline);
  outline-offset: -1px;
}
.cl-shotbig__frame {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  outline: 1px solid var(--line-strong);
  outline-offset: -1px;
}
.cl-shotbig__tag {
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--surface-sunken);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.cl-shotbig__line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.cl-shotbig__line.is-code {
  font-weight: 600;
  color: var(--success);
}
.cl-shotbig__line.is-total {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-weight: 700;
  color: var(--ink-strong);
}
.cl-shotbig__field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--control);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-strong);
}
.cl-shotbig__field > span:last-child {
  font-family: var(--font-sans);
  letter-spacing: 0;
  color: var(--success);
}
.cl-shotbig__cap {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

/* Prüfprotokoll */
.cl-log {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.cl-log__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.cl-log__item:first-child {
  border-top: 0;
}
.cl-log__mark {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--action);
  color: var(--action-accent);
  border: 2px solid var(--action);
}
.cl-log__mark.is-fail {
  background: transparent;
  color: var(--fail);
  border-color: var(--fail);
}
.cl-log__mark.is-none {
  background: transparent;
  color: var(--muted);
  border-color: var(--line-strong);
}
.cl-log__mark.is-run {
  background: transparent;
  color: var(--ink-strong);
  border-color: var(--control);
  border-style: dashed;
}
.cl-log__text {
  flex: 1 1 auto;
  min-width: 0;
}
.cl-log__what {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.cl-log__when {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
}

/* Eingelassener Rahmen um ein kurzes Protokoll */
.cl-strip {
  padding: 16px;
  border-radius: var(--radius-cta);
  background: var(--surface-sunken);
}
.cl-strip__legend {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* Rückmeldungen (cl.css Abschnitte 6 und 17) */

.cl-quote {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
a.cl-quote:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cl-passfeedback {
  position: relative;
  margin-top: 2px;
}
.cl-passfeedback .cl-quote {
  margin: 0;
}

.cl-vote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
}
.cl-vote__q {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-strong);
}
.cl-vote__btns {
  display: flex;
  gap: 8px;
}
.cl-pill {
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--surface-sunken);
  color: var(--ink-strong);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.cl-pill--strong {
  background: var(--action);
  color: var(--on-action);
}
.cl-thanks {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-strong);
  font-variant-numeric: tabular-nums;
}

/* Grund-Auswahl nach „Nein“ */
.cl-pop--reasons {
  right: 0;
  width: 308px;
}
.cl-reasons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cl-reason {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
  font-size: 17px;
  text-align: left;
  cursor: pointer;
}
.cl-reason[aria-pressed='true'] {
  border-color: var(--ink-strong);
  box-shadow: inset 0 0 0 1px var(--ink-strong);
}
.cl-sheet__text {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--muted);
}

/* Listen und Zeilen (cl.css Abschnitte 7, 12b, 16) */

.cl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface);
  border-radius: var(--radius-list);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.cl-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 14px;
  color: inherit;
  text-decoration: none;
}
.cl-row__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 10px 12px 10px 0;
  border-top: 1px solid var(--line);
}
/* Erste Zeile ohne Haarlinie */
.cl-list > li:first-child > .cl-row > .cl-row__body,
.cl-list > li.cl-row:first-child > .cl-row__body,
.cl-row.is-first > .cl-row__body {
  border-top: 0;
}
.cl-row__text {
  flex: 1 1 auto;
  min-width: 0;
}
/* Titel = nur der Name, einzeilig. Auszeichnungen stehen vorn in der Unterzeile. */
.cl-row__title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.cl-row__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cl-row__sub {
  display: block;
  margin: 2px 0 0;
  font-size: 15px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.cl-row__sub--badge {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cl-row__sub--badge .cl-badge {
  flex: 0 0 auto;
  height: 20px;
  padding: 0 6px;
  font-size: 11px;
}
.cl-row__subtext {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cl-row__link {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
}
.cl-row--compact .cl-row__body {
  min-height: 56px;
}
.cl-row--info {
  padding-left: 18px;
}
.cl-row--info .cl-row__body {
  min-height: 54px;
  padding-right: 14px;
}
.cl-chevron {
  flex: 0 0 auto;
  color: var(--ink-faint);
}
.cl-detail {
  flex: 0 0 auto;
  font-size: 16px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.cl-endval {
  flex: 0 0 auto;
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: 'opsz' 96;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--value);
  line-height: 1;
}
.cl-endval small {
  font-size: 14px;
  letter-spacing: 0;
  margin-left: 1px;
}
.cl-endval .cl-endval__pre {
  margin: 0 4px 0 0;
}

/* Sortierkriterium über der Liste */
.cl-sortnote {
  margin: -4px 4px 12px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

/* Leerer Zustand */
.cl-empty {
  margin: 0;
  padding: 20px 18px;
  text-align: center;
  font-size: 16px;
  color: var(--muted);
}

@container cl (min-width: 900px) {
  .cl-row {
    gap: 18px;
    padding-left: 20px;
  }
  .cl-row__body {
    min-height: 84px;
    padding-right: 20px;
  }
  .cl-row--compact .cl-row__body {
    min-height: 64px;
  }
  .cl-row--info {
    padding-left: 24px;
  }
  .cl-row--info .cl-row__body {
    min-height: 60px;
    padding-right: 24px;
  }
  .cl-endval {
    font-size: 26px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .cl-row--link {
    transition: background-color 100ms ease-out;
  }
  .cl-row--link:hover {
    background-color: var(--surface-hover);
  }
  .cl-row__link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

/* „Weitere anzeigen“ unter langen Listen */
.cl-loadmore {
  margin-top: 12px;
  height: 50px;
}

/* SplitList: mobil eine Karte, ab 900 px zwei Spalten (zwei Karten) */
.cl-splitlist {
  border-radius: var(--radius-list);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.cl-splitlist > .cl-list {
  border-radius: 0;
  box-shadow: none;
}
.cl-splitlist > .cl-list + .cl-list > li:first-child > .cl-row > .cl-row__body,
.cl-splitlist > .cl-list + .cl-list > li.cl-row:first-child > .cl-row__body {
  border-top: 1px solid var(--line);
}
@container cl (min-width: 900px) {
  .cl-splitlist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
  }
  .cl-splitlist > .cl-list {
    border-radius: var(--radius-list);
    box-shadow: var(--shadow-card);
  }
  .cl-splitlist > .cl-list + .cl-list > li:first-child > .cl-row > .cl-row__body,
  .cl-splitlist > .cl-list + .cl-list > li.cl-row:first-child > .cl-row__body {
    border-top: 0;
  }
}

/* Ranglisten, Vergleichstabelle, Ring (cl.css Abschnitte 6, 12, 12b) */

.cl-meter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cl-ring {
  transform: rotate(-90deg);
  flex: 0 0 auto;
}
.cl-ring__track {
  fill: none;
  stroke: var(--line);
  stroke-width: 3;
}
.cl-ring__bar {
  fill: none;
  stroke: var(--ink-strong);
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dasharray 400ms var(--ease-out);
}

/* Rangliste mobil */
.cl-rank {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cl-rankrow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  color: var(--ink);
  text-decoration: none;
}
.cl-rankrow__no {
  flex: 0 0 28px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.03em;
  color: var(--muted);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.cl-rankrow__text {
  flex: 1 1 auto;
  min-width: 0;
}
.cl-rankrow__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
}
.cl-rankrow__sub {
  display: block;
  margin: 3px 0 0;
  font-size: 15px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cl-rankrow__sub.cl-row__sub--badge {
  display: flex;
}
.cl-rankrow__val {
  flex: 0 0 auto;
  text-align: right;
}
.cl-rankrow__val strong {
  display: block;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.03em;
  color: var(--value);
  line-height: 1;
}
.cl-rankrow__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.cl-rankrow__meta .cl-meter {
  gap: 6px;
  font-size: 13px;
}
.cl-rankrow__meta .cl-ring {
  width: 13px;
  height: 13px;
}

/* Tabelle in einer Box */
.cl-tablebox {
  overflow-x: auto;
  background: var(--surface);
  border-radius: var(--radius-list);
  box-shadow: var(--shadow-card);
}
.cl-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 16px;
}
.cl-table th {
  padding: 14px 20px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.cl-table td {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
}
.cl-trow {
  display: grid;
  align-items: center;
  gap: 0 16px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.cl-trow--head {
  border-top: 0;
  padding-top: 14px;
  padding-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.cl-trow__no {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--muted);
}
.cl-trow__val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.03em;
  color: var(--value);
  white-space: nowrap;
}

@container cl (min-width: 900px) {
  .cl-rankrow {
    padding: 20px 24px;
    gap: 20px;
  }
  .cl-rankrow__no {
    flex-basis: 36px;
    font-size: 30px;
  }
  .cl-rankrow__val strong {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cl-ring__bar {
    transition: none;
  }
}

/* Bausteine der Finanz-Seiten (02, 05) */

.cl-fineprint {
  margin: 16px 4px 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.cl-followup {
  margin-top: 12px;
}

.cl-trow__name {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 600;
}
.cl-trow__link {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}
@media (hover: hover) and (pointer: fine) {
  .cl-trow__link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
.cl-trow__link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Karten und Teaser (cl.css Abschnitt 12b) */

.cl-card {
  padding: 22px;
  border-radius: var(--radius-card);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-card);
}
.cl-card__visual {
  height: 64px;
  display: flex;
  align-items: center;
}
.cl-card__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
}
.cl-card__title:first-child {
  margin-top: 0;
}
.cl-card__text {
  margin: 6px 0 0;
  font-size: 16px;
  color: var(--muted);
}

/* Karte mit Icon: mobil Icon + Titel in einer Zeile, Desktop gestapelt */
.cl-card--icon {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
}
.cl-card--icon .cl-card__visual {
  height: auto;
}
.cl-card--icon .cl-card__title {
  margin: 0;
  font-size: 19px;
}
.cl-card--icon .cl-card__text {
  grid-column: 1 / -1;
  margin-top: 12px;
}

/* Teaser auf dem Band */
.cl-teaser {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  padding: 26px 30px;
  border-radius: 24px;
  background-color: var(--band);
  background-image: repeating-linear-gradient(90deg, var(--band-stripe) 0px, var(--band-stripe) 1px, transparent 1px, transparent 7px);
  color: var(--on-band);
}
.cl-teaser__body {
  flex: 1 1 260px;
  min-width: 0;
}
.cl-teaser__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--on-band);
}
.cl-teaser__text {
  margin: 4px 0 0;
  font-size: 16px;
  color: var(--on-band-muted);
}

@container cl (min-width: 900px) {
  .cl-card {
    padding: 26px;
  }
  .cl-card--icon {
    display: block;
  }
  .cl-card--icon .cl-card__title {
    margin-top: 18px;
    font-size: 21px;
  }
  .cl-card--icon .cl-card__text {
    margin-top: 6px;
  }
}

/* Karte mit Beispiel und Erklärung, Fließtext in Karten (Methodik, cl.css Abschnitt 12b) */

.cl-excard {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.cl-excard__example {
  min-width: 0;
  max-width: 380px;
}
.cl-excard__example > .cl-beleg:first-child {
  margin-top: 0;
}
.cl-excard__text {
  min-width: 0;
}
.cl-excard__text .cl-card__text {
  margin-top: 10px;
}
@container cl (min-width: 900px) {
  .cl-excard {
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
    gap: 40px;
  }
}

.cl-card__lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}
.cl-card__lead + .cl-card__lead {
  margin-top: 14px;
}

/* Erfolgsansicht (Code einreichen, Board „Mobil · Danke“) */

.cl-confirm {
  padding: 32px 22px;
  text-align: center;
}
.cl-confirm__dot {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: var(--radius-pill);
  background: var(--action);
  color: var(--action-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cl-confirm__title {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink-strong);
}
.cl-confirm__title:focus {
  outline: none;
}
.cl-confirm__text {
  max-width: 380px;
  margin: 8px auto 0;
  font-size: 16px;
  color: var(--muted);
}
.cl-confirm .cl-strip {
  max-width: 360px;
  margin: 22px auto 0;
  text-align: left;
}
.cl-confirm > .cl-btn {
  margin-top: 22px;
}

/* Hubs: Hero, Shops, Kategorien, A–Z (cl.css Abschnitte 7 und 12b) */

.cl-hero {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 8px;
}
.cl-hero__text {
  min-width: 0;
}
.cl-hero__aside {
  display: none;
}
.cl-hero__label {
  margin: 0 0 10px 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--on-band-muted);
}
.cl-hero .cl-chips {
  margin-top: 14px;
}

/* Shops */
.cl-shops {
  list-style: none;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  margin: 0 -16px;
  padding: 0 16px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 16px;
  scrollbar-width: none;
}
.cl-shops > li {
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.cl-shop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 72px;
  color: var(--ink);
  text-decoration: none;
}
.cl-shop__name {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

/* Kategorien */
.cl-cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.cl-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 14px;
  border-radius: var(--radius-cta);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}
.cl-cat__icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
  color: var(--ink-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* A–Z */
.cl-azbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.cl-azbar > a,
.cl-azbar > span {
  width: 36px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--band-field);
  color: var(--on-band);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
}
.cl-azbar > a.is-active {
  background: var(--lime);
  color: var(--on-lime);
}
.cl-azbar > .is-empty {
  opacity: 0.4;
}
.cl-azindex {
  position: fixed;
  right: 2px;
  bottom: 28px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 0;
}
.cl-azindex a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 18px;
  color: var(--action);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
}
.cl-letter {
  margin: 0 0 8px 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
}
.cl-azgrid {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cl-azgrid > section {
  scroll-margin-top: 16px;
}
/* Filter über der A–Z-Liste auf dem Band, darunter die Buchstabenleiste (Desktop) */
.cl-azfilter {
  margin-top: 20px;
  max-width: 560px;
}
.cl-azfilter + .cl-azbar {
  margin-top: 22px;
}
/* Mobil braucht der Buchstaben-Index rechts Platz: die Seite rückt die Inhalte ein */
.cl-wrap:has(> .cl-azindex) {
  padding-right: 34px;
}

@container cl (min-width: 900px) {
  .cl-hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
    padding-top: 36px;
  }
  .cl-hero__text {
    flex: 1 1 560px;
    max-width: 600px;
  }
  .cl-hero__aside {
    display: block;
    flex: 0 0 480px;
  }
  /* Hero, der mit dem Zurück-Link beginnt (Kategorie): kein zusätzlicher Abstand oben */
  .cl-hero:has(> .cl-hero__text > .cl-backlink:first-child) {
    padding-top: 0;
  }
  .cl-shops {
    gap: 28px;
    overflow: visible;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
  }
  .cl-shop {
    min-width: 96px;
  }
  .cl-cats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
  .cl-cat {
    min-height: 76px;
    padding: 16px 18px;
    font-size: 17px;
  }
  .cl-azindex {
    display: none;
  }
  .cl-wrap:has(> .cl-azindex) {
    padding-right: 40px;
  }
  .cl-azgrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
    align-items: start;
  }
}

@media (hover: hover) and (pointer: fine) {
  .cl-cat {
    transition:
      box-shadow 150ms ease-out,
      transform 150ms var(--ease-out);
  }
  .cl-cat:hover {
    box-shadow: var(--shadow-card-hover);
  }
  .cl-azbar > a:not(.is-active):hover {
    background: var(--band-field-hover);
  }
}

/* Anzahl in der Kategorie-Kachel (Creator je Thema) */
.cl-cat__count {
  margin-left: auto;
}

/* Creator-Kachel im Streifen: Porträt in der Größe des Shop-Logos (72/80 px) */
.cl-avatar.cl-avatar--tile {
  width: 72px;
  height: 72px;
}
@container cl (min-width: 900px) {
  .cl-avatar.cl-avatar--tile {
    width: 80px;
    height: 80px;
  }
}

/* Inhalte: Antwort-Box, Akkordeon, Listen, Schritte, Zeitstrahl (cl.css Abschnitte 10, 12, 12b, 17) */

/* ---------- Antwort-Box „Kurz gesagt“ ---------- */
.cl-answer {
  padding: 20px;
  border-radius: var(--radius-list);
  background: var(--lime-soft);
  color: var(--ink);
}
.cl-answer__label {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink-strong);
}
.cl-answer ul {
  margin: 8px 0 0;
  padding-left: 20px;
  font-size: 17px;
  line-height: 1.5;
}
.cl-answer li {
  margin: 4px 0;
}

/* ---------- Akkordeon (<details>) ---------- */
.cl-accs {
  interpolate-size: allow-keywords;
  background: var(--surface);
  border-radius: var(--radius-list);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.cl-acc-item + .cl-acc-item {
  border-top: 1px solid var(--line);
}
.cl-acc-btn {
  list-style: none;
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 16px 18px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.cl-acc-btn::-webkit-details-marker {
  display: none;
}
.cl-acc-btn__label {
  flex: 1 1 auto;
  min-width: 0;
  text-wrap: balance;
}
.cl-acc-btn__meta {
  flex: 0 1 auto;
  min-width: 0;
  font-weight: 500;
  color: var(--muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.cl-chev {
  flex: 0 0 auto;
  color: var(--muted);
  transition: transform var(--dur-hover) var(--ease-out);
}
.cl-acc-item[open] > .cl-acc-btn .cl-chev {
  transform: rotate(180deg);
}
/* Auf- und Zuklappen: Höhe per ::details-content, Inhalt blendet ein. Ohne Unterstützung: sofort. */
.cl-acc-item::details-content {
  block-size: 0;
  overflow: clip;
  transition:
    block-size var(--dur-swap-in) var(--ease-out),
    content-visibility var(--dur-swap-in) allow-discrete;
}
.cl-acc-item[open]::details-content {
  block-size: auto;
}
.cl-acc__body {
  padding: 8px 18px 20px;
  max-width: 760px;
  font-size: 16px;
  color: var(--ink);
  opacity: 0;
  transition: opacity var(--dur-swap-out) ease-out;
}
.cl-acc-item[open] > .cl-acc__body {
  opacity: 1;
  transition: opacity var(--dur-swap-in) ease-out 50ms;
}
.cl-acc__body > :first-child {
  margin-top: 0;
}
.cl-acc__body > :last-child {
  margin-bottom: 0;
}
.cl-acc__body--wide {
  max-width: none;
}
.cl-acc__body--cols {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px 56px;
}
.cl-acc__body--cols > * {
  flex: 1 1 320px;
  min-width: 0;
}
/* Kleine Texte im Akkordeon */
.cl-accnote {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.cl-accnote:first-child {
  margin-top: 0;
}
.cl-acclabel {
  margin: 18px 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-strong);
}
.cl-acclabel:first-child {
  margin-top: 0;
}
/* Ein Link unter einem Hinweis steht in eigener Zeile */
.cl-accnote + .cl-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 15px;
}

/* Tabellen im Akkordeon: bündig, ohne Zellen-Einzug */
.cl-acc__body .cl-table {
  min-width: 0;
  background: transparent;
}
.cl-acc__body .cl-table th,
.cl-acc__body .cl-table td {
  padding: 10px 0;
}
.cl-acc__body .cl-table th {
  padding-top: 0;
}

/* ---------- Begriff/Wert ---------- */
.cl-dl {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  max-width: 640px;
  font-size: 16px;
}
.cl-dl__row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
}
.cl-dl__row + .cl-dl__row {
  border-top: 1px solid var(--line);
}
.cl-dl dt {
  padding: 10px 12px 10px 0;
  color: var(--muted);
}
.cl-dl dd {
  margin: 0;
  padding: 10px 0;
  font-weight: 600;
  color: var(--ink);
}
.cl-dl--expired dt {
  font-family: var(--font-mono);
  text-decoration: line-through;
}
.cl-dl--expired dd {
  font-weight: 400;
  color: var(--muted);
}

.cl-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  font-size: 15px;
}
.cl-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.cl-facts dt {
  color: var(--muted);
}
.cl-facts dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

.cl-faq {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cl-faq h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-strong);
}
.cl-faq p {
  margin: 4px 0 0;
  font-size: 16px;
  color: var(--ink);
}

/* ---------- Schritte ---------- */
.cl-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cl-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.cl-step__num {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: var(--action);
  color: var(--action-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.cl-step__text {
  padding-top: 3px;
}
.cl-step__title {
  display: block;
  font-weight: 600;
  color: var(--ink);
}
.cl-step__sub {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- Zeitstrahl ---------- */
.cl-zeit {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.cl-zeit > li {
  position: relative;
  display: flex;
  gap: 14px;
  padding-bottom: 20px;
}
.cl-zeit > li::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: var(--line-strong);
}
.cl-zeit > li:last-child {
  padding-bottom: 0;
}
.cl-zeit > li:last-child::before {
  display: none;
}
.cl-zeit__dot {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: var(--action);
  color: var(--on-action);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}
.cl-zeit__text {
  min-width: 0;
}
.cl-zeit__when {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.cl-zeit__what {
  display: block;
  margin-top: 1px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-strong);
}
.cl-zeit__sub {
  display: block;
  margin-top: 1px;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- Hinweise und Listen mit Markierung ---------- */
.cl-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius-cta);
  background: var(--surface-sunken);
  font-size: 15px;
  color: var(--ink);
}
.cl-note > svg {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--ink-strong);
}
.cl-note__text {
  min-width: 0;
}
.cl-xlist,
.cl-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cl-xlist li,
.cl-checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
}
.cl-xlist__mark,
.cl-checklist__dot {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cl-xlist__mark {
  background: var(--surface-sunken);
  color: var(--ink-strong);
}
.cl-checklist__dot {
  background: var(--lime);
  color: var(--on-lime);
}

@container cl (min-width: 900px) {
  .cl-acc-btn {
    min-height: 60px;
    padding: 16px 24px;
  }
  .cl-acc__body {
    padding: 8px 24px 24px;
  }
  .cl-steps--row {
    flex-direction: row;
    gap: 32px;
  }
  .cl-steps--row .cl-step {
    flex: 1 1 0;
  }
  .cl-zeit {
    flex-direction: row;
  }
  .cl-zeit > li {
    flex: 1 1 0;
    flex-direction: column;
    gap: 12px;
    padding: 0 24px 0 0;
  }
  .cl-zeit > li::before {
    left: 28px;
    right: 0;
    top: 13px;
    bottom: auto;
    width: auto;
    height: 2px;
  }
  .cl-zeit > li:last-child {
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cl-acc-item::details-content,
  .cl-acc__body,
  .cl-chev {
    transition: none;
  }
}

/* Rabatt-Historie (cl.css Abschnitt 12c)
   Säulen (eine Serie): ≤ 24 px breit, 4 px runde Spitze, eckig an der Basis, 2 px Luft, Haarlinie als Basis. */

.cl-hist {
  position: relative;
}
.cl-hist__plot {
  display: grid;
  gap: 2px;
  align-items: end;
  height: 132px;
  border-bottom: 1px solid var(--line-strong);
}
.cl-hist__col {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}
.cl-hist__val {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-strong);
  white-space: nowrap;
}
.cl-hist__bar {
  display: block;
  width: 100%;
  max-width: 24px;
  border-radius: 4px 4px 0 0;
  background: var(--ink-faint);
  transition: filter 100ms ease-out;
}
.cl-hist__bar.is-key {
  background: var(--value);
}
.cl-hist__tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% - 8px);
  z-index: 2;
  transform: translate(-50%, 4px);
  padding: 6px 9px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-pop);
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 150ms ease-out,
    transform 150ms ease-out,
    visibility 0s linear 150ms;
}
.cl-hist__tip strong {
  display: block;
  font-size: 15px;
  color: var(--ink-strong);
}
.cl-hist__axis {
  display: grid;
  gap: 2px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

@container cl (min-width: 900px) {
  .cl-hist__plot {
    height: 160px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .cl-hist__col:hover .cl-hist__tip {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition:
      opacity 200ms var(--ease-out),
      transform 200ms var(--ease-out),
      visibility 0s;
  }
  .cl-hist__col:hover .cl-hist__bar {
    filter: brightness(1.12);
  }
}

/* Benachrichtigung (cl.css Abschnitt 9) */

.cl-alert {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px 14px 14px;
  background: var(--surface);
  border-radius: var(--radius-list);
  box-shadow: var(--shadow-card);
}
.cl-alert__icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--lime);
  color: var(--on-lime);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cl-alert__text {
  flex: 1 1 auto;
  min-width: 0;
}
.cl-alert__title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cl-alert__title.is-on {
  color: var(--success);
}

/* Als Zeile im Pass */
.cl-alert--inline {
  gap: 12px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.cl-alert--inline .cl-alert__title {
  font-size: 16px;
  color: var(--ink-strong);
  white-space: normal;
}
.cl-alert--inline .cl-alert__title.is-on {
  color: var(--success);
}
.cl-stub .cl-alertwrap {
  margin-top: 16px;
}

/* Bestätigung nach dem Absenden */
.cl-alertdone__title {
  margin: 12px 0 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-strong);
}
.cl-alertdone__title:empty {
  display: none;
}
.cl-alertdone__text {
  margin: 12px 0 0;
  font-size: 16px;
  color: var(--ink);
}
.cl-alertdone__title + .cl-alertdone__text {
  margin-top: 4px;
  font-size: 15px;
  color: var(--muted);
}
.cl-alertdone__hint {
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--muted);
}

@container cl (min-width: 900px) {
  .cl-alert {
    padding: 18px 20px;
  }
  .cl-alert--inline {
    padding: 0;
  }
}

/* Hinweis unter „Alarm aktivieren“ (Abmelden, Datenschutz) */
.cl-alertform__note {
  margin: 10px 0 0;
}

/* Sticky-Leiste, Toast, Sheet, Popover (cl.css Abschnitte 9, 11, 19)
   Im Produkt fest am Viewport; im Canvas lagen sie im Handy-Rahmen. */

/* ---------- Sticky-Leiste (nur mobil) ---------- */
.cl-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 12px 16px max(6px, env(safe-area-inset-bottom));
  background: var(--bar);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--line);
  transition:
    transform 260ms var(--ease-drawer),
    opacity 200ms ease-out,
    visibility 0s;
}
.cl-bar.is-off {
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 200ms ease-in,
    opacity 160ms ease-in,
    visibility 0s linear 200ms;
}
.cl-bar__note {
  margin: 6px 0 0;
  height: 22px;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}
.cl-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--cta-height);
  padding: 0 10px 0 22px;
  border: 0;
  border-radius: var(--radius-cta);
  background: var(--action);
  color: var(--on-action);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
/* Vorschau im Fluss (Styleguide) */
.cl-bar--preview {
  position: relative;
  z-index: auto;
}
@container cl (min-width: 900px) {
  .cl-bar {
    display: none;
  }
}

/* ---------- Toast (sichtbar nur mobil, am Desktop nur vorgelesen) ---------- */
.cl-toast {
  position: fixed;
  left: 50%;
  bottom: calc(32px + env(safe-area-inset-bottom));
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  max-width: calc(100% - 32px);
  padding: 0 18px 0 12px;
  border-radius: var(--radius-pill);
  background: var(--action);
  color: var(--on-action);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  /* Feine helle Kante: bleibt auch über dem dunklen Band erkennbar */
  box-shadow:
    var(--shadow-float),
    0 0 0 1px rgba(238, 243, 232, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px) scale(0.96);
  transition:
    opacity var(--dur-swap-out) ease-out,
    transform var(--dur-swap-out) ease-out,
    visibility 0s linear var(--dur-swap-out);
}
.cl-toast.is-on {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
  transition:
    opacity var(--dur-toast-in) var(--ease-out),
    transform var(--dur-toast-in) var(--ease-out),
    visibility 0s;
}
/* Über der Sticky-Leiste, solange sie sichtbar ist */
.cl-root:has(.cl-bar:not(.is-off, .cl-bar--preview)) .cl-toast {
  bottom: calc(124px + env(safe-area-inset-bottom));
}
.cl-toast__dot {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-pill);
  background: var(--action-accent);
  color: var(--on-action-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
@container cl (min-width: 900px) {
  .cl-toast {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    box-shadow: none;
  }
}

/* ---------- Bottom-Sheet (<dialog>) ---------- */
.cl-sheet {
  position: fixed;
  inset: auto 0 0 0;
  width: 100%;
  max-width: 100%;
  max-height: 82dvh;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pass) var(--radius-pass) 0 0;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sheet);
  overflow-y: auto;
  transform: translateY(100%);
  transition:
    transform var(--dur-sheet-out) var(--ease-drawer),
    overlay var(--dur-sheet-out) allow-discrete,
    display var(--dur-sheet-out) allow-discrete;
}
.cl-sheet[open] {
  transform: translateY(0);
  transition-duration: var(--dur-sheet-in);
}
@starting-style {
  .cl-sheet[open] {
    transform: translateY(100%);
  }
}
.cl-sheet::backdrop {
  background: rgba(10, 22, 14, 0.45);
  opacity: 0;
  transition:
    opacity 280ms cubic-bezier(0.32, 0.72, 0, 1),
    overlay 280ms allow-discrete,
    display 280ms allow-discrete;
}
.cl-sheet[open]::backdrop {
  opacity: 1;
  transition-duration: 500ms;
}
@starting-style {
  .cl-sheet[open]::backdrop {
    opacity: 0;
  }
}
.cl-sheet__inner {
  padding: 8px 20px max(34px, env(safe-area-inset-bottom));
}
.cl-sheet__grab {
  width: 38px;
  height: 5px;
  margin: 0 auto 14px;
  border-radius: var(--radius-pill);
  background: var(--line-strong);
}
.cl-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cl-sheet__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.025em;
  color: var(--ink-strong);
}
.cl-sheet__x {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--surface-sunken);
  color: var(--ink-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}
/* Trefferfläche 44 px */
.cl-sheet__x::after {
  content: '';
  position: absolute;
  inset: -4px;
}
.cl-sheet__body {
  margin-top: 16px;
}

/* ---------- Popover (nur Desktop) ---------- */
.cl-pop {
  position: absolute;
  right: 12px;
  top: calc(100% + 8px);
  z-index: 8;
  width: 360px;
  max-width: calc(100vw - 32px);
  padding: 18px;
  border-radius: var(--radius-list);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-pop);
  transform-origin: top right;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.97);
  transition:
    opacity var(--dur-swap-out) ease-out,
    transform var(--dur-swap-out) ease-out,
    visibility 0s linear var(--dur-swap-out);
}
.cl-pop.is-open {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition:
    opacity var(--dur-pop-in) var(--ease-out),
    transform var(--dur-pop-in) var(--ease-out),
    visibility 0s;
}
.cl-pop__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-strong);
}
.cl-pop__text {
  margin: 4px 0 12px;
  font-size: 15px;
  color: var(--muted);
}
@container cl (max-width: 899px) {
  .cl-pop {
    display: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .cl-cta {
    transition:
      filter 100ms ease-out,
      transform var(--dur-press) var(--ease-out);
  }
  .cl-cta:hover {
    filter: brightness(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cl-bar,
  .cl-bar.is-off {
    transform: none;
    transition: none;
  }
  .cl-toast,
  .cl-toast.is-on {
    transform: translate(-50%, 0);
  }
  .cl-sheet,
  .cl-sheet[open],
  .cl-sheet::backdrop {
    transition-duration: 0ms;
  }
  .cl-pop,
  .cl-pop.is-open {
    transform: none;
  }
}

/* Fuß (cl.css Abschnitte 13 und 16) */

.cl-footer {
  padding: 40px 16px 28px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.cl-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 20px;
  max-width: 1080px;
  margin: 0 auto 32px;
  text-align: left;
}
.cl-footer__h {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-strong);
}
.cl-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cl-footer__links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.cl-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}
.cl-footer__nav a {
  color: var(--muted);
  text-decoration: none;
}
.cl-footer__word {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.03em;
  color: var(--ink-strong);
}

/* Platz für die Sticky-Leiste (mobil) */
@container cl (max-width: 899px) {
  .cl-root:has(.cl-bar:not(.cl-bar--preview)) .cl-footer {
    padding-bottom: 132px;
  }
}

@container cl (min-width: 900px) {
  .cl-footer {
    padding: 72px 40px 48px;
  }
  .cl-footer__cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
  }
}

@media (hover: hover) and (pointer: fine) {
  .cl-footer__nav a:hover,
  .cl-footer__links a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}


/* HeyCodes · Motion (cl.css Abschnitt 14)
   Nach Emil Kowalski und Jakub Krehel: raus ist schneller als rein, nichts über 500 ms,
   keine Animation beim Laden der Seite, ease-in nie für UI. */

/* Drücken: alles Antippbare gibt nach */
.cl-press {
  transition: transform var(--dur-press) var(--ease-out);
}
.cl-press:active {
  transform: scale(0.96);
}

/* Icon-Tausch (Kopieren → Häkchen) */
.cl-icon {
  transition:
    opacity var(--dur-icon) var(--ease-icon),
    transform var(--dur-icon) var(--ease-icon),
    filter var(--dur-icon) var(--ease-icon);
}
.cl-icon.is-off {
  opacity: 0;
  transform: scale(0.25);
  filter: blur(4px);
}

/* Label-Wechsel: zwei Zustände in einer .cl-cell, der inaktive bekommt .is-off */
.cl-swap {
  transition:
    opacity var(--dur-swap-in) var(--ease-out),
    transform var(--dur-swap-in) var(--ease-out),
    filter var(--dur-swap-in) var(--ease-out),
    visibility 0s;
}
.cl-swap.is-off {
  opacity: 0;
  transform: translateY(6px);
  filter: blur(2px);
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--dur-swap-out) ease-out,
    transform var(--dur-swap-out) ease-out,
    filter var(--dur-swap-out) ease-out,
    visibility 0s linear var(--dur-swap-out);
}
.cl-swap .cl-stg {
  transition:
    opacity var(--dur-swap-in) var(--ease-out) 50ms,
    transform var(--dur-swap-in) var(--ease-out) 50ms;
}
.cl-swap.is-off .cl-stg {
  opacity: 0;
  transform: translateY(4px);
  transition-delay: 0s;
}

/* Seltene Erfolgsmomente: gestaffelter Auftritt (einmalig) */
@keyframes cl-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@keyframes cl-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.cl-enter > * {
  animation: cl-enter 400ms var(--ease-out) both;
}
.cl-enter > *:nth-child(2) {
  animation-delay: 100ms;
}
.cl-enter > *:nth-child(3) {
  animation-delay: 200ms;
}
.cl-enter > *:nth-child(4) {
  animation-delay: 300ms;
}
.cl-enter > *:nth-child(5) {
  animation-delay: 400ms;
}

/* Hover nur bei Zeigegeräten */
@media (hover: hover) and (pointer: fine) {
  .cl-hover {
    transition: background-color 100ms ease-out;
  }
  .cl-hover:hover {
    background-color: var(--surface-hover);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cl-press:active {
    transform: none;
  }
  .cl-icon.is-off {
    transform: none;
    filter: none;
  }
  .cl-swap.is-off,
  .cl-swap.is-off .cl-stg {
    transform: none;
    filter: none;
  }
  .cl-enter > * {
    animation: cl-fade 200ms ease both;
  }
}


/* Ergänzungen nur für die vorläufige Landingpage. Alles andere kommt aus @heycodes/ui. */

/* Wie apps/web/src/app/globals.css */
html,
body {
  margin: 0;
}
body {
  min-height: 100dvh;
}

/* „Im Aufbau“ über der Überschrift */
.lp-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  margin: 0 0 18px;
  padding: 0 14px 0 12px;
  border-radius: var(--radius-pill);
  background: var(--band-field);
  color: var(--on-band);
  font-size: 14px;
  font-weight: 600;
}
.lp-status__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--lime);
}

/* Zweiter Absatz unter dem Lead, etwas kleiner */
.lp-lead {
  max-width: 34em;
  margin-top: 14px;
  font-size: 16px;
}

/* Hero ohne rechte Spalte: Text darf die volle Breite nutzen (Library begrenzt auf 600 px) */
@container cl (min-width: 900px) {
  .lp-hero .cl-hero__text {
    max-width: none;
  }
}

/* Kategorien als Liste ohne Links */
.lp-cats {
  margin: 0;
  padding: 0;
  list-style: none;
}
