/* ==========================================================================
   Aufgabini – Website
   Richtung: "Kinderzimmer-Pinnwand trifft Editorial" – warmes Papier,
   weiche Serif-Headlines (Fraunces), runde Nunito-Texte (wie in der
   Kinder-App), Sticker, Sterne, handgezeichnete Akzente.
   Keine externen Ressourcen (DSGVO): Schriften liegen lokal.
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #fbf5ea;
  --paper-2: #f4ecdc;
  --ink: #16302a;
  --ink-soft: #4a5e58;
  --green: #3f8f7a;
  --green-deep: #1f4a3e;
  --green-night: #0f2923;
  --mint: #dcefe7;
  --sun: #ffc107;
  --sun-soft: #ffe7a0;
  --pink: #ee84b0;
  --pink-soft: #fbd9e7;
  --blue: #4fa3e3;
  --blue-soft: #d6ebfa;
  --purple: #a88be0;
  --purple-soft: #e8defa;
  --orange: #f2a65a;
  --orange-soft: #fde3c8;
  --line: rgba(22, 48, 42, 0.12);

  --radius-s: 12px;
  --radius-m: 22px;
  --radius-l: 34px;
  --shadow-s: 0 2px 0 rgba(22, 48, 42, 0.08), 0 6px 18px -8px rgba(22, 48, 42, 0.25);
  --shadow-m: 0 3px 0 rgba(22, 48, 42, 0.1), 0 24px 50px -24px rgba(22, 48, 42, 0.45);
  --shadow-sticker: 3px 4px 0 var(--ink);

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Nunito", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --wrap: 1180px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Papierkorn über der ganzen Seite */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.3 0 0 0 0 0.2 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--green-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--green);
}

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: 10px;
  font-weight: 800;
}
.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-variation-settings: "SOFT" 100, "WONK" 0;
}
h1 {
  font-size: clamp(2.7rem, 6.4vw, 5.6rem);
}
h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
}
h3 {
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 1em;
}

em.hand {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--green);
  position: relative;
  white-space: nowrap;
  isolation: isolate;
}
em.hand::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.08em;
  height: 0.28em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 C 60 4, 120 4, 170 10 S 260 17, 297 6' fill='none' stroke='%23FFC107' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  z-index: -1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--mint);
  border: 1.5px solid var(--ink);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.eyebrow--sun {
  background: var(--sun-soft);
}
.eyebrow--pink {
  background: var(--pink-soft);
}

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 38ch;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink);
  --fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--bg);
  color: var(--fg);
  font: 800 1rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 3px 4px 0 var(--ink);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.2s;
}
.btn:hover {
  color: var(--fg);
  transform: translate(-1px, -2px);
  box-shadow: 5px 7px 0 var(--ink);
}
.btn:active {
  transform: translate(2px, 3px);
  box-shadow: 0 0 0 var(--ink);
}
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.btn--sun {
  --bg: var(--sun);
  --fg: var(--ink);
}
.btn--paper {
  --bg: var(--paper);
  --fg: var(--ink);
}
.btn--danger {
  --bg: #c9423f;
  --fg: #fff;
}
.btn--block {
  width: 100%;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 60px;
  padding: 0.6rem 1.2rem 0.6rem 1rem;
  border-radius: 16px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border: 2px solid var(--ink);
  box-shadow: 3px 4px 0 rgba(22, 48, 42, 0.35);
  transition: transform 0.18s var(--ease);
}
.store-btn:hover {
  color: var(--paper);
  transform: translateY(-2px);
}
.store-btn svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.store-btn small {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0.75;
  line-height: 1.1;
}
.store-btn strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.15;
}
.store-btn[aria-disabled="true"] {
  cursor: default;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.9rem 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.site-header.is-scrolled {
  background: rgba(251, 245, 234, 0.88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 0.55rem 0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  transform: rotate(-6deg);
  transition: transform 0.4s var(--ease);
}
.brand:hover img {
  transform: rotate(8deg) scale(1.06);
}
.brand:hover {
  color: var(--ink);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
}
.nav__links a:hover {
  background: var(--mint);
}
.nav__cta {
  margin-left: 0.5rem;
}
.nav__cta .btn {
  min-height: 44px;
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
}
.nav__toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 2px 3px 0 var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  width: 20px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.25s var(--ease), background 0.2s;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav__toggle span::before {
  top: -7px;
}
.nav__toggle span::after {
  top: 7px;
}
.nav__toggle[aria-expanded="true"] span {
  background: transparent;
}
.nav__toggle[aria-expanded="true"] span::before {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span::after {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 920px) {
  .nav__toggle {
    display: inline-flex;
  }
  .nav__menu {
    position: fixed;
    inset: 72px 1rem auto 1rem;
    background: var(--paper);
    border: 2px solid var(--ink);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-sticker);
    padding: 0.8rem;
    display: none;
  }
  .nav__menu.is-open {
    display: block;
    animation: pop 0.25s var(--ease);
  }
  .nav__links {
    flex-direction: column;
    align-items: stretch;
  }
  .nav__links a {
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
  }
  .nav__cta {
    margin: 0.5rem 0 0;
  }
  .nav__cta .btn {
    width: 100%;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(4rem, 8vw, 7rem);
  overflow: clip;
}
.hero::before {
  /* weicher Farbfleck */
  content: "";
  position: absolute;
  width: 820px;
  height: 820px;
  right: -260px;
  top: -200px;
  background: radial-gradient(closest-side, rgba(63, 143, 122, 0.22), transparent 70%),
    radial-gradient(closest-side at 30% 70%, rgba(255, 193, 7, 0.25), transparent 70%);
  filter: blur(10px);
  z-index: -1;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 {
  margin-bottom: 1.4rem;
}
.hero .lead {
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.hero__trust svg {
  width: 20px;
  height: 20px;
  color: var(--green);
}

.hero__stage {
  position: relative;
  min-height: 600px;
}
.hero__stage .phone {
  position: absolute;
}
.hero__stage .phone--child {
  right: 4%;
  top: 0;
  transform: rotate(5deg);
  z-index: 2;
}
.hero__stage .phone--parent {
  left: 0;
  top: 70px;
  transform: rotate(-7deg) scale(0.9);
  z-index: 1;
}
.float-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 900;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sticker);
  animation: bob 5s ease-in-out infinite;
}
.float-chip--stars {
  background: var(--sun);
  right: -2%;
  top: 44%;
}
.float-chip--done {
  left: 12%;
  bottom: 3%;
  background: var(--mint);
  animation-delay: -2s;
}
.float-chip--push {
  left: 26%;
  top: -2%;
  background: var(--pink-soft);
  animation-delay: -3.5s;
}
.doodle-star {
  position: absolute;
  color: var(--sun);
  z-index: 0;
  animation: spin 16s linear infinite;
}
.doodle-star--a {
  width: 90px;
  right: 42%;
  bottom: 6%;
}
.doodle-star--b {
  width: 46px;
  right: 0;
  top: 8%;
  color: var(--pink);
  animation-duration: 22s;
  animation-direction: reverse;
}

@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__stage {
    min-height: 560px;
    max-width: 520px;
    margin: 1rem auto 0;
    width: 100%;
  }
}
@media (max-width: 520px) {
  .hero__stage {
    min-height: 500px;
  }
  .hero__stage .phone--parent {
    left: -6%;
    transform: rotate(-7deg) scale(0.78);
    transform-origin: left top;
  }
  .hero__stage .phone--child {
    right: -2%;
    transform: rotate(5deg) scale(0.86);
    transform-origin: right top;
  }
  .float-chip {
    font-size: 0.82rem;
  }
}

/* ---------- Phone-Mockups (reine CSS-Nachbildung der App) ---------- */
.phone {
  --w: 280px;
  width: var(--w);
  aspect-ratio: 9 / 19.2;
  border-radius: 44px;
  background: #121a18;
  padding: 10px;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-m), 6px 8px 0 var(--ink);
}
.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #f7fbf9;
  font-family: var(--font-body);
  color: #1d2a27;
  display: flex;
  flex-direction: column;
}
.phone__notch {
  position: absolute;
  top: 9px;
  left: 50%;
  translate: -50% 0;
  width: 84px;
  height: 24px;
  background: #121a18;
  border-radius: 20px;
  z-index: 3;
}
.phone__status {
  display: flex;
  justify-content: space-between;
  padding: 12px 22px 4px;
  font-size: 11px;
  font-weight: 800;
}
.app-bar {
  padding: 18px 16px 10px;
}
.app-bar h4 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.15;
}
.app-bar p {
  margin: 2px 0 0;
  font-size: 11.5px;
  color: #5e6d69;
  font-weight: 700;
}
.app-body {
  flex: 1;
  padding: 4px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.star-card {
  border-radius: 20px;
  padding: 12px 14px;
  color: #fff;
  background: linear-gradient(140deg, #4fa3e3, #3b83c9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 18px -10px rgba(40, 90, 150, 0.8);
}
.star-card b {
  display: block;
  font-size: 26px;
  line-height: 1;
}
.star-card small {
  font-size: 11px;
  font-weight: 800;
  opacity: 0.9;
}
.star-card .star-big {
  width: 46px;
  height: 46px;
  color: var(--sun);
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.15));
  animation: wiggle 3.2s ease-in-out infinite;
}
.task {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 16px;
  padding: 9px 10px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 4px 10px -8px rgba(0, 0, 0, 0.4);
  font-size: 12.5px;
  font-weight: 800;
}
.task__icon {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 16px;
}
.task__meta {
  flex: 1;
  min-width: 0;
}
.task__meta small {
  display: block;
  font-size: 10.5px;
  color: #6b7a76;
  font-weight: 700;
}
.task__stars {
  font-size: 11px;
  font-weight: 900;
  color: #a06f00;
  background: #fff3c4;
  padding: 3px 7px;
  border-radius: 999px;
  white-space: nowrap;
}
.task__check {
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  border: 2.5px solid #c9d6d2;
}
.task--done .task__check {
  border-color: #4caf50;
  background: #4caf50 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.task--done .task__meta span {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  color: #7b8a86;
}
.task--pending .task__check {
  border-color: var(--orange);
  background: var(--orange-soft);
}
.bg-blue {
  background: var(--blue-soft);
}
.bg-pink {
  background: var(--pink-soft);
}
.bg-sun {
  background: var(--sun-soft);
}
.bg-mint {
  background: var(--mint);
}
.bg-purple {
  background: var(--purple-soft);
}
.bg-orange {
  background: var(--orange-soft);
}
.tabbar {
  margin: 0 10px 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-around;
  padding: 8px 4px;
  font-size: 9.5px;
  font-weight: 800;
  color: #6b7a76;
}
.tabbar span {
  display: grid;
  justify-items: center;
  gap: 2px;
}
.tabbar i {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: #d8e3e0;
  display: block;
}
.tabbar .is-active {
  color: var(--green-deep);
}
.tabbar .is-active i {
  background: var(--green);
}
.approval {
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 4px 10px -8px rgba(0, 0, 0, 0.4);
  font-size: 12px;
  font-weight: 800;
}
.approval__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.approval__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.approval__head small {
  display: block;
  color: #6b7a76;
  font-size: 10.5px;
}
.approval__photo {
  height: 64px;
  border-radius: 12px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #b9dccf, #e9f4ef 60%, #ffe7a0);
  position: relative;
  overflow: hidden;
}
.approval__photo::after {
  content: "📷 Foto-Nachweis";
  position: absolute;
  left: 8px;
  bottom: 6px;
  font-size: 10px;
  background: rgba(255, 255, 255, 0.85);
  padding: 2px 7px;
  border-radius: 999px;
}
.approval__actions {
  display: flex;
  gap: 6px;
}
.approval__actions span {
  flex: 1;
  text-align: center;
  padding: 7px 0;
  border-radius: 999px;
  font-size: 11px;
}
.approval__actions .ok {
  background: var(--green);
  color: #fff;
}
.approval__actions .no {
  background: #eef2f1;
}
.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
  font-size: 10px;
  font-weight: 900;
}
.week span {
  padding: 6px 0;
  border-radius: 10px;
  background: #fff;
}
.week .today {
  background: var(--green);
  color: #fff;
}
.event {
  border-left: 4px solid var(--c, var(--green));
  background: #fff;
  border-radius: 10px 14px 14px 10px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 4px 10px -9px rgba(0, 0, 0, 0.5);
}
.event small {
  display: block;
  font-size: 10px;
  color: #6b7a76;
  font-weight: 700;
}
.event--pink {
  --c: var(--pink);
}
.event--blue {
  --c: var(--blue);
}
.event--orange {
  --c: var(--orange);
}
.event--purple {
  --c: var(--purple);
}
.shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.shop-item {
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 900;
  box-shadow: 0 4px 10px -8px rgba(0, 0, 0, 0.45);
}
.shop-item .emoji {
  font-size: 26px;
  display: block;
  margin-bottom: 4px;
}
.shop-item small {
  display: inline-block;
  margin-top: 4px;
  font-size: 10.5px;
  color: #a06f00;
  background: #fff3c4;
  padding: 2px 8px;
  border-radius: 999px;
}
.badge-row {
  display: flex;
  gap: 6px;
}
.badge {
  flex: 1;
  aspect-ratio: 1;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: var(--purple-soft);
  border: 2px dashed rgba(142, 111, 217, 0.5);
}
.badge--on {
  background: linear-gradient(140deg, #a88be0, #8e6fd9);
  border: 0;
}
.screen-child {
  background: linear-gradient(180deg, #e9f4fd 0%, #f7fbff 40%);
}
.screen-child .app-bar h4 {
  font-size: 21px;
}
.screen-pink {
  background: linear-gradient(180deg, #fde8f1 0%, #fff8fb 40%);
}
.screen-pink .star-card {
  background: linear-gradient(140deg, #ee84b0, #d9648f);
  box-shadow: 0 8px 18px -10px rgba(170, 60, 110, 0.8);
}
.progress {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
  margin-top: 6px;
  width: 120px;
}
.progress i {
  display: block;
  height: 100%;
  width: 66%;
  background: var(--sun);
  border-radius: inherit;
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  transform: rotate(-1.4deg);
  margin: 0 -2rem;
  position: relative;
  z-index: 2;
}
.marquee__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  padding: 1.05rem 0;
  animation: marquee 38s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
}
.marquee__track span::after {
  content: "★";
  color: var(--sun);
  font-style: normal;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(3.5rem, 6.5vw, 5.5rem) 0;
  position: relative;
}
.section__head {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}
.section__head--center .lead {
  margin-inline: auto;
}

/* Schritte */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
.step {
  position: relative;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius-l);
  padding: 2rem 1.6rem 1.8rem;
  box-shadow: var(--shadow-sticker);
  counter-increment: step;
}
.step:nth-child(2) {
  transform: translateY(26px) rotate(0.8deg);
  background: var(--sun-soft);
}
.step:nth-child(3) {
  transform: rotate(-0.8deg);
  background: var(--mint);
}
.step::before {
  content: counter(step);
  position: absolute;
  top: -26px;
  left: 22px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--sun);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  border: 3px solid var(--paper);
}
.step p {
  color: var(--ink-soft);
  margin: 0;
}
.step__icon {
  font-size: 2.2rem;
  margin: 0.4rem 0 0.6rem;
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }
  .step:nth-child(n) {
    transform: none;
  }
}

/* Funktionen (Bento) */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
}
.tile {
  grid-column: span 2;
  position: relative;
  border: 2px solid var(--ink);
  border-radius: var(--radius-m);
  padding: 1.5rem 1.4rem 1.4rem;
  background: #fff;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tile:hover {
  transform: translate(-2px, -3px) rotate(-0.4deg);
  box-shadow: var(--shadow-sticker);
}
.tile--wide {
  grid-column: span 3;
}
.tile--hero {
  grid-column: span 4;
  grid-row: span 2;
  background: var(--green-deep);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 380px;
}
.tile.tile--hero p {
  color: rgba(251, 245, 234, 0.85);
  max-width: 52ch;
  position: relative;
}
.tile--hero .tag,
.tile--hero .tile__emoji {
  align-self: flex-start;
}
.tile--hero h3 {
  position: relative;
}
.tile--hero h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.tile--hero .tile__art {
  position: absolute;
  inset: 0 0 auto auto;
  width: 62%;
  opacity: 0.95;
}
.tile--sun {
  background: var(--sun-soft);
}
.tile--pink {
  background: var(--pink-soft);
}
.tile--blue {
  background: var(--blue-soft);
}
.tile--mint {
  background: var(--mint);
}
.tile--purple {
  background: var(--purple-soft);
}
.tile--orange {
  background: var(--orange-soft);
}
.tile h3 {
  margin-bottom: 0.4em;
}
.tile p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.tile__emoji {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.8rem;
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--paper);
  border: 2px solid var(--ink);
  transform: rotate(-6deg);
}
.tile--hero .tile__emoji {
  background: var(--sun);
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  margin-bottom: 0.6rem;
}
@media (max-width: 980px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .tile,
  .tile--wide {
    grid-column: span 1;
  }
  .tile--hero {
    grid-column: span 2;
    grid-row: auto;
  }
}
@media (max-width: 600px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .tile--hero {
    grid-column: span 1;
    min-height: 420px;
  }
}

/* Zwei Welten */
.worlds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.world {
  border: 2px solid var(--ink);
  border-radius: var(--radius-l);
  padding: clamp(1.8rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}
.world--parent {
  background: var(--paper-2);
}
.world--child {
  background: linear-gradient(160deg, var(--blue-soft), var(--pink-soft) 70%, var(--sun-soft));
}
.world ul {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: 0.75rem;
}
.world li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-weight: 700;
}
.world li::before {
  content: "";
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 8px;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
  border: 2px solid var(--ink);
}
.world--child li::before {
  background-color: var(--sun);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.5l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.9l-5.2 2.7 1-5.8-4.3-4.1 5.9-.9z' fill='%2316302A'/%3E%3C/svg%3E");
}
.world__label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-soft);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
@media (max-width: 860px) {
  .worlds {
    grid-template-columns: 1fr;
  }
}

/* Screens-Galerie */
.gallery {
  display: flex;
  gap: 2.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 1.25rem 2.4rem;
  margin: 0 -1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--ink) transparent;
}
.gallery figure {
  margin: 0;
  scroll-snap-align: center;
  flex: none;
  display: grid;
  justify-items: center;
  gap: 1.2rem;
}
.gallery figure:nth-child(odd) .phone {
  transform: rotate(-2deg);
}
.gallery figure:nth-child(even) .phone {
  transform: rotate(2deg) translateY(18px);
}
.gallery figcaption {
  font-weight: 900;
  text-align: center;
  max-width: 260px;
}
.gallery figcaption small {
  display: block;
  font-weight: 700;
  color: var(--ink-soft);
}
.gallery .phone {
  --w: 260px;
}

/* Sicherheit (dunkel) */
.section--dark {
  background: var(--green-night);
  color: var(--paper);
  border-radius: clamp(28px, 5vw, 60px);
  margin: 0 clamp(0.5rem, 2vw, 1.5rem);
  overflow: hidden;
}
.section--dark h2,
.section--dark h3 {
  color: var(--paper);
}
.section--dark .lead {
  color: rgba(251, 245, 234, 0.75);
}
.section--dark .eyebrow {
  background: var(--sun);
}
.shield-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.shield {
  border: 1.5px solid rgba(251, 245, 234, 0.18);
  border-radius: var(--radius-m);
  padding: 1.6rem;
  background: rgba(251, 245, 234, 0.04);
  transition: background 0.3s, border-color 0.3s;
}
.shield:hover {
  background: rgba(251, 245, 234, 0.08);
  border-color: var(--sun);
}
.shield__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--sun);
  color: var(--ink);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.shield__icon svg {
  width: 24px;
  height: 24px;
}
.shield p {
  color: rgba(251, 245, 234, 0.72);
  margin: 0;
  font-size: 0.98rem;
}
.shield h3 {
  font-size: 1.25rem;
}
.section--dark a {
  color: var(--sun);
}
@media (max-width: 900px) {
  .shield-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .shield-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 0.8rem;
}
.faq details {
  border: 2px solid var(--ink);
  border-radius: var(--radius-m);
  background: #fff;
  transition: box-shadow 0.25s var(--ease), background 0.25s;
}
.faq details[open] {
  box-shadow: var(--shadow-sticker);
  background: var(--paper);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 3.6rem 1.15rem 1.4rem;
  font-weight: 900;
  font-size: 1.08rem;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  translate: 0 -50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sun);
  border: 2px solid var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq .faq__body {
  padding: 0 1.4rem 1.3rem;
  color: var(--ink-soft);
}
.faq .faq__body p:last-child {
  margin: 0;
}

/* CTA */
.cta {
  position: relative;
  border: 2px solid var(--ink);
  border-radius: clamp(28px, 5vw, 50px);
  background: var(--sun);
  padding: clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
  box-shadow: 6px 8px 0 var(--ink);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: center;
}
.cta h2 {
  margin-bottom: 0.4em;
}
.cta p {
  font-size: 1.15rem;
  max-width: 44ch;
}
.cta__icon {
  justify-self: center;
  width: min(240px, 60vw);
  border-radius: 54px;
  border: 3px solid var(--ink);
  transform: rotate(8deg);
  box-shadow: 8px 10px 0 var(--ink);
  animation: bob 6s ease-in-out infinite;
}
.cta .store-btn {
  box-shadow: 3px 4px 0 rgba(22, 48, 42, 0.5);
}
.cta__note {
  font-size: 0.9rem !important;
  margin-top: 1rem;
  font-weight: 700;
  opacity: 0.8;
}
@media (max-width: 800px) {
  .cta {
    grid-template-columns: 1fr;
  }
  .cta__icon {
    order: -1;
    width: 140px;
    border-radius: 32px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: clamp(4rem, 8vw, 7rem);
  padding: 3.5rem 0 2rem;
  border-top: 2px solid var(--ink);
  background: var(--paper-2);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
}
.footer__grid h4 {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 900;
  margin: 0 0 0.8rem;
  color: var(--ink-soft);
}
.footer__grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.footer__grid a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.footer__grid a:hover {
  text-decoration: underline;
}
.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 700;
}
@media (max-width: 820px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Dokument-/Formularseiten ---------- */
.doc-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem;
}
.doc-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}
.doc-hero .meta {
  color: var(--ink-soft);
  font-weight: 700;
}
.doc {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-bottom: 2rem;
}
.doc__toc {
  position: sticky;
  top: 96px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-m);
  padding: 1.1rem 1.2rem;
  background: #fff;
  font-size: 0.92rem;
}
.doc__toc strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.doc__toc ol {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.3rem;
}
.doc__toc a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.doc__toc a:hover {
  text-decoration: underline;
}
.prose {
  max-width: 74ch;
}
.prose h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-top: 2.4em;
  padding-top: 0.2em;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 1.2rem;
  margin-top: 1.6em;
  font-family: var(--font-body);
  font-weight: 900;
  letter-spacing: 0;
}
.prose ul,
.prose ol {
  padding-left: 1.3rem;
}
.prose li {
  margin-bottom: 0.35em;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
  display: block;
  overflow-x: auto;
}
.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--line);
  min-width: 140px;
}
.prose th {
  background: var(--mint);
  font-weight: 900;
}
.prose address {
  font-style: normal;
}
.box {
  border: 2px solid var(--ink);
  border-radius: var(--radius-m);
  padding: 1.2rem 1.4rem;
  background: var(--mint);
  margin: 1.4rem 0;
}
.box--sun {
  background: var(--sun-soft);
}
.box--pink {
  background: var(--pink-soft);
}
.box p:last-child {
  margin: 0;
}
/* Platzhalter, die vor Veröffentlichung ersetzt werden müssen */
.todo {
  background: #ffe1e1;
  outline: 2px dashed #c9423f;
  border-radius: 4px;
  padding: 0 0.25em;
  font-weight: 800;
}
@media (max-width: 900px) {
  .doc {
    grid-template-columns: 1fr;
  }
  .doc__toc {
    position: static;
  }
}

/* Formular-Karten (Passwort, Konto löschen, Bestätigen) */
.panel-wrap {
  display: grid;
  place-items: start center;
  padding: clamp(2rem, 6vw, 4rem) 0 2rem;
}
.panel {
  width: min(100%, 520px);
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius-l);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: 6px 8px 0 var(--ink);
  position: relative;
}
.panel h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
}
.panel__icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  background: var(--sun);
  border: 2px solid var(--ink);
  transform: rotate(-6deg);
  margin-bottom: 1.2rem;
}
.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.field label {
  font-weight: 900;
  font-size: 0.95rem;
}
.field input {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  border: 2px solid var(--ink);
  background: var(--paper);
  font: 700 1rem var(--font-body);
  color: var(--ink);
}
.field input:focus {
  outline: 3px solid var(--sun);
  outline-offset: 1px;
}
.field input.code {
  text-align: center;
  font-size: 1.7rem;
  letter-spacing: 0.4em;
}
.field .hint {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 700;
}
.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-weight: 700;
  margin: 0.5rem 0 1.2rem;
}
.check input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--green);
  flex: none;
}
.pw-wrap {
  position: relative;
}
.pw-wrap input {
  padding-right: 3.4rem;
}
.pw-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  translate: 0 -50%;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--ink);
}
.pw-toggle:hover {
  background: var(--mint);
}
.pw-toggle svg {
  width: 22px;
  height: 22px;
}
.rules {
  list-style: none;
  padding: 0;
  margin: -0.3rem 0 1rem;
  display: grid;
  gap: 0.2rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.rules li::before {
  content: "○";
  display: inline-block;
  width: 1.3em;
}
.rules li.ok {
  color: var(--green-deep);
}
.rules li.ok::before {
  content: "●";
  color: var(--green);
}
.alert {
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border: 2px solid var(--ink);
}
.alert--error {
  background: #ffe1e1;
}
.alert--ok {
  background: var(--mint);
}
.alert--info {
  background: var(--sun-soft);
}
.alert:empty {
  display: none;
}
.muted {
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 800;
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.stack > * + * {
  margin-top: 0.8rem;
}
[hidden] {
  display: none !important;
}
.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid currentColor;
  border-right-color: transparent;
  animation: spin 0.8s linear infinite;
}

/* 404 */
.lost {
  text-align: center;
  padding: clamp(3rem, 10vw, 7rem) 0;
}
.lost__num {
  font-family: var(--font-display);
  font-size: clamp(7rem, 22vw, 14rem);
  line-height: 0.9;
  font-weight: 700;
  color: var(--green);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.lost__num span {
  color: var(--sun);
  display: inline-block;
  animation: spin 9s linear infinite;
}

/* ---------- Reveal + Animationen ---------- */
.js .reveal {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.8s var(--ease), translate 0.8s var(--ease);
}
.js .reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}
.load-in > * {
  animation: rise 0.9s var(--ease) both;
}
.load-in > *:nth-child(1) {
  animation-delay: 0.05s;
}
.load-in > *:nth-child(2) {
  animation-delay: 0.15s;
}
.load-in > *:nth-child(3) {
  animation-delay: 0.25s;
}
.load-in > *:nth-child(4) {
  animation-delay: 0.35s;
}
.load-in > *:nth-child(5) {
  animation-delay: 0.45s;
}
.hero__stage.load-in .phone--parent {
  animation: phone-in-left 1.1s 0.3s var(--ease) both;
}
.hero__stage.load-in .phone--child {
  animation: phone-in-right 1.1s 0.15s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
}
@keyframes phone-in-left {
  from {
    opacity: 0;
    translate: -40px 60px;
  }
}
@keyframes phone-in-right {
  from {
    opacity: 0;
    translate: 40px 60px;
  }
}
@keyframes bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}
@keyframes spin {
  to {
    rotate: 360deg;
  }
}
@keyframes wiggle {
  0%,
  100% {
    rotate: -6deg;
  }
  50% {
    rotate: 8deg;
    scale: 1.06;
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    translate: none;
  }
}

@media print {
  body::before,
  .site-header,
  .site-footer,
  .doc__toc {
    display: none !important;
  }
  .doc {
    display: block;
  }
  body {
    background: #fff;
  }
}

/* 404-Ergänzungen */
.lost .lead {
  margin-inline: auto;
}
.lost__links {
  justify-content: center;
  margin-top: 1.5rem;
}
/* Kachel-Links (Support) */
a.tile {
  color: var(--ink);
  text-decoration: none;
}
a.tile:hover {
  color: var(--ink);
}
.gallery figure:nth-child(even) figcaption {
  margin-top: 18px;
}
