/* =========================================================
   ClipDoc — Design System (shared across all pages)
   ========================================================= */
:root {
  --bg:      #FBFCFE;
  --bg-2:    #F1F5F9;
  --card:    #FFFFFF;
  --ink:     #1B1B1E;
  --ink-2:   #42424A;
  --ink-3:   #7A7A82;
  --line:    rgba(27,27,30,0.10);
  --line-2:  rgba(27,27,30,0.06);

  --accent:   #F2A88C;
  --accent-soft: #FFF1EA;
  --accent-2: #DDF7EA;
  --accent-3: #D9EAFF;
  --accent-4: #F3E6FF;
  --accent-5: #FFF2C7;

  --font:   "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --serif:  "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --r-sm: 14px;
  --r:    22px;
  --r-lg: 32px;
  --r-xl: 48px;

  --shadow-soft: 0 30px 60px -30px rgba(20,20,30,0.18), 0 10px 30px -12px rgba(20,20,30,0.10);
  --shadow-hi:   0 60px 120px -40px rgba(20,20,30,0.22), 0 20px 40px -12px rgba(20,20,30,0.12);
  --shadow-btn:  0 8px 20px -6px rgba(20,20,30,0.18), inset 0 1px 0 rgba(255,255,255,0.4);
  --shadow-card: 0 4px 24px -8px rgba(20,20,30,0.10), 0 1px 4px rgba(20,20,30,0.05);

  --ease:     cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-mist: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: no-preference) {
  body {
    transition:
      background-color 1.35s var(--ease-mist),
      color 1.15s var(--ease-mist);
  }
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.88s;
  animation-timing-function: var(--ease-mist);
}

.cd {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
@media (prefers-reduced-motion: no-preference) {
  .cd {
    transition: text-decoration-color 0.65s var(--ease-mist);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  overflow-x: hidden;
}
@supports (overflow: clip) {
  html { overflow-x: clip; }
}
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--ink); color: var(--bg); }

.wrap { width: 100%; max-width: 1320px; padding-inline: clamp(20px, 4vw, 48px); margin-inline: auto; min-width: 0; }
.wrap--narrow { width: 100%; max-width: 800px; padding-inline: clamp(20px, 4vw, 48px); margin-inline: auto; min-width: 0; }

/* NAV — floating pill */
.nav {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  z-index: 100;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px; padding-left: 16px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent-soft) 28%, rgba(255,255,255,.88)) 0%,
    rgba(255,255,255,.78) 55%,
    color-mix(in srgb, var(--accent-3) 12%, rgba(255,255,255,.82)) 100%
  );
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid color-mix(in srgb, var(--accent) 14%, var(--line));
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  max-width: calc(100vw - 24px);
}
.nav .brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.015em;
  padding-right: 8px;
}
.nav .brand .mk {
  width: 24px; height: 24px;
  display: block;
  object-fit: contain;
}
.nav .links { display: flex; align-items: center; gap: 8px; margin: 0 6px; }
.nav .links a {
  padding: 8px 14px; border-radius: 999px;
  font-size: 13.5px; color: var(--ink-2); font-weight: 500;
  border: 1px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.nav .links a:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.62), rgba(255,255,255,0.34));
  border-color: rgba(255,255,255,0.64);
  color: var(--ink);
  box-shadow:
    0 6px 16px -12px rgba(20,20,30,0.28),
    inset 0 1px 0 rgba(255,255,255,0.86),
    inset 0 -1px 0 rgba(27,27,30,0.08);
  backdrop-filter: blur(16px);
}
.nav .links a.active {
  background: linear-gradient(135deg, rgba(255,255,255,0.72), rgba(255,255,255,0.45));
  border-color: rgba(255,255,255,0.78);
  color: var(--ink);
  font-weight: 700;
  backdrop-filter: blur(18px);
  box-shadow:
    0 8px 20px -10px rgba(20,20,30,0.30),
    inset 0 1px 0 rgba(255,255,255,0.92),
    inset 0 -1px 0 rgba(27,27,30,0.10);
}
.nav .cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-size: 13.5px; font-weight: 500; white-space: nowrap;
  box-shadow: var(--shadow-btn), 0 16px 30px -18px rgba(20,20,30,0.44);
  will-change: transform;
  transform: scale(1);
  transition: transform .52s cubic-bezier(0.22, 1.35, 0.28, 1), box-shadow .36s var(--ease-out), filter .3s var(--ease);
}
.nav .cta:hover {
  transform: scale(1.045);
  box-shadow: var(--shadow-btn), 0 22px 38px -18px rgba(20,20,30,0.52);
  filter: brightness(1.02);
}
.nav .cta:active {
  transform: scale(0.985);
  transition-duration: .16s;
}
.nav .cta .arr { transition: transform .36s var(--ease-out); }
.nav .cta:hover .arr { transform: translateX(4px); }
@media (max-width: 720px) { .nav .links { display: none; } }

/* PAGE HEADER (non-hero pages) */
.page-header {
  padding: 140px 0 60px;
  border-bottom: 1px solid var(--line-2);
}
.page-header .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 16px;
}
.page-header .eyebrow::before {
  content: ""; width: 20px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.page-header h1 {
  font-weight: 700;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.0; letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.page-header h1 .it { font-style: italic; color: var(--ink-2); }
.page-header p {
  font-size: 18px; color: var(--ink-2); max-width: 520px; line-height: 1.55; margin: 0;
}

/* SHARED SECTION */
.section { padding: 80px 0; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 500;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), filter .2s var(--ease);
  text-decoration: none;
}
.btn--primary {
  background: var(--ink); color: var(--bg);
  box-shadow: var(--shadow-btn), 0 20px 40px -16px rgba(20,20,30,0.35);
}
.btn--primary:hover { transform: translateY(-2px); color: var(--bg); filter: saturate(1.08); }
.btn--primary:active { filter: saturate(1.28); }
.btn--ghost {
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); box-shadow: var(--shadow-card);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--accent-soft) 28%, var(--card));
  color: var(--ink);
}
.btn--ghost:active {
  background: color-mix(in srgb, var(--accent-soft) 58%, var(--card));
}
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* FOOTER */
.foot {
  padding: 18px 0;
  border-top: 1px solid transparent;
  font-size: 12px;
  color: var(--ink-3);
  margin-top: auto;
  background: transparent;
}
.foot-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  flex-wrap: wrap;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 76%, transparent);
  box-shadow: 0 8px 22px -22px rgba(20,20,30,0.26), inset 0 1px 0 rgba(255,255,255,0.68);
}
.foot .brand {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 13px; color: var(--ink); letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  min-width: 108px;
}
.foot .brand .mk {
  width: 18px; height: 18px;
  display: block; object-fit: contain;
}
.foot .cd { text-decoration: none; text-underline-offset: 0; }
.foot-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
}
.foot-nav a {
  color: var(--ink-3);
  line-height: 1.25;
  font-weight: 500;
  padding: 6px 9px;
  border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.foot-nav a:hover {
  color: var(--ink);
  background: rgba(27,27,30,0.045);
}
.foot-note {
  color: var(--ink-3);
  white-space: nowrap;
  text-align: right;
  font-weight: 500;
}

/* CARD */
.card-base {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}

/* FORM INPUTS */
.field-label {
  display: block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 8px;
}
.field-input {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  padding: 14px 16px;
  font-size: 16px; font-family: inherit; color: var(--ink);
  background: var(--card);
  outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field-input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(27,27,30,0.08);
}
.field-input::placeholder { color: var(--ink-3); }
textarea.field-input { resize: vertical; min-height: 120px; line-height: 1.55; }

/* ── NAV HAMBURGER ── */
.nav-burger {
  display: none;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  padding: 8px; border-radius: 10px;
  flex-shrink: 0; color: var(--ink);
  position: relative;
  overflow: hidden;
  transition:
    background .22s var(--ease-out),
    transform .34s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow .28s var(--ease-out);
}
.nav-burger:hover { background: rgba(27,27,30,0.07); }
.nav-burger:active { transform: scale(0.94); }
.nav-burger .burger-ico,
.nav-burger .close-ico {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  transition:
    opacity .2s ease,
    transform .34s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-burger .close-ico {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-45deg) scale(0.72);
}
.nav-burger[aria-expanded="true"] {
  background: rgba(255,255,255,0.66);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82), 0 10px 22px -18px rgba(20,20,30,0.32);
}
.nav-burger[aria-expanded="true"] .burger-ico {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(45deg) scale(0.72);
}
.nav-burger[aria-expanded="true"] .close-ico {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

.nav-mobile-menu {
  display: flex; position: absolute;
  top: calc(100% + 10px); left: 0; right: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--line);
  border-radius: 20px; padding: 8px;
  box-shadow: var(--shadow-soft);
  flex-direction: column; gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.985);
  transform-origin: top center;
  transition:
    opacity .22s ease,
    visibility 0s linear .24s,
    transform .34s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}
.nav-mobile-menu a {
  padding: 13px 16px; border-radius: 14px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transform: translateY(-3px);
  opacity: 0;
  transition:
    background .2s var(--ease),
    color .2s,
    opacity .24s ease,
    transform .32s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-mobile-menu.open a {
  opacity: 1;
  transform: translateY(0);
}
.nav-mobile-menu.open a:nth-child(2) { transition-delay: .025s; }
.nav-mobile-menu.open a:nth-child(3) { transition-delay: .05s; }
.nav-mobile-menu.open a:nth-child(4) { transition-delay: .075s; }
.nav-mobile-menu.open a:nth-child(5) { transition-delay: .1s; }
.nav-mobile-menu:not(.open) a { transition-delay: 0s; }
.nav-mobile-menu a:active {
  transform: scale(0.985);
}
.nav-mobile-menu a:hover,
.nav-mobile-menu a.active { background: rgba(255,255,255,0.72); color: var(--ink); }

/* ── PAGE HEADER: soft background ── */
.page-header { position: relative; }
.page-header::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 16% 20%, var(--accent-2), transparent 30%),
    radial-gradient(circle at 84% 18%, var(--accent-3), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.64), rgba(251,252,254,0));
  opacity: 0.82;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 80%);
  pointer-events: none;
}

/* ── KICKER ── */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 8px;
}
.kicker .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent);
  animation: dotPulse 2.6s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent); }
  50%       { box-shadow: 0 0 0 9px color-mix(in srgb, var(--accent) 0%, transparent); }
}

/* ── CTA BLOCK (seitenübergreifend) ── */
.cta-block { padding: 0 clamp(20px, 4vw, 40px) 100px; max-width: 1320px; margin: 0 auto; }
.cta-card {
  background: var(--ink); color: #fff;
  border-radius: 34px; padding: 70px clamp(28px, 5vw, 72px);
  display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-card::before {
  content: ""; position: absolute; inset: auto -10% -60% auto; width: 50%; aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle, var(--accent), transparent 65%); opacity: .35;
}
.cta-card h2 {
  font-weight: 700; font-size: clamp(28px, 3.4vw, 48px); line-height: 1.1;
  margin: 0; letter-spacing: -.025em; max-width: 680px; position: relative;
}
.cta-card h2 .light { font-weight: 300; color: rgba(255,255,255,.65); white-space: normal; }
.cta-card .actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.cta-card .btn--primary { background: #fff; color: var(--ink); box-shadow: none; }
.cta-card .btn--primary:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.cta-card .btn--ghost { border: 1px solid rgba(255,255,255,.2); color: #fff; background: transparent; box-shadow: none; }
.cta-card .btn--ghost:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }
.about-feature-cta {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: min(100%, 390px);
  padding: 12px;
  border-radius: 20px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.58);
  box-shadow: var(--shadow-card);
  color: var(--ink);
}
.about-feature-cta > img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    inset 0 -1px 0 rgba(0,0,0,.08),
    0 8px 16px rgba(15,20,24,.18);
}
.about-feature-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.about-feature-kicker { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 600; }
.about-feature-label { font-size: 19px; line-height: 1.05; color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.about-feature-sub { font-size: 13px; line-height: 1.35; color: var(--ink-2); }
@media (max-width: 780px) { .cta-card { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .cta-card { padding: 44px clamp(20px, 5vw, 36px); }
  .cta-card .actions { flex-direction: column; }
  .cta-card .actions .btn { width: 100%; justify-content: center; }
  .about-feature-cta {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    padding: 10px;
    border-radius: 16px;
  }
  .about-feature-cta > img,
  .about-feature-cta .kfg-thumb {
    width: 58px;
    height: 58px;
    border-radius: 12px;
  }
  .about-feature-label { font-size: 16px; line-height: 1.1; }
  .about-feature-sub { font-size: 12px; line-height: 1.25; }
}

/* ── THEME SWITCH — dezenter Farb-Nebel (smooth) ── */
#theme-shift-veil {
  position: fixed;
  inset: 0;
  z-index: 46;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
  contain: strict;
}
@media (prefers-reduced-motion: no-preference) {
  #theme-shift-veil.is-playing {
    visibility: visible;
  }
}
#theme-shift-veil.is-playing::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 95% 88% at var(--veil-ox, 88%) var(--veil-oy, 94%),
    color-mix(in srgb, var(--veil-accent, var(--accent)) 32%, transparent) 0%,
    color-mix(in srgb, var(--veil-accent, var(--accent)) 10%, transparent) 48%,
    transparent 72%
  );
  transform-origin: var(--veil-ox, 88%) var(--veil-oy, 94%);
  animation: themeVeilSoft 2.45s cubic-bezier(0.33, 0.04, 0.22, 1) forwards;
  will-change: transform, opacity;
}
@keyframes themeVeilSoft {
  0% {
    opacity: 0;
    transform: scale(0.88);
  }
  32% {
    opacity: 0.24;
    transform: scale(1.32);
  }
  62% {
    opacity: 0.1;
    transform: scale(1.78);
  }
  100% {
    opacity: 0;
    transform: scale(2.28);
  }
}


/* ── COLOR PICKER — Slide Wheel ── */
.cs-panel {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom, 20px));
  right: max(20px, env(safe-area-inset-right, 20px));
  z-index: 50;
  display: flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 14px;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  width: fit-content;
  max-width: calc(100vw - 40px);
  font-family: var(--font);
  transform-origin: 90% 50%;
}
.hero-color-picker {
  position: absolute;
  right: 18px;
  bottom: 92px;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  max-width: calc(100% - 36px);
}
.hero-color-picker .cs-panel,
.cs-panel--hero {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 1;
  max-width: 100%;
  background: rgba(255,255,255,.78);
  box-shadow: 0 16px 32px -24px rgba(15,20,24,.28), inset 0 1px 0 rgba(255,255,255,.82);
}
.cs-panel--intro {
  opacity: 0;
  transform: translateY(18px) scale(0.82);
  filter: blur(9px) saturate(0.78);
  pointer-events: none;
}
.cs-panel--intro .cs-active-name {
  opacity: 0;
  transform: translateX(14px);
}
.cs-panel--intro .cs-dot {
  opacity: 0;
  transform: translateY(16px) scale(0.12);
}
.cs-panel--intro-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0) saturate(1);
  transition:
    opacity 0.46s var(--ease-mist),
    transform 0.74s var(--ease-out),
    filter 0.62s var(--ease-mist);
}
.cs-panel--intro-in .cs-active-name {
  opacity: 1;
  transform: translateX(0);
  transition:
    opacity 0.42s var(--ease-mist) 140ms,
    transform 0.58s var(--ease-out) 140ms;
}
.cs-panel--intro-in .cs-dot {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.36s var(--ease-mist) var(--cs-dot-intro-delay, 180ms),
    transform 0.72s cubic-bezier(0.18, 1.6, 0.24, 1) var(--cs-dot-intro-delay, 180ms);
}
@media (prefers-reduced-motion: no-preference) {
  .cs-panel.cs-panel--wiggle {
    animation: csPaletteWiggle 0.95s cubic-bezier(0.33, 0, 0.2, 1) both;
  }
}
@keyframes csPaletteWiggle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  45%       { transform: rotate(0.6deg) scale(1.008); }
  72%       { transform: rotate(-0.35deg) scale(1.004); }
}
@media (prefers-reduced-motion: reduce) {
  .cs-panel--intro,
  .cs-panel--intro .cs-active-name,
  .cs-panel--intro .cs-dot {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
.cs-theme-ring {
  position: fixed;
  z-index: 48;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-sizing: border-box;
  border: 1px solid color-mix(in srgb, var(--splash-accent, var(--accent)) 32%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--splash-accent, var(--accent)) 7%, transparent),
    0 0 12px color-mix(in srgb, var(--splash-accent, var(--accent)) 12%, transparent);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.45);
}
@media (prefers-reduced-motion: no-preference) {
  .cs-theme-ring {
    animation: csThemeSplash 1.95s cubic-bezier(0.33, 0.04, 0.22, 1) forwards;
  }
}
@keyframes csThemeSplash {
  0%   { opacity: 0;   transform: translate(-50%, -50%) scale(0.45); }
  26%  { opacity: 0.18; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0;   transform: translate(-50%, -50%) scale(4.6); }
}
.cs-active-name {
  font-size: 12px; font-weight: 500; color: var(--ink-3);
  white-space: nowrap; min-width: 72px;
  user-select: none;
}
@media (prefers-reduced-motion: no-preference) {
  .cs-active-name {
    transition: color 0.55s var(--ease-mist);
  }
}
.cs-wheel {
  display: flex; align-items: center; gap: 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: min(308px, calc(100vw - 150px));
  padding: 0 2px;
}
.cs-wheel::-webkit-scrollbar { display: none; }
.cs-dot {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer; background: none;
  border: none; padding: 0;
  scroll-snap-align: center;
  -webkit-tap-highlight-color: transparent;
}
.cs-dot-circle {
  display: block;
  width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.12);
  transition: transform .35s cubic-bezier(0.34, 1.45, 0.36, 1), box-shadow .3s var(--ease-mist), filter .2s var(--ease-mist);
  position: relative; overflow: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  .cs-dot-circle {
    transition:
      transform 0.42s cubic-bezier(0.34, 1.45, 0.36, 1),
      box-shadow 0.35s var(--ease-mist),
      filter 0.5s var(--ease-mist);
  }
}
.cs-dot-circle::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.65) 0%, transparent 55%);
  pointer-events: none;
}
.cs-dot:hover .cs-dot-circle { transform: scale(1.18); filter: saturate(1.08); }
.cs-dot:active .cs-dot-circle { transform: scale(1.14); filter: saturate(1.34); }
.cs-dot.active .cs-dot-circle {
  outline: 2.5px solid var(--ink);
  outline-offset: 1px;
  box-shadow: 0 4px 12px -4px rgba(0,0,0,0.2);
  transform: scale(1.1);
}
@media (prefers-reduced-motion: no-preference) {
  .cs-dot.is-boop .cs-dot-circle {
    animation: csDotCelebrate 0.52s cubic-bezier(0.33, 0.04, 0.22, 1) both;
  }
}
@keyframes csDotCelebrate {
  0%   { transform: scale(1.04); }
  48%  { transform: scale(1.12); }
  100% { transform: scale(1.1); }
}
.theme-letter-run {
  display: inline;
}
.theme-letter {
  color: var(--letter-from);
  transition: color 0.62s var(--ease-mist);
  transition-delay: var(--letter-delay, 0ms);
}
.theme-letter--to-current {
  color: inherit;
}
.theme-color-element {
  transition-delay: var(--color-element-delay, 0ms) !important;
  animation: themeColorElementSweep 0.82s var(--ease-mist) var(--color-element-delay, 0ms) both;
}
.theme-color-element,
.theme-color-element::before,
.theme-color-element::after {
  transition-property: color, background, background-color, background-image, border-color, box-shadow, text-decoration-color, filter, opacity;
  transition-duration: 0.72s;
  transition-timing-function: var(--ease-mist);
}
@keyframes themeColorElementSweep {
  0% {
    filter: saturate(0.94) brightness(1);
  }
  42% {
    filter: saturate(1.18) brightness(1.025);
  }
  100% {
    filter: saturate(1) brightness(1);
  }
}
.theme-line-sweep--positioned {
  position: relative;
}
.theme-line-sweep__glow {
  position: absolute;
  inset: -1px;
  z-index: 4;
  display: block;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--accent) 82%, white) 50%, transparent 100%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  padding: 1px;
  animation: themeLineBorderSweep 1.08s var(--ease-mist) var(--line-sweep-delay, 0ms) both;
}
.theme-line-sweep.hero-deco__rail .theme-line-sweep__glow {
  inset: -5px -4px;
  border-radius: 999px;
  padding: 0;
  background:
    linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--accent) 92%, white) 50%, transparent 100%);
  -webkit-mask: none;
  mask: none;
  animation-name: themeLineRailSweep;
}
.theme-line-sweep.hero-deco__corner .theme-line-sweep__glow {
  inset: -5px auto auto -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  border-radius: 13px 0 0 0;
  border-left: 1px solid color-mix(in srgb, var(--accent) 72%, white);
  border-top: 1px solid color-mix(in srgb, var(--accent) 72%, white);
  background: none;
  padding: 0;
  -webkit-mask: none;
  mask: none;
  animation-name: themeLineCornerSweep;
}
.theme-line-sweep.color-swatch .theme-line-sweep__glow {
  inset: auto;
  width: 48px;
  height: 48px;
  left: calc(50% - 24px);
  top: -2px;
  border-radius: 50%;
  padding: 1px;
  background:
    conic-gradient(from -90deg, transparent 0deg, color-mix(in srgb, var(--accent) 88%, white) 72deg, transparent 144deg, transparent 360deg);
  animation-name: themeLineRingSweep;
  animation-duration: 1.38s;
}
@keyframes themeLineBorderSweep {
  0% {
    opacity: 0;
    transform: translateX(-18%) scale(0.985);
  }
  28% {
    opacity: 0.58;
  }
  100% {
    opacity: 0;
    transform: translateX(18%) scale(1.01);
  }
}
@keyframes themeLineRailSweep {
  0% {
    opacity: 0;
    transform: translateY(-55%) scaleY(0.48);
  }
  34% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translateY(55%) scaleY(0.58);
  }
}
@keyframes themeLineCornerSweep {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 100% 0);
  }
  46% {
    opacity: 0.5;
    clip-path: inset(0 0 58% 0);
  }
  100% {
    opacity: 0;
    clip-path: inset(0 0 0 0);
  }
}
@keyframes themeLineRingSweep {
  0% {
    opacity: 0;
    transform: rotate(-80deg) scale(0.98);
  }
  35% {
    opacity: 0.52;
  }
  100% {
    opacity: 0;
    transform: rotate(250deg) scale(1.02);
  }
}

/* ── Desktop Nav: smooth hide on scroll ── */
@media (min-width: 721px) and (prefers-reduced-motion: no-preference) {
  .nav {
    transition: transform 0.44s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.32s ease;
  }
  .nav.nav--hidden {
    transform: translateX(-50%) translateY(calc(-100% - 30px));
    opacity: 0;
    pointer-events: none;
  }
}

/* ── Mobile ── */
@media (max-width: 720px) {
  .nav {
    top: max(0px, env(safe-area-inset-top, 0px));
    left: max(12px, env(safe-area-inset-left, 12px));
    right: max(12px, env(safe-area-inset-right, 12px));
    transform: none;
    max-width: none;
    display: flex;
    padding: 6px;
    padding-left: 12px;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition:
      transform 0.46s cubic-bezier(0.2, 0.8, 0.2, 1),
      opacity 0.3s ease,
      left   .3s cubic-bezier(0.16,1,0.3,1),
      right  .3s cubic-bezier(0.16,1,0.3,1),
      top    .3s cubic-bezier(0.16,1,0.3,1),
      padding .25s cubic-bezier(0.16,1,0.3,1),
      background .25s ease,
      box-shadow .25s ease;
  }
  .nav .brand {
    margin-right: auto;
    padding-right: 6px;
    gap: 7px;
    font-size: 14px;
  }
  .nav .brand .mk {
    width: 22px;
    height: 22px;
  }
  .nav .links { display: none; }
  .nav .cta { display: none; }
  .nav-burger { display: flex; }
  .nav.nav--menu-open {
    background: linear-gradient(
      135deg,
      color-mix(in srgb, var(--accent-soft) 34%, rgba(255,255,255,.92)) 0%,
      rgba(255,255,255,.84) 58%,
      color-mix(in srgb, var(--accent-3) 15%, rgba(255,255,255,.88)) 100%
    );
    box-shadow: 0 28px 54px -32px rgba(15,20,24,.22), 0 10px 26px -14px rgba(15,20,24,.12);
  }

  /* Nav hidden: sanftes Hochschieben beim Runterscrollen */
  .nav.nav--hidden,
  .nav.nav--scrolled {
    transform: translate3d(0, calc(-100% - 24px), 0);
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 600px) {
  .page-header { padding: 108px 0 44px; }
  .page-header h1 { font-size: clamp(28px, 9vw, 80px); }
  .page-header p { font-size: 16px; }
  .section { padding: 56px 0; }
  .btn { padding: 14px 20px; font-size: 14px; }
  .cta-block { padding-bottom: 64px; }
}

@media (max-width: 480px) {
  .foot { padding: 14px 0 18px; }
  .foot-layout {
    border-radius: 18px;
    justify-content: flex-start;
    gap: 8px 12px;
    padding: 10px 12px;
  }
  .foot-nav { justify-content: flex-start; gap: 2px; order: 3; width: 100%; }
  .foot-nav a { padding: 6px 8px; }
  .foot-note { margin-left: 0; white-space: normal; text-align: left; }
  .cs-panel {
    bottom: max(12px, env(safe-area-inset-bottom, 12px));
    right: max(12px, env(safe-area-inset-right, 12px));
    padding: 4px 8px 4px 10px;
  }
  .hero-color-picker {
    left: 12px;
    right: 12px;
    top: calc(100% + 10px);
    bottom: auto;
    justify-content: center;
    max-width: none;
  }
  .hero-color-picker .cs-panel,
  .cs-panel--hero {
    right: auto;
    bottom: auto;
  }
  .cs-wheel { max-width: calc(100vw - 130px); }
  .cs-dot { width: 40px; height: 40px; }
  .cs-dot-circle { width: 22px; height: 22px; }
  .cs-active-name { min-width: 60px; font-size: 11.5px; }
}

/* ── Section-surface mask: auf Mobilgeräten aufheben ── */
/* Das Mask-Gradient ist für Desktop-Zweispalter konzipiert,
   auf Single-Column-Layouts (≤ 600 px) faded es den Glaseffekt
   mitten im Textblock weg → vollflächig sichtbar belassen.  */
@media (max-width: 600px) {
  .section-surface::before,
  .section-surface::after {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* ── Landscape Safe Area (Notch-Schutz, linke/rechte Seite) ── */
@media (max-width: 720px) and (orientation: landscape) {
  .nav {
    left: max(12px, env(safe-area-inset-left, 12px));
    right: max(12px, env(safe-area-inset-right, 12px));
  }
}

/* ── Scroll Reveal ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    transition:
      opacity 0.64s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.64s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ── Mobile Touch Active Feedback ── */
@media (hover: none) and (pointer: coarse) {
  .btn:active {
    transform: scale(0.97) !important;
    transition-duration: 0.08s !important;
  }
  .btn-kaufen:active,
  .btn-confirm:active {
    transform: scale(0.97) !important;
    transition-duration: 0.08s !important;
  }
  .cs-dot:active .cs-dot-circle {
    transform: scale(0.92) !important;
    transition-duration: 0.08s;
  }
  .charm-slot:active {
    transform: scale(0.96);
    transition-duration: 0.08s;
  }
}

/* Von jeder Unterseite erreichbare Online-Widerrufsfunktion (§ 356a BGB).
   Im Footer bewusst von den übrigen Rechtstext-Links abgegrenzt. */
.withdrawal-function-slot {
  display: flex;
  align-items: center;
  justify-content: center;
}
.withdrawal-function-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-soft) 28%, var(--card));
  color: var(--ink);
  box-shadow: 0 5px 14px -12px rgba(15, 20, 24, .32);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.withdrawal-function-link:hover,
.withdrawal-function-link:focus-visible {
  background: color-mix(in srgb, var(--accent-soft) 58%, var(--card));
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -13px rgba(15, 20, 24, .42);
}
.withdrawal-function-link:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 70%, #fff);
  outline-offset: 3px;
}
@media (max-width: 560px) {
  .withdrawal-function-link {
    min-height: 32px;
    padding: 7px 11px;
    font-size: 12px;
  }
}
