@font-face { font-family: "Fredoka"; src: url("../fonts/Fredoka.ttf") format("truetype"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/Nunito.ttf") format("truetype"); font-weight: 200 1000; font-display: swap; }

:root {
  --ink: #181b22;         /* warme, edle Malbuch-Kontur */
  --paper: #fffcf5;       /* warmes Kinderbuch-Papier */
  --surface: #ffffff;     /* klare Karten-Oberfläche */
  --red: #c6281c;         /* Feuerwehrauto (WCAG AA > 5.6:1 mit Weiß) */
  --red-bright: #e63a2e;
  --green: #237827;       /* Rexi-Grün (WCAG AA > 5.5:1 mit Weiß) */
  --green-bright: #46b04a;
  --sky: #74c7ef;         /* Himmel über der Dino-Stadt */
  --sky-soft: #e3f5ff;
  --sun: #ffc83a;         /* Sonne, Bauhelm */
  --sun-soft: #fff4cc;
  --green-soft: #e3f8e5;
  --purple-soft: #f1e6ff;
  --night: #13234b;       /* Advent-Himmel */
  --grey: #4a4f5c;
  --line: 3px;
  --radius-big: 26px;
  --radius-med: 18px;
  --radius-small: 12px;
  --measure: 62ch;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; overflow-wrap: anywhere; }
code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .92em;
  background: var(--sun-soft);
  padding: .1rem .35rem;
  border-radius: 6px;
  border: 1px solid rgba(24, 27, 34, .2);
  overflow-wrap: anywhere;
  word-break: break-word;
}
:focus-visible { outline: 4px solid var(--sky); outline-offset: 3px; border-radius: 8px; }

h1, h2, h3 {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  hyphens: auto;
}
h1 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; max-width: var(--measure); }

.wrap { width: min(1140px, 100% - 2.4rem); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 5.2rem); }

/* ---------- Dezenter Browser-Sprachvorschlag ---------- */
.lang-banner {
  background: var(--sky-soft);
  border-bottom: 2px solid var(--ink);
  font-size: .95rem;
  font-weight: 700;
}
.lang-banner .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding-block: .45rem;
  flex-wrap: wrap;
}
.lang-banner-actions { display: flex; align-items: center; gap: .6rem; }
.lang-banner a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .35rem .95rem;
  border-radius: 999px;
  background: var(--sun);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  text-decoration: none;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
}
.lang-banner button {
  min-height: 44px;
  min-width: 44px;
  padding: .35rem .75rem;
  border-radius: 999px;
  border: 2px solid transparent;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

/* ---------- Kopfzeile (Sticky & 44px Touch-Targets) ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: var(--line) solid var(--ink);
  background: rgba(255, 252, 245, 0.96);
  backdrop-filter: blur(8px);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  padding-block: .65rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  text-decoration: none;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}
.top nav {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-weight: 800;
  margin-left: auto;
}
.top nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .35rem .75rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background .15s;
}
.top nav a:hover {
  background: var(--sun-soft);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}
@media (max-width: 680px) { .top nav .hide-sm { display: none; } }

.lang {
  position: relative;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
}
.lang summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  min-height: 44px;
  min-width: 68px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: .35rem .85rem;
  background: var(--surface);
  box-shadow: 2px 2px 0 var(--ink);
  user-select: none;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary::before { content: "🌐 "; font-size: .95em; }
.lang summary::after { content: " ▾"; }
.lang > div {
  position: absolute;
  right: 0;
  top: calc(100% + .45rem);
  z-index: 50;
  min-width: 10.5rem;
  background: var(--surface);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-sm);
  padding: .35rem;
}
.lang a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .4rem .85rem;
  border-radius: 8px;
  text-decoration: none;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
}
.lang a:hover { background: var(--sky-soft); }
.lang a[aria-current="true"] { background: var(--sun); }

@media (max-width: 560px) {
  .top .wrap { flex-wrap: wrap; row-gap: .4rem; }
  .brand { order: 1; }
  .lang { order: 2; margin-left: auto; }
  .top nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
    gap: .25rem;
    font-size: .98rem;
  }
  .top nav a { padding: .35rem .5rem; }
}

/* ---------- Knöpfe (>= 46px Höhe, WCAG AA Kontrast) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1.12rem;
  padding: .65rem 1.35rem;
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .12s, box-shadow .12s;
  cursor: pointer;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn.yellow { background: var(--sun); color: var(--ink); }
.btn.green { background: var(--green); color: #fff; }
.btn.red { background: var(--red); color: #fff; }
.btn[aria-disabled="true"] {
  background: #eceff4;
  color: #3e4350;
  box-shadow: none;
  cursor: default;
  transform: none;
}
.btns { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.4rem; }

/* ---------- Hero: Das Wort zum Ausmalen + 3-in-1 Konzept ---------- */
.hero {
  padding-block: clamp(1.4rem, 4vw, 2.8rem) 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 200, 58, 0.22) 0%, transparent 34%),
    radial-gradient(circle at 12% 40%, rgba(116, 199, 239, 0.22) 0%, transparent 36%);
  overflow: hidden;
}
.wordmark-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  margin-bottom: 1.3rem;
}
.wordmark {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  line-height: .92;
  letter-spacing: -0.02em;
  font-size: clamp(3.5rem, 12.5vw, 8.6rem);
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  user-select: none;
}
.wordmark button, .wordmark span {
  font: inherit;
  letter-spacing: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: transparent;
  -webkit-text-stroke: clamp(3px, .45vw, 5.5px) var(--ink);
  paint-order: stroke fill;
  transition: color .3s ease, transform .15s ease;
  display: inline-block;
}
.wordmark button:hover, .wordmark span:hover { transform: translateY(-3px) scale(1.04); }
.wordmark button.filled, .wordmark span.filled { color: var(--c); }
.wordmark-hint {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  padding: .35rem .9rem;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: .95rem;
  color: var(--ink);
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
  margin: 0;
}
.wordmark-hint:hover { background: var(--sun-soft); }

.triad-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 .9rem;
}
.triad-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .28rem .78rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: .94rem;
  background: var(--surface);
}
.triad-pill.p-book { background: var(--sky-soft); }
.triad-pill.p-app  { background: var(--sun-soft); }
.triad-pill.p-free { background: var(--green-soft); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: end;
}
.hero-copy { padding-bottom: clamp(1.8rem, 4vw, 3rem); }
.hero-copy h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .35em; }
.hero-copy .lead { font-size: 1.22rem; font-weight: 600; }
.hero-art { position: relative; align-self: stretch; display: flex; align-items: flex-end; }
.hero-art figure {
  margin: 0;
  border: var(--line) solid var(--ink);
  border-bottom: 0;
  border-radius: var(--radius-big) var(--radius-big) 0 0;
  overflow: hidden;
  box-shadow: 8px 0 0 var(--ink);
  background: var(--sky-soft);
}
.hero-art img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 50% 78%; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: .5rem; }
  .hero-art img { aspect-ratio: 4 / 3; }
}

/* ---------- App-Showcase & Store-Badges (iOS & Android) ---------- */
.app-band {
  background: linear-gradient(135deg, #fff5d6 0%, #e4f5ff 55%, #e8f9e9 100%);
  border-block: var(--line) solid var(--ink);
  padding-block: clamp(2.2rem, 5vw, 3.4rem);
}
.app-band-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.app-status-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: .28rem .85rem;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: .92rem;
  box-shadow: 2px 2px 0 var(--ink);
  margin-bottom: .85rem;
}
.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-bright);
  border: 1.5px solid var(--ink);
  box-shadow: 0 0 0 3px rgba(70, 176, 74, .28);
}
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.35rem;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-height: 56px;
  padding: .55rem 1.15rem;
  border-radius: 16px;
  border: 2.5px solid var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: 4px 4px 0 rgba(24, 27, 34, .28);
  text-decoration: none;
  transition: transform .12s, box-shadow .12s;
}
a.store-badge:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--sun);
}
.store-badge svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  fill: currentColor;
}
.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}
.store-badge-kicker {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--sun);
  font-weight: 800;
}
.store-badge-name {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1.12rem;
  color: #fff;
}
.store-badge-sub {
  font-size: .78rem;
  color: #d0d6e2;
  font-weight: 600;
}
.app-feature-cards {
  display: grid;
  gap: .8rem;
}
.app-feature-card {
  display: flex;
  align-items: center;
  gap: .85rem;
  background: var(--surface);
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  padding: .85rem 1.1rem;
  box-shadow: var(--shadow-sm);
}
.app-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  background: var(--sun-soft);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.app-feature-card:nth-child(2) .app-feature-icon { background: var(--sky-soft); }
.app-feature-card:nth-child(3) .app-feature-icon { background: var(--green-soft); }
.app-feature-card strong {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-size: 1.08rem;
  line-height: 1.2;
}
.app-feature-card span {
  font-size: .92rem;
  color: var(--grey);
  font-weight: 600;
}
@media (max-width: 860px) {
  .app-band-grid { grid-template-columns: 1fr; }
}

/* ---------- Test-Band (Fallback) ---------- */
.tester-band {
  background: var(--sun);
  border-block: var(--line) solid var(--ink);
}
.tester-band .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem 2.5rem;
  align-items: center;
  padding-block: 1.9rem;
}
.tester-band h2 { margin-bottom: .2em; }
.tester-band p { margin: 0; font-weight: 600; }
@media (max-width: 760px) { .tester-band .wrap { grid-template-columns: 1fr; } }

/* ---------- Eltern-Vertrauensleiste ---------- */
.trust-bar {
  background: var(--surface);
  border-bottom: var(--line) solid var(--ink);
  padding-block: 1.25rem;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-weight: 800;
  font-size: .98rem;
  line-height: 1.25;
}
.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  background: var(--sun-soft);
}
.trust-item:nth-child(1) .trust-icon { background: var(--green-soft); }
.trust-item:nth-child(2) .trust-icon { background: var(--sky-soft); }
.trust-item:nth-child(3) .trust-icon { background: var(--sun-soft); }
.trust-item:nth-child(4) .trust-icon { background: var(--purple-soft); }
@media (max-width: 860px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- So funktioniert's (Illustrierte Schritt-Karten) ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 2.2rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  counter-reset: s;
}
.steps li {
  counter-increment: s;
  position: relative;
  background: var(--surface);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius-med);
  box-shadow: var(--shadow);
  padding: 4.5rem 1.4rem 1.5rem;
  overflow: hidden;
}
.steps li::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 14px;
  background: var(--c, var(--sky));
  border-bottom: 2px solid var(--ink);
}
.steps li::before {
  content: counter(s);
  position: absolute;
  top: 1.45rem;
  left: 1.4rem;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  background: var(--c, var(--paper));
  box-shadow: 2px 2px 0 var(--ink);
}
.steps li:nth-child(1) { --c: var(--sky); }
.steps li:nth-child(2) { --c: var(--sun); }
.steps li:nth-child(3) { --c: var(--green-bright); }
.steps p { margin: 0; }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Bücher (6 Bände in gefassten Karten) ---------- */
.shelf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.3rem, 2.6vw, 2rem);
  margin-top: 2.2rem;
  align-items: stretch;
}
.book {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius-med);
  padding: 1rem;
  box-shadow: var(--shadow);
  transition: transform .15s ease;
}
.book:hover { transform: translateY(-4px); }
.book .cover {
  aspect-ratio: 600 / 776;
  border: 2.5px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: var(--paper);
}
.book .cover img { width: 100%; height: 100%; object-fit: cover; }
.book-badge {
  position: absolute;
  top: .65rem;
  right: .65rem;
  z-index: 2;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: .85rem;
  padding: .22rem .75rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.book-badge.badge-neu { background: var(--sun); color: var(--ink); }
.book-badge.badge-bald { background: var(--sky-soft); color: var(--ink); }
.book figcaption {
  padding-top: 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.book h3 { margin-bottom: .3em; font-size: 1.32rem; }
.book p { font-size: 1rem; margin-bottom: 1rem; flex: 1; }
.book .note { flex: 0; margin-bottom: .5rem; }
.book .btn {
  font-size: 1.02rem;
  padding: .6rem 1rem;
  width: 100%;
  margin-top: auto;
}
@media (max-width: 920px) { .shelf { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .shelf { grid-template-columns: 1fr; max-width: 430px; margin-inline: auto; } }

/* ---------- Online-Malen Erlebnis-Karte auf der Startseite ---------- */
.malen-promo {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  background: linear-gradient(135deg, var(--sun-soft) 0%, var(--sky-soft) 100%);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius-big);
  padding: clamp(1.5rem, 4vw, 2.8rem);
  box-shadow: 8px 8px 0 var(--ink);
}
.malen-promo-dots {
  display: flex;
  gap: .5rem;
  margin-bottom: .9rem;
}
.malen-promo-dots span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}
.malen-preview {
  display: block;
  border: var(--line) solid var(--ink);
  border-radius: var(--radius-med);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  padding: .85rem;
  transition: transform .15s ease;
}
.malen-preview:hover { transform: scale(1.02) rotate(-1deg); }
@media (max-width: 760px) { .malen-promo { grid-template-columns: 1fr; } }

/* ---------- Testen-Anleitung ---------- */
.howto {
  counter-reset: t;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1.25rem;
  max-width: 780px;
}
.howto li {
  counter-increment: t;
  border: var(--line) solid var(--ink);
  border-radius: var(--radius-med);
  padding: 1.25rem 1.4rem 1.25rem 4.8rem;
  position: relative;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.howto li::before {
  content: counter(t);
  position: absolute;
  left: 1.15rem;
  top: 1.15rem;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 2px 2px 0 var(--ink);
}
.howto h2, .howto h3 { font-size: 1.25rem; margin: .1rem 0 .35rem; }
.howto p { margin: 0 0 .7rem; font-size: 1.02rem; }
.howto .btn { font-size: 1rem; padding: .55rem 1.15rem; }
.note {
  border-left: 6px solid var(--sky);
  background: var(--surface);
  padding: .65rem 1rem;
  border-radius: 0 10px 10px 0;
  font-size: 1rem;
  color: var(--ink);
  max-width: 760px;
}

/* ---------- Fragen (FAQ-Karten) ---------- */
.faq {
  max-width: 820px;
  margin-top: 1.8rem;
  display: grid;
  gap: .85rem;
}
.faq details {
  background: var(--surface);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius-med);
  box-shadow: var(--shadow-sm);
  padding: 0 1.3rem;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  min-height: 54px;
  padding: 1rem 2.4rem 1rem 0;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1.22rem;
  position: relative;
  display: flex;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--sun-soft);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform .2s, background .2s;
}
.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  background: var(--sun);
}
.faq details p {
  font-size: 1.05rem;
  padding-bottom: .4rem;
  border-top: 2px dashed rgba(24, 27, 34, .15);
  padding-top: .85rem;
}

/* ---------- Advent-Fläche ---------- */
.advent {
  background: var(--night);
  color: #fff;
  border-block: var(--line) solid var(--ink);
}
.advent .wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.advent img {
  border: var(--line) solid #fff;
  border-radius: var(--radius-big);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, .35);
}
.advent p { color: #e5ecfa; }
@media (max-width: 760px) { .advent .wrap { grid-template-columns: 1fr; } }

/* ---------- Fußzeile ---------- */
.foot {
  border-top: var(--line) solid var(--ink);
  background: var(--surface);
  padding-block: 1.8rem 2.6rem;
  font-size: 1rem;
  font-weight: 700;
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.foot nav { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; }
.foot nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: .35rem;
  text-decoration: none;
}
.foot nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; }

/* ---------- Unterseiten & Rechtliches ---------- */
.page-head { padding-block: clamp(2rem, 5vw, 3.4rem) 1.5rem; }
.legal-sheet {
  background: var(--surface);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius-big);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 4vw, 2.8rem);
  margin-bottom: 3rem;
}
.legal-sheet h1 { font-size: clamp(1.65rem, 6.2vw, 2.8rem); }
.legal-badge {
  display: inline-block;
  background: var(--sky-soft);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: .25rem .85rem;
  font-weight: 800;
  font-size: .9rem;
  margin-bottom: 1rem;
}
.legal h2 { font-size: 1.45rem; margin-top: 2rem; }
.legal p, .legal li { max-width: 72ch; font-size: 1.04rem; overflow-wrap: anywhere; }
.todo { background: #fff3c4; padding: 0 .3em; border-radius: 4px; }

/* ---------- /app ---------- */
.qr-hero { padding-block: clamp(2rem, 6vw, 4rem); }
.qr-card {
  border: var(--line) solid var(--ink);
  border-radius: var(--radius-big);
  padding: clamp(1.4rem, 4vw, 2.5rem);
  box-shadow: 8px 8px 0 var(--ink);
  max-width: 760px;
  background: var(--surface);
}
.qr-card .status {
  display: inline-block;
  font-weight: 800;
  font-size: .95rem;
  padding: .25rem .85rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--sun);
  margin-bottom: 1rem;
}
.gets { padding-left: 1.2rem; }
.gets li { margin-bottom: .4rem; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
