/* Layout: Leuchttisch mit Abzügen. Schmale Plakat-Headlines, echte Ausdrucke (weißer Rand, leicht gedreht)
   sind das einzige Objekt mit Schatten. Gelb nur für Handlungen, Markierungen und eine Bühne. */
:root {
  --paper: #eceeea;
  --paper-2: #e1e4df;
  --ink: #15171a;
  --ink-soft: #50555c;
  --rule: #c6cac3;
  --signal: #f3cf16;
  --on-signal: #15171a;
  --print: #fbfbf7;
  --print-ink: #15171a;
  --screen: #101113;
  --screen-2: #1c1e21;
  --screen-ink: #eeeee9;
  --screen-soft: #9a9fa6;
  --shadow: 0 1px 2px rgba(20, 22, 26, .18), 0 14px 34px -12px rgba(20, 22, 26, .35);
  --focus: #1b4fd6;

  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --step--1: .8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem);
  --step-3: clamp(2.4rem, 1.4rem + 4vw, 4.6rem);
  --step-4: clamp(3rem, 1.2rem + 7vw, 7.4rem);

  --gutter: max(clamp(16px, 4vw, 56px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(16px, 4vw, 56px), env(safe-area-inset-right, 0px));
  --radius: 4px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #131518;
    --paper-2: #1a1d21;
    --ink: #ebece7;
    --ink-soft: #a4a9b0;
    --rule: #2d3137;
    --print: #f3f3ee;
    --screen: #08090a;
    --screen-2: #17191c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 18px 40px -14px rgba(0, 0, 0, .8);
    --focus: #8fb0ff;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #131518;
  --paper-2: #1a1d21;
  --ink: #ebece7;
  --ink-soft: #a4a9b0;
  --rule: #2d3137;
  --print: #f3f3ee;
  --screen: #08090a;
  --screen-2: #17191c;
  --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 18px 40px -14px rgba(0, 0, 0, .8);
  --focus: #8fb0ff;
  color-scheme: dark;
}

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("../fonts/martian-mono.woff2") format("woff2");
  font-weight: 300 600;
  font-stretch: 75% 112.5%;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }

.wrap {
  max-width: 1280px;
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
.band { padding-block: clamp(4rem, 9vw, 8rem); }
.band + .band { border-top: 1px solid var(--rule); }

.label {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.h-display {
  font-family: var(--display);
  font-stretch: 68%;
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.01em;
}
.h2 { font-size: var(--step-3); }
.lead { font-size: var(--step-1); line-height: 1.5; max-width: 34em; }
.copy { max-width: 36em; display: grid; gap: 1em; color: var(--ink); }
.copy p { color: var(--ink-soft); }
.mark { background: var(--signal); color: var(--on-signal); padding: 0 .08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.section-head { display: grid; align-content: start; gap: 1.1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 52rem; }

/* Platzhalter, die vor dem Livegang ersetzt werden */
.todo {
  outline: 1.5px dashed #c2410c;
  outline-offset: 3px;
}
.todo-note {
  display: inline-block;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: #c2410c;
  color: #fff;
  padding: .15em .5em;
  border-radius: 2px;
  vertical-align: middle;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .9em 1.35em;
  border-radius: var(--radius);
  border: 1.5px solid var(--ink);
  background: transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.1;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--signal); color: var(--on-signal); border-color: var(--signal); }
.btn-primary:hover { background: color-mix(in srgb, var(--signal) 88%, #000); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Kopfzeile */
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.top-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  font-stretch: 70%;
  text-decoration: none;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.wordmark span { font-stretch: 100%; font-weight: 400; }
.wordmark i { font-style: normal; color: var(--ink); background: var(--signal); color: var(--on-signal); padding: 0 .12em; margin-inline: .04em; }
.nav { display: flex; gap: 1.4rem; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.nav .btn { color: var(--on-signal); padding: .65em 1.05em; }
.lang { font-family: var(--mono); font-size: .75rem; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1.5px solid var(--ink); border-radius: var(--radius); padding: .5em .8em; font-weight: 600; }
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: .5rem var(--gutter-r) 1.25rem var(--gutter);
  }
  .nav a { padding: .8rem 0; font-size: 1.1rem; color: var(--ink); border-bottom: 1px solid var(--rule); }
  .nav .btn { margin-top: 1rem; justify-content: center; border-bottom: 0; }
  .top.open .nav { display: flex; }
}

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.hero-text { display: grid; gap: 1.6rem; padding-top: clamp(0rem, 3vw, 2.5rem); min-width: 0; }
.hero h1 { font-size: var(--step-4); }
.hero h1 .wide { font-stretch: 112%; font-weight: 300; letter-spacing: -.03em; }
.facts-line { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.facts-line span::before { content: "/ "; color: var(--rule); }
.facts-line span:first-child::before { content: ""; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Fotobox-Bildschirm */
.booth { display: grid; justify-items: center; min-width: 0; }
.screen {
  width: 100%;
  background: var(--screen);
  color: var(--screen-ink);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}
.screen-top { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 10px; gap: 1rem; }
.screen-top .label { color: var(--screen-soft); }
.rec { display: inline-flex; align-items: center; gap: .45em; }
.rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e5484d; }
.viewport {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
}
.viewport img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.viewport .live, .viewport .result { opacity: 0; }
.idle { position: absolute; inset: 0; display: grid; place-items: center; background: var(--screen-2); transition: opacity .25s; }
.idle-bg { opacity: .32; filter: blur(14px) saturate(.8); transform: scale(1.1); }
.idle-text { position: relative; display: grid; gap: .35rem; justify-items: center; text-align: center; color: #fff; padding: 1rem; }
.idle-event { font-family: var(--display); font-stretch: 70%; font-weight: 800; font-size: clamp(1.6rem, 4.5vw, 2.6rem); line-height: 1; }
.idle-style { font-size: .9rem; color: rgba(255, 255, 255, .8); }
.idle-style b { color: var(--signal); font-weight: 600; }
.idle-hint { margin-top: .6rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.countdown { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: .4rem; background: #050506; color: #fff; pointer-events: none; }
.countdown .count {
  font-family: var(--display); font-stretch: 62%; font-weight: 800;
  font-size: clamp(5rem, 16vw, 9rem); line-height: .9;
}
.countdown .count.tick { animation: tick .5s ease-out; }
@keyframes tick { from { transform: scale(1.35); opacity: .2; } to { transform: scale(1); opacity: 1; } }
.count-hint { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.viewport .flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.viewport .flash.on { animation: flash .5s ease-out; }
@keyframes flash { 0% { opacity: .95; } 100% { opacity: 0; } }
.progress {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; align-items: center; gap: .8rem;
  font-family: var(--mono); font-size: .75rem; color: #fff;
  background: rgba(10, 10, 12, .62);
  border-radius: 999px;
  padding: .45rem .8rem;
  backdrop-filter: blur(6px);
}
.progress .bar { flex: 1; height: 3px; background: rgba(255, 255, 255, .22); border-radius: 3px; overflow: hidden; }
.progress .bar i { display: block; height: 100%; width: 0; background: var(--signal); }
.progress .t { font-variant-numeric: tabular-nums; min-width: 4.2em; text-align: right; }

.controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding-top: 12px; }
.styles {
  display: flex; gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
  min-width: 0;
}
.styles::-webkit-scrollbar { display: none; }
.style-chip {
  flex: 0 0 auto;
  display: grid;
  gap: 5px;
  width: 74px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--screen-soft);
  font-size: .72rem;
  text-align: center;
}
.style-chip img {
  width: 74px; height: 50px; object-fit: cover;
  border-radius: 4px;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline-color .15s;
}
.style-chip[aria-pressed="true"] { color: var(--screen-ink); }
.style-chip[aria-pressed="true"] img { outline-color: var(--signal); }
.shutter {
  width: 76px; height: 76px;
  border-radius: 50%;
  border: 4px solid var(--screen-2);
  background: var(--signal);
  color: var(--on-signal);
  font-weight: 700;
  font-size: .78rem;
  box-shadow: 0 0 0 2px var(--signal);
  transition: transform .12s ease;
}
.shutter:active { transform: scale(.94); }
.shutter:disabled { opacity: .55; cursor: progress; }
.screen-status { padding: 10px 4px 0; display: flex; justify-content: space-between; gap: 1rem; font-family: var(--mono); font-size: .72rem; color: var(--screen-soft); }

.slot {
  width: 86%;
  height: 16px;
  background: var(--screen-2);
  border-radius: 0 0 6px 6px;
  position: relative;
  z-index: 3;
  box-shadow: inset 0 6px 6px -4px rgba(0, 0, 0, .6);
}
.tray { width: 80%; overflow: hidden; margin-top: -8px; padding: 0 18px 30px; }
.tray .print { transform: translateY(-104%) rotate(0deg); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.tray .print.out { transform: translateY(0) rotate(-1.4deg); }
.tray .print.fast { transition-duration: .25s; }

/* Ausdruck */
.print {
  --strip: var(--print);
  --strip-ink: var(--print-ink);
  background: var(--print);
  color: var(--print-ink);
  box-shadow: var(--shadow);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.print .photo { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #222; margin: 4.5% 4.5% 0; }
.print .photo img { width: 100%; height: 100%; object-fit: cover; }
.ki-tag {
  position: absolute; right: 6px; bottom: 6px;
  font-family: var(--mono); font-size: .55rem; letter-spacing: .05em;
  background: rgba(0, 0, 0, .55); color: #fff;
  padding: .2em .45em; border-radius: 2px;
}
.print-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 4%;
  padding: 4% 4.5% 4.5%;
  background: var(--strip);
  color: var(--strip-ink);
  transition: background-color .3s, color .3s;
}
.print-logo {
  height: 2.4em; min-width: 3.8em; max-width: 7.5em;
  display: grid; place-items: center;
  border: 1px dashed currentColor;
  font-family: var(--mono); font-size: .6rem; letter-spacing: .06em; text-transform: uppercase;
  opacity: .8;
  padding: 0 .4em;
}
.print-logo.has-img { border: 0; opacity: 1; padding: 0; }
.print-logo img { max-height: 2.4em; max-width: 7.5em; width: auto; object-fit: contain; }
.print-meta { min-width: 0; line-height: 1.2; }
.print-title { font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: clamp(.8rem, 2.2vw, 1.05rem); overflow-wrap: break-word; }
.print-date { font-family: var(--mono); font-size: .58rem; opacity: .75; }
.qr { width: 3.3em; height: 3.3em; display: block; }
.qr path { fill: currentColor; }

/* Zeitstrahl */
.timeline-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.timeline-nav { display: flex; gap: .5rem; }
.icon-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: none;
  font-size: 1.1rem;
  display: grid; place-items: center;
}
.icon-btn:hover { background: var(--ink); color: var(--paper); }
.timeline {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 340px);
  gap: clamp(1rem, 2.5vw, 2rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1.5rem 0 2.5rem;
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}
.moment {
  scroll-snap-align: start;
  display: grid;
  align-content: start;
  gap: .8rem;
  padding-top: 1.2rem;
  border-top: 2px solid var(--ink);
  min-width: 0;
}
.moment time { font-family: var(--mono); font-size: .8rem; font-variant-numeric: tabular-nums; }
.moment h3 { font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 1.9rem; line-height: 1; }
.moment p { color: var(--ink-soft); }
.moment.last { border-top-color: var(--signal); border-top-width: 6px; padding-top: calc(1.2rem - 4px); }
.moment.last h3 { font-size: 2.3rem; }
.timeline { align-items: start; }
.moment .mini-print { width: 62%; transform: rotate(2deg); margin-top: .6rem; }
.moment .mini-print .print-strip { font-size: .8rem; grid-template-columns: minmax(0, 1fr) auto; }
.moment .mini-print .print-logo { display: none; }

/* Protokoll-Band */
.stage { background: var(--signal); color: var(--on-signal); }
.stage .label { color: color-mix(in srgb, var(--on-signal) 70%, transparent); }
.stage-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.stage h2 { font-size: var(--step-3); }
.stage .copy p { color: var(--on-signal); }
.receipt {
  background: #fdfdf8;
  color: #15171a;
  font-family: var(--mono);
  font-size: .8rem;
  padding: 1.6rem 1.4rem 2rem;
  max-width: 380px;
  width: 100%;
  justify-self: center;
  transform: rotate(1.5deg);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .45);
  position: relative;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 7px) no-repeat, radial-gradient(circle at 9px 100%, transparent 6px, #000 6.5px) bottom / 18px 8px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 7px) no-repeat, radial-gradient(circle at 9px 100%, transparent 6px, #000 6.5px) bottom / 18px 8px repeat-x;
}
.receipt h3 { font-family: var(--mono); font-size: .8rem; font-weight: 600; text-align: center; letter-spacing: .12em; }
.receipt .sub { text-align: center; font-size: .68rem; color: #5b5f66; margin-top: .2rem; }
.receipt dl { margin: 1.2rem 0 0; display: grid; gap: .55rem; }
.receipt .row { display: flex; gap: .5rem; align-items: baseline; }
.receipt dt { white-space: nowrap; }
.receipt .row::after { content: ""; order: 1; flex: 1; border-bottom: 1px dotted #9aa0a6; transform: translateY(-.25em); }
.receipt dd { order: 2; margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.receipt .sum { border-top: 1px dashed #15171a; margin-top: .5rem; padding-top: .8rem; }
.receipt .foot { margin-top: 1.3rem; text-align: center; font-size: .68rem; color: #5b5f66; }
@media (max-width: 860px) { .stage-grid { grid-template-columns: minmax(0, 1fr); } }

/* Marke */
.brand-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.ba { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: #111; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.ba .handle::after {
  content: "‹ ›";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--signal); color: var(--on-signal);
  display: grid; place-items: center;
  font-weight: 700; letter-spacing: .1em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-tag { position: absolute; top: 10px; font-family: var(--mono); font-size: .66rem; background: rgba(0, 0, 0, .6); color: #fff; padding: .25em .6em; border-radius: 2px; pointer-events: none; }
.ba-tag.l { left: 10px; }
.ba-tag.r { right: 10px; }
.figcap { margin-top: .7rem; font-size: var(--step--1); color: var(--ink-soft); }

.studio {
  margin-top: clamp(3rem, 7vw, 6rem);
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 3.5rem);
}
.studio h3 { font-family: var(--display); font-stretch: 72%; font-weight: 800; font-size: var(--step-2); line-height: 1; }
.fields { display: grid; gap: 1rem; margin-top: 1.5rem; }
.field { display: grid; gap: .35rem; }
.field label, .field .flabel { font-size: .85rem; font-weight: 600; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea {
  width: 100%;
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  padding: .75em .85em;
}
.field textarea { min-height: 8.5em; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.file-pick { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.file-pick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-pick label { cursor: pointer; }
.file-pick input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 3px; }
.swatches { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.swatch { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--rule); padding: 0; background: var(--sw); }
.swatch[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.swatch-custom { position: relative; overflow: hidden; background: conic-gradient(#e5484d, #f3cf16, #30a46c, #1b4fd6, #8e4ec6, #e5484d); }
.swatch-custom input { position: absolute; inset: -8px; width: 60px; height: 60px; opacity: 0; cursor: pointer; }
.privacy-note { display: flex; gap: .6rem; font-size: var(--step--1); color: var(--ink-soft); margin-top: 1rem; }
.privacy-note b { color: var(--ink); }
.studio-print { width: min(100%, 520px); justify-self: center; transform: rotate(1.2deg); }
@media (max-width: 900px) {
  .brand-grid, .studio { grid-template-columns: minmax(0, 1fr); }
}

/* Boxen */
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 2rem; border-bottom: 1px solid var(--rule); }
.tab {
  background: none; border: 0;
  padding: .8rem 1.1rem;
  font-family: var(--display); font-stretch: 75%; font-weight: 700; font-size: 1.25rem;
  color: var(--ink-soft);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--signal); }
.box-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.box-panel figure { margin: 0; }
.box-panel figure img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.placeholder-img {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  background: repeating-linear-gradient(-45deg, var(--paper-2) 0 14px, var(--paper) 14px 28px);
  border: 1.5px dashed var(--rule);
  display: grid; place-items: center; text-align: center;
  color: var(--ink-soft);
  font-family: var(--mono); font-size: .8rem;
  padding: 1rem;
}
.box-panel h3 { font-family: var(--display); font-stretch: 70%; font-weight: 800; font-size: var(--step-2); line-height: 1; margin-bottom: 1rem; }
.specs { margin: 1.5rem 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.specs div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--rule); }
.specs dt { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); padding-top: .2em; }
.specs dd { margin: 0; }
@media (max-width: 860px) { .box-panel { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .specs div { grid-template-columns: minmax(0, 1fr); gap: .2rem; } }

/* Photowall */
.wall-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.wall-demo { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.phone {
  background: var(--screen);
  color: var(--screen-ink);
  border-radius: 24px;
  padding: 12px 10px 16px;
  display: grid; gap: .7rem;
  box-shadow: var(--shadow);
}
.phone-screen { border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 4; position: relative; background: #000; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.phone .btn { justify-content: center; font-size: .82rem; padding: .7em .6em; }
.phone .label { color: var(--screen-soft); text-align: center; font-size: .6rem; }
.beamer {
  background: var(--screen);
  border-radius: 6px;
  padding: 10px;
  box-shadow: var(--shadow);
}
.beamer-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.beamer-tiles img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-radius: 2px; }
.beamer-tiles img.new { animation: pop .6s cubic-bezier(.2, .9, .3, 1.3); outline: 2px solid var(--signal); outline-offset: -2px; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.beamer-bar { display: flex; justify-content: space-between; gap: .5rem; padding: 8px 2px 0; color: var(--screen-soft); }
.beamer-bar .label { color: var(--screen-soft); font-size: .62rem; }
.queue { margin-top: 1rem; border: 1.5px dashed var(--rule); border-radius: var(--radius); padding: .9rem; display: grid; gap: .7rem; }
.queue-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.toggle { display: inline-flex; align-items: center; gap: .55rem; font-size: .88rem; cursor: pointer; }
.toggle input { width: 1.1rem; height: 1.1rem; accent-color: var(--ink); }
.queue-items { display: flex; gap: .7rem; flex-wrap: wrap; min-height: 56px; align-items: center; }
.queue-empty { font-size: var(--step--1); color: var(--ink-soft); }
.q-item { display: flex; gap: .5rem; align-items: center; background: var(--paper-2); padding: .35rem; border-radius: var(--radius); }
.q-item img { width: 64px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }
.q-item button { border: 1.5px solid var(--ink); background: none; border-radius: var(--radius); padding: .35em .6em; font-size: .8rem; font-weight: 600; }
.q-item button.ok { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
.soon {
  margin-top: 2.5rem;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.2rem; align-items: start;
  border-top: 2px solid var(--ink);
  padding-top: 1.3rem;
}
.soon .pill { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: .35em .7em; border-radius: 2px; white-space: nowrap; }
@media (max-width: 960px) { .wall-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .wall-demo { grid-template-columns: minmax(0, 1fr); } .phone { max-width: 220px; justify-self: center; } .phone-screen { aspect-ratio: 4 / 3; } }

/* Einsätze */
.cases { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.case { grid-column: span 2; display: grid; align-content: start; gap: .7rem; border-top: 2px solid var(--ink); padding-top: 1.1rem; min-width: 0; }
.case.big { grid-column: span 3; }
.case .num { font-family: var(--display); font-stretch: 62%; font-weight: 800; font-size: clamp(3rem, 6vw, 4.8rem); line-height: .9; }
.case .num small { font-size: .35em; font-stretch: 100%; font-weight: 500; margin-left: .2em; }
.case h3 { font-size: 1.15rem; line-height: 1.3; }
.case p { color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 900px) { .cases { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .case, .case.big { grid-column: span 1; } }
@media (max-width: 560px) { .cases { grid-template-columns: minmax(0, 1fr); } }

/* Anlässe */
.occasions { border-top: 1px solid var(--rule); }
.occasion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2.2rem) 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  position: relative;
}
.occasion h3 { font-family: var(--display); font-stretch: 70%; font-weight: 800; font-size: var(--step-2); line-height: 1; transition: font-stretch .35s ease; }
.occasion p { color: var(--ink-soft); }
.occasion .arrow { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-size: 1.2rem; transition: background-color .2s, transform .2s; }
.occasion:hover h3 { font-stretch: 95%; }
.occasion:hover .arrow { background: var(--signal); border-color: var(--signal); color: var(--on-signal); transform: translateX(4px); }
@media (max-width: 760px) { .occasion { grid-template-columns: minmax(0, 1fr) auto; gap: .6rem 1rem; } .occasion p { grid-column: 1; grid-row: 2; } .occasion .arrow { grid-row: 1 / span 2; grid-column: 2; } }

/* Preise */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); align-items: stretch; }
.price-col { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 1rem; padding: clamp(1.4rem, 3vw, 2rem); border: 1.5px solid var(--rule); border-radius: var(--radius); min-width: 0; }
.price-col.feature { border-color: var(--ink); background: var(--paper-2); }
.price-col h3 { font-family: var(--display); font-stretch: 72%; font-weight: 800; font-size: 2rem; line-height: 1; }
.price-col .for { color: var(--ink-soft); font-size: .95rem; }
.price { font-family: var(--display); font-stretch: 80%; font-weight: 700; font-size: 2.1rem; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { display: block; font-family: var(--body); font-stretch: 100%; font-size: .8rem; font-weight: 400; color: var(--ink-soft); margin-top: .4rem; }
.price-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; align-content: start; }
.price-col li { padding-left: 1.4rem; position: relative; font-size: .98rem; }
.price-col li::before { content: ""; position: absolute; left: 0; top: .62em; width: .7rem; height: 2px; background: var(--ink); }
.price-foot { margin-top: 1.5rem; font-size: var(--step--1); color: var(--ink-soft); max-width: 60em; }
@media (max-width: 900px) { .prices { grid-template-columns: minmax(0, 1fr); } }

/* Datenschutz */
.privacy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.flow { border: 1.5px solid var(--rule); border-radius: var(--radius); padding: clamp(1rem, 3vw, 1.8rem); display: grid; gap: 1rem; }
.flow-box { border: 2px solid var(--ink); border-radius: var(--radius); padding: 1rem; display: grid; gap: .8rem; }
.flow-box > .label { color: var(--ink); }
.flow-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; align-items: center; }
.flow-step { background: var(--paper-2); border-radius: var(--radius); padding: .7rem .5rem; text-align: center; font-size: .88rem; font-weight: 600; position: relative; }
.flow-step + .flow-step::before { content: "→"; position: absolute; left: -.65rem; top: 50%; transform: translate(-50%, -50%); color: var(--ink-soft); font-weight: 400; }
.flow-out { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .8rem; }
.flow-out > div { border-radius: var(--radius); padding: .8rem; font-size: .88rem; }
.flow-out .yes { border: 1.5px dashed var(--ink-soft); }
.flow-out .no { border: 1.5px solid var(--rule); color: var(--ink-soft); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.flow-out b { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .3rem; text-decoration: none; }
.speeds { width: 100%; border-collapse: collapse; margin-top: 1rem; font-variant-numeric: tabular-nums; }
.speeds th, .speeds td { text-align: left; padding: .7rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.speeds th { font-weight: 400; color: var(--ink-soft); }
.speeds td { font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 1.6rem; text-align: right; white-space: nowrap; padding-left: 1rem; }
.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.checks li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .6rem; }
.checks li::before { content: ""; width: 1rem; height: 1rem; margin-top: .3rem; background: var(--signal); border-radius: 2px; }
.checks b { display: block; }
.checks span { color: var(--ink-soft); }
@media (max-width: 900px) { .privacy-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 460px) { .flow-steps, .flow-out { grid-template-columns: minmax(0, 1fr); } .flow-step + .flow-step::before { content: "↓"; left: 50%; top: -.55rem; } }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); counter-reset: step; }
.steps li { counter-increment: step; display: grid; align-content: start; gap: .6rem; border-top: 2px solid var(--ink); padding-top: 1rem; min-width: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: .75rem; color: var(--ink-soft); }
.steps h3 { font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 1.55rem; line-height: 1.05; }
.steps p { color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 5rem); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 1.2rem; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 1.3rem; color: var(--ink-soft); max-width: 40em; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }

/* Kontakt */
.contact { background: var(--screen); color: var(--screen-ink); }
.contact .label { color: var(--screen-soft); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact h2 { font-size: var(--step-3); }
.contact .copy { color: var(--screen-ink); }
.contact .copy p { color: var(--screen-soft); }
.phone-big { font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); line-height: 1; user-select: all; }
.contact-direct { display: grid; gap: .8rem; margin-top: 2rem; }
.contact-direct .row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.ghost-light { border-color: var(--screen-ink); color: var(--screen-ink); padding: .55em .9em; font-size: .85rem; }
.private-hint { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--screen-2); color: var(--screen-soft); font-size: .95rem; }
.private-hint a { color: var(--screen-ink); }
.form-card { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(1.25rem, 3.5vw, 2.4rem); }
.form-tabs { display: flex; gap: .4rem; margin-bottom: 1.4rem; background: var(--paper-2); padding: .3rem; border-radius: var(--radius); }
.form-tabs button { flex: 1; border: 0; background: none; padding: .7em; border-radius: 3px; font-weight: 600; color: var(--ink-soft); }
.form-tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.form-msg { margin-top: 1rem; font-size: .95rem; min-height: 1.4em; }
.form-msg.ok { color: #1f7a3d; }
.form-msg.err { color: #b42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* Fuß */
.foot { padding-block: 2.5rem 3rem; font-size: .9rem; color: var(--ink-soft); }
.foot-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Studio: Format und Fotostreifen */
.studio-intro { color: var(--ink-soft); margin-top: .6rem; max-width: 30em; }
.seg { display: inline-flex; flex-wrap: wrap; gap: .3rem; background: var(--paper); padding: .3rem; border-radius: var(--radius); border: 1.5px solid var(--rule); }
.seg button { border: 0; background: none; padding: .55em .9em; border-radius: 3px; font-weight: 600; font-size: .9rem; color: var(--ink-soft); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.studio-stage { display: grid; place-items: center; min-height: 100%; min-width: 0; }
.studio-print { transition: width .35s ease; width: min(100%, 520px); }
.studio-print .photos { display: grid; gap: 3%; padding: 4.5% 4.5% 0; }
.studio-print .photos .photo { margin: 0; }
.studio-print[data-layout="karte"] .photos .photo:nth-child(n+2) { display: none; }
.studio-print[data-layout="raster"] .photos { grid-template-columns: 1fr 1fr; }
.studio-print[data-layout="streifen"] { width: min(100%, 230px); transform: rotate(-1.5deg); }
.studio-print[data-layout="streifen"] .photos { padding: 8% 8% 0; gap: 4%; }
.studio-print[data-layout="streifen"] .photos .photo:nth-child(4) { display: none; }
.studio-print[data-layout="streifen"] .print-strip { grid-template-columns: minmax(0, 1fr) auto; padding: 7% 8% 9%; }
.studio-print[data-layout="streifen"] .print-logo { grid-column: 1 / -1; justify-self: start; }
.studio-print[data-font="breit"] .print-title { font-stretch: 125%; font-weight: 500; letter-spacing: -.02em; }
.studio-print[data-font="schreibmaschine"] .print-title { font-family: var(--mono); font-weight: 500; font-size: clamp(.7rem, 1.8vw, .9rem); letter-spacing: .02em; }

/* Download-Seite am Handy */
.dl-demo { display: grid; place-items: center; }
.dl-phone { width: min(100%, 300px); }
.dl-screen { background: #f6f6f2; color: #15171a; border-radius: 14px; padding: 1rem; display: grid; gap: .8rem; }
.dl-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 1.15rem; }
.dl-head .label { color: #5b5f66; }
.dl-sponsor { display: flex; justify-content: space-between; align-items: center; gap: .5rem; border: 1px dashed #9aa0a6; border-radius: 3px; padding: .5rem .7rem; font-size: .85rem; }
.dl-sponsor .label { color: #5b5f66; font-size: .58rem; }
.dl-pics { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.dl-pics img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; width: 100%; }
.dl-optin { display: flex; gap: .5rem; align-items: flex-start; font-size: .82rem; line-height: 1.35; cursor: pointer; }
.dl-optin input { margin-top: .15rem; accent-color: #15171a; }
.dl-screen .btn { justify-content: center; font-size: .9rem; }
.dl-count { font-size: .8rem; color: #5b5f66; text-align: center; }
.dl-count b { color: #15171a; font-variant-numeric: tabular-nums; }
.dl-count.bump b { animation: tick .5s ease-out; display: inline-block; }

/* Mosaikwand */
.mosaic-wrap { background: var(--screen); border-radius: 6px; padding: 10px; box-shadow: var(--shadow); min-width: 0; }
.mosaic-wrap canvas { width: 100%; height: auto; display: block; border-radius: 3px; background: #000; }
.mosaic-wrap .beamer-bar { align-items: center; padding-top: 10px; }
.mosaic-wrap .btn { font-size: .85rem; padding: .6em 1em; }

/* Zitat */
.quote { margin: 0 0 clamp(2.5rem, 6vw, 4.5rem); display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem; max-width: 60rem; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--display); font-stretch: 85%; font-weight: 500; font-size: var(--step-2); line-height: 1.25; text-wrap: pretty; }
.quote figcaption { display: grid; gap: .2rem; padding-left: 1rem; border-left: 4px solid var(--signal); }
.quote figcaption span { color: var(--ink-soft); font-size: .95rem; }

@media (max-width: 600px) { .quote blockquote p { font-size: 1.2rem; line-height: 1.4; } }

/* Echte Eventfotos */
.moment-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; margin-bottom: .4rem; }
.credit { font-size: var(--step--1); color: var(--ink-soft); margin-top: -.8rem; }
.quote-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.quote-grid .quote { margin: 0; }
.quote-photo { margin: 0; }
.quote-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.quote-photo figcaption { font-size: var(--step--1); color: var(--ink-soft); margin-top: .5rem; }
.quote-grid .quote blockquote p { font-size: clamp(1.15rem, .9rem + 1vw, 1.6rem); line-height: 1.35; }
@media (max-width: 860px) { .quote-grid { grid-template-columns: minmax(0, 1fr); } }

/* Rechtliche Seiten */
.legal-top { margin-left: auto; display: flex; align-items: center; gap: 1.2rem; }
.legal-back { text-decoration: none; color: var(--ink-soft); font-size: .95rem; }
.legal-back:hover { color: var(--ink); }
.legal-top .btn { color: var(--on-signal); padding: .65em 1.05em; }
.legal-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.5fr); gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(4rem, 9vw, 7rem); align-items: start; }
.legal-side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); display: grid; gap: 1.1rem; min-width: 0; }
.legal-side h1 { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.6rem); hyphens: manual; }
.legal-intro { color: var(--ink-soft); max-width: 24em; }
.legal-toc ol { list-style: none; margin: .4rem 0 0; padding: 0; counter-reset: toc; border-top: 1px solid var(--rule); }
.legal-toc li { counter-increment: toc; border-bottom: 1px solid var(--rule); }
.legal-toc a { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); padding: .55rem 0; text-decoration: none; color: var(--ink-soft); font-size: .93rem; }
.legal-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: .72rem; padding-top: .2em; }
.legal-toc a:hover { color: var(--ink); }
.legal-switch { display: inline-flex; gap: .3rem; background: var(--paper-2); padding: .3rem; border-radius: var(--radius); justify-self: start; margin-top: .4rem; }
.legal-switch a { text-decoration: none; padding: .5em .9em; border-radius: 3px; font-weight: 600; font-size: .9rem; color: var(--ink-soft); }
.legal-switch a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.legal-body { display: grid; gap: 0; min-width: 0; }
.legal-sec { display: grid; gap: .8rem; padding-block: 1.8rem; border-top: 2px solid var(--ink); scroll-margin-top: 90px; }
.legal-sec h2 { font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.05; display: flex; gap: .8rem; align-items: baseline; }
.legal-sec h2 span { font-family: var(--mono); font-stretch: 100%; font-weight: 500; font-size: .75rem; color: var(--ink-soft); }
.legal-sec p { color: var(--ink-soft); max-width: 44em; }
.legal-sec a, .imprint a { color: var(--ink); }
.legal-short { background: var(--paper-2); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); margin-bottom: 2rem; }
.legal-short .checks { margin-top: 1rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.1rem 1.6rem; }
.imprint { margin: 0 0 2.5rem; border-top: 2px solid var(--ink); }
.imprint div { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.imprint dt { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); padding-top: .3em; }
.imprint dd { margin: 0; font-size: 1.1rem; }
.muted { color: var(--ink-soft); font-size: .9rem; }
.legal-date { font-family: var(--mono); font-size: .75rem; color: var(--ink-soft); padding-top: 1rem; border-top: 1px solid var(--rule); }
.form-legal { font-size: var(--step--1); color: var(--ink-soft); margin-top: .9rem; }
.form-legal a { color: var(--ink); }
@media (max-width: 900px) {
  .legal-grid { grid-template-columns: minmax(0, 1fr); }
  .legal-side { position: static; }
  .legal-short .checks { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .legal-back { display: none; }
  .imprint div { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
}

/* Schnellkontakt: Anrufen und WhatsApp */
.fab {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  display: flex; flex-direction: column; align-items: flex-end; gap: .6rem;
  transition: opacity .25s, transform .25s;
}
.fab.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
.fab-btn {
  display: inline-flex; align-items: center; gap: .55rem;
  height: 52px; padding: 0 1.15rem 0 .95rem;
  border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: .95rem;
  box-shadow: 0 6px 20px -6px rgba(0, 0, 0, .45);
  transition: transform .15s ease;
}
.fab-btn:hover { transform: translateY(-2px); text-decoration: none; }
.fab-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.fab-wa { background: #1fa855; color: #fff; }
.fab-tel { background: var(--ink); color: var(--paper); }
@media (max-width: 700px) {
  .fab-btn { width: 54px; height: 54px; padding: 0; justify-content: center; }
  .fab-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.contact .phone-big { color: var(--screen-ink); text-decoration: none; }
.contact .phone-big:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.wa-inline { background: #1fa855; border-color: #1fa855; color: #fff; padding: .55em .9em; font-size: .85rem; }
.logo-note { font-size: var(--step--1); color: var(--ink-soft); margin-top: .2rem; }
.logo-note.err { color: #b42318; }
.preview-tag { position: absolute; top: 8px; left: 8px; z-index: 2; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: .3em .6em; border-radius: 2px; }
.print-title { hyphens: auto; -webkit-hyphens: auto; }
.file-pick .btn { font-size: .92rem; padding: .7em 1.1em; }

/* Studio: echte Seitenverhältnisse. Postkarte 15 x 10 cm (3:2), Fotostreifen 5 x 15 cm (1:3) */
.studio-stage { gap: .8rem; align-content: center; }
.studio-print { display: flex; flex-direction: column; aspect-ratio: 3 / 2; }
.studio-print .photos { flex: 1 1 auto; min-height: 0; grid-auto-rows: minmax(0, 1fr); }
.studio-print .photos .photo { aspect-ratio: auto; height: 100%; min-height: 0; }
.studio-print .print-strip { flex: none; padding-block: 2.6% 3%; }
.studio-print[data-layout="raster"] .photos { grid-template-rows: repeat(2, minmax(0, 1fr)); }
.studio-print[data-layout="streifen"] { aspect-ratio: 1 / 3; width: min(100%, 210px); }
.studio-print[data-layout="streifen"] .photos { grid-template-rows: repeat(3, minmax(0, 1fr)); }
.studio-print[data-layout="streifen"] .print-strip { padding: 6% 8% 8%; }
.format-cap { font-family: var(--mono); font-size: .72rem; color: var(--ink-soft); text-align: center; }

/* Live-Zähler im gelben Band */
.live-count { margin-top: clamp(2.5rem, 6vw, 4rem); display: grid; gap: 1rem; }
.lc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1.5rem; border-top: 2px solid var(--on-signal); padding-top: 1rem; }
.lc-live { display: inline-flex; align-items: center; gap: .5em; font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.lc-live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #c8102e; animation: lcPulse 1.6s ease-in-out infinite; }
@keyframes lcPulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.lc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); }
.lc-num { font-family: var(--display); font-stretch: 62%; font-weight: 800; font-size: clamp(2.6rem, 1.4rem + 5vw, 5.6rem); line-height: .95; font-variant-numeric: tabular-nums; }
.lc-lab { font-weight: 600; margin-top: .3rem; }
.lc-note { font-size: var(--step--1); max-width: 52em; }
@media (max-width: 640px) { .lc-grid { grid-template-columns: minmax(0, 1fr); } }
.h1-kicker { display: block; margin-bottom: 1.2rem; font-family: var(--body, inherit); font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); font-weight: 600; line-height: 1.4; letter-spacing: 0; text-transform: none; font-stretch: 100%; color: var(--ink-soft); }

/* Hero beruhigt: gleiche Schrift mit Unterstreichung, grüne LED, Stile laufen langsam durch */
.hero h1 .ul { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: .09em; text-underline-offset: .12em; text-decoration-skip-ink: none; }
.rec::before { background: #2fbf71; box-shadow: 0 0 6px rgba(47, 191, 113, .7); }
.styles {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
  scroll-behavior: auto;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Bildnachweis direkt im Bild (je Foto, falls später andere Fotografen dazukommen) */
.photo-credit { position: relative; margin: 0; }
.photo-credit img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }
.photo-credit figcaption {
  position: absolute; right: 6px; bottom: 6px; margin: 0;
  font-family: var(--mono); font-size: .6rem; letter-spacing: .02em;
  background: rgba(10, 11, 13, .6); color: #fff;
  padding: .25em .55em; border-radius: 2px;
  pointer-events: none;
}
.moment-fig { margin-bottom: .4rem; }

/* Alle Ausdrucke im echten Postkartenformat 15 x 10 cm (3:2). Das Foto füllt den
   Platz über der Leiste; der Baukasten (.studio-print) setzt Streifen/Raster selbst. */
.print { display: flex; flex-direction: column; aspect-ratio: 3 / 2; }
.print > .photo { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; }
.print > .print-strip { flex: none; padding-block: 2.6% 3%; }
.moment .mini-print .print-strip { padding-block: 3% 3.5%; }
.moment .mini-print .qr { width: 2.6em; height: 2.6em; }
.moment .mini-print { width: 72%; }
.moment .mini-print .print-strip { padding: 2.5% 4% 3%; gap: 3%; }
.moment .mini-print .print-title { font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.moment .mini-print .qr { width: 1.9em; height: 1.9em; }

/* Zeitstrahl: kein Scrollbalken, ausgeblendete Kante zeigt, wo es weitergeht */
.timeline { scrollbar-width: none; -ms-overflow-style: none; --fade-l: 0px; --fade-r: 64px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%); }
.timeline::-webkit-scrollbar { display: none; }
.timeline.at-start { --fade-l: 0px; }
.timeline:not(.at-start) { --fade-l: 64px; }
.timeline.at-end { --fade-r: 0px; }
.icon-btn[aria-disabled="true"] { opacity: .3; pointer-events: none; }
/* Die nächste Karte ragt halb herein: 3,5 Karten sichtbar */
.timeline { grid-auto-columns: minmax(240px, calc((100% - 3 * clamp(1rem, 2.5vw, 2rem)) / 3.5)); }
/* Karten im Zeitstrahl ohne Strich darüber (Julian: verwirrt das Auge) */
.moment, .moment.last { border-top: 0; padding-top: 0; }

/* Externe Links im Text öffnen im neuen Tab und zeigen das mit einem kleinen Pfeil */
a[target="_blank"]:not(.btn):not(.fab-btn)::after { content: "\00a0\2197"; content: "\00a0\2197" / " (öffnet in neuem Tab)"; font-size: .85em; }

/* Vorher/Nachher im Marken-Abschnitt bleibt am Desktop beim Lesen stehen */
@media (min-width: 901px) {
  .brand-grid > figure { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); align-self: start; }
}

/* Baukasten neu aufgeteilt: Einstellungen am Bild, links nur Logo, Name, Datum */
.studio { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
.studio-stage { display: grid; justify-items: center; gap: .9rem; }
.studio-tools { width: min(100%, 520px); display: grid; gap: .7rem; margin-top: .4rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.studio-tools .tool { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); align-items: center; gap: .8rem; }
.studio-tools .seg { justify-self: start; background: var(--paper); }
.studio-tools .seg button { font-size: .85rem; padding: .5em .8em; }
.studio-tools .swatch { width: 30px; height: 30px; }
.form-hint { background: var(--paper-2); border-left: 4px solid var(--signal); padding: .6rem .8rem; font-size: .9rem; margin-bottom: 1rem; }
.field textarea.flash-field { animation: fieldFlash 1.6s ease-out; }
@keyframes fieldFlash { 0% { box-shadow: 0 0 0 4px var(--signal); } 100% { box-shadow: 0 0 0 0 transparent; } }

@media (max-width: 460px) { .studio-tools .tool { grid-template-columns: minmax(0, 1fr); gap: .35rem; } }

.studio { grid-template-areas: "head stage" "inputs stage"; grid-template-rows: auto 1fr; }
.studio-head { grid-area: head; }
.studio-stage { grid-area: stage; }
.studio-inputs { grid-area: inputs; align-self: start; }
@media (max-width: 900px) {
  .studio { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage" "inputs"; grid-template-rows: auto; }
}
.studio { row-gap: 1.6rem; }

/* Mosaikwand: zwei Knöpfe */
.mosaic-btns { display: inline-flex; gap: .5rem; flex-wrap: wrap; }
.mosaic-wrap .ghost-light { border-color: var(--screen-soft); color: var(--screen-ink); }

/* Event-Photowall: laufende Spalten wie auf event-photowall.com */
.pw-wall {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  height: 380px; overflow: hidden; border-radius: 4px; background: #0f0f12; padding: 0 8px;
  -webkit-mask-image: linear-gradient(transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
          mask-image: linear-gradient(transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}
.pw-col { overflow: hidden; min-width: 0; }
.pw-track { display: flex; flex-direction: column; gap: 8px; will-change: transform; }
.pw-item { position: relative; border-radius: 6px; overflow: hidden; background: #1b1d21; flex: none; transition: box-shadow .3s; }
.pw-item img { display: block; width: 100%; object-fit: cover; }
.pw-like { position: absolute; right: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: .62rem; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .55); padding: .2em .5em; border-radius: 999px; }
.pw-like svg { width: 10px; height: 10px; fill: #ff5a6e; }
.pw-text { padding: 14px 12px; color: #ececec; font-size: .85rem; line-height: 1.35; background: #23262b; }
.pw-item.new { box-shadow: 0 0 0 3px var(--signal); }
.pw-item.new::after { content: "Neu"; position: absolute; left: 6px; top: 6px; font-family: var(--mono); font-size: .6rem; font-weight: 600; text-transform: uppercase; background: var(--signal); color: var(--on-signal); padding: .2em .5em; border-radius: 2px; }
@media (max-width: 560px) {
  .pw-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); height: 320px; }
  .pw-col:nth-child(3) { display: none; }
}

/* Download-Seite: Nachbau der echten Seite (dunkel, Logo, Titelbild, Auswahl, Speichern) */
.dl-demo { display: grid; justify-items: center; gap: 1rem; }
.dl2 { --dl-accent: #2b6b8f; --dl-on-accent: #fbfbf7; background: #0d0e10; color: #f1f1ee; border-radius: 14px; padding: 10px; display: grid; gap: 10px; position: relative; overflow: hidden; }
.dl2-top { display: flex; align-items: center; gap: 6px; }
.dl2-logo { margin-right: auto; height: 1.9em; color: #f1f1ee; font-size: .62rem; }
.dl2-logo.has-img img { max-height: 1.9em; }
.dl2-pill { border: 1px solid #3a3d42; border-radius: 999px; padding: .25em .7em; font-size: .7rem; font-weight: 600; }
.dl2-accent-btn { border: 0; border-radius: 999px; background: var(--dl-accent); color: var(--dl-on-accent); font-weight: 700; font-size: .72rem; padding: .45em .9em; }
.dl2-hero { position: relative; border-radius: 12px; overflow: hidden; }
.dl2-hero img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.dl2-hero-text { position: absolute; inset: auto 0 0 0; padding: 22px 10px 8px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); display: grid; gap: 1px; }
.dl2-hero-text b { font-size: .95rem; line-height: 1.15; }
.dl2-hero-text span { font-size: .62rem; opacity: .85; }
.dl2-label { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; font-family: var(--mono); font-size: .58rem; text-transform: uppercase; letter-spacing: .06em; color: #9aa0a6; }
.dl2-label small { text-transform: none; letter-spacing: 0; font-family: var(--body); font-size: .6rem; }
.dl2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.dl2-pic { position: relative; border: 0; padding: 0; border-radius: 8px; overflow: hidden; background: #1b1d21; aspect-ratio: 1 / 1; }
.dl2-pic.wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.dl2-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .2s; }
.dl2-pic[aria-pressed="false"] img { opacity: .55; }
.dl2-check { position: absolute; top: 5px; right: 5px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; background: rgba(0, 0, 0, .35); display: grid; place-items: center; }
.dl2-check svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.dl2-pic[aria-pressed="true"] .dl2-check { background: var(--dl-accent); }
.dl2-pic[aria-pressed="true"] .dl2-check svg { opacity: 1; stroke: var(--dl-on-accent); }
.dl2-sponsor { aspect-ratio: 1 / 1; border-radius: 8px; background: #f4f4f0; color: #15171a; display: grid; place-items: center; position: relative; font-size: .8rem; }
.dl2-sponsor-tag { position: absolute; top: 5px; left: 5px; font-family: var(--mono); font-size: .52rem; text-transform: uppercase; letter-spacing: .06em; background: #15171a; color: #fff; padding: .2em .45em; border-radius: 2px; }
.dl2-bar { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px; }
.dl2-ghost { border: 1px solid #3a3d42; background: none; color: #f1f1ee; border-radius: 999px; font-size: .68rem; font-weight: 600; padding: .5em .8em; }
.dl2-save { padding: .65em .8em; font-size: .78rem; }
.dl2-save:disabled { opacity: .5; }
.dl2-toast { position: absolute; left: 10px; right: 10px; bottom: 54px; background: #f1f1ee; color: #15171a; border-radius: 8px; padding: .5em .7em; font-size: .72rem; text-align: center; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; pointer-events: none; }
.dl2-toast.on { opacity: 1; transform: none; }
.dl2-colors { display: flex; align-items: center; gap: .5rem; }
.dl2-colors .swatch { width: 26px; height: 26px; }

/* Beispiel-Logo (ausgedacht) */
.print-logo.is-example { border: 0; padding: 0; opacity: 1; min-width: 0; max-width: none; }
.print-logo .ex-logo { height: 2.1em; width: auto; display: block; }
.dl2-logo.is-example .ex-logo { height: 1.7em; }
.moment .mini-print .print-logo.is-example { display: none; }
.print-logo.is-example { height: auto; }
.print-logo .ex-logo { height: 2.6em; }

/* Download-Seite: Hintergrund und Schrift anpassbar */
.dl2 { --dl-bg: #0d0e10; --dl-fg: #f1f1ee; background: var(--dl-bg); color: var(--dl-fg); transition: background-color .3s, color .3s; }
.dl2-logo { color: var(--dl-fg); }
.dl2-pill, .dl2-ghost { border-color: color-mix(in srgb, var(--dl-fg) 28%, transparent); color: var(--dl-fg); }
.dl2-label { color: color-mix(in srgb, var(--dl-fg) 62%, transparent); }
.dl2-pic { background: color-mix(in srgb, var(--dl-fg) 10%, var(--dl-bg)); }
.dl2-colors { display: grid; gap: .45rem; justify-items: start; }
.dl2-crow { display: grid; grid-template-columns: 6.5rem repeat(4, auto); align-items: center; gap: .45rem; }
.dl2-crow .swatch { width: 24px; height: 24px; }
.dl2-hero-text { color: #fff; }
.dl2-sponsor { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dl-fg) 18%, transparent); }

/* Anlässe aufklappbar */
.occasion-item { border-bottom: 1px solid var(--rule); }
.occasion-item .occasion { width: 100%; background: none; border: 0; border-bottom: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.occasion .arrow { transition: transform .25s, background-color .2s; }
.occasion[aria-expanded="true"] .arrow { transform: rotate(90deg); background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
.occasion[aria-expanded="true"] h3 { font-stretch: 95%; }
.occasion-more { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3.5rem); padding: 0 0 clamp(1.6rem, 3vw, 2.4rem); }
.occasion-more .copy p { color: var(--ink-soft); }
.occ-example { border-left: 4px solid var(--signal); padding-left: .9rem; }
.occ-example b { color: var(--ink); }
.occasion-more .specs { margin-top: 0; }
@media (max-width: 760px) { .occasion-more { grid-template-columns: minmax(0, 1fr); } }
.occasion-more .copy { align-content: start; }
.flow-out { grid-template-columns: minmax(0, 1fr); }
/* Punkt am Ende der H1 wie im Logo: gelbes Feld */
.h1-dot { background: var(--signal); color: var(--on-signal); padding: 0 .06em; margin-left: .04em; }
.hero h1 { font-size: clamp(2.6rem, 1rem + 5.4vw, 5.8rem); }
/* Ausgabefach: leer bis zum ersten Auslösen */
.tray { position: relative; }
.tray-hint { position: absolute; left: 18px; right: 18px; top: 8px; bottom: 30px; display: grid; place-items: center; text-align: center; border: 1.5px dashed var(--rule); border-radius: 4px; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--ink-soft); transition: opacity .3s; }
.tray.has-print .tray-hint { opacity: 0; }

/* Challenges: Nachbau des Kartenbildschirms der Box (Vintage-Karten) */
.ch-demo { display: grid; gap: 1.2rem; justify-items: center; min-width: 0; }
.ch-screen { width: min(100%, 520px); background: var(--screen); border-radius: 14px; padding: 12px; box-shadow: var(--shadow); }
.ch-inner { position: relative; background: #fff; color: #111; border-radius: 6px; padding: 16px 12px 12px; display: grid; gap: 6px; }
.ch-flags { position: absolute; top: 10px; right: 10px; display: grid; gap: 6px; }
.ch-flags button { width: 28px; height: 19px; padding: 0; border: 0; border-radius: 3px; overflow: hidden; opacity: .4; cursor: pointer; }
.ch-flags button[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2px #111; }
.ch-flags svg { display: block; width: 100%; height: 100%; }
.ch-title { font-weight: 800; text-align: center; font-size: clamp(.85rem, .7rem + .6vw, 1.05rem); line-height: 1.2; padding: 0 40px; }
.ch-sub { font-weight: 600; text-align: center; font-size: clamp(.68rem, .6rem + .3vw, .8rem); padding: 0 40px; min-height: 1.3em; }
.ch-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; perspective: 900px; padding: 10px 4px 22px; }
.ch-card { position: relative; aspect-ratio: 5 / 7; border: 0; padding: 0; background: none; cursor: pointer; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.3, .7, .2, 1); }
.ch-card:disabled { cursor: default; }
.ch-card.open { transform: translateY(14px) scale(1.05) rotateY(180deg); z-index: 2; }
.ch-face { position: absolute; inset: 0; border-radius: 7px; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #8f1d22; padding: 5%; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5); }
.ch-in { position: relative; display: grid; place-items: center; height: 100%; background: #e9cf9f; border: 2px solid #d4434a; border-radius: 4px; overflow: hidden; }
.ch-back svg { width: 100%; height: 100%; }
.ch-front { transform: rotateY(180deg); }
.ch-front .ch-in { align-content: center; padding: 14% 14%; gap: 10%; }
.ch-text { font-family: var(--display); font-stretch: 70%; font-weight: 800; color: #3b0c0d; text-align: center; font-size: clamp(.7rem, .5rem + .7vw, 1rem); line-height: 1.12; text-shadow: 1px 1px 0 #ec8b91; }
.ch-cat { font-family: var(--display); font-stretch: 80%; font-weight: 600; color: #7a1a1a; font-size: clamp(.5rem, .42rem + .3vw, .66rem); text-align: center; }
.ch-side { position: absolute; top: 50%; font-family: var(--display); font-stretch: 75%; font-size: .42rem; color: #3b0c0d; white-space: nowrap; opacity: .8; }
.ch-side.l { left: 2px; transform: translate(-42%, -50%) rotate(-90deg); }
.ch-side.r { right: 2px; transform: translate(42%, -50%) rotate(90deg); }
.ch-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ch-btn { border: 0; background: #7b0a0c; color: #fff; font-weight: 600; font-size: clamp(.68rem, .58rem + .35vw, .85rem); padding: .75em .5em; border-radius: 2px; cursor: pointer; }
.ch-btn:disabled { opacity: .4; cursor: default; }
.ch-print { width: min(100%, 420px); transform: rotate(1deg); }
.ch-line { font-family: var(--mono); font-size: .6rem; line-height: 1.35; margin-top: .25rem; opacity: .85; }
.ch-own { margin: 1.2rem 0 .4rem; }
.ch-own-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.ch-own-row input { flex: 1 1 14rem; min-width: 0; }

/* Übersicht aller Möglichkeiten */
.overview { margin-top: clamp(3rem, 7vw, 5rem); display: grid; gap: 1.2rem; }
.ov-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2rem clamp(1rem, 2.5vw, 2rem); border-top: 2px solid var(--ink); padding-top: 1.2rem; }
.ov-col h4 { margin: 0 0 .6rem; font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 1.25rem; line-height: 1.1; }
.ov-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.ov-col li { font-size: .93rem; color: var(--ink-soft); line-height: 1.4; padding-left: .9rem; position: relative; }
.ov-col li::before { content: ""; position: absolute; left: 0; top: .55em; width: .45rem; height: .45rem; background: var(--signal); border-radius: 1px; }
.ov-col a { color: var(--ink); }
.ov-note { font-size: var(--step--1); color: var(--ink-soft); }
@media (max-width: 1100px) { .ov-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .ov-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 440px) { .ov-grid { grid-template-columns: minmax(0, 1fr); } }

/* Challenge-Ausdruck erst nach "Mit/Ohne Aufgabe starten" */
.ch-out { position: relative; width: min(100%, 420px); display: grid; }
.ch-out > * { grid-area: 1 / 1; }
.ch-out-hint { display: grid; place-items: center; text-align: center; border: 1.5px dashed var(--rule); border-radius: 4px; font-family: var(--mono); font-size: .72rem; color: var(--ink-soft); padding: 1rem; aspect-ratio: 3 / 2; transition: opacity .3s; }
.ch-out.has-print .ch-out-hint { opacity: 0; }
.ch-out .ch-print { width: 100%; opacity: 0; transform: translateY(-14px) rotate(0deg); pointer-events: none; }
.ch-out .ch-print.show { animation: chPrintIn .7s cubic-bezier(.2, .7, .2, 1) forwards; pointer-events: auto; }
@keyframes chPrintIn { from { opacity: 0; transform: translateY(-14px) rotate(0deg); } to { opacity: 1; transform: translateY(0) rotate(1deg); } }

/* Challenge-Runde: Kamera-Ansicht über den Karten, Ausdruck verschwindet wieder */
.ch-inner { overflow: hidden; }
.ch-cam { position: absolute; inset: 0; background: #050506; display: grid; place-items: center; align-content: center; gap: .4rem; color: #fff; z-index: 3; border-radius: 6px; overflow: hidden; }
.ch-cam img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .15s; }
.ch-count { position: relative; font-family: var(--display); font-stretch: 62%; font-weight: 800; font-size: clamp(3.5rem, 10vw, 6rem); line-height: .9; }
.ch-count.tick { animation: tick .5s ease-out; }
.ch-cam-hint { position: relative; font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.ch-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.ch-flash.on { animation: flash .5s ease-out; }
.ch-out .ch-print.gone { animation: chPrintOut .55s ease-in forwards; }
@keyframes chPrintOut { from { opacity: 1; transform: translateY(0) rotate(1deg); } to { opacity: 0; transform: translateY(22px) rotate(3deg); } }

/* GIF-Kachel in der Download-Vorschau: Bilder wechseln wie ein GIF */
.dl2-gif { aspect-ratio: 16 / 9; }
.dl2-gif-frames { position: absolute; inset: 0; }
.dl2-gif-frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: gifFrame 2s steps(1) infinite; }
.dl2-gif-frames img:nth-child(2) { animation-delay: .5s; }
.dl2-gif-frames img:nth-child(3) { animation-delay: 1s; }
.dl2-gif-frames img:nth-child(4) { animation-delay: 1.5s; }
@keyframes gifFrame { 0% { opacity: 1; } 25% { opacity: 0; } 100% { opacity: 0; } }
.dl2-gif-tag { position: absolute; left: 5px; bottom: 5px; font-family: var(--mono); font-size: .55rem; font-weight: 600; background: rgba(0, 0, 0, .6); color: #fff; padding: .2em .5em; border-radius: 2px; }
.dl2-pic[aria-pressed="false"] .dl2-gif-frames { opacity: .55; }
@media (prefers-reduced-motion: reduce) { .dl2-gif-frames img:first-child { opacity: 1; animation: none; } .dl2-gif-frames img:not(:first-child) { display: none; } }

.tray-hint, .ch-out-hint { padding: 1rem 1.4rem; line-height: 1.6; }

/* Zeitstrahl: neutraler Chat-Ausschnitt (kein bestimmtes Programm, keine Logos) */
.chat-mock { aspect-ratio: 3 / 2; border-radius: 2px; overflow: hidden; background: #f7f7f4; color: #1d1f23; border: 1px solid var(--rule); display: flex; flex-direction: column; margin-bottom: .4rem; font-size: .7rem; line-height: 1.3; }
.cm-head { display: flex; align-items: center; gap: .25rem; padding: .45rem .7rem; border-bottom: 1px solid #e3e3df; font-weight: 700; font-size: .72rem; }
.cm-hash { color: #8a8f96; font-weight: 400; }
.cm-time { margin-left: auto; font-family: var(--mono); font-weight: 400; font-size: .6rem; color: #8a8f96; }
.cm-msg { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .45rem; padding: .45rem .7rem 0; min-height: 0; }
.cm-av { width: 1.6rem; height: 1.6rem; border-radius: 4px; background: var(--av); color: #1d1f23; display: grid; place-items: center; font-size: .55rem; font-weight: 700; }
.cm-body { min-width: 0; display: grid; gap: .15rem; justify-items: start; }
.cm-body b { font-size: .7rem; }
.cm-body p { margin: 0; color: #3a3d42; }
.cm-body img { width: 62%; max-width: 150px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; margin-top: .15rem; }
.cm-react { display: inline-flex; align-items: center; gap: .25rem; font-family: var(--mono); font-size: .58rem; background: #ecebe6; border-radius: 999px; padding: .1rem .45rem; }
.cm-react svg { width: 9px; height: 9px; fill: #d64b5e; }
:root[data-theme="dark"] .chat-mock, :root:not([data-theme="light"]) .chat-mock { border-color: transparent; }

.cm-msg { flex: none; padding-top: .4rem; }
.cm-media { display: flex; align-items: flex-end; gap: .4rem; margin-top: .15rem; }
.cm-media img { width: 52%; max-width: 130px; margin: 0; }
.cm-head { flex: none; }
.cm-head { padding: .35rem .65rem; }
.cm-msg { grid-template-columns: 1.3rem minmax(0, 1fr); gap: .4rem; padding: .3rem .65rem 0; }
.cm-av { width: 1.3rem; height: 1.3rem; font-size: .5rem; }
.cm-body { gap: .1rem; }
.cm-media img { width: 46%; }

/* Der Ausdruck "hängt immer noch": mit Klebestreifen an der Wand */
.moment .mini-print { overflow: visible; margin-top: 1.1rem; }
.moment .mini-print::before {
  content: ""; position: absolute; z-index: 2; top: -9px; left: 50%;
  width: 34%; height: 18px; transform: translateX(-50%) rotate(-4deg);
  background: rgba(236, 228, 196, .78);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
  -webkit-mask: linear-gradient(90deg, transparent 0 2px, #000 2px calc(100% - 2px), transparent calc(100% - 2px));
          mask: linear-gradient(90deg, transparent 0 2px, #000 2px calc(100% - 2px), transparent calc(100% - 2px));
}
.moment .mini-print .photo { overflow: hidden; }


/* Zähler: persönlicher Titel, Stand-Zeile, Ziffern als Umblätter-Plättchen */
.lc-title { font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); line-height: 1.1; }
.lc-stand { font-size: var(--step--1); }
.lc-num { display: flex; align-items: flex-end; gap: .06em; font-size: clamp(2rem, 4.6vw, 4rem); }
@media (max-width: 640px) { .lc-num { font-size: clamp(2.4rem, 13vw, 4rem); } }
.flap {
  position: relative; display: inline-block; min-width: .64em; padding: .04em .06em; text-align: center;
  background: var(--on-signal); color: var(--signal); border-radius: .08em; transform-origin: 50% 50%;
}
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: color-mix(in srgb, var(--signal) 55%, transparent); opacity: .35; }
.flap.flip { animation: flapFlip .22s ease-out; }
@keyframes flapFlip { 0% { transform: perspective(240px) rotateX(-55deg); filter: brightness(.7); } 100% { transform: perspective(240px) rotateX(0); filter: none; } }
.flap-sep { padding: 0 .02em; }

/* Personal vor Ort (unter den Preisen) */
.staff { margin-top: clamp(2rem, 5vw, 3rem); max-width: 52rem; }
.staff h3 { font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 1.5rem; line-height: 1.1; margin: 0 0 .5rem; }
.staff .specs { margin-bottom: 0; }
.occ-photo { margin: 0 0 1.2rem; }
.occ-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }

/* Photowall-Vorführung bleibt am Desktop neben der langen Liste stehen */
@media (min-width: 961px) {
  .wall-grid > div:last-child { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); }
}
.cases-more { margin-top: 1.5rem; color: var(--ink-soft); max-width: 52em; }

/* Marken-Beispiele: Reiter über dem Vorher/Nachher-Regler */
.ba-tabs { margin-bottom: 1rem; }
.ba-nutzen { margin: .9rem 0 0; font-weight: 600; color: var(--ink); }
.booth-cap { transition: opacity .4s ease; }
.booth-cap.wait { opacity: 0; }

/* Sprachwechsel im Menü */
.nav .lang-link { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; border: 1px solid var(--rule); border-radius: 3px; padding: .2em .5em; }
.nav .lang-link:hover { border-color: var(--ink); }

/* Sprachwechsel auf den Rechtsseiten, auch am Handy sichtbar */
.legal-lang { text-decoration: none; color: var(--ink-soft); font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; border: 1px solid var(--rule); border-radius: 3px; padding: .2em .5em; }
.legal-lang:hover { color: var(--ink); border-color: var(--ink); }
.legal-note { font-size: var(--step--1); color: var(--ink-soft); border-left: 4px solid var(--signal); padding-left: .9rem; margin: 0 0 1.6rem; }
