/* ---------- Design-Tokens (zentral anpassbar) ---------- */
:root {
  --blau: #0F18F9;
  --blau-dunkel: #0A11C4;
  --navy: #0C2439;
  --schiefer: #3C5468;
  --flaeche: #F3F3F3;
  --weiss: #FFFFFF;
  --petrol: #2DD4BF;
  --himmel: #60A5FA;
  --violett: #BA6FEC;
  --koralle: #F87171;
  --linie: rgba(12, 36, 57, .1);
  --prisma: linear-gradient(90deg, var(--petrol), var(--himmel), var(--blau), var(--violett), var(--koralle));

  --font-head: "Poppins", system-ui, sans-serif;
  --font-text: "Mulish", system-ui, sans-serif;

  --r-s: 14px;
  --r-m: 22px;
  --r-l: 32px;
  --schatten-s: 0 1px 2px rgba(12, 36, 57, .05), 0 6px 18px rgba(12, 36, 57, .05);
  --schatten-m: 0 2px 4px rgba(12, 36, 57, .04), 0 18px 48px rgba(12, 36, 57, .09);
  --schatten-l: 0 4px 10px rgba(12, 36, 57, .05), 0 40px 90px rgba(12, 36, 57, .14);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.55;
  color: var(--schiefer);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); margin: 0; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--himmel); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

/* ---------- Kopf & Fortschritt ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 30; background: transparent; }
.progress i { display: block; height: 100%; width: 0; background: var(--prisma); border-radius: 0 4px 4px 0; transition: width .6s var(--ease); }
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 20px;
  padding: 16px clamp(18px, 4vw, 44px);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.mark { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 600; color: var(--navy); text-decoration: none; font-size: 16.5px; letter-spacing: -.01em; }
.steps { margin-left: auto; display: flex; gap: 6px; font-size: 13.5px; font-weight: 600; }
.steps span { padding: 6px 13px; border-radius: 99px; color: rgba(60, 84, 104, .55); transition: all .4s var(--ease); white-space: nowrap; }
.steps span.on { background: var(--flaeche); color: var(--navy); }
.steps span.done { color: var(--schiefer); }
.link { font-weight: 600; font-size: 14.5px; color: var(--schiefer); padding: 8px 4px; border-radius: 8px; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: .25s; }
.link:hover { color: var(--blau); text-decoration-color: currentColor; }
.steps + .link { margin-left: 8px; }
@media (max-width: 860px) { .steps { display: none; } .top .link { margin-left: auto; } }

/* ---------- Bausteine ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px; border-radius: 99px;
  font-weight: 700; font-size: 16.5px; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, opacity .25s;
}
.btn.primary { background: var(--blau); color: #fff; box-shadow: 0 10px 26px rgba(15, 24, 249, .26); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(15, 24, 249, .32); background: var(--blau-dunkel); }
.btn.primary:active { transform: translateY(0) scale(.98); }
.btn.ghost { color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--linie); background: #fff; }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn.small { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn[disabled] { opacity: .35; pointer-events: none; box-shadow: none; }
.btn.busy { pointer-events: none; opacity: .7; }
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg.arr { transform: translateX(4px); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blau); }

.screen { animation: rein .7s var(--ease) both; }
@keyframes rein { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); z-index: 60;
  background: var(--navy); color: #fff; padding: 13px 22px; border-radius: 99px; font-weight: 600; font-size: 15px;
  opacity: 0; pointer-events: none; transition: .45s var(--ease); box-shadow: var(--schatten-m); max-width: calc(100vw - 32px);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Start ---------- */
.start { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; max-width: 1280px; margin: 0 auto; padding: clamp(24px, 6vh, 72px) clamp(20px, 4vw, 44px) 80px; min-height: calc(100dvh - 70px); }
.start h1 { font-size: clamp(44px, 6.6vw, 92px); font-weight: 700; letter-spacing: -.035em; line-height: 1; margin: 20px 0 26px; }
.start h1 em { font-style: normal; background: var(--prisma); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.start .lead { font-size: clamp(18px, 1.5vw, 21px); max-width: 33em; }
.start .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 38px 0 44px; }
.start .cta .btn { min-height: 62px; padding: 0 36px; font-size: 18px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 30px; padding: 0; margin: 0; list-style: none; font-size: 15px; font-weight: 600; color: var(--schiefer); }
.facts li { display: flex; align-items: center; gap: 10px; }
.facts i { width: 9px; height: 9px; border-radius: 50%; }
.collage { position: relative; aspect-ratio: 1 / 1.02; width: 100%; max-width: 600px; justify-self: end; }
.collage .ph { position: absolute; overflow: hidden; background: var(--flaeche); box-shadow: var(--schatten-l); }
.collage .ph img { width: 100%; height: 100%; object-fit: cover; }
.collage .p1 { inset: 0 16% 30% 0; border-radius: var(--r-l) var(--r-l) 120px var(--r-l); animation: schweb 9s ease-in-out infinite; }
.collage .p2 { inset: 46% 0 4% 44%; border-radius: 120px var(--r-l) var(--r-l) var(--r-l); animation: schweb 11s ease-in-out -3s infinite; }
.collage .p3 { inset: 62% 62% 0 4%; border-radius: var(--r-l); animation: schweb 10s ease-in-out -6s infinite; }
.collage .blob { position: absolute; border-radius: 50%; }
.collage .b1 { width: 26%; aspect-ratio: 1; right: 2%; top: 6%; background: var(--petrol); animation: schweb 8s ease-in-out -2s infinite; }
.collage .b2 { width: 13%; aspect-ratio: 1; left: 32%; top: 66%; background: var(--koralle); z-index: 2; animation: schweb 7s ease-in-out -4s infinite; }
.collage .b3 { width: 20%; aspect-ratio: 1; right: 8%; top: 30%; border-radius: 28%; background: var(--violett); opacity: .9; z-index: -1; transform: rotate(14deg); }
.collage .chip { position: absolute; left: -4%; top: 44%; z-index: 3; background: #fff; border-radius: 20px; padding: 14px 16px; box-shadow: var(--schatten-m); display: flex; gap: 8px; align-items: center; animation: schweb 9s ease-in-out -1s infinite; }
.collage .chip i { width: 30px; height: 30px; border-radius: 50%; }
.collage .chip b { font-family: var(--font-head); color: var(--navy); font-size: 22px; margin-left: 8px; }
@keyframes schweb { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 900px) {
  .start { grid-template-columns: 1fr; min-height: 0; }
  .collage { justify-self: center; max-width: 480px; margin-top: 10px; }
  .collage .chip { left: 0; }
}

/* ---------- Fragen ---------- */
.q { max-width: 880px; margin: 0 auto; padding: clamp(20px, 6vh, 64px) clamp(20px, 4vw, 40px) 150px; }
.q-count { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blau); }
.q-count small { font: inherit; color: var(--schiefer); opacity: .6; letter-spacing: .08em; }
.q h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 700; margin: 16px 0 14px; }
.q .hilfe { font-size: 18px; max-width: 36em; }
.q-body { margin-top: clamp(26px, 5vh, 46px); }
.q-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px max(clamp(20px, 4vw, 40px), calc((100vw - 880px) / 2 + 40px)) calc(16px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, #fff 68%, rgba(255, 255, 255, 0));
}
.q-nav .hint { font-size: 13.5px; color: var(--schiefer); opacity: .7; margin-left: auto; }
@media (max-width: 640px) { .q-nav .hint { display: none; } .q-nav .btn.primary { margin-left: auto; } }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.card {
  position: relative; text-align: left; padding: 22px 22px 20px; border-radius: var(--r-m); background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--linie); min-height: 108px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
}
.card b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 17.5px; color: var(--navy); letter-spacing: -.01em; line-height: 1.25; padding-right: 30px; }
.card span { display: block; font-size: 14.5px; margin-top: 6px; line-height: 1.4; }
.card::after {
  content: ""; position: absolute; top: 20px; right: 20px; width: 22px; height: 22px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--linie); transition: .3s var(--ease);
  background: center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.4 2.4 4.6-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px rgba(15, 24, 249, .35), var(--schatten-m); }
.card.on { background: #F5F6FF; box-shadow: inset 0 0 0 2px var(--blau), var(--schatten-s); }
.card.on::after { background-color: var(--blau); box-shadow: none; transform: scale(1.08); }

.field { display: block; margin-bottom: 20px; }
.field > span { display: block; font-weight: 700; font-size: 14.5px; color: var(--navy); margin-bottom: 8px; }
.field > span small { font-weight: 500; color: var(--schiefer); opacity: .75; font-size: inherit; }
.input, .textarea {
  width: 100%; padding: 18px 22px; border-radius: var(--r-s); border: 0; background: var(--flaeche); color: var(--navy);
  font-size: 19px; font-weight: 500; transition: box-shadow .3s, background .3s; outline: none;
}
.input::placeholder, .textarea::placeholder { color: rgba(60, 84, 104, .45); font-weight: 400; }
.input:focus, .textarea:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--blau), 0 10px 30px rgba(15, 24, 249, .08); }
.input.big { font-size: clamp(22px, 2.6vw, 28px); padding: 22px 26px; font-family: var(--font-head); font-weight: 600; letter-spacing: -.01em; border-radius: var(--r-m); }
.textarea { min-height: 150px; resize: vertical; line-height: 1.5; border-radius: var(--r-m); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .two { grid-template-columns: 1fr; } }
.note { font-size: 14.5px; margin-top: 14px; display: flex; gap: 10px; align-items: flex-start; }
.note::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--petrol); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-btn { padding: 13px 22px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--linie); font-weight: 600; font-size: 16.5px; color: var(--navy); transition: .3s var(--ease); }
.chip-btn:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px rgba(15, 24, 249, .4); }
.chip-btn.on { background: var(--blau); color: #fff; box-shadow: 0 8px 20px rgba(15, 24, 249, .22); }
.chip-btn.dim { opacity: .4; }
.chip-btn.small { padding: 9px 16px; font-size: 14.5px; }
.zaehler { margin-top: 22px; font-weight: 700; font-size: 14.5px; color: var(--navy); display: flex; gap: 8px; align-items: center; }
.zaehler i { width: 26px; height: 6px; border-radius: 6px; background: var(--flaeche); transition: .4s var(--ease); }
.zaehler i.on { background: var(--blau); }

.regler { background: var(--flaeche); border-radius: var(--r-m); padding: 26px 28px 24px; margin-bottom: 14px; }
.regler .pole { display: flex; justify-content: space-between; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 17px; margin-bottom: 14px; }
.regler .pole span { transition: opacity .3s; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; margin: 0; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--blau) var(--v, 50%), #fff var(--v, 50%)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 6px; background: #fff; }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--blau); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%; background: #fff; border: 2px solid var(--blau); box-shadow: 0 4px 14px rgba(15, 24, 249, .25); transition: transform .25s var(--ease); }
input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--blau); box-shadow: 0 4px 14px rgba(15, 24, 249, .25); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }

.sub { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 18px; margin: 30px 0 14px; display: flex; gap: 10px; align-items: baseline; }
.sub:first-child { margin-top: 0; }
.sub small { font-family: var(--font-text); font-weight: 500; font-size: 14.5px; color: var(--schiefer); }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.swatch { padding: 10px 10px 12px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--linie); font-size: 13.5px; font-weight: 700; color: var(--navy); transition: .3s var(--ease); text-align: left; }
.swatch i { display: block; height: 52px; border-radius: 11px; margin-bottom: 9px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.swatch:hover { transform: translateY(-3px); }
.swatch.on { box-shadow: inset 0 0 0 2px var(--blau), var(--schatten-s); }
.swatch.no.on { box-shadow: inset 0 0 0 2px var(--koralle), var(--schatten-s); }
.swatch.no.on i { position: relative; }
.swatch.no.on i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(to top right, transparent calc(50% - 1.5px), #fff calc(50% - 1.5px), #fff calc(50% + 1.5px), transparent calc(50% + 1.5px)); }
.swatch .bunt { background: conic-gradient(from 200deg, var(--petrol), var(--himmel), var(--blau), var(--violett), var(--koralle), var(--petrol)); }
.swatch .leer { background: repeating-linear-gradient(135deg, #fff, #fff 6px, var(--flaeche) 6px, var(--flaeche) 12px); }

.drop { display: flex; align-items: center; gap: 22px; margin-top: 16px; padding: 22px; border-radius: var(--r-m); background: var(--flaeche); flex-wrap: wrap; }
.drop .prev { width: 150px; height: 96px; border-radius: 14px; background: #fff center / contain no-repeat; box-shadow: inset 0 0 0 1.5px var(--linie); background-origin: content-box; padding: 12px; display: grid; place-items: center; font-size: 13px; text-align: center; color: rgba(60, 84, 104, .6); }
.drop input[type=file] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop p { font-size: 14.5px; flex: 1; min-width: 200px; }

/* ---------- Laden ---------- */
.loading { min-height: calc(100dvh - 90px); display: grid; place-items: center; text-align: center; padding: 20px 20px 80px; }
.loading .inner { width: min(680px, 100%); }
.prisma { width: 100%; height: auto; overflow: visible; }
.prisma .strahl { stroke-dasharray: 260; stroke-dashoffset: 260; animation: strahl 3.6s var(--ease) infinite; }
.prisma .ray { stroke-dasharray: 320; stroke-dashoffset: 320; animation: ray 3.6s var(--ease) infinite; stroke-linecap: round; }
.prisma .ray:nth-of-type(2) { animation-delay: .08s; }
.prisma .ray:nth-of-type(3) { animation-delay: .16s; }
.prisma .ray:nth-of-type(4) { animation-delay: .24s; }
.prisma .ray:nth-of-type(5) { animation-delay: .32s; }
.prisma .glas { animation: glas 3.6s ease-in-out infinite; transform-origin: 300px 160px; }
.prisma .punkt { opacity: 0; animation: punkt 3.6s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
.prisma .punkt:nth-of-type(2) { animation-delay: .08s; } .prisma .punkt:nth-of-type(3) { animation-delay: .16s; }
.prisma .punkt:nth-of-type(4) { animation-delay: .24s; } .prisma .punkt:nth-of-type(5) { animation-delay: .32s; }
@keyframes strahl { 0% { stroke-dashoffset: 260; } 28%, 78% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes ray { 0%, 24% { stroke-dashoffset: 320; opacity: 1; } 58%, 78% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes punkt { 0%, 52% { opacity: 0; transform: scale(.2); } 64%, 80% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
@keyframes glas { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(2.5deg); } }
.loading h2 { font-size: clamp(26px, 3.4vw, 38px); margin-top: 26px; }
.loading .status { margin-top: 12px; min-height: 1.6em; font-size: 17.5px; transition: opacity .4s; }
.loading .btn { margin-top: 26px; }

/* ---------- Richtungen ---------- */
.wide { max-width: 1320px; margin: 0 auto; padding: clamp(20px, 5vh, 56px) clamp(18px, 3.4vw, 44px) 100px; }
.wide > .head { max-width: 760px; margin-bottom: clamp(28px, 5vh, 48px); }
.wide > .head h2 { font-size: clamp(34px, 4.6vw, 58px); margin: 14px 0 14px; }
.wide > .head p { font-size: 18.5px; }
.hinweis { display: inline-block; margin-top: 14px; font-size: 14.5px; background: #FFF4E5; color: #7A4A00; padding: 8px 14px; border-radius: 12px; }
.dirs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
@media (max-width: 980px) { .dirs { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; } }
.dir { display: flex; flex-direction: column; border-radius: var(--r-l); background: #fff; box-shadow: var(--schatten-m); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); animation: rein .8s var(--ease) both; }
.dir:nth-child(2) { animation-delay: .1s; } .dir:nth-child(3) { animation-delay: .2s; }
.dir:hover { transform: translateY(-6px); box-shadow: var(--schatten-l); }
.dir .vorschau { padding: 22px 26px 30px; min-height: 290px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.dir .vorschau .wm { font-size: 19px; }
.dir .vorschau h3 { font-size: clamp(25px, 2.2vw, 32px); margin: auto 0 14px; padding-top: 34px; letter-spacing: -.02em; line-height: 1.08; color: inherit; max-width: 12em; }
.dir .vorschau .pill { align-self: flex-start; padding: 11px 22px; border-radius: 99px; font-weight: 600; font-size: 14.5px; }
.dir .vorschau .deko { position: absolute; right: -34px; top: 54px; width: 110px; height: 110px; border-radius: 50%; }
.dir .pal { display: flex; height: 46px; }
.dir .pal i { flex: 1; position: relative; }
.dir .pal i:first-child { flex: 2.2; }
.dir .body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.dir .body h4 { font-family: var(--font-head); font-size: 23px; font-weight: 600; color: var(--navy); margin: 0; letter-spacing: -.015em; }
.dir .body .kurz { font-weight: 600; color: var(--navy); font-size: 16px; }
.dir .body .warum { font-size: 15px; }
.dir .meta { display: grid; gap: 9px; font-size: 14px; margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--linie); }
.dir .meta div { display: flex; gap: 12px; }
.dir .meta dt { flex: none; width: 82px; font-weight: 700; color: var(--navy); }
.dir .meta dd { margin: 0; }
.dir .btn { margin-top: auto; width: 100%; }
.aa { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: #0B7A5C; background: #E7F8F2; padding: 5px 11px; border-radius: 99px; align-self: flex-start; }

.wm { display: inline-flex; align-items: center; gap: .36em; line-height: 1.15; white-space: nowrap; }
.wm .mono { display: grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: .42em; font-size: 1em; }
.wm .mono b { font-size: .7em; font-weight: inherit; }
.wm .bar { width: .13em; height: .9em; }
.wm .dot { width: .21em; height: .21em; border-radius: 50%; align-self: flex-end; margin: 0 0 .2em -.28em; }
.wm .br { width: .2em; height: 1.05em; border: .09em solid; }
.wm .br.l { border-right: 0; margin-right: -.14em; } .wm .br.r { border-left: 0; margin-left: -.14em; }

/* ---------- Studio ---------- */
.studio { display: grid; grid-template-columns: 372px minmax(0, 1fr); gap: clamp(22px, 3vw, 44px); align-items: start; }
.panel { position: sticky; top: 84px; max-height: calc(100dvh - 104px); overflow: auto; background: #fff; border-radius: var(--r-l); box-shadow: var(--schatten-m); padding: 26px 24px; scrollbar-width: thin; }
.panel h3 { font-size: 15px; font-weight: 600; letter-spacing: .01em; margin: 26px 0 14px; display: flex; justify-content: space-between; align-items: center; }
.panel h3:first-child { margin-top: 0; }
.farbe { display: grid; grid-template-columns: 46px 1fr 96px; gap: 12px; align-items: center; padding: 7px 0; }
.farbe input[type=color] { -webkit-appearance: none; appearance: none; width: 46px; height: 46px; border: 0; padding: 0; background: none; border-radius: 14px; cursor: pointer; }
.farbe input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
.farbe input[type=color]::-webkit-color-swatch { border: 0; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(12, 36, 57, .14); }
.farbe input[type=color]::-moz-color-swatch { border: 0; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(12, 36, 57, .14); }
.farbe b { display: block; font-size: 15px; color: var(--navy); line-height: 1.2; }
.farbe small { font-size: 12.5px; line-height: 1.25; display: block; opacity: .85; }
.farbe .hex { width: 96px; padding: 10px 10px; border-radius: 10px; border: 0; background: var(--flaeche); font-size: 13.5px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; letter-spacing: .04em; outline: none; text-transform: uppercase; }
.farbe .hex:focus { box-shadow: inset 0 0 0 2px var(--blau); background: #fff; }
.kontraste { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; }
.kontraste li { display: flex; align-items: center; gap: 10px; }
.kontraste .aa-chip { flex: none; width: 34px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; font-size: 12.5px; box-shadow: inset 0 0 0 1px rgba(12, 36, 57, .1); }
.kontraste .lab { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kontraste b { font-variant-numeric: tabular-nums; color: var(--navy); }
.kontraste .ok { color: #0B7A5C; font-weight: 700; width: 20px; text-align: right; }
.kontraste .bad { color: #C0392B; font-weight: 700; width: 20px; text-align: right; }
.panel .fix { width: 100%; margin-top: 14px; }
.select { width: 100%; padding: 13px 40px 13px 16px; border-radius: 14px; border: 0; background: var(--flaeche) right 14px center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230C2439' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); -webkit-appearance: none; appearance: none; font-weight: 600; color: var(--navy); font-size: 15.5px; outline: none; cursor: pointer; }
.select:focus { box-shadow: inset 0 0 0 2px var(--blau); }
.panel label.sel { display: block; margin-bottom: 12px; }
.panel label.sel > span { display: block; font-size: 13px; font-weight: 700; color: var(--schiefer); margin-bottom: 6px; }
.seg { display: flex; background: var(--flaeche); border-radius: 14px; padding: 4px; gap: 2px; margin-bottom: 12px; flex-wrap: wrap; }
.seg button { flex: 1; padding: 9px 8px; border-radius: 11px; font-size: 13.5px; font-weight: 700; color: var(--schiefer); transition: .25s; white-space: nowrap; }
.seg button.on { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(12, 36, 57, .1); }
.panel .unten { display: flex; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--linie); justify-content: space-between; }

.stage { display: grid; gap: clamp(20px, 3vw, 34px); min-width: 0; }
.mock { margin: 0; border-radius: var(--r-l); overflow: hidden; background: var(--flaeche); box-shadow: var(--schatten-m); position: relative; animation: rein .8s var(--ease) both; }
.mock canvas { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 1100; transition: opacity .5s; }
.mock.wait canvas { opacity: .001; }
.mock.wait::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%) 0 0 / 200% 100%; animation: schimmer 1.6s linear infinite; }
@keyframes schimmer { to { background-position: -200% 0; } }
.mock figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 16px 18px 16px 24px; }
.mock figcaption div { background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 9px 16px; border-radius: 99px; font-size: 14px; }
.mock figcaption b { color: var(--navy); font-family: var(--font-head); font-weight: 600; }
.mock figcaption .btn { margin-left: auto; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: none; }
.mock figcaption .btn:hover { background: #fff; transform: translateY(-2px); }

.export { margin-top: clamp(40px, 7vh, 80px); border-radius: var(--r-l); background: var(--navy); color: rgba(255, 255, 255, .78); padding: clamp(28px, 5vw, 64px); position: relative; overflow: hidden; }
.export::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--prisma); }
.export h2 { color: #fff; font-size: clamp(30px, 4vw, 48px); margin: 12px 0 14px; }
.export .kicker { color: var(--petrol); }
.export > p { max-width: 40em; font-size: 18px; }
.export .acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
@media (max-width: 900px) { .export .acts { grid-template-columns: 1fr; } }
.act { text-align: left; background: rgba(255, 255, 255, .06); border-radius: var(--r-m); padding: 26px; display: flex; flex-direction: column; gap: 10px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.act h3 { color: #fff; font-size: 20px; font-weight: 600; }
.act p { font-size: 15px; flex: 1; }
.act .btn { margin-top: 14px; align-self: flex-start; }
.act .btn.hell { background: #fff; color: var(--navy); }
.act .btn.hell:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
.act:first-child { background: var(--blau); box-shadow: none; }
.act:first-child p { color: rgba(255, 255, 255, .85); }
details.prompt { margin-top: 26px; }
details.prompt summary { cursor: pointer; font-weight: 700; color: #fff; font-size: 15px; list-style: none; display: inline-flex; gap: 8px; align-items: center; }
details.prompt summary::-webkit-details-marker { display: none; }
details.prompt summary::before { content: "+"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .12); transition: transform .3s; }
details.prompt[open] summary::before { transform: rotate(45deg); }
details.prompt pre { margin: 16px 0 0; padding: 22px; border-radius: var(--r-s); background: rgba(0, 0, 0, .28); color: rgba(255, 255, 255, .86); font: 13.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; word-break: break-word; max-height: 420px; overflow: auto; }
.klein { margin-top: 26px; font-size: 13.5px; opacity: .7; }
.klein a { color: inherit; }

@media (max-width: 1020px) {
  .studio { grid-template-columns: 1fr; }
  .panel { position: static; max-height: none; }
  .mock figcaption { padding: 10px; }
  .mock figcaption div span { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card { padding: 16px 14px; min-height: 92px; }
  .card b { font-size: 15.5px; padding-right: 24px; }
  .card span { font-size: 13px; }
  .card::after { top: 14px; right: 12px; width: 18px; height: 18px; background-size: 10px; }
  .btn { padding: 0 24px; }
  .farbe { grid-template-columns: 46px 1fr 88px; }
  .farbe .hex { width: 88px; }
}
@media (max-width: 640px) {
  .mock figcaption { position: static; background: #fff; padding: 10px 12px; }
  .mock figcaption div { background: none; padding: 4px 6px; }
  .mock figcaption .btn { background: var(--flaeche); }
}
