/* Desktop-flavoured layer, measured from a second reference: a flat menu bar with status icons and a clock
   (53px high, 14px type, 16px between the icons), glossy pills under the icons, a control centre at 820px and below,
   a dotted hero with stickers that can be dragged, a notes window (480 x 555, 20px text) between arches of folders,
   and a wordmark laid out of folders in the footer. Colours, type and content are ours; every picture is drawn here. */

/* ---- Menu bar ---------------------------------------------------------------------------------------------- */
.nav-halter {
  inset: 0 0 auto;
  padding: 0;
  pointer-events: auto;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  background: rgba(247, 247, 247, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}

.nav {
  position: relative;
  width: 100%;
  max-width: none;
  height: 53px;
  margin: 0;
  padding: 0 24px;
  gap: 16px;
  border-radius: 0;
  background: none;
  color: var(--ink);
  box-shadow: none;
}

.nav-marke { padding: 0; }
.wortmarke { width: 112px; }
.nav-links { gap: 16px; font-size: 14px; font-weight: 400; color: rgba(0, 0, 0, 0.6); }
.nav-links a, .nav-sprache { height: 44px; padding: 0; border-radius: 0; }
.nav-links a:hover, .nav-sprache:hover { background: none; color: var(--ink); }
.nav-rechts { gap: 16px; margin-left: auto; }
.nav-sprache { font-weight: 500; color: rgba(0, 0, 0, 0.6); }

/* The call to action becomes a plain coloured link, like a menu item. */
.nav .knopf,
.nav .knopf:hover {
  height: 44px;
  padding: 0;
  background: none;
  color: #c53704;
  font-size: 14px;
  font-weight: 500;
}

.nav .knopf:hover { text-decoration: underline; text-underline-offset: 3px; }

.mb-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 44px;
  translate: -50% -50%;
}

.mb-logo img { height: 34px; width: auto; transform-origin: 50% 100%; }
.mit-bewegung .mb-logo img { animation: mb-quetsch 7s ease-in-out infinite; }

@keyframes mb-quetsch {
  0%, 86%, 100% { transform: scale(1, 1); }
  90% { transform: scale(1.12, 0.84); }
  94% { transform: scale(0.94, 1.08); }
  97% { transform: scale(1.03, 0.98); }
}

/* Status cluster as measured: 14px icon boxes, 16px apart, pale until hovered. */
.mb-status { display: flex; align-items: center; gap: 16px; color: rgba(0, 0, 0, 0.32); }

.mb-knopf {
  position: relative;
  display: grid;
  place-items: center;
  width: 14px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.mb-knopf::before { content: ""; position: absolute; inset: 0 -8px; }
.mb-knopf:hover, .mb-knopf[aria-expanded="true"] { color: rgba(0, 0, 0, 0.7); }
.mb-knopf:focus-visible, .mb-logo:focus-visible, .mb-regler:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
.mb-knopf > svg { width: 14px; height: 14px; }
.mb-knopf:nth-child(2) > svg { width: 10.5px; height: 10.5px; }
.mb-knopf:nth-child(3) > svg { width: 8.2px; height: 11.7px; }
.mb-akku { display: grid; place-items: center; }
.mb-akku svg { display: block; width: 24px; height: 14px; }
.mb-zeit { font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; color: rgba(0, 0, 0, 0.55); }

/* The glossy pill that drops out of an icon (34px high, 1px dark edge, soft inner shine). */
.mb-pop {
  position: absolute;
  top: 19px;
  left: 50%;
  z-index: 5;
  padding-top: 24px;
  opacity: 0;
  visibility: hidden;
  translate: -50% -4px;
  transition: opacity 0.18s ease, translate 0.18s ease, visibility 0.18s;
  cursor: default;
}

.mb-knopf[aria-expanded="true"] .mb-pop { opacity: 1; visibility: visible; translate: -50% 0; }

.mb-pille {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  height: 34px;
  padding: 0 12px 1px;
  border: 1px solid #626262;
  border-radius: 999px;
  background: linear-gradient(#ffffff 0%, #ececec 46%, #f8f8f8 100%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), inset 0 -11px 5px -9px rgba(255, 255, 255, 0.35), inset 0 -8px 7px -6px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  white-space: nowrap;
  color: #000;
}

.mb-glanz { position: absolute; left: 9px; right: 9px; top: 1px; height: 10px; border-radius: 999px; background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0)); pointer-events: none; }
.mb-pille b { margin-left: -6px; font-weight: 500; }
.mb-ic { display: grid; place-items: center; width: 17px; height: 17px; }
.mb-ic svg { width: 17px; height: 17px; }
.mb-bild { border-radius: 2px; object-fit: cover; }
.mb-ende { display: grid; place-items: center; width: 12px; height: 12px; }
.mb-ende svg { width: 12px; height: 12px; }
.mb-balken { display: flex; align-items: flex-end; gap: 1.6px; height: 12px; opacity: 0.5; }
.mb-balken i { width: 2.4px; height: 100%; border-radius: 999px; background: currentColor; transform-origin: 50% 100%; scale: 1 0.45; }
.mit-bewegung .mb-balken i { animation: mb-takt 0.9s ease-in-out infinite; }
.mb-balken i:nth-child(2) { animation-delay: 0.2s; }
.mb-balken i:nth-child(3) { animation-delay: 0.4s; }

@keyframes mb-takt {
  50% { scale: 1 1; }
}

/* Control centre for small screens. */
.mb-regler { display: none; place-items: center; width: 44px; height: 44px; margin-right: -12px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.mb-regler svg { width: 20px; height: 20px; }

.mb-zentrum {
  position: fixed;
  inset: 53px 0 0;
  z-index: 49;
  padding: 14px 14px 32px;
  background: rgba(247, 247, 247, 0.96);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  overflow-y: auto;
}

.mb-zentrum[hidden] { display: none; }
.mz-kopf { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 12px; font-size: 13px; color: rgba(0, 0, 0, 0.55); }
.mz-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mz-klein { display: grid; gap: 10px; }

.mz-zeile,
.mz-kachel,
.mz-laeuft {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: linear-gradient(#ffffff, #f0f0f0);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06), inset 0 1px 0 #fff;
  color: var(--ink);
}

.mz-zeile { display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 14px; border-radius: 999px; font-size: 14px; }
.mz-zeile svg { flex: none; width: 16px; height: 16px; color: rgba(0, 0, 0, 0.55); }
.mz-zeile b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mz-ruf, .mz-ruf svg { color: #c53704; }
.mz-laeuft { display: grid; align-content: end; gap: 2px; min-height: 164px; padding: 14px; border-radius: 26px; font-size: 14px; }
.mz-laeuft img { width: 72px; height: 72px; margin-bottom: 10px; border-radius: 12px; object-fit: cover; }
.mz-laeuft b { font-weight: 600; }
.mz-laeuft span { font-size: 13px; color: rgba(0, 0, 0, 0.55); }
.mz-laeuft .mb-balken { position: absolute; }
.mz-kachel { display: grid; place-items: center; min-height: 84px; padding: 10px; border-radius: 26px; font: inherit; font-size: 16px; font-weight: 500; text-align: center; cursor: pointer; }
.mz-offen { overflow: hidden; }
.mz-recht { display: flex; justify-content: center; gap: 22px; padding: 12px 0 2px; font-size: 13px; }
.mz-recht a { display: grid; place-items: center; min-height: 44px; color: rgba(0, 0, 0, 0.55); text-decoration: none; }
.mz-recht a:hover { color: var(--ink); }
.nav-recht { display: flex; gap: 14px; margin-right: 6px; font-size: 13px; }
.nav-recht a { color: var(--muted); text-decoration: none; }
.nav-recht a:hover { color: var(--ink); }
@media (max-width: 1023px) { .nav-recht { display: none; } }
/* Room for the legal links on narrow desktops: the decorative status icons give way. */
@media (min-width: 1024px) and (max-width: 1279px) { .nav-rechts:has(.nav-recht) .mb-status { display: none; } }

/* ---- Stickers ------------------------------------------------------------------------------------------------ */
.hat-sticker { position: relative; }

/* The dots of the hero sit on their own layer, so fading them out at the bottom does not fade the content. */
.held.hat-sticker::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background-image: radial-gradient(rgba(0, 0, 0, 0.13) 1px, rgba(0, 0, 0, 0) 1.3px);
  background-size: 26px 26px;
  background-position: 50% 13px;
  -webkit-mask-image: linear-gradient(#000 78%, transparent);
  mask-image: linear-gradient(#000 78%, transparent);
  pointer-events: none;
}

.sticker {
  position: absolute;
  z-index: 1;
  width: var(--sb);
  transform-origin: 0 0;
  translate: var(--tx, 0px) var(--ty, 0px);
  rotate: var(--sr, 0deg);
  scale: var(--sk, 1);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.sticker[hidden] { display: none; }
.sticker:active { cursor: grabbing; }
.sticker.wird-gezogen { z-index: 3; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.22)); }
.sticker img, .sticker svg { display: block; width: 100%; height: auto; pointer-events: none; }
.sticker-bild img { filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.18)); }
.mit-bewegung .sticker { animation: sticker-rein 0.45s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: var(--sd, 0s); }

@keyframes sticker-rein {
  from { opacity: 0; translate: 0 16px; }
}

/* Hero stickers come in with the page, after the intro: the spring of my Manhunt site (bounce 0.2, one second), from
   half size, 60px lower and turned by 14 degrees. A sticker scales from its top left corner, so a quarter of its own
   size keeps the middle in place. The cubic curve is for browsers without linear(). */
.mit-bewegung .held .sticker { opacity: 0; animation: none; }
.mit-bewegung.seite-da .held .sticker {
  opacity: 1;
  animation: sticker-feder 1.4s cubic-bezier(0.25, 1.05, 0.4, 1) both;
  animation-timing-function: linear(0, 0.0417, 0.1406, 0.2666, 0.3993, 0.5257, 0.6387, 0.7348, 0.8134, 0.8753, 0.9223, 0.9567, 0.9809, 0.997, 1.0069, 1.0124, 1.0148, 1.0151, 1.0141, 1.0124, 1.0105, 1.0085, 1.0066, 1.005, 1.0036, 1.0025, 1.0016, 1.001, 1);
  animation-delay: var(--sd, 0s);
}

@keyframes sticker-feder {
  from { opacity: 0; transform: translate(25%, calc(25% + 60px)) scale(0.5) rotate(14deg); }
}

.sticker-kao { width: auto; font-family: var(--sans); font-size: var(--sb); line-height: 1.3; white-space: nowrap; color: var(--ink); }

/* Name tag */
.sticker-schild { padding-bottom: calc(var(--sb) * 0.07); border-radius: 7px; background: var(--schild, #e2382d); box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2); line-height: 1; text-align: center; color: #fff; }
.sticker-schild b { display: block; padding-top: calc(var(--sb) * 0.07); font-size: calc(var(--sb) * 0.13); font-weight: 700; letter-spacing: 0.08em; line-height: 1.1; text-transform: uppercase; }
.sticker-schild small { display: block; font-size: calc(var(--sb) * 0.075); font-weight: 500; line-height: 1.3; }
.sticker-schild span { display: grid; place-items: center; height: calc(var(--sb) * 0.36); margin: calc(var(--sb) * 0.05) 0 0; background: #fff; font-family: var(--hand); font-size: calc(var(--sb) * 0.17); color: var(--ink); }

.sticker-ordner { cursor: pointer; }
.sticker-ordner img { transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
.sticker-ordner:hover img { transform: translateY(-3px) scale(1.08); }

/* The spinning beach ball of a busy Mac, drawn as a cone of colours. */
/* As in the reference: only the drawing casts a shadow, and the ball spins while the pointer is on it. */
.sticker-ball { height: var(--sb); }
.sticker-ball img { height: 100%; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4)); }
.mit-bewegung .sticker-ball { animation: sticker-rein 0.45s cubic-bezier(0.16, 1, 0.3, 1) both, ball-dreh 0.8s linear infinite paused; animation-delay: var(--sd, 0s), 0s; }
/* In the hero the ball springs in like the other stickers and keeps its spin for the pointer. */
.mit-bewegung.seite-da .held .sticker-ball {
  animation-name: sticker-feder, ball-dreh;
  animation-duration: 1.4s, 0.8s;
  animation-timing-function: cubic-bezier(0.25, 1.05, 0.4, 1), linear;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: both, none;
  animation-play-state: running, paused;
  animation-delay: var(--sd, 0s), 0s;
}
.mit-bewegung.seite-da .held .sticker-ball:hover, .mit-bewegung.seite-da .held .sticker-ball.wird-gezogen { animation-play-state: running, running; }
.mit-bewegung .sticker-ball:hover, .mit-bewegung .sticker-ball.wird-gezogen { animation-play-state: running, running; }

@keyframes ball-dreh {
  to { rotate: 360deg; }
}

.sticker-kappe { filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.18)); }
/* The lettering is white, so it sits on the crown of the cap. */
.sticker-kappe .kappe-wort { position: absolute; left: 37%; top: 27%; width: 44%; }

/* Holographic oval */

.sticker-bild.ist-pixel img { image-rendering: pixelated; }

/* ---- Notes window between arches of folders ------------------------------------------------------------------ */
.notiz.mit-fenster {
  position: relative;
  left: 50%;
  width: calc(100vw / var(--nf-skala, 1));
  max-width: 1440px;
  min-height: 768px;
  margin-top: 40px;
  padding: 113px 20px 100px;
  translate: -50% 0;
  zoom: var(--nf-skala, 1);
}

.mac-pille {
  position: absolute;
  top: 56px;
  left: 50%;
  z-index: 2;
  padding: 6px 14px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 999px;
  background: linear-gradient(#fff 0%, #e7e7e7 42%, #fbfbfb 100%);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(0, 0, 0, 0.6);
  translate: -50% 0;
}

/* The reference's film of the arches. Its ground is a shade darker than this page (245 against 247), so it is lifted
   to match; the colour layer above it only changes hue, greys stay grey. */
.bogen-film { position: absolute; inset: 120px 0 auto; aspect-ratio: 1440 / 500; overflow: hidden; isolation: isolate; pointer-events: none; }
.bogen-film video { display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.0082); }
.bogen-farbe { position: absolute; inset: 3.4% 0 0; mix-blend-mode: hue; background: linear-gradient(90deg, #001eff 0%, #1900ff 5.6%, #ff00fb 11.1%, #ff0080 20.8%, red 34.7%, #ff8000 44.4%, #00ff80 56.9%, #26ff00 66.7%, #5aff00 76%, #a0ff00 82%, #e6ff00 87%, #ffe100 91%, #fa0 96%, #ff7800 100%); }
.bogen { position: absolute; inset: 120px 0 auto; width: 100%; height: auto; aspect-ratio: 1440 / 500; overflow: visible; pointer-events: none; }
.mit-bewegung .bogen > g { animation: bogen-welle 3.6s ease-in-out infinite; animation-delay: var(--bd, 0s); }

@keyframes bogen-welle {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-7px); }
}

/* The window and the photos that stick to its edges share one frame. */
.nf-rahmen { position: relative; z-index: 2; width: min(100%, 480px); margin: 0 auto; }
/* The photos only touch the window's edge, so no line of the note is covered. */
.nf-rahmen .notiz-foto-1 { right: -158px; top: -64px; }
.nf-rahmen .notiz-foto-2 { right: auto; left: -176px; top: 250px; rotate: -6deg; }
.notizfenster { position: relative; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 10px 24px rgba(0, 0, 0, 0.12); overflow: hidden; }

.nf-leiste {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  background: linear-gradient(90deg, rgba(254, 234, 61, 0.2), rgba(254, 234, 61, 0.2)), linear-gradient(#ececec, #dcdcdc);
  font-size: 12px;
  color: rgba(0, 0, 0, 0.55);
}

.nf-leiste b { display: flex; align-items: center; gap: 6px; font-weight: 400; }
.nf-leiste svg { width: 15px; height: 15px; }
.ampel { position: absolute; left: 10px; top: 50%; display: flex; gap: 5px; translate: 0 -50%; }
.ampel i { width: 12px; height: 12px; background: url(assets/neu/fremd/win-close.png) center / 100% 100% no-repeat; }
.ampel i:nth-child(2) { background-image: url(assets/neu/fremd/win-min.png); }
.ampel i:nth-child(3) { background-image: url(assets/neu/fremd/win-zoom.png); }
.nf-blatt { padding: 20px 24px 32px; text-align: left; }
.nf-blatt p { margin: 0 0 10px; font-size: 20px; line-height: 30px; color: #1a1a1a; text-wrap: pretty; }
.nf-blatt mark { padding: 2px 3px; border-radius: 2px; background: rgba(254, 234, 61, 0.35); color: #000; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.nf-wer { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 16px; line-height: 1.45; }
.nf-wer img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12); }
.nf-wer b { display: block; font-weight: 400; }
.nf-wer span { display: block; color: rgba(0, 0, 0, 0.6); }
.nf-wer .hand { margin-left: auto; font-family: var(--hand); font-size: 30px; rotate: -6deg; color: var(--ink); }
.nf-mehr { display: inline-flex; margin-top: 22px; }

/* ---- Footer: the name laid out of folders -------------------------------------------------------------------- */
.ordner-buehne { position: relative; width: min(100%, 1139px); margin: 16px auto 28px; padding: 0 clamp(26px, 9vw, 130px); }

/* Seven rows of steps; a folder is 1.86 steps wide and 1.64 high, so the block is 6 + 1.64 steps tall. */
.ordner-marke { position: relative; container-type: inline-size; aspect-ratio: var(--spalten) / 7.64; touch-action: pan-y; }
.ordner-marke i { --s: calc(100cqw / var(--spalten)); position: absolute; left: calc(var(--s) * var(--c)); top: calc(var(--s) * var(--r)); width: calc(var(--s) * 1.86); }
.ordner-marke img { display: block; width: 100%; height: auto; transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.ordner-marke i.offen { z-index: 2; }
.mit-bewegung .ordner-marke img { opacity: 0; transform: translateY(-60px) scale(0.5); }
.mit-bewegung .ordner-marke.ist-da img { opacity: 1; transform: none; transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--od, 0s), opacity 0.3s ease var(--od, 0s); }
.mit-bewegung .ordner-marke.ist-fertig img { transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.ordner-marke i.offen img, .mit-bewegung .ordner-marke.ist-da i.offen img { transform: translateY(-22%) rotate(-5deg) scale(1.12); }
.ordner-korb, .ordner-einzeln { position: absolute; width: clamp(40px, 5.2vw, 75px); }
.ordner-korb { left: 0; top: 24%; }
.ordner-korb img, .ordner-einzeln img { display: block; width: 100%; height: auto; }
.ordner-einzeln { right: 0; top: 0; }
.fuss-claude { margin: 0 0 14px; font-size: 14px; text-align: center; color: var(--muted); }
.fuss-claude a { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: #b3512f; text-decoration: underline; text-decoration-color: rgba(217, 119, 87, 0.5); text-underline-offset: 3px; vertical-align: bottom; }
.fuss-claude a:hover { text-decoration-color: currentColor; }
.fuss-claude svg { width: 16px; height: 16px; fill: #d97757; }

/* ---- 820px and below: the reference's small-screen layout ------------------------------------------------------ */
@media (max-width: 820px) {
  .nav { height: 53px; padding: 0 20px; gap: 12px; }
  .nav-halter { top: 0; }
  .wortmarke { width: 104px; }
  .nav-links, .mb-status, .mb-logo, .nav-sprache { display: none; }
  .mb-regler { display: grid; }
  .nav .knopf { display: inline-flex; }

  /* Room for the band of stickers above the title. */
  /* A lower band of stickers; the rest hang along the left and right edge of title and text and may overlap it a little. */
  .held.hat-sticker { padding-top: 150px; overflow-x: clip; }
  .notiz.mit-fenster { min-height: 0; padding: 96px 20px 72px; }
  .mac-pille { top: 40px; }
  .bogen, .bogen-film { display: none; }
  .nf-rahmen { max-width: none; }
  .nf-blatt { padding: 18px 18px 26px; }
  .nf-blatt p { font-size: 17px; line-height: 24.65px; }
  .nf-rahmen .notiz-foto-2 { display: none; }
  .ordner-buehne { padding: 44px 26px 0; margin-bottom: 20px; }
  .ordner-korb, .ordner-einzeln { top: 0; width: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .ordner-marke img, .sticker-ordner img, .mb-pop { transition: none; }
}

/* ---- FAQ ------------------------------------------------------------------------------------------------------
   Measured from the reference at 1440px: label 104px from the top, title 56px (medium, -0.03em, 1.2) 28px below it,
   a line of 20px text 16px further down, the list 834px wide 64px lower, cards 8px apart with 8px corners and 20px
   padding, question 20px medium, answer 16px and at most 480px wide, a 102px picture turned by 6 degrees 100px to the
   right of the list. 1023px and below: 40px 20px padding, title 36px, text 16px, cards with 18px padding, question
   18px, answer 15px, no picture. The answer is our muted grey instead of black at half strength: that fails contrast. */
.fragen-liste { position: relative; display: flex; flex-direction: column; gap: 8px; border: 0; text-align: left; }
.fragen-liste details { padding: 0; border-radius: 8px; background: var(--card); }
.fragen-liste details + details { border-top: 0; }
.fragen-liste summary { align-items: flex-start; padding: 18px 20px; font-size: 20px; font-weight: 500; line-height: 24px; letter-spacing: -0.03em; -webkit-user-select: none; user-select: none; transition: padding-bottom 0.38s cubic-bezier(0.33, 1, 0.68, 1); }
.fragen-liste summary:focus-visible { outline: 3px solid var(--blau); outline-offset: -3px; border-radius: 8px; }
.fragen-liste .plus { font-size: 26px; font-weight: 400; line-height: 24px; color: var(--ink); }
.fragen-plus { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--ink); transition: rotate 0.42s cubic-bezier(0.34, 1.45, 0.64, 1); }
.fragen-liste details p, .u-fragen .fragen-liste details p { max-width: 520px; margin: 0; padding: 0 20px 20px; font-size: 16px; line-height: 1.5; letter-spacing: -0.03em; color: var(--muted); }
.fragen-liste details[open] summary { padding-bottom: 6px; }

/* With the script the answer sits in a grid row that grows from nothing, and "auf" is the state that shows. */
.fragen-js details[open] summary { padding-bottom: 18px; }
.fragen-js details.auf summary { padding-bottom: 6px; }
.fragen-huelle { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.38s cubic-bezier(0.33, 1, 0.68, 1); }
.fragen-clip { min-height: 0; overflow: hidden; }
details.auf > .fragen-huelle { grid-template-rows: 1fr; }
details.auf .fragen-plus { rotate: 45deg; }

/* Start page: label, title and a line of text in the middle, the list below, a tilted photo beside it. */
.fragen-buehne { position: relative; max-width: none; padding: 104px 20px 40px; text-align: center; }
.fragen-buehne::before { content: ""; position: absolute; top: 8px; left: 50%; width: min(1090px, 100% - 40px); border-top: 2px dotted rgba(0, 0, 0, 0.15); translate: -50% 0; }
.fragen-pille { display: inline-flex; align-items: center; height: 28px; padding: 0 12px 1px; border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 999px; background: linear-gradient(#fff 0%, #e7e7e7 42%, #fbfbfb 100%); font-size: 12px; font-weight: 500; line-height: 18px; letter-spacing: -0.03em; text-shadow: 0 2px 2px rgba(255, 255, 255, 0.8); color: #5c5c5c; }
.fragen-buehne .fragen-titel { margin: 28px 0 0; font-size: 56px; font-weight: 500; line-height: 1.2; letter-spacing: -0.03em; }
.fragen-unter { margin: 16px 0 0; font-size: 20px; line-height: 1.5; letter-spacing: -0.03em; }
.fragen-buehne .fragen-liste { width: min(834px, 100%); margin: 64px auto 0; }
.fragen-foto { position: absolute; left: calc(100% + 100px); top: 55px; width: 102px; height: 102px; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 6px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); object-fit: cover; rotate: 6deg; }

@media (max-width: 1279px) {
  .fragen-foto { display: none; }
}

@media (max-width: 1023px) {
  .fragen-liste summary { padding: 18px; font-size: 18px; line-height: 1.2; }
  .fragen-liste details[open] summary, .fragen-js details.auf summary { padding-bottom: 8px; }
  .fragen-js details[open]:not(.auf) summary { padding-bottom: 18px; }
  .fragen-plus { margin-top: 1px; }
  .fragen-liste details p, .u-fragen .fragen-liste details p { max-width: none; padding: 0 18px 18px; font-size: 15px; }
  .fragen-buehne { padding: 72px 20px 40px; }
  .fragen-buehne::before { top: 48px; }
  .fragen-buehne .fragen-titel { margin-top: 16px; font-size: 36px; line-height: 1.1; }
  .fragen-unter { margin-top: 20px; font-size: 16px; line-height: 1.45; }
  .fragen-buehne .fragen-liste { margin-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .fragen-liste summary, .fragen-plus, .fragen-huelle { transition: none; }
}

/* ---- Phones: room for a thumb ---------------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  /* The photo sits on the window's title bar instead of over the first lines of the note. */
  .nf-rahmen .notiz-foto { width: 84px; padding: 5px 5px 16px; }
  .nf-rahmen .notiz-foto-1 { right: -4px; top: -92px; }
}

@media (max-width: 820px) {
  .nav-marke { min-height: 44px; }
  /* Copyright on its own line, the two legal links below it with a full-height touch target each. */
  .fuss-links { gap: 0 24px; }
  .fuss-links > span { flex-basis: 100%; text-align: center; }
  .fuss-links a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ---- Menu bar with five links --------------------------------------------------------------------------------- */
/* Below 1200px the fifth link would reach the logo in the middle of the bar, so the logo steps aside. */
@media (min-width: 1024px) and (max-width: 1199px) {
  .mb-logo { display: none; }
}

/* ---- Below 1024px: the island ------------------------------------------------------------------------------------
   Not a button in the bar: a black island at the bottom of the screen, in reach of the thumb. It carries the figure,
   the name of the section in view and an arrow; beside it sits the way to write to me. A tap lets the control centre
   grow out of the island (it starts as the island's own shape and opens upwards), its tiles spring in one after the
   other, and the page behind it dims. The top bar keeps the wordmark and gets the status icons back. */
.insel-leiste, .insel-schleier { display: none; }

@media (max-width: 1023px) {
  .mb-regler, .unten-leiste { display: none !important; }

  .insel-leiste {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 61;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    pointer-events: none;
  }
  /* Hidden until the top bar is tapped (class insel-an from klick.js): then it eases in from below, and out again. */
  .insel-leiste { opacity: 0; visibility: hidden; translate: 0 calc(100% + 24px); transition: opacity 0.22s ease, translate 0.32s cubic-bezier(0.4, 0, 1, 1), visibility 0s linear 0.32s; }
  .insel-an .insel-leiste { opacity: 1; visibility: visible; translate: 0 0; transition: opacity 0.3s ease, translate 0.55s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s; }

  .insel {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    padding: 0 16px 0 8px;
    border: 0;
    border-radius: 999px;
    background: #111;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    font: 600 15px/1 var(--sans);
    letter-spacing: -0.01em;
    color: #fff;
    pointer-events: auto;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: scale 0.18s cubic-bezier(0.2, 0, 0, 1);
  }
  .insel:active, .insel-post:active { scale: 0.95; }
  .insel:focus-visible, .insel-post:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; }
  .insel img { width: 36px; height: 36px; padding: 6px 4px; border-radius: 50%; background: #fff; object-fit: contain; }
  /* The word changes with the section: the old one leaves upwards, the new one comes from below. */
  .insel-text { position: relative; display: grid; height: 20px; overflow: hidden; text-align: left; }
  .insel-text span { grid-area: 1 / 1; line-height: 20px; white-space: nowrap; }
  .mit-bewegung .insel-text .rein { animation: insel-wort 0.32s cubic-bezier(0.2, 0, 0, 1) both; }
  .insel-text .raus { opacity: 0; }
  .mit-bewegung .insel-text .raus { animation: insel-wort-raus 0.24s cubic-bezier(0.4, 0, 1, 1) both; }
  .insel-pfeil { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); transition: rotate 0.4s cubic-bezier(0.34, 1.45, 0.64, 1); }
  .insel-pfeil svg { width: 12px; height: 12px; }
  .insel[aria-expanded="true"] .insel-pfeil { rotate: 180deg; }

  .insel-post {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    color: #fff;
    pointer-events: auto;
    transition: scale 0.18s cubic-bezier(0.2, 0, 0, 1);
  }
  .insel-post svg { width: 22px; height: 22px; }

  .insel-schleier {
    position: fixed;
    inset: 0;
    z-index: 59;
    display: block;
    background: rgba(17, 17, 17, 0.32);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
  }
  .mz-offen .insel-schleier { opacity: 1; visibility: visible; }
  /* The top bar stays tappable above the dimmed page, so the island can be put away from there too. */
  .mz-offen .nav-halter { z-index: 62; }

  /* The control centre becomes a sheet that opens out of the island. */
  .mb-zentrum {
    inset: auto 10px calc(76px + env(safe-area-inset-bottom)) 10px;
    z-index: 60;
    max-width: 520px;
    max-height: calc(100svh - 150px);
    margin-inline: auto;
    padding: 14px 14px 16px;
    border-radius: 30px;
    background: rgba(247, 247, 247, 0.97);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.08);
  }
  .mit-bewegung .mb-zentrum { animation: insel-auf 0.55s cubic-bezier(0.2, 0.9, 0.3, 1) both; }
  .mit-bewegung .mb-zentrum.geht { animation: insel-zu 0.24s cubic-bezier(0.4, 0, 1, 1) both; }
  .mit-bewegung .mb-zentrum:not(.geht) .mz-kopf,
  .mit-bewegung .mb-zentrum:not(.geht) .mz-raster > * {
    animation: insel-teil 1.1s cubic-bezier(0.25, 1.05, 0.4, 1) both;
    animation-timing-function: linear(0, 0.0417, 0.1406, 0.2666, 0.3993, 0.5257, 0.6387, 0.7348, 0.8134, 0.8753, 0.9223, 0.9567, 0.9809, 0.997, 1.0069, 1.0124, 1.0148, 1.0151, 1.0141, 1.0124, 1.0105, 1.0085, 1.0066, 1.005, 1.0036, 1.0025, 1.0016, 1.001, 1);
    animation-delay: calc(70ms + var(--i, 0) * 38ms);
  }
  .mz-kachel { min-height: 72px; }

  /* Nothing may hide behind the island at the end of a page. */
  .fuss { padding-bottom: 104px; }
}

@keyframes insel-wort { from { opacity: 0; translate: 0 14px; } }
@keyframes insel-wort-raus { from { opacity: 1; translate: 0 0; } to { opacity: 0; translate: 0 -14px; } }
/* From the island's own outline (a pill at the bottom, 64px lower, where the island sits) to the whole sheet. */
@keyframes insel-auf {
  from { opacity: 0.4; translate: 0 64px; clip-path: inset(calc(100% - 52px) calc(50% - 92px) 0 calc(50% - 92px) round 26px); }
  to { opacity: 1; translate: 0 0; clip-path: inset(0 0 0 0 round 30px); }
}
@keyframes insel-zu {
  from { opacity: 1; translate: 0 0; clip-path: inset(0 0 0 0 round 30px); }
  to { opacity: 0; translate: 0 64px; clip-path: inset(calc(100% - 52px) calc(50% - 92px) 0 calc(50% - 92px) round 26px); }
}
@keyframes insel-teil { from { opacity: 0; translate: 0 26px; scale: 0.82; } }

/* 820px and below: the bar is a status bar. The icons come back, the call to action lives beside the island. */
@media (max-width: 820px) {
  .mb-status { position: relative; display: flex; }
  .nav .knopf { display: none; }
  /* The pill of an icon hangs from the right edge of the row, so it never leaves the screen. */
  .mb-pop { position: fixed; top: 19px; left: auto; right: 14px; translate: 0 -4px; }
  .mb-knopf[aria-expanded="true"] .mb-pop { translate: 0 0; }
}

/* ---- Phones show what the desktop shows ---------------------------------------------------------------------------
   Parts that used to drop out below 1024px are back, arranged for a narrow screen instead of removed. */
@media (max-width: 1023px) {
  /* Hero buttons: full width, one under the other. */
  .held-knopf { display: flex; }
  .u-knoepfe .knopf { display: inline-flex; }
  .u-pfeil { display: inline; }
  /* The place label keeps its second half: it goes on a second line and the label hangs below the dot,
     shifted to the left, so it stays on the screen. */
  .welt-ort .ort-pille { flex-wrap: wrap; row-gap: 0; width: max-content; max-width: 168px; height: auto; min-height: 26px; padding: 4px 11px 5px 5px; border-radius: 15px; white-space: normal; translate: -56% 6px; }
  .ort-pille .anzahl { display: block; flex-basis: 100%; padding-left: 24px; font-size: 11px; line-height: 1.25; }
  .terminal-fuss { flex-wrap: wrap; row-gap: 6px; }
  .terminal-fuss > span:first-child { display: inline-flex; }
  /* The tilted photo of the FAQ sits beside the label instead of beside the list. */
}

/* Below 1280px there is no room beside the list: the photo moves up beside the label. */
@media (max-width: 1279px) {
  .fragen-foto { display: block; left: auto; right: 0; top: -236px; width: 84px; height: 84px; }
}

@media (max-width: 1023px) {
  .fragen-foto { right: 8px; top: -214px; width: 68px; height: 68px; }
}

@media (max-width: 820px) {
  /* Folder arches behind the notes window: the film is cut to the middle, so the arches still frame the window. */
  .bogen-film { display: block; inset: 4px -14% auto; aspect-ratio: 1440 / 500; }
  /* The second photo hangs from the lower left corner of the window. */
  .nf-rahmen .notiz-foto-2 { display: block; left: auto; right: -6px; top: auto; bottom: -96px; width: 78px; padding: 5px 5px 16px; rotate: 5deg; }
  /* The film is wider than the screen, so the section cuts it at its edges. */
  .notiz.mit-fenster { padding-top: 128px; padding-bottom: 132px; overflow-x: clip; }
  .mac-pille { top: 72px; }
}

/* ---- Footer: the invitation to write ---------------------------------------------------------------------------- */
.fuss-werbung { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin: 8px 0 24px; font-size: 17px; line-height: 1.3; text-align: center; }
.fuss-werbung b { font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
/* Dark instead of orange: white on the brand orange is below 4.5:1, and this button appears on every page. */
.fuss-werbung .knopf, .fuss-werbung .knopf:hover { background: var(--ink); color: #fff; }
@media (max-width: 1023px) { .fuss-werbung .knopf { height: 44px; } }
.fuss-werbung .knopf:hover { background: #2a2a2a; }

/* ---- Buttons on phones -----------------------------------------------------------------------------------------
   Large buttons shrink to a compact size and stand side by side; a group only wraps when two do not fit. */
@media (max-width: 1023px) {
  .knopf-gross, .pille-gross { height: 44px; padding: 0 14px; font-size: 14px; gap: 6px; }
  .held-knopf, .u-knoepfe { flex-wrap: nowrap; }
  .held-knopf > * { min-width: 0; }
  .held-knopf, .u-knoepfe { justify-content: center; gap: 8px; }
  .u-knoepfe { justify-content: flex-start; }
  .held-knopf > *, .u-knoepfe > * { flex: 0 0 auto; width: auto; }
  .u-ruf-knopf { min-height: 44px; padding: 10px 18px; font-size: 14px; }
}

/* Narrow phones: both hero buttons still fit side by side within the 20px edge. */
@media (max-width: 429px) {
  .held-knopf .knopf-gross, .held-knopf .pille-gross { padding: 0 12px; font-size: 13px; letter-spacing: -0.01em; }
  .held-knopf { gap: 6px; }
}

@media (max-width: 389px) {
  .held-knopf .knopf-gross, .held-knopf .pille-gross { padding: 0 10px; font-size: 12px; gap: 4px; }
}

/* Touch screens: a finger that lands on a sticker can still scroll the page up and down; sideways it drags. */
@media (pointer: coarse) and (max-width: 1023px) {
  .sticker { touch-action: pan-y; }
}

@media (prefers-reduced-motion: reduce) {
  .insel-leiste, .insel-an .insel-leiste { transition: none; }
}

/* ---- Type scale on phones ----------------------------------------------------------------------------------------
   Headings in proportion to 16px body text, like the compact buttons: page title 32px, section title 26px,
   card title 20px; large numbers and handwriting follow. The desktop scale is unchanged. */
@media (max-width: 767px) {
  .held-titel, .u-titel, h1.h1, .recht-kopf .h1 { font-size: 32px; line-height: 1.06; }
  .display.aussage-titel, .display.liebe-titel, .display.u-ruf-titel, .display.u-h2, .dunkel-karte h2.display { font-size: 26px; line-height: 1.12; }
  .fragen-buehne .fragen-titel { font-size: 26px; line-height: 1.15; }
  .karte-titel { font-size: 20px; line-height: 1.2; }
  .karte-satz { font-size: 18px; line-height: 1.35; }
  .u-zahl-gross { font-size: 30px; }
  .zahl-gross { font-size: 22px; }
  .u-merkmal-satz { font-size: 17px; }
  .u-notiz-text { font-size: 17px; }
  .hand, .nf-wer .hand { font-size: 22px; }
}
