/* Unterseiten im neuen Stil (Bedienungshilfen, Altersfreigabe, Daten löschen) – lädt nach test.css.
   Die Bausteine dieser Seiten stammen aus eyns.css (ax-*, ag-*, wipe-*, Anmelde-Popup) und lesen hier
   die Farben und Schriften der neuen Startseite. Hell/Dunkel folgt test.css (data-theme). */
:root {
  --text: var(--ink); --text2: var(--ink-2); --text3: var(--ink-3);
  --surface: var(--card); --field: var(--fill); --hair: var(--line);
  --hair-strong: color-mix(in srgb, var(--ink) 14%, transparent);
  --accent: var(--inv); --on-accent: var(--on-inv); --brand: #e2453d; --bad: #e5484d;
  --round: var(--display); --font-round: var(--display);
}
.btn-sm { height: 34px; padding: 0 14px; border-radius: 10px; font-size: 13.5px; gap: 6px; }
.btn-lg { height: 56px; padding: 0 24px; border-radius: 18px; font-size: 17px; }
.btn-block { width: 100%; }
.field, .sheet, .sheet * { box-sizing: border-box; }

.round-btn{
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--hair);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: transform .16s ease, background-color .16s ease;
  -webkit-tap-highlight-color: transparent;
}
.round-btn:hover{ background: color-mix(in srgb, var(--surface) 92%, var(--text)); }
.round-btn:active{ transform: scale(0.94); }
.round-btn.is-active{ background: var(--accent); color: var(--on-accent); border-color: transparent; }
.round-btn.grow-btn{ display: inline-flex; align-items: center; justify-content: flex-start; width: auto; min-width: 40px; padding: 0 10px; border-radius: 20px;
  transition: transform .16s ease, background-color .16s ease, padding .22s ease; }
@media (hover: hover){.round-btn.grow-btn:hover .grow-label{ max-width: 120px; margin-left: 7px; opacity: 1; }.round-btn.grow-btn:hover{ padding-right: 14px; }}
.round-btn.grow-btn:focus-visible .grow-label{ max-width: 120px; margin-left: 7px; opacity: 1; }
.round-btn.grow-btn:focus-visible{ padding-right: 14px; }
@media (prefers-reduced-motion: reduce){.round-btn.grow-btn, .grow-label{ transition: none; }}
.round-btn:disabled{ opacity: .35; cursor: default; }
.round-btn-small{ width: 32px; height: 32px; }
.sheet-layer{ position: fixed; inset: 0; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop{ position: absolute; inset: 0; background: rgba(0, 0, 0, 0.32); opacity: 0; transition: opacity .22s ease; }
.sheet{
  position: relative;
  width: 100%; max-width: 560px;
  max-height: calc(100dvh - 24px);
  display: flex; flex-direction: column;
  background: var(--bg);
  border-radius: 26px 26px 0 0;
  transform: translateY(24px);
  opacity: 0;
  transition: transform .26s cubic-bezier(.2, .9, .3, 1), opacity .2s ease;
}
.sheet-wide{ max-width: 640px; }
.sheet:focus, .sheet:focus-visible{ outline: none; }
.sheet-layer.is-open .sheet{ transform: none; opacity: 1; }
.sheet-layer.is-open .sheet-backdrop{ opacity: 1; }
.sheet-layer.is-closing .sheet{ transform: translateY(24px); opacity: 0; }
.sheet-layer.is-closing .sheet-backdrop{ opacity: 0; }
@media (min-width: 700px){.sheet-layer{ align-items: center; padding: 24px; }.sheet{ border-radius: 26px; max-height: min(860px, calc(100dvh - 48px)); transform: translateY(10px) scale(.985); }.sheet-layer.is-closing .sheet{ transform: translateY(10px) scale(.985); }}
@media (prefers-reduced-motion: reduce){.sheet, .sheet-backdrop{ transition: none; }}
.sheet-head{ display: flex; align-items: center; gap: 12px; padding: 22px 22px 12px; }
.sheet-head-text{ flex: 1; min-width: 0; }
.sheet-title{ font: 700 24px/1.2 var(--font); }
.sheet-subtitle{ margin-top: 2px; font: 500 14.5px/1.3 var(--font); color: var(--text2); }
.sheet-subtitle:empty{ display: none; }
.sheet-body{ overflow-y: auto; padding: 4px 22px 18px; overscroll-behavior: contain; flex: 1; }
.sheet-foot{ padding: 12px 22px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hair); }
.sheet-lead{ color: var(--text2); font-size: 14.5px; margin: 0 4px 14px; }
.sheet-body > .btn-block{ margin-top: 16px; }
.field-wrap{ display: flex; flex-direction: column; gap: 6px; }
.field-label{ font: 600 13px/1.2 var(--font); color: var(--text2); margin-left: 4px; display: flex; gap: 8px; align-items: baseline; }
.field-hint{ font-weight: 500; color: var(--text3); }
.field{
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  background: var(--surface);
  color: var(--text);
  font: 16px/1.2 var(--font);
  -webkit-appearance: none;
  appearance: none;
}
.field:focus{ border-color: color-mix(in srgb, var(--text) 25%, transparent); }
.field:focus-visible{ outline: none; }
.field::placeholder{ color: var(--text3); }
.field-area{ height: auto; min-height: 84px; padding: 12px 14px; resize: vertical; line-height: 1.4; }
.field-small{ width: 84px; height: 44px; text-align: center; padding: 0 8px; }
input[type="date"].field{ min-width: 0; }
.form-error{ color: var(--bad); font-size: 14px; margin: 2px 4px; }
.sheet-subject{ display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 8px 12px; border-radius: 11px; background: color-mix(in srgb, var(--c) 10%, var(--surface)); color: var(--c); font: 600 14px/1 var(--font); }
.cat-row > .field{ flex: 1; min-width: 0; }
.toast{
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--accent); color: var(--on-accent);
  font: 600 14px/1.3 var(--font);
  max-width: min(440px, calc(100vw - 32px));
}
.toast-error{ background: var(--bad); color: #fff; }
/* Hinweis-Pille: schwebt unten in der Mitte, blendet nach ein paar Sekunden aus (ui.js toast) */
#toast-root{ position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 300; width: max-content; max-width: calc(100vw - 32px);
  transform: translate(-50%, 16px) scale(.96); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .4s var(--ease); }
#toast-root.is-visible{ opacity: 1; transform: translate(-50%, 0) scale(1); }
#toast-root .toast{ gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--inv); color: var(--on-inv); font: 600 15px/1.3 var(--font);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .35); }
#toast-root .toast > .ic{ flex: none; box-sizing: content-box; padding: 6px; border-radius: 50%; background: #e2453d; color: #fff; stroke-width: 3; }
#toast-root .toast-error{ background: #e5484d; color: #fff; }
#toast-root .toast-error > .ic{ background: rgba(255, 255, 255, .2); }
@media (prefers-reduced-motion: reduce){ #toast-root, #toast-root.is-visible{ transition: opacity .2s ease; transform: translate(-50%, 0); } }
.loading-text{ margin: 0; font: 500 15px/1.4 var(--font); color: var(--text2); }
.auth{ min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; padding: 28px 20px 40px; gap: 16px; }
.auth-brand{ display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 700 22px/1 var(--font); margin: 6px 0 14px; }
.auth-card{ width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 16px; }
.auth-front{ display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 0 18px; }
.auth-front-title{ font: 700 22px/1.15 var(--font); }
.auth-front-caption{ font-size: 14px; color: var(--text2); }
.auth-body{ display: flex; flex-direction: column; gap: 12px; }
.auth-text{ color: var(--text2); line-height: 1.5; }
.auth-text strong{ color: var(--text); }
.auth-divider{ display: flex; align-items: center; gap: 12px; color: var(--text3); font-size: 13px; }
.auth-divider::before, .auth-divider::after{ content: ""; flex: 1; height: 1px; background: var(--hair-strong); }
.auth-link{ align-self: center; font-size: 14px; color: var(--text2); }
.auth-fine{ font-size: 12.5px; color: var(--text2); text-align: center; line-height: 1.45; }
.auth-switch{ font-size: 14.5px; color: var(--text2); }
.auth-switch a{ color: var(--text); font-weight: 600; }
.sheet-narrow{ max-width: 440px; }
.auth-pop{ display: flex; flex-direction: column; gap: 12px; padding-top: 2px; }
.auth-pop .segmented{ margin: 0 0 4px; }
.auth-more{
  align-self: center;
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 10px;
  border: 0; border-radius: 10px;
  background: none;
  color: var(--text2);
  font: 600 14px/1 var(--font);
  cursor: pointer;
}
.auth-more:hover{ color: var(--text); }
.auth-more .ic{ transition: transform .2s ease; }
.auth-more[aria-expanded="true"] .ic{ transform: rotate(180deg); }
.auth-email{ display: flex; flex-direction: column; gap: 12px; animation: auth-in .22s ease; }
.auth-link-btn{
  align-self: center;
  border: 0; background: none;
  color: var(--text2);
  font: 500 14px/1 var(--font);
  padding: 8px;
  cursor: pointer;
}
.auth-link-btn:hover{ color: var(--text); }
.auth-pop .auth-fine a{ color: var(--text); }
@media (prefers-reduced-motion: reduce){.auth-email{ animation: none; }.auth-more .ic{ transition: none; }}
.sheet-layer.is-auth{ align-items: center; padding: 16px; }
.sheet-layer.is-auth .sheet-backdrop{
  background: rgba(10, 12, 18, .34);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.sheet-auth{
  max-width: 420px;
  background: transparent;
  border-radius: 0;
  transform: translateY(14px) scale(.97);
}
.sheet-layer.is-auth.is-open .sheet-auth{ transform: none; }
.sheet-layer.is-auth.is-closing .sheet-auth{ transform: translateY(14px) scale(.97); }
.sheet-auth .sheet-head{ position: absolute; top: 78px; right: 18px; padding: 0; z-index: 3; }
.sheet-auth .sheet-head-text{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sheet-auth .sheet-head .round-btn{ width: 30px; height: 30px; border: 0; background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--text2); }
.sheet-auth .sheet-head .round-btn:hover{ color: var(--text); }
.sheet-auth .sheet-body{ padding: 0; scrollbar-width: none; }
.sheet-auth .sheet-body::-webkit-scrollbar{ display: none; }
.sheet-auth .sheet-foot{ display: none; }
.folder.auth-folder{ height: auto; padding: var(--ft) 6px 6px; }
.auth-folder .folder-front{
  position: relative; inset: auto;
  flex-direction: column; gap: 18px;
  padding: 20px 18px 18px;
  border-radius: 16px 16px 20px 20px;
  background: linear-gradient(170deg, color-mix(in srgb, var(--c) 14%, var(--surface)), var(--surface) 46%);
}
.auth-head{ display: flex; flex-direction: column; gap: 3px; padding-right: 40px; }
.auth-head .auth-front-title{ font: 700 24px/1.15 var(--font); }
.auth-folder .auth-pop{ padding-top: 0; }
.auth-folder .field{ background: var(--field); }
.auth-switch-line{ text-align: center; font-size: 14px; color: var(--text2); }
.auth-switch-line button{
  border: 0; background: none;
  padding: 4px 2px;
  font: 600 14px/1 var(--font);
  color: var(--text);
  cursor: pointer;
}
.auth-switch-line button:hover{ text-decoration: underline; }
.sheet-detail{ max-width: 520px; }
.sheet-detail .sheet-head .round-btn + .round-btn{ margin-left: -4px; }
.parent-row .round-btn{ flex: none; color: var(--text2); }
.field[data-code]{ font: 600 20px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; }
.tts-times .field-small{ width: 74px; height: 36px; padding: 0 6px; font-size: 14px; }
.tts-times .field-small::-webkit-calendar-picker-indicator{ display: none; }
.abs-epage .field-wrap{ margin: 0; }
.order-row .round-btn[disabled]{ opacity: .35; }
.grp-front .field{ height: 40px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font: 500 15px/1.2 var(--font); color: var(--text); }
.grp-front .field:focus{ outline: none; }
.grp-row .field{ flex: 1; min-width: 0; }
.grp-row .round-btn[disabled], .grp-order .round-btn[disabled]{ opacity: .35; }
.confirm-folder .auth-front-caption{ line-height: 1.45; }
.confirm-folder.is-inline .auth-head{ padding-right: 0; }
.sheet .premium-folder + .section-title, .sheet .premium-list + .section-title, .sheet .premium-prices + .section-title{ margin-top: 4px; }
.sheet .section-title{ margin-bottom: 10px; }
.pay-sheet .sheet-head{ position: absolute; top: 0; right: 0; z-index: 2; padding: 16px 16px 0; }
.pay-sheet .sheet-head-text{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pay-sheet .sheet-body{ padding-top: 30px; }
@media (min-width: 1000px){.sheet.pay-sheet{ max-width: 1060px; }}
.xt-filters .round-btn{ flex: none; width: 36px; height: 36px; }
.sheet .kid-grid + .parent-hint{ padding: 10px 4px 0; }
.sheet .kid-grid ~ .card{ margin-top: 12px; }
.grp-edit-front .field{ font-weight: 600; }
.round-btn.profile-btn{ position: relative; }
.round-btn.profile-btn.has-dot::after{ content: ""; position: absolute; top: 2px; right: 2px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 2px var(--bg); }
.sheet-pure .sheet-body{ color: var(--p-ink, var(--text)); }
:root[data-view="day"] .sheet-layer,
:root[data-view="day"] .day-main.is-page,
:root[data-view="day"] #toast-root{
  --bg: #111113; --surface: #1F1F22; --text: #F5F5F7;
  --text2: rgba(235, 235, 245, 0.62); --text3: rgba(235, 235, 245, 0.32);
  --accent: #F5F5F7; --on-accent: #000000;
  --hair: rgba(255, 255, 255, 0.08); --hair-strong: rgba(255, 255, 255, 0.11); --field: rgba(255, 255, 255, 0.07);
  --fold: 22%; --header-bg: rgba(17, 17, 19, 0.86);
  color-scheme: dark;
}
:root[data-view="day"] .sheet-layer, :root[data-view="day"] .day-main.is-page{ color: var(--text); }
.sheet.dy-sheet{ background: var(--dy-bg); color: var(--dy-ink); }
.dy-sheet .sheet-head{ align-items: flex-start; padding: 18px 16px 10px; }
.dy-sheet .sheet-title{ font-size: 28px; font-weight: 800; letter-spacing: -.6px; line-height: 1.1; }
.dy-sheet .sheet-subtitle{ font-size: 14px; font-weight: 400; color: var(--dy-mute); }
.dy-sheet .sheet-head .round-btn{ background: var(--dy-panel); color: var(--dy-ink); }
.dy-sheet .sheet-body{ padding: 0 12px 16px; }
.dy-sheet .sheet-foot{ padding: 8px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 0; background: var(--dy-bg); }
.dy-sheet .sheet-body:has(.dy-form-host){ padding-bottom: 0; }
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .folder:not(.slide-folder) > .folder-back,
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .folder > .folder-papers,
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .slide-folder > .sf-back,
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .slide-folder > .sf-gap{ display: none; }
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .folder{
  height: auto; display: flex; flex-direction: column; padding: 32px 0 4px; border-radius: 22px; overflow: hidden; }
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .folder:not(.is-grow){
  background: #FFFFFF; color: #111113; color-scheme: light;
  --text: #111113; --text2: #6E6E73; --text3: #9A9A9F; --surface: #FFFFFF; --bg: #FFFFFF; --field: rgba(0, 0, 0, .05);
  --hair: rgba(0, 0, 0, .08); --hair-strong: rgba(0, 0, 0, .12); --accent: #111113; --on-accent: #FFFFFF; }
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .folder.is-grow{ padding: 30px 0 6px; background: var(--dy-panel); }
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .folder > .folder-label,
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .folder.is-right > .folder-label{
  top: 9px; left: 16px; right: auto; height: 18px; max-width: calc(100% - 32px); flex-direction: row;
  color: var(--text2); font: 600 13px/1.3 var(--font); letter-spacing: 0; text-transform: none; }
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .folder.is-grow > .folder-label{ font-weight: 500; font-size: 12px; color: var(--dy-mute); }
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .folder > .folder-label > svg{ display: none; }
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .folder-badge{ margin-left: 4px; font: 600 11px/1 var(--font); opacity: .75; letter-spacing: 0; }
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .folder > .folder-front{
  position: relative; inset: auto; flex: none; height: calc(var(--h) - var(--ft) - 6px);
  background: none; border: 0; border-radius: 0; }
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .folder.is-grow > .folder-front{ height: auto; }
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .slide-folder > .sf-tab{
  top: 6px; left: 16px; width: calc(100% - 32px); height: 22px; color: var(--text2); }
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .slide-folder .sf-tab-label{
  height: 22px; font: 600 13px/1 var(--font); letter-spacing: 0; text-transform: none; }
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .folder > .folder-side-tab{
  top: 6px; left: auto; right: 10px; width: auto; height: 26px; }
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .folder > .folder-side-tab .fst-curve{ display: none; }
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .folder > .folder-side-tab .fst-body{
  height: 26px; padding: 0 10px; border-radius: 13px; background: #EDEDF0; color: #111113; }
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .folder-new{ height: auto; min-height: 56px; border-radius: 22px; background: var(--dy-panel); }
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .folder-new > .fn-outline,
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .folder-new > .folder-label{ display: none; }
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .folder-new > .fn-content{
  position: static; flex-direction: row; justify-content: flex-start; gap: 12px; min-height: 56px; padding: 0 16px; color: var(--dy-accent); }
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .folder-new .fn-icon{ width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--dy-accent); color: var(--dy-panel); }
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .folder-new .fn-icon svg{ width: 13px; height: 13px; }
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .folder-new .fn-headline{ font-size: 16px; font-weight: 500; color: var(--dy-accent); }
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .folder-new .fn-caption{ display: none; }
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .chip:not(.fill-chip){ min-height: 36px; border-radius: 18px; border-color: transparent; background: var(--dy-sep); color: var(--dy-ink); }
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .chip.is-on:not(.fill-chip){ background: var(--dy-ink); border-color: transparent; color: #000; }
:root[data-view="day"] :is(.sheet-layer, .day-main.is-page) .folder:not(.is-grow) .chip:not(.is-on){ background: #EDEDF0; color: #111113; }
.sheet-layer.dy-page-layer{ flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 0; background: var(--dy-bg); opacity: 0; transition: opacity .22s ease; }
.sheet-layer.dy-page-layer.is-open{ opacity: 1; }
.sheet-layer.dy-page-layer.is-closing{ opacity: 0; }
.dy-page-layer .sheet-backdrop{ display: none; }
.dy-page-layer .sheet.dy-pagesheet{ flex: 1; min-height: 0; width: 100%; max-width: 640px; max-height: none; align-self: center; border-radius: 0; transform: translateY(18px); }
.dy-page-layer.is-open .sheet.dy-pagesheet{ transform: none; }
.dy-pagesheet .sheet-head > .round-btn[data-sheet-close]{ display: none; }
@media (min-width: 700px){.sheet-layer.dy-page-layer{ padding: 0; align-items: stretch; }.dy-page-layer .sheet.dy-pagesheet{ border-radius: 0; max-height: none; }}
@media (prefers-reduced-motion: reduce){.sheet-layer.dy-page-layer, .dy-page-layer .dy-page-strip, .dy-page-layer .sheet.dy-pagesheet{ transition: none; transform: none; }}
.dy-pagesheet .sheet-head{ display: none; }
.dy-pagesheet .sheet-body{ padding-top: 12px; }
@media (min-width: 700px){.sheet.ttp-tall{ max-height: calc(100dvh - 32px); }}
.guest-form .field-label em{ font-style: normal; font-weight: 500; color: var(--text3); }
.help-page .guest-form .field{ background: rgba(255, 255, 255, .06); }
.round-btn.is-danger{ background: var(--bad); color: #fff; border-color: transparent; }
.pt-thumb-tools .round-btn-small{ width: 28px; height: 28px; }
.cv-pdf-actions .round-btn{ width: 30px; height: 30px; background: var(--surface); box-shadow: 0 2px 8px rgba(0,0,0,.14); }
.cv-pdf .cv-pdf-actions .round-btn{ width: 30px; height: 30px; box-shadow: none; background: var(--field); }
@media (hover: none){.cv-pdf .cv-pdf-actions .round-btn:not([data-action="cv-cloud-download"]):not([data-action="cv-cloud-delete"]){ display: none; }}
@media (min-width: 980px){.sheet.gsheet{ max-width: 940px; }}
.gs-details .field, .gs-details textarea, .gs-details input{ background: var(--field); }
.ttl-details input, .ttl-details .field{ background: none; }
.sheet.sed-sheet{ max-width: 1000px; }
.sheet.pa-sheet{ max-width: 1000px; }
.sheet.ab-sheet{ max-width: 900px; }
.sheet.mg-sheet{ max-width: 1080px; }
.mg-card .field{ width: 100%; }
.au{ position: relative; border-radius: 26px; background: var(--surface); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.18); }
.sheet:not(.sheet-auth) .au, .auth-card .au{ box-shadow: 0 1px 2px rgba(0,0,0,.04); border-radius: 22px; }
.au-band{ height: 72px; display: flex; align-items: flex-start; justify-content: flex-end; gap: 6px; padding: 16px 58px 0 16px; box-sizing: border-box;
  background: linear-gradient(120deg, color-mix(in srgb, var(--c) 78%, var(--surface)), color-mix(in srgb, var(--c) 30%, var(--surface))); }
.auth-card .au-band, .sheet:not(.sheet-auth) .au-band{ padding-right: 16px; }
.au-chip{ display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 9px; background: color-mix(in srgb, var(--surface) 78%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--c); font: 650 12px/1 var(--font); white-space: nowrap; }
.au-head{ display: flex; align-items: flex-start; gap: 16px; padding: 0 20px; margin-top: -36px; }
.au-square{ flex: none; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 26px; background: var(--c); color: #fff;
  box-shadow: 0 0 0 5px var(--surface); }
.au-text{ flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding-top: 44px; }
.au-text b{ font: 700 22px/1.15 var(--font); color: var(--text); }
.au-text small{ font-size: 14px; line-height: 1.4; color: var(--text2); }
.au-body{ padding: 20px; }
.au:not(:has(.au-body)){ padding-bottom: 20px; }
.au .field{ background: var(--field); }
.au .auth-pop{ padding-top: 0; }
.au-primary{ background: var(--c); color: #fff; }
.au-primary:hover:not(:disabled){ background: color-mix(in srgb, var(--c) 88%, #000); }
.au-seg{ display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; border-radius: 13px; background: var(--field); }
.au-seg button{ height: 34px; border: 0; border-radius: 10px; background: none; color: var(--text2); font: 600 13.5px/1 var(--font); cursor: pointer; }
.au-seg button:hover{ color: var(--text); }
.au-seg button.is-on{ background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.au-steps{ display: flex; flex-direction: column; border-radius: 16px; background: var(--field); padding: 2px 12px; }
.au-step{ display: flex; align-items: center; gap: 12px; min-height: 50px; }
.au-step + .au-step{ border-top: 1px solid var(--hair); }
.au-step > .ic{ flex: none; color: var(--text3); }
.au-step-n{ flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); font: 700 12.5px/1 var(--round); }
.au-step-text{ flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.au-step-text b{ font: 600 14px/1.25 var(--font); }
.au-step-text small{ font-size: 12px; color: var(--text2); }
.au-note{ display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 16px; background: color-mix(in srgb, var(--c) 9%, var(--field)); color: var(--text2); font-size: 14px; line-height: 1.45; }
.au-note > .ic{ flex: none; color: var(--c); margin-top: 2px; }
.au-note strong{ color: var(--text); }
.au .auth-link-btn{ display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.au .btn-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.au .btn-row .btn-filled{ background: var(--c); color: #fff; }
.sheet-auth .sheet-head{ top: 14px; right: 14px; }
.sheet-auth .sheet-head .round-btn{ background: color-mix(in srgb, var(--surface) 72%, transparent); color: var(--text); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@media (max-width: 420px){.au-square{ width: 72px; height: 72px; border-radius: 22px; }.au-text{ padding-top: 40px; }.au-text b{ font-size: 20px; }.au-head{ padding: 0 16px; }.au-body{ padding: 16px; }}
.sheet.ys-sheet{ max-width: 980px; }
.au-square.is-logo{ background: linear-gradient(135deg, #F25E53, #D33A33); }
.au-square{ animation: au-pop .55s cubic-bezier(.3, 1.4, .5, 1) both; }
.au-square:not(.is-logo) > svg > :not([stroke-dasharray]){ stroke-dasharray: 1; animation: au-draw .7s cubic-bezier(.4, 0, .2, 1) .22s both; }
.au-square.is-still, .au-square.is-still > svg > *{ animation: none; }
@media (prefers-reduced-motion: reduce){.au-square, .au-square > svg > *{ animation: none; }}
.au-logo{ width: 100%; height: 100%; display: block; }
.sheet-auth.ks-sheet{ max-width: 560px; }
.sheet.tr-sheet{ max-width: 980px; }
.sheet.ys-sheet{ max-width: 760px; }
.sheet.at-sheet{ max-width: 720px; }
.pw-wrap .field{ padding-right: 48px; }
.pw-fields .field{ padding-right: 48px; }
.sheet.ys-sheet{ max-width: 680px; }
.cv-folder-sheet .sheet-body{ display: flex; flex-direction: column; gap: 14px; }
.sheet.gsheet.look-sheet{ max-width: 640px; }
.sheet .an-banner, .sheet .pf-banner, .tcw-page > .tcb{ box-shadow: none; }
.ysb, .gs-hero, .ys-card, .tr-card, .grade-mini, .look-view-cards .lvc-card,
.sheet:not(.sheet-auth) .au, .auth-card .au,
.ysl-card:hover, .scw-card:hover, .cv-pdf:hover, .cv-pdf-thumb:hover{ box-shadow: none; }
.au-passkey{ gap: 8px; }
.au-method button{ display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.au-method-hint{ display: flex; align-items: flex-start; gap: 6px; margin: 0 4px; text-align: left; }
.au-method-hint .ic{ flex: none; margin-top: 2px; color: var(--c, var(--accent)); }
.auth-pop .au-code{ text-align: center; font-size: 22px; font-weight: 650; letter-spacing: .3em; font-variant-numeric: tabular-nums; }
.auth-pop .au-code::placeholder{ font-size: 15px; font-weight: 500; letter-spacing: 0; }
.au.is-center{ padding-top: 30px; }
.au.is-center .au-head{ flex-direction: column; align-items: center; gap: 14px; margin-top: 0; padding: 0 28px; text-align: center; }
.au.is-center .au-square{ width: 76px; height: 76px; border-radius: 22px; }
.au.is-center .au-text{ padding-top: 0; align-items: center; }
.au.is-center .au-text b{ font-size: 23px; }
.au.is-center .au-body{ padding-top: 22px; }
.au-primary .ic{ margin-left: 2px; }
.au-hint{ display: flex; align-items: center; justify-content: center; gap: 6px; margin: -2px 0 0; }
.au-hint .ic{ flex: none; color: var(--text3); }
.au-or{ display: flex; align-items: center; gap: 12px; color: var(--text3); font-size: 12.5px; margin: 2px 0; }
.au-or::before, .au-or::after{ content: ""; flex: 1; border-top: 1px solid var(--hair); }
.au-alt{ display: flex; gap: 10px; }
.au-alt-btn{ flex: 1; min-width: 0; gap: 8px; }
.au-links{ display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 14px; }
@media (max-width: 360px){.au-alt{ flex-direction: column; }}
.au-wait-num{ display: grid; place-items: center; height: 96px; border-radius: 20px; background: var(--field);
  font: 800 52px/1 var(--round); letter-spacing: .04em; color: var(--text); font-variant-numeric: tabular-nums; }
.au-wait{ display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--text2); font-size: 13.5px; }
.au-wait-dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--c); animation: au-pulse 1.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce){.au-wait-dot{ animation: none; }}
@media (max-width: 420px){.au.is-center .au-head{ padding: 0 20px; }.au.is-center{ padding-top: 24px; }}
.cl-page > .au{ width: 100%; max-width: 420px; box-shadow: none; }
.cl-ask{ margin: 0; text-align: center; font-size: 15px; line-height: 1.45; color: var(--text2); }
/* MARK: Daten löschen (data-wipe-page.js) – zwei Spalten: links Überschrift, Schritte und was bleibt,
   rechts nur der aktuelle Schritt. Am Handy untereinander. Karten ohne Schatten. */
.wipe-page{ max-width: 1040px; min-height: 60svh; margin: 0 auto; padding: 56px var(--gutter) 96px; box-sizing: content-box; }
.wipe-page > .loading-text{ padding-top: 40px; }

.wx{ display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-rows: auto auto 1fr;
  grid-template-areas: "head panel" "track panel" "keep panel"; gap: 22px 48px; align-items: start; }
.wx.is-new{ animation: wx-in .5s var(--ease) both; }
.wx-panel-in.is-new{ animation: wx-in .4s var(--ease) both; }
@keyframes wx-in{ from{ opacity: 0; transform: translateY(10px); } }

/* Links: Kopf */
.wx-head{ grid-area: head; }
.wx-title{ margin: 0 0 14px; color: var(--ink); font-size: clamp(34px, 4.3vw, 48px); hyphens: auto; }
.wx-title span{ display: block; color: var(--ink-3); }
.wx-lead{ max-width: 420px; margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.5; }

/* Links: Schritte untereinander, mit Linie dazwischen */
.wx-track{ grid-area: track; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.wx-track li{ position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: start; gap: 12px; padding: 0 0 18px; color: var(--ink-3); }
.wx-track li:last-child{ padding-bottom: 0; }
.wx-track li:not(:last-child)::before{ content: ""; position: absolute; left: 13.5px; top: 32px; bottom: 4px; width: 1px; background: var(--line); }
.wx-track li.is-done:not(:last-child)::before{ background: var(--ink-3); }
.wx-track-dot{ display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--fill); color: var(--ink-2); font-size: 12.5px; font-weight: 700; }
.wx-track-dot .ic{ stroke-width: 3; }
.wx-track li.is-done .wx-track-dot{ background: var(--inv); color: var(--on-inv); }
.wx-track li.is-on .wx-track-dot{ background: #e2453d; color: #fff; }
.wx-track-text{ display: grid; gap: 1px; min-width: 0; padding-top: 4px; }
.wx-track-text b{ font-size: 15px; font-weight: 650; line-height: 1.3; }
.wx-track li.is-on, .wx-track li.is-done{ color: var(--ink); }
.wx-track-text small{ overflow: hidden; color: var(--ink-3); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }

/* Links: was bleibt */
.wx-keep{ grid-area: keep; display: grid; gap: 12px; }
.wx-fine{ margin: 0; color: var(--ink-3); font-size: 13px; line-height: 1.5; }
.wx-fine a, .wx-note a, .wipe-page .form-error a{ color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.wipe-page .form-error{ margin: 0; font-size: 13.5px; font-weight: 600; }

/* Rechts: der aktuelle Schritt */
.wx-panel{ grid-area: panel; padding: 28px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); }
.wx-panel-title{ margin: 0 0 8px; color: var(--ink); font: 800 clamp(24px, 2.6vw, 30px)/1.15 var(--display); letter-spacing: -.025em; outline: none; }
.wx-panel-lead{ margin: 0 0 20px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.wx-panel-lead strong{ color: var(--ink); font-weight: 650; }
.wx-body{ display: grid; gap: 14px; }
.wx-done-mark{ display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 15px; background: var(--inv); color: var(--on-inv); }
.wx-done-mark .ic{ stroke-width: 3; }

.wx-who{ display: inline-flex; align-items: center; gap: 8px; justify-self: start; max-width: 100%; margin: 0; padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--fill); color: var(--ink); font-size: 14px; font-weight: 600; }
.wx-who > span{ min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wx-who .ic{ flex: none; color: var(--ink-3); }
.wx-who .auth-link-btn{ flex: none; padding: 0 0 0 8px; border-left: 1px solid var(--line); color: var(--ink-3); font-size: 13px; font-weight: 600; }
.wx-who .auth-link-btn:hover{ color: var(--ink); }

/* Knöpfe */
.wx-actions{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wx-actions .btn{ gap: 8px; min-width: 170px; height: 48px; padding: 0 22px; border-radius: 14px; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.wx-actions .btn .ic{ flex: none; }
.wx-actions .btn-quiet{ min-width: 0; background: var(--fill); }
.wx-actions .btn-quiet:hover{ background: var(--fill-2); }
.wx-actions .btn:disabled{ opacity: .45; cursor: default; transform: none; }
.wx-actions .btn:focus-visible{ outline: 2px solid var(--ink); outline-offset: 2px; }
.wx-danger{ background: #e5484d; color: #fff; }
.wx-danger:hover{ background: #d13d42; }

/* Code */
.wx-form{ display: grid; gap: 12px; margin: 0; }
.wx-code{ box-sizing: border-box; width: 100%; max-width: 320px; height: 56px; padding: 0 14px; border-radius: 14px; border: 1.5px solid color-mix(in srgb, var(--ink) 22%, transparent);
  background: var(--card); color: var(--ink); font: 700 22px/1 inherit; letter-spacing: .26em; text-align: center; font-variant-numeric: tabular-nums; }
.wx-code::placeholder{ color: var(--ink-3); font-size: 15px; font-weight: 500; letter-spacing: 0; }
.wx-code:focus{ outline: none; border-color: var(--ink); }

/* Auswahl: eine Zeile pro Bereich, ein Tipp = an/aus */
.wx-picks{ display: grid; gap: 6px; }
.wx-pick, .wx-reject{ display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; width: 100%; padding: 9px 12px 9px 9px;
  border-radius: 15px; background: none; border: 1px solid var(--line); color: var(--ink); font: inherit; text-align: left; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, transform .15s var(--ease); }
.wx-pick:hover, .wx-reject:hover{ border-color: color-mix(in srgb, var(--ink) 28%, transparent); }
.wx-pick:active, .wx-reject:active{ transform: scale(.985); }
.wx-pick:focus-visible, .wx-reject:focus-visible{ outline: 2px solid var(--ink); outline-offset: 2px; }
.wx-pick.is-on{ border-color: var(--ink); background: var(--fill); }
.wx-pick[aria-disabled="true"]{ cursor: default; transform: none; }
.wx-pick-icon{ display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--fill); color: var(--ink-2); transition: background-color .15s ease, color .15s ease; }
.wx-pick-icon .ic{ width: 17px; height: 17px; }
.wx-pick.is-on .wx-pick-icon{ background: var(--inv); color: var(--on-inv); }
.wx-pick-text{ display: grid; gap: 1px; min-width: 0; }
.wx-pick-text b{ font-size: 14.5px; font-weight: 650; line-height: 1.3; }
.wx-pick-text small{ color: var(--ink-2); font-size: 12.5px; line-height: 1.35; }
.wx-pick-count{ color: var(--ink-3); font-size: 12px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wx-pick.is-empty:not(.is-on) :is(.wx-pick-text, .wx-pick-icon, .wx-pick-count){ opacity: .5; }
.wx-check{ display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--ink-3); transition: background-color .15s ease, border-color .15s ease; }
.wx-check .ic{ width: 13px; height: 13px; stroke-width: 3; }
.wx-pick.is-on .wx-check{ background: var(--inv); border-color: var(--inv); color: var(--on-inv); }

/* Beim Ablehnen geht alles weg: Zeilen treten zurück, Häkchen rot */
.wx-picks.is-reject .wx-pick{ border-color: var(--line); background: none; }
.wx-picks.is-reject .wx-pick :is(.wx-pick-text, .wx-pick-icon, .wx-pick-count){ opacity: .55; }
.wx-picks.is-reject .wx-pick .wx-pick-icon{ background: var(--fill); color: var(--ink-2); }
.wx-picks.is-reject .wx-pick .wx-check{ background: #e5484d; border-color: #e5484d; color: #fff; }

/* Rote Zeile: alles löschen und Datenschutz ablehnen */
.wx-reject{ grid-template-columns: auto minmax(0, 1fr) auto; padding: 12px 14px 12px 10px; }
.wx-reject-icon{ display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: color-mix(in srgb, #e5484d 14%, transparent); color: #e5484d; }
.wx-reject-icon .ic{ width: 18px; height: 18px; }
.wx-reject .wx-pick-text b{ color: #e5484d; }
.wx-reject.is-on{ border-color: #e5484d; background: color-mix(in srgb, #e5484d 7%, var(--card)); }
.wx-reject.is-on .wx-reject-icon{ background: #e5484d; color: #fff; }
.wx-reject.is-on .wx-check{ background: #e5484d; border-color: #e5484d; color: #fff; }

/* Weiter-Knopf bleibt beim Scrollen unten sichtbar */
.wx-sticky{ position: sticky; bottom: 12px; z-index: 2; padding: 8px; margin: 0 -8px; border-radius: 22px;
  background: color-mix(in srgb, var(--card) 84%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.wx-sticky .btn{ flex: 1 1 auto; }

/* Listen und Hinweis */
.wx-card{ margin: 0; padding: 14px 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.wx-panel .wx-card{ background: none; }
.wx-card-head{ margin: 2px 0 6px; color: var(--ink-3); font: 700 11.5px/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.wx-list{ display: grid; margin: 0; padding: 0; list-style: none; }
.wx-list li{ display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: 14.5px; line-height: 1.4; }
.wx-list li:first-child{ border-top: 0; padding-top: 3px; }
.wx-list li:last-child{ padding-bottom: 3px; }
.wx-li-icon{ flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: -2px; border-radius: 8px; background: var(--fill); color: var(--ink-2); }
.wx-li-icon .ic{ width: 14px; height: 14px; }
.wx-card.is-danger{ border-color: color-mix(in srgb, #e5484d 35%, var(--line)); }
.wx-card.is-danger .wx-card-head{ color: #e5484d; }
.wx-card.is-danger .wx-li-icon{ background: color-mix(in srgb, #e5484d 14%, transparent); color: #e5484d; }
.wx-note{ display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 16px; background: var(--fill); color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.wx-note .ic{ flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--ink); }
.wx-note strong{ color: var(--ink); }

@media (max-width: 860px){
  .wipe-page{ padding-top: 28px; padding-bottom: 48px; }
  .wx{ grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "track" "panel" "keep"; gap: 18px; }
  .wx-title span{ display: inline; }
  .wx-lead{ font-size: 16px; }
  /* Schritte als Reihe: nur der aktuelle mit Namen */
  .wx-track{ display: flex; flex-wrap: wrap; gap: 6px; }
  .wx-track li{ display: inline-flex; align-items: center; gap: 7px; padding: 3px 12px 3px 3px; border-radius: 999px; background: var(--fill); }
  .wx-track li::before{ display: none; }
  .wx-track li:not(.is-on){ padding-right: 3px; }
  .wx-track li:not(.is-on) .wx-track-text{ display: none; }
  .wx-track li.is-on{ background: var(--inv); color: var(--on-inv); }
  .wx-track-dot{ width: 24px; height: 24px; font-size: 11.5px; }
  .wx-track-text{ padding: 0; }
  .wx-track-text b{ font-size: 13px; }
  .wx-track-text small{ display: none; }
  .wx-panel{ padding: 20px 16px; border-radius: 24px; }
  .wx-pick{ grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; }
  .wx-pick-icon{ grid-row: 1 / 3; }
  .wx-pick-count{ grid-column: 2; grid-row: 2; margin-top: -6px; }
  .wx-check{ grid-column: 3; grid-row: 1 / 3; }
  .wx-actions .btn{ flex: 1 1 100%; min-width: 0; }
  .wx-code{ max-width: none; }
}
@media (prefers-reduced-motion: reduce){
  .wx.is-new, .wx-panel-in.is-new{ animation: none; }
  .wx-pick, .wx-reject, .wx-check, .wx-pick-icon{ transition: none; }
  .wx-pick:active, .wx-reject:active{ transform: none; }
}

.ag{ display: grid; gap: 14px; }
.ag-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ag-tile{ position: relative; display: grid; gap: 6px; justify-items: start; text-align: left; padding: 16px 14px 14px; border: 2px solid transparent; border-radius: 18px; background: var(--field); color: var(--text); font: inherit; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.ag-tile:hover{ background: color-mix(in srgb, var(--text) 6%, var(--field)); }
.ag-tile.is-on{ border-color: var(--text); }
.ag-tile:focus-visible{ outline: 2px solid var(--text); outline-offset: 2px; }
.ag-tile > b{ font: 750 30px/1 var(--font-round, var(--font)); letter-spacing: -.01em; }
.ag-text{ display: grid; gap: 2px; }
.ag-text > span{ font-weight: 650; font-size: 15px; }
.ag-text small{ font-size: 12.5px; line-height: 1.35; color: var(--text2); }
.ag-radio{ position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; box-sizing: border-box; border: 2px solid color-mix(in srgb, var(--text) 25%, transparent); color: var(--bg); }
.ag-tile.is-on .ag-radio{ border-color: var(--text); background: var(--text); }
.ag-parent{ display: grid; gap: 8px; }
.ag-label{ font-size: 13px; font-weight: 600; color: var(--text2); margin: 0 4px; }
@media (max-width: 380px){.ag-grid{ grid-template-columns: minmax(0, 1fr); }}
@media (prefers-reduced-motion: reduce){.ag-tile{ transition: none; }}
.pcs-list{ display: grid; gap: 8px; margin: 0; padding: 12px 14px; list-style: none; border-radius: 16px; background: var(--field); }
.pcs-list li{ display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; color: var(--text); }
.pcs-list li > svg{ flex: none; margin-top: 1px; color: var(--text2); }
.cl-page .auth-fine a, .cl-page .au-note a{ color: inherit; text-decoration: underline; }
.sheet-okto{ max-width: 400px; border-radius: 28px; transform: translateY(14px) scale(.97); }
.sheet-layer.is-auth.is-open .sheet-okto{ transform: none; }
.sheet-layer.is-auth.is-closing .sheet-okto{ transform: translateY(14px) scale(.97); }
.sheet-okto .sheet-head{ position: absolute; top: 14px; right: 14px; padding: 0; z-index: 3; }
.sheet-okto .sheet-head-text{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sheet-okto .sheet-head .round-btn{ width: 30px; height: 30px; border: 0; background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--text2); }
.sheet-okto .sheet-body{ padding: 34px 24px 22px; }
.sheet-okto .sheet-foot{ display: none; }
@media (prefers-reduced-motion: reduce){.sheet-okto{ transform: none; }}
.hx-contact-form .field{ background: var(--field); }
.ax{ max-width: 1080px; margin: 0 auto; padding: 64px 20px 80px; }
.ax-hero{ max-width: 760px; margin: 0 auto; text-align: center; }
.ax-eyebrow{ display: inline-block; margin: 0; padding: 6px 12px; border-radius: 999px; background: var(--field); color: var(--text2); font: 700 12px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; }
.ax-hero h1{ margin: 18px 0 0; font: 800 clamp(46px, 8vw, 92px)/1 var(--font); letter-spacing: -.04em; }
.ax-hero h1 span{ color: var(--text3); }
.ax-lead{ margin: 20px auto 0; max-width: 560px; color: var(--text2); font-size: 18px; line-height: 1.5; }
.ax-meta{ margin: 14px 0 0; color: var(--text3); font-size: 13px; }
.ax-grid{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.ax-card{ display: flex; flex-direction: column; min-width: 0; padding: 14px 14px 24px; border-radius: 28px; background: var(--surface); }
.ax-card h2{ margin: 20px 10px 0; font: 800 20px/1.2 var(--font); letter-spacing: -.01em; }
.ax-card > p{ margin: 8px 10px 0; color: var(--text2); font-size: 15px; line-height: 1.5; }
.ax-demo{ position: relative; display: grid; place-items: center; height: 168px; border-radius: 20px; background: var(--field); overflow: hidden; }
.ax-mini{ display: flex; flex-direction: column; gap: .2em; min-width: 9.5em; padding: .9em 1.1em; border-radius: 1.1em; background: var(--surface); color: var(--text); font-size: 14px; border: 2px solid transparent; }
.ax-mini small{ color: var(--text3); font: 700 .78em/1 var(--font); letter-spacing: .04em; text-transform: uppercase; }
.ax-mini b{ font: 800 1.35em/1.15 var(--font); }
.ax-mini span{ color: var(--text2); font-size: .86em; }
.ax-text .ax-mini{ animation: ax-grow 4.4s ease-in-out infinite; }
.ax-aa{ position: absolute; right: 14px; bottom: 12px; display: flex; align-items: baseline; gap: 2px; color: var(--text3); font-weight: 800; }
.ax-aa i{ font-style: normal; font-size: 13px; }
.ax-aa i + i{ font-size: 20px; color: var(--text); }
.ax-vo{ align-content: center; gap: 18px; }
.ax-chips{ display: flex; gap: 8px; }
.ax-chips span{ padding: 9px 13px; border-radius: 12px; background: var(--surface); color: var(--text); font: 700 14px/1 var(--font); outline: 3px solid transparent; outline-offset: 3px; animation: ax-ring 6s infinite; }
.ax-say{ position: relative; width: 100%; height: 20px; margin: 0; text-align: center; color: var(--text); font: 600 14px/20px var(--font); }
.ax-say span{ position: absolute; inset: 0; opacity: 0; animation: ax-cap 6s infinite; }
:is(.ax-chips, .ax-say) span:nth-child(2){ animation-delay: 2s; }
:is(.ax-chips, .ax-say) span:nth-child(3){ animation-delay: 4s; }
.ax-contrast .ax-mini{ font-size: 15px; animation: ax-contrast 4.4s ease-in-out infinite; }
.ax-contrast .ax-mini :is(small, span){ animation: ax-contrast-text 4.4s ease-in-out infinite; }
.ax-dark .ax-mini{ font-size: 15px; animation: ax-dark 5s ease-in-out infinite; }
.ax-dark .ax-mini :is(small, span){ color: inherit; opacity: .6; }
.ax-motion{ grid-auto-flow: column; gap: 22px; }
.ax-track{ position: relative; width: 120px; height: 14px; border-radius: 7px; background: var(--surface); }
.ax-track i{ position: absolute; top: 1px; left: 1px; width: 12px; height: 12px; border-radius: 50%; background: var(--text); animation: ax-dot 5s ease-in-out infinite; }
.ax-switch{ position: relative; width: 46px; height: 28px; border-radius: 14px; background: var(--hair); animation: ax-switch 5s infinite; }
.ax-switch i{ position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); animation: ax-knob 5s infinite; }
.ax-color{ grid-auto-flow: column; gap: 10px; }
.ax-grade{ display: flex; align-items: baseline; gap: 5px; padding: 12px 14px; border-radius: 14px; background: var(--surface); }
.ax-grade b{ font: 800 22px/1 var(--round); }
.ax-grade i{ font: 800 17px/1 var(--font); font-style: normal; animation: ax-bob 2.4s ease-in-out infinite; }
.ax-grade:nth-child(2) i{ animation-delay: .3s; }
.ax-grade:nth-child(3) i{ animation-delay: .6s; }
.ax-setup{ margin-top: 88px; }
.ax-setup > h2, .ax-help h2{ margin: 0; font: 800 clamp(30px, 4vw, 44px)/1.1 var(--font); letter-spacing: -.03em; }
.ax-howto{ margin: 22px 0 0; }
.ax-howto > div{ display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 6px 24px; padding: 20px 0; border-top: 1px solid var(--hair); }
.ax-howto > div:last-child{ border-bottom: 1px solid var(--hair); }
.ax-howto dt{ font: 700 17px/1.5 var(--font); }
.ax-howto dd{ margin: 0; color: var(--text2); font-size: 16px; line-height: 1.6; }
.ax-howto dd b{ color: var(--text); font-weight: 600; }
.ax-note{ margin: 18px 0 0; color: var(--text3); font-size: 14px; line-height: 1.5; }
.ax-help{ margin-top: 88px; padding: 48px 24px; border-radius: 32px; background: var(--text); color: var(--bg); text-align: center; }
.ax-help p{ margin: 10px 0 0; color: color-mix(in srgb, var(--bg) 66%, transparent); font-size: 17px; }
.ax-help-cta{ display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.ax-help .btn-filled, .ax-help .btn-filled:hover{ background: var(--bg); border-color: var(--bg); color: var(--text); }
.ax-help .btn-quiet, .ax-help .btn-quiet:hover{ background: transparent; box-shadow: inset 0 0 0 1.5px var(--bg); color: var(--bg); }
.ax-help .btn-quiet:hover{ background: var(--bg); color: var(--text); }
.ax-help .btn:focus-visible{ outline: 2px solid var(--bg); outline-offset: 3px; }
@media (max-width: 900px){.ax-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 600px){.ax{ padding-top: 44px; }.ax-howto > div{ grid-template-columns: 1fr; }.ax-grid{ grid-template-columns: 1fr; margin-top: 40px; }.ax-setup, .ax-help{ margin-top: 64px; }}
@media (prefers-reduced-motion: reduce){.ax-text .ax-mini, .ax-chips span, .ax-say span, .ax-contrast .ax-mini, .ax-contrast .ax-mini :is(small, span), .ax-dark .ax-mini,
  .ax-track i, .ax-switch, .ax-switch i, .ax-grade i{ animation: none; }.ax-chips span:first-child{ outline-color: var(--text); }.ax-say span:first-child{ opacity: 1; }.ax-contrast .ax-mini{ border-color: var(--text); }.ax-switch{ background: var(--text); }.ax-switch i{ transform: translateX(18px); }}
.ax-howto dd a{ color: var(--text); }
.ag-scale-wrap{ max-width: 640px; margin: 56px auto 0; text-align: center; }
.ag-scale{ --w: calc((100% - 48px) / 5); --s: calc(var(--w) + 8px);
  position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 8px; border-radius: 26px; background: var(--surface); }
.ag-scale span{ padding: 20px 0; color: var(--text3); font: 800 clamp(18px, 3.2vw, 28px)/1 var(--round); text-align: center; }
.ag-hl{ position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 8px; border-radius: inherit;
  background: var(--text); pointer-events: none;
  clip-path: inset(8px calc(100% - 8px - var(--w) - 2 * var(--s)) 8px calc(8px + 2 * var(--s)) round 18px); }
.ag-hl span{ color: var(--bg); }
.ag-badge{ position: absolute; z-index: 2; top: -9px; left: calc(8px + 2 * var(--s) + var(--w) - 17px); width: 28px; height: 28px; }
.ag-badge svg{ display: block; width: 100%; height: 100%; }
.ag-scale-note{ position: relative; margin: 14px 0 0; color: var(--text3); font: 600 13px/1.3 var(--font); }
.ag-scale-note::before{ content: ""; position: absolute; left: 50%; top: -9px; width: 8px; height: 8px; margin-left: -4px; border-radius: 2px; background: var(--text3); transform: rotate(45deg); opacity: .6; }
.ag-scale-wrap.is-armed .ag-hl{ clip-path: inset(8px calc(100% - 8px - var(--w)) 8px 8px round 18px); }
.ag-scale-wrap.is-armed :is(.ag-badge, .ag-scale-note){ opacity: 0; }
.ag-scale-wrap.is-go .ag-hl{ animation: ag-scan 2.3s both; }
.ag-scale-wrap.is-go .ag-hl span:nth-child(3){ animation: ag-pop .55s cubic-bezier(.3, 1.6, .5, 1) 2.15s both; }
.ag-scale-wrap.is-go .ag-badge{ animation: ag-badge .6s cubic-bezier(.3, 1.6, .5, 1) 2.25s both; }
.ag-scale-wrap.is-go .ag-scale-note{ animation: ag-note .5s ease 2.35s both; }
.ag-nots-wrap{ margin-top: 52px; }
.ag-nots-wrap h2{ margin: 0; font: 800 clamp(30px, 4vw, 44px)/1.1 var(--font); letter-spacing: -.03em; }
.ag-nots{ display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.ag-not{ display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 20px; border-radius: 24px; background: var(--surface); }
.ag-icon{ display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 12px; border-radius: 15px; background: var(--field); color: var(--text); }
.ag-icon svg{ width: 26px; height: 26px; }
.ag-not b{ font: 700 16px/1.25 var(--font); }
.ag-not small{ color: var(--text2); font-size: 14px; line-height: 1.4; }
.ag-strike{ stroke-width: 2.2; stroke-dasharray: 1; animation: ag-strike .5s ease-out both; animation-delay: calc(.5s + var(--i, 0) * .12s); }
@supports (animation-timeline: view()){.ag-strike{ animation: ag-strike linear both; animation-delay: 0s; animation-timeline: view(); animation-range: entry 60% cover 40%; }}
@media (max-width: 900px){.ag-nots{ grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 600px){.ag-nots{ grid-template-columns: repeat(2, minmax(0, 1fr)); }.ag-not{ padding: 16px; }.ag-nots-wrap{ margin-top: 40px; }}
@media (prefers-reduced-motion: reduce){.ag-strike, .ag-scale-wrap.is-go :is(.ag-hl, .ag-hl span, .ag-badge, .ag-scale-note){ animation: none; }}

/* Bewegungen */
@keyframes ag-badge { from { opacity: 0; transform: scale(0) rotate(-30deg); } }
@keyframes ag-note { from { opacity: 0; transform: translateY(-6px); } }
@keyframes ag-pop { 40% { transform: scale(1.18); } }
@keyframes ag-scan {
  0%   { clip-path: inset(8px calc(100% - 8px - var(--w)) 8px calc(8px + 0 * var(--s)) round 18px); animation-timing-function: cubic-bezier(.5, 0, .3, 1); }
  12%  { clip-path: inset(8px calc(100% - 8px - var(--w) - 1 * var(--s)) 8px calc(8px + 0 * var(--s)) round 18px); animation-timing-function: cubic-bezier(.5, 0, .3, 1); }
  22%  { clip-path: inset(8px calc(100% - 8px - var(--w) - 1 * var(--s)) 8px calc(8px + 1 * var(--s)) round 18px); animation-timing-function: cubic-bezier(.5, 0, .3, 1); }
  33%  { clip-path: inset(8px calc(100% - 8px - var(--w) - 2 * var(--s)) 8px calc(8px + 1 * var(--s)) round 18px); animation-timing-function: cubic-bezier(.5, 0, .3, 1); }
  43%  { clip-path: inset(8px calc(100% - 8px - var(--w) - 2 * var(--s)) 8px calc(8px + 2 * var(--s)) round 18px); animation-timing-function: cubic-bezier(.5, 0, .3, 1); }
  54%  { clip-path: inset(8px calc(100% - 8px - var(--w) - 3 * var(--s)) 8px calc(8px + 2 * var(--s)) round 18px); animation-timing-function: cubic-bezier(.5, 0, .3, 1); }
  64%  { clip-path: inset(8px calc(100% - 8px - var(--w) - 3 * var(--s)) 8px calc(8px + 3 * var(--s)) round 18px); animation-timing-function: cubic-bezier(.5, 0, .3, 1); }
  77%  { clip-path: inset(8px calc(100% - 8px - var(--w) - 3 * var(--s)) 8px calc(8px + 2 * var(--s)) round 18px); animation-timing-function: cubic-bezier(.3, 0, .2, 1.4); }
  90%, 100% { clip-path: inset(8px calc(100% - 8px - var(--w) - 2 * var(--s)) 8px calc(8px + 2 * var(--s)) round 18px); }
}
@keyframes ag-strike { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes au-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes au-pop { 0% { transform: scale(.55); opacity: 0; } 60% { transform: scale(1.07); opacity: 1; } 100% { transform: none; } }
@keyframes au-pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes auth-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes ax-bob { 0%, 100% { transform: none; } 50% { transform: translateY(-3px); } }
@keyframes ax-cap { 0% { opacity: 0; transform: translateY(4px); } 4%, 29% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; } }
@keyframes ax-contrast { 0%, 40%, 100% { border-color: transparent; } 50%, 90% { border-color: var(--text); } }
@keyframes ax-contrast-text { 0%, 40%, 100% { color: var(--text3); } 50%, 90% { color: var(--text); } }
@keyframes ax-dark { 0%, 40%, 100% { background: #FFFFFF; color: #111113; border-color: rgba(0, 0, 0, .08); } 50%, 90% { background: #111113; color: #FFFFFF; border-color: rgba(255, 255, 255, .14); } }
@keyframes ax-dot { 0%, 100% { left: 1px; } 12%, 36% { left: 107px; } 24% { left: 1px; } 48%, 99% { left: 1px; } }
@keyframes ax-grow { 0%, 18%, 100% { font-size: 13px; } 45%, 72% { font-size: 17.5px; } }
@keyframes ax-knob { 0%, 49% { transform: none; } 52%, 98% { transform: translateX(18px); } }
@keyframes ax-ring { 0%, 31% { outline-color: var(--text); } 34%, 100% { outline-color: transparent; } }
@keyframes ax-switch { 0%, 49% { background: var(--hair); } 52%, 98% { background: var(--text); } }
