/* Relaxing Rabbit — öffentliche Website. Design-Tokens: assets/brand/BRAND.md */
:root {
  --cream: #F0DCC6;
  --cream-light: #F8EDE0;
  --paper: #FFF8F0;
  --sand: #E2C1A1;
  --sand-dark: #D3AD88;
  --terracotta: #C66F50;
  --terracotta-dark: #A9573B;
  --btn: #984B31;          /* terracotta-dark, leicht abgedunkelt → AA mit cream-light-Text */
  --btn-hover: #86412A;
  --olive: #7F825A;
  --olive-dark: #5F6343;
  --mustard: #D9A646;
  --blush: #E09A86;
  --cocoa: #4B2920;
  --cocoa-deep: #2F1610;
  --link: #8C4328;
  --shadow: 4px 4px 0 rgba(75, 41, 32, .15);
  --shadow-lg: 7px 7px 0 rgba(75, 41, 32, .18);
  --radius: 22px;
  --radius-sm: 14px;
  --border: 2px solid var(--cocoa);
  --font-head: 'Fredoka', ui-rounded, 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', ui-rounded, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .3, 1);
  --wrap: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1rem; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--cocoa);
  font: 400 1rem/1.6 var(--font-body);
  overflow-x: hidden;
  position: relative;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--cocoa-deep); line-height: 1.15; margin: 0; font-weight: 700; }
p { margin: 0; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--cocoa-deep); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cocoa-deep); outline-offset: 3px; border-radius: 6px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--cocoa); color: var(--paper); padding: .6rem 1rem; border-radius: 999px; font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; color: var(--paper); }
.icon { width: 1.1em; height: 1.1em; flex: none; fill: currentColor; }

/* ------------------------------------------------------------ Deko-Blobs */
.page-blobs { position: absolute; inset: 0 0 auto 0; height: 1400px; pointer-events: none; z-index: 0; overflow: hidden; }
.blob { position: absolute; }
.blob-tl { width: clamp(130px, 18vw, 270px); left: 0; top: 96px; fill: var(--terracotta); opacity: .9; }
.blob-tl-dot { width: clamp(34px, 4.5vw, 64px); left: clamp(16px, 3vw, 48px); top: 30px; fill: var(--terracotta); opacity: .55; }
.blob-tr { width: clamp(140px, 21vw, 320px); right: 0; top: 70px; fill: var(--sand); }
.blob-r { width: clamp(60px, 9vw, 130px); right: 0; top: clamp(520px, 52vw, 760px); fill: var(--terracotta); opacity: .85; }

/* ------------------------------------------------------------ Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: .55em 1.3em;
  border: var(--border); border-radius: 999px;
  font: 600 1rem/1.2 var(--font-head); letter-spacing: .01em; text-decoration: none;
  box-shadow: var(--shadow); cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 rgba(75, 41, 32, .2); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(75, 41, 32, .2); }
.btn-primary { background: var(--btn); color: var(--paper); }
.btn-primary:hover { background: var(--btn-hover); color: var(--paper); }
.btn-secondary { background: var(--cream-light); color: var(--cocoa-deep); }
.btn-secondary:hover { background: var(--paper); color: var(--cocoa-deep); }
.linklike { background: none; border: 0; padding: .25rem 0; color: var(--link); text-decoration: underline; cursor: pointer; font-size: .9rem; }

/* ------------------------------------------------------------ Header */
.site-header {
  position: relative; z-index: 3;
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem var(--gutter) .75rem;
}
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--cocoa-deep); }
.brand-logo { width: 56px; height: 56px; border-radius: 50%; border: var(--border); box-shadow: var(--shadow); background: var(--terracotta); }
.wordmark { font: 700 clamp(.9rem, 3.6vw, 1.5rem)/1 var(--font-head); letter-spacing: .04em; white-space: nowrap; }
.btn-channel { padding-inline: 1.1em; white-space: nowrap; flex: none; }

/* ------------------------------------------------------------ Hero */
main { position: relative; z-index: 1; }
.hero { max-width: var(--wrap); margin: .5rem auto 0; padding: 0 var(--gutter); }
.hero-art {
  position: relative; container-type: inline-size;
  border: var(--border); border-radius: calc(var(--radius) + 6px); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--cream);
  aspect-ratio: 4 / 3;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-text {
  position: absolute; left: 50%; top: 23%; transform: translateX(-50%);
  width: 52%; text-align: center;
}
.hero-title {
  font-weight: 700; text-transform: uppercase; color: var(--cocoa-deep);
  font-size: 9.6cqi; line-height: .98; letter-spacing: .01em;
}
.hero-title span { display: block; }
.hero-claim {
  margin-top: .55em; font: 600 3.9cqi/1.2 var(--font-head); color: var(--cocoa);
  text-wrap: balance;
}
.hero-intro {
  display: grid; gap: 1rem; align-items: center;
  margin: 1.5rem auto 0; max-width: 60rem; text-align: center;
}
.lead { font-size: clamp(1.02rem, 2.4vw, 1.2rem); line-height: 1.6; text-wrap: pretty; }
.stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.stats { min-height: 2.75rem; } /* Platz reservieren → kein Layout-Shift, wenn die Zahlen nachladen */
@media (max-width: 559px) { .stats { min-height: 5.9rem; } }
.stat {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .9rem; border-radius: 999px; background: var(--cream-light);
  border: 2px solid var(--cocoa); box-shadow: var(--shadow); font-weight: 700; font-size: .95rem;
}
.stat .dot { width: .7rem; height: .7rem; border-radius: 50%; background: var(--mustard); border: 2px solid var(--cocoa); }

@media (min-width: 720px) {
  .hero-art { aspect-ratio: 2048 / 869; }
  .hero-text { top: 27%; width: 34%; }
  .hero-title { font-size: 6.1cqi; }
  .hero-claim { font-size: 2.15cqi; max-width: 15em; margin-inline: auto; }
}

/* ------------------------------------------------------------ Verlauf / Filter */
.browse { max-width: var(--wrap); margin: clamp(2.5rem, 6vw, 4rem) auto 0; padding: 0 var(--gutter) 4rem; outline: none; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1rem; margin-bottom: 1rem; }
.section-head h2 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
.note { color: var(--mustard); font-size: .8em; display: inline-block; transform: translateY(-.15em) rotate(8deg); }
.result-count { font-weight: 700; color: var(--cocoa); }

.filters {
  background: var(--cream-light); border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1rem; display: grid; gap: .9rem; margin-bottom: 2rem;
}
.filters[hidden] { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  --c: var(--cocoa);
  flex: none; scroll-snap-align: start;
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 42px; padding: .35rem .85rem .35rem .65rem;
  border: 2px solid var(--cocoa); border-radius: 999px;
  background: var(--paper); color: var(--cocoa-deep);
  font: 600 .95rem/1.1 var(--font-head); cursor: pointer;
  box-shadow: 2px 2px 0 rgba(75, 41, 32, .12);
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.chip:hover { transform: translateY(-1px); box-shadow: 3px 3px 0 rgba(75, 41, 32, .18); }
.chip .swatch { width: .8rem; height: .8rem; border-radius: 50%; background: var(--c); border: 2px solid var(--cocoa); flex: none; }
.chip .emoji { font-size: 1.05rem; line-height: 1; }
.chip .count {
  min-width: 1.6rem; padding: .1rem .4rem; border-radius: 999px; text-align: center;
  background: var(--cream); color: var(--cocoa); font: 700 .78rem/1.3 var(--font-body);
}
.chip[aria-pressed="true"] { background: var(--c); color: var(--chip-fg, var(--paper)); box-shadow: var(--shadow); }
.chip[aria-pressed="true"] .swatch { background: var(--chip-fg, var(--paper)); }
.chip[aria-pressed="true"] .count { background: rgba(255, 248, 240, .92); color: var(--cocoa-deep); }
.chip-all[aria-pressed="true"] { --c: var(--cocoa); }
.chip.is-zero:not([aria-pressed="true"]) { opacity: .6; }

.filter-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.search { position: relative; flex: 1 1 16rem; display: block; }
.search .icon { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); width: 1.15rem; height: 1.15rem; fill: none; stroke: var(--cocoa); stroke-width: 2.4; stroke-linecap: round; }
.search input {
  width: 100%; min-height: 46px; padding: .55rem 1rem .55rem 2.6rem;
  border: var(--border); border-radius: 999px; background: var(--paper);
  font-size: 1rem; color: var(--cocoa-deep);
}
.search input::placeholder { color: #7A5A4E; }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.sort { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; }
.sort select {
  appearance: none; -webkit-appearance: none;
  min-height: 46px; padding: .5rem 2.4rem .5rem 1rem;
  border: var(--border); border-radius: 999px; background-color: var(--paper);
  background-image: linear-gradient(45deg, transparent 50%, var(--cocoa) 50%), linear-gradient(135deg, var(--cocoa) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 52%, calc(100% - .8rem) 52%;
  background-size: .38rem .38rem; background-repeat: no-repeat;
  font-weight: 700; color: var(--cocoa-deep); cursor: pointer;
}

/* ------------------------------------------------------------ Timeline */
.timeline { position: relative; padding-left: 2.1rem; }
.timeline.has-items::before {
  content: ""; position: absolute; left: .62rem; top: .9rem; bottom: .5rem; width: 4px; border-radius: 4px;
  background: repeating-linear-gradient(to bottom, var(--sand-dark) 0 14px, transparent 14px 22px);
}
.month { position: relative; margin-bottom: 2.5rem; }
.month:last-child { margin-bottom: 0; }
.month-head {
  position: sticky; top: .75rem; z-index: 2;
  display: flex; align-items: center; gap: .6rem;
  margin: 0 0 1rem -2.1rem; width: max-content; max-width: calc(100% + 2.1rem);
}
.month-dot {
  width: 1.35rem; height: 1.35rem; border-radius: 50%; flex: none;
  background: var(--mustard); border: 3px solid var(--cocoa); box-shadow: 0 0 0 4px var(--cream);
}
.month-title {
  display: inline-flex; align-items: baseline; gap: .55rem;
  padding: .3rem 1rem; border-radius: 999px; background: var(--cream-light);
  border: var(--border); box-shadow: var(--shadow);
  font-size: 1.15rem;
}
.month-count { font: 700 .82rem/1 var(--font-body); color: var(--cocoa); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 265px), 1fr)); gap: 1.4rem; }

/* ------------------------------------------------------------ Karten */
.card { --c: var(--terracotta); }
.card-link {
  display: flex; flex-direction: column; height: 100%;
  background: var(--cream-light); border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); color: inherit; text-decoration: none; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card-link:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-lg); color: inherit; }
.card-link:focus-visible { outline-offset: 4px; border-radius: var(--radius); }
.thumb {
  position: relative; aspect-ratio: 16 / 9; margin: .6rem .6rem 0; border-radius: var(--radius-sm);
  overflow: hidden; border: 2px solid var(--cocoa); background: var(--sand);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card-link:hover .thumb img { transform: scale(1.04); }
.thumb-ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    radial-gradient(circle at 78% 22%, rgba(217, 166, 70, .55) 0 10%, transparent 11%),
    radial-gradient(circle at 15% 85%, rgba(255, 248, 240, .18) 0 22%, transparent 23%),
    linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, var(--cocoa-deep)));
}
.thumb-ph .ph-emoji { font-size: 3.2rem; filter: drop-shadow(2px 3px 0 rgba(47, 22, 16, .35)); }
.thumb-ph .ph-notes { position: absolute; right: 12%; bottom: 14%; color: var(--mustard); font-size: 1.3rem; }
.badge-duration {
  position: absolute; right: .5rem; bottom: .5rem;
  padding: .12rem .5rem; border-radius: 8px; background: rgba(47, 22, 16, .86); color: var(--paper);
  font: 700 .8rem/1.4 var(--font-body); font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.style-tag {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .15rem .6rem .15rem .45rem; border-radius: 999px;
  background: var(--c); color: var(--chip-fg, var(--paper)); border: 2px solid var(--cocoa);
  font: 600 .78rem/1.3 var(--font-head); white-space: nowrap;
}
.thumb .style-tag { position: absolute; left: .5rem; top: .5rem; box-shadow: 2px 2px 0 rgba(47, 22, 16, .25); }
.play {
  position: absolute; left: 50%; top: 50%; width: 3.3rem; height: 3.3rem; margin: -1.65rem 0 0 -1.65rem;
  border-radius: 50%; background: rgba(255, 248, 240, .94); border: 2px solid var(--cocoa);
  display: grid; place-items: center; box-shadow: 3px 3px 0 rgba(47, 22, 16, .3);
  opacity: 0; transform: scale(.85); transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.play svg { width: 1.4rem; height: 1.4rem; fill: var(--btn); margin-left: .15rem; }
.card-link:hover .play, .card-link:focus-visible .play { opacity: 1; transform: scale(1); }
.card-body { padding: .8rem 1rem 1rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.card-title {
  font: 600 1.06rem/1.3 var(--font-head); color: var(--cocoa-deep);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-date { margin-top: auto; display: flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 600; color: var(--cocoa); }
.card-date svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; }
.demo-mark { margin-left: auto; font: 700 .7rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .06em; color: #7A5A4E; }

/* ------------------------------------------------------------ Zustände */
.state {
  text-align: center; display: grid; justify-items: center; gap: .8rem;
  padding: clamp(2rem, 6vw, 3.5rem) 1.25rem; margin: 1rem auto 0; max-width: 40rem;
  background: var(--cream-light); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.state[hidden] { display: none; }
.state img { width: 150px; height: 150px; border-radius: 50%; border: var(--border); box-shadow: var(--shadow); }
.state h3 { font-size: clamp(1.35rem, 4vw, 1.75rem); text-wrap: balance; }
.state p { max-width: 32rem; }
.state-emoji { font-size: 2.6rem; }
.skeleton { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 265px), 1fr)); gap: 1.4rem; }
.skeleton span { height: 250px; border-radius: var(--radius); background: var(--cream-light); border: 2px solid var(--sand); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }

/* ------------------------------------------------------------ Demo-Hinweis */
.demo-ribbon {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 50;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .95rem; border-radius: 999px; background: var(--mustard); color: var(--cocoa-deep);
  border: var(--border); box-shadow: var(--shadow); font: 700 .9rem/1.2 var(--font-head);
}

/* ------------------------------------------------------------ Modal */
.modal {
  width: min(960px, calc(100% - 1.5rem)); max-height: calc(100% - 1.5rem);
  padding: 0; border: var(--border); border-radius: calc(var(--radius) + 4px);
  background: var(--cream-light); color: var(--cocoa); box-shadow: 10px 10px 0 rgba(47, 22, 16, .3);
  overflow: auto;
}
.modal::backdrop { background: rgba(47, 22, 16, .62); backdrop-filter: blur(3px); }
.modal[open] { animation: pop .28s var(--ease); }
.modal[open]::backdrop { animation: fade .28s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes fade { from { opacity: 0; } }
.modal-inner { position: relative; padding: clamp(.6rem, 2vw, 1rem); }
.modal-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 .1rem .6rem .4rem; }
.modal-kicker { font: 600 .95rem/1 var(--font-head); color: var(--cocoa); }
.modal-kicker span { color: var(--mustard); font-size: 1.15em; }
.modal-close {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: var(--border); box-shadow: var(--shadow); cursor: pointer;
}
.modal-close svg { width: 1.2rem; height: 1.2rem; stroke: var(--cocoa-deep); stroke-width: 2.8; stroke-linecap: round; fill: none; }
.modal-close:hover { background: var(--cream); }
.player {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden;
  border: var(--border); background: var(--cocoa-deep);
}
.player-poster, .player-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.55) blur(1px); transform: scale(1.03); }
.player-placeholder { filter: brightness(.6); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.consent {
  position: absolute; inset: 0; z-index: 2; display: grid; align-content: center; justify-items: center; gap: .7rem;
  padding: clamp(1rem, 4vw, 2.5rem); text-align: center; color: var(--paper);
  background: radial-gradient(ellipse 70% 75% at 50% 50%, rgba(47, 22, 16, .78), rgba(47, 22, 16, .38));
}
.consent[hidden] { display: none; }
.consent-title { font: 700 clamp(1.2rem, 3.4vw, 1.7rem)/1.2 var(--font-head); }
.consent-text { max-width: 36rem; font-size: clamp(.82rem, 2vw, .95rem); line-height: 1.5; }
.consent a { color: var(--paper); font-weight: 700; }
.btn-load { font-size: 1.08rem; padding: .65em 1.6em; border-color: var(--paper); }
.remember { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; cursor: pointer; }
.remember input { width: 1.15rem; height: 1.15rem; accent-color: var(--mustard); }
@media (max-width: 640px) {
  /* Auf schmalen Displays passt der Hinweis nicht in 16:9 → Player wächst mit, bis das Video geladen ist */
  .player.is-consent { aspect-ratio: auto; min-height: calc((100vw - 3rem) * 9 / 16); }
  .player.is-consent .consent { position: relative; inset: auto; min-height: inherit; padding: 1.25rem 1rem; }
}
.demo-note { font-weight: 700; color: var(--paper); max-width: 30rem; }
.modal-body { padding: 1rem .4rem .4rem; display: grid; gap: .6rem; }
.modal-meta { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; font-weight: 700; font-size: .92rem; }
.modal-meta .meta-item { display: inline-flex; align-items: center; gap: .35rem; }
.modal-meta .icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.modal-title { font-size: clamp(1.2rem, 3vw, 1.6rem); padding-right: .5rem; }
.modal-desc { max-width: 60ch; }
.modal-desc:empty { display: none; }
.modal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: .3rem; }
.modal-actions .icon { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
body.modal-open { overflow: hidden; }

/* ------------------------------------------------------------ Footer */
.site-footer { position: relative; z-index: 1; margin-top: 2rem; background: var(--cocoa); color: var(--cream-light); }
.footer-wave { position: absolute; left: 0; right: 0; top: -38px; width: 100%; height: 40px; fill: var(--cocoa); }
.footer-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 2.2rem var(--gutter) 2.4rem;
  display: grid; gap: 1.25rem; grid-template-columns: 1fr; align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand img { border-radius: 50%; border: 2px solid var(--cream-light); }
.footer-title { font: 700 1.15rem/1.1 var(--font-head); letter-spacing: .05em; color: var(--paper); }
.footer-claim { font-size: .92rem; opacity: .9; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.footer-nav a { color: var(--paper); font-weight: 700; padding: .3rem 0; }
.footer-nav a:hover { color: var(--mustard); }
.footer-note { font-size: .88rem; opacity: .9; }
.footer-note span { color: var(--mustard); }
@media (min-width: 860px) {
  .footer-inner { grid-template-columns: auto 1fr; }
  .footer-nav { justify-content: flex-end; }
  .footer-note { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------ Rechtstexte */
.legal { position: relative; z-index: 1; max-width: 50rem; margin: 1rem auto 3rem; padding: 0 var(--gutter); }
.legal-card { background: var(--cream-light); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.25rem, 4vw, 2.5rem); }
.legal h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: 1rem; }
.legal h2 { font-size: 1.3rem; margin: 1.8rem 0 .5rem; }
.legal h3 { font-size: 1.05rem; margin: 1.2rem 0 .35rem; }
.legal p, .legal ul { margin: 0 0 .8rem; }
.legal ul { padding-left: 1.2rem; }
.todo { background: #F6D9A0; border: 2px dashed var(--cocoa); border-radius: 8px; padding: 0 .35rem; font-weight: 700; color: var(--cocoa-deep); }
.todo-box { background: #F6E1B5; border: 2px dashed var(--cocoa); border-radius: var(--radius-sm); padding: .8rem 1rem; margin-bottom: 1.2rem; }
.back-link { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1rem; font-weight: 700; }

/* ------------------------------------------------------------ Breakpoints */
@media (max-width: 520px) {
  .brand-logo { width: 46px; height: 46px; }
  .timeline { padding-left: 1.7rem; }
  .timeline.has-items::before { left: .5rem; }
  .month-head { margin-left: -1.7rem; }
  .sort { flex: 1 1 100%; justify-content: space-between; }
  .sort select { flex: 1; }
  .demo-ribbon { right: .6rem; bottom: .6rem; font-size: .8rem; padding: .3rem .7rem; }
  .chips { gap: .4rem; }
  .chip { min-height: 40px; padding: .3rem .7rem .3rem .55rem; font-size: .88rem; gap: .3rem; }
  .filters { padding: .8rem; }
}
@media (max-width: 440px) {
  .site-header { gap: .5rem; }
  .brand { gap: .55rem; }
  .wordmark { letter-spacing: .02em; }
  .btn-channel { padding-inline: .85em; font-size: .92rem; }
}
@media (max-width: 350px) {
  .wordmark { font-size: .8rem; }
  .btn-channel .icon { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .card-link:hover, .btn:hover, .chip:hover { transform: none; }
  .card-link:hover .thumb img { transform: none; }
}
@media (forced-colors: active) {
  .chip[aria-pressed="true"] { outline: 3px solid CanvasText; }
}
