/* Papa ohne Plan – hoeserle.at. System-Fonts, keine externen Ressourcen. */
:root {
  --bg: #FBF7F0;
  --bg-alt: #F3ECE0;
  --ink: #1E1B16;
  --muted: #5F574B;
  --line: #E6DDCE;
  --accent: #C2410C;
  --accent-ink: #9A3412;
  --blue: #E2EEF6;
  --green: #E3F1E8;
  --yellow: #FCEBC7;
  --white: #FFFDF9;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --wrap: 1120px;
  --narrow: 720px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1.0625rem/1.65 var(--sans);
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); margin: 0.2em 0 0.4em; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); margin: 1.8em 0 0.5em; }
h3 { font-size: 1.25rem; margin: 1.4em 0 0.4em; }
p { margin: 0 0 1em; }
a { color: var(--accent-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.small { font-size: 0.875rem; color: var(--muted); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.wrap-narrow { max-width: var(--narrow); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
.aff { color: var(--muted); font-size: 0.85em; margin-left: 1px; text-decoration: none; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 240, 0.94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 1.2rem/1 var(--serif); min-height: 44px; }
.logo-mark { width: 32px; height: 32px; flex: none; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a {
  display: flex; align-items: center; min-height: 44px; padding: 0 14px;
  color: var(--ink); text-decoration: none; border-radius: 999px; font-weight: 500;
}
.main-nav a:hover { background: var(--bg-alt); }
.main-nav a[aria-current="page"] { background: var(--ink); color: var(--white); }
.burger { display: none; }

@media (max-width: 760px) {
  .burger {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 12px;
    background: transparent; border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink); font: 600 0.95rem var(--sans); cursor: pointer;
  }
  .burger-lines, .burger-lines::before, .burger-lines::after {
    display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s;
  }
  .burger-lines::before, .burger-lines::after { content: ""; position: absolute; left: 0; }
  .burger-lines::before { top: -6px; }
  .burger-lines::after { top: 6px; }
  .burger[aria-expanded="true"] .burger-lines { background: transparent; }
  .burger[aria-expanded="true"] .burger-lines::before { transform: translateY(6px) rotate(45deg); }
  .burger[aria-expanded="true"] .burger-lines::after { transform: translateY(-6px) rotate(-45deg); }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line);
    display: none; padding: 8px 16px 16px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { border-radius: 10px; font-size: 1.1rem; }
  .no-js .main-nav { display: block; position: static; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font: 700 1rem var(--sans); text-decoration: none; cursor: pointer;
  border: 2px solid var(--ink); background: var(--white); color: var(--ink);
  transition: transform .12s, box-shadow .12s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 4px 4px 0 var(--ink); }
.btn-primary:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn-primary:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-ghost:hover { background: var(--bg-alt); }
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; min-height: 44px; }

/* ---------- Startseite ---------- */
.hero { padding-top: 56px; padding-bottom: 40px; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 8px; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.hero-note {
  background: var(--yellow); border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px;
  box-shadow: 6px 6px 0 var(--ink); transform: rotate(1deg);
}
.hero-note h2 { margin-top: 0; font-size: 1.3rem; }
.hero-note ol { margin: 0; padding-left: 1.2em; }
.hero-note li { margin-bottom: 6px; }

.section { padding-top: 48px; padding-bottom: 48px; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2:first-child { margin-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }

.entry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.entry {
  display: flex; flex-direction: column; gap: 8px;
  padding: 24px; border-radius: var(--radius); border: 1.5px solid var(--ink);
  color: var(--ink); text-decoration: none; transition: transform .12s, box-shadow .12s;
}
.entry:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.entry h3 { margin: 4px 0 0; }
.entry p { margin: 0; color: var(--muted); }
.entry .go { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--accent-ink); }
.entry svg { width: 40px; height: 40px; }
.bg-blue { background: var(--blue); }
.bg-green { background: var(--green); }
.bg-yellow { background: var(--yellow); }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.post-card h3 { margin: 4px 0 8px; font-size: 1.2rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent-ink); text-decoration: underline; }
.post-card p:last-child { margin: 0; color: var(--muted); }
.meta { font-size: 0.9rem; color: var(--muted); margin: 0; }

.about { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: start; }

/* ---------- Beiträge / Fließtext ---------- */
.article-head { padding-top: 32px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 8px; font-size: 0.9rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }
.page-head { padding-top: 32px; padding-bottom: 8px; }
.page-head .lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.prose { padding-bottom: 48px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose h2 { font-size: 1.55rem; }
.answer-box {
  background: var(--green); border: 1.5px solid var(--ink); border-radius: var(--radius);
  padding: 18px 20px; margin: 8px 0 28px;
}
.answer-box p { margin: 0; }
.answer-label { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px !important; }
.warn {
  background: var(--yellow); border-left: 5px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px; margin: 24px 0;
}
.warn p:last-child { margin: 0; }
.warn strong:first-child { display: block; margin-bottom: 4px; }
.product-box { background: var(--blue); border-radius: var(--radius); padding: 22px 22px 14px; margin: 32px 0; }
.product-box h2 { margin-top: 0; font-size: 1.3rem; }
.product-box ul { list-style: none; padding: 0; margin: 0 0 12px; }
.product-box li { display: flex; flex-direction: column; padding: 10px 0; border-top: 1px solid rgba(30, 27, 22, .12); }
.product-box li:first-child { border-top: 0; }
.product-box li span { color: var(--muted); font-size: 0.95rem; }
.faq { margin: 32px 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 14px 36px 14px 0; position: relative;
  font-weight: 700; min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 10px; font-size: 1.4rem; font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-a { padding: 0 0 14px; color: var(--ink); }
.faq-a p { margin: 0; }
.next-links { margin: 32px 0; }
.next-links h2 { font-size: 1.3rem; }
.author-box {
  display: flex; gap: 16px; align-items: flex-start;
  border-top: 2px solid var(--ink); padding-top: 20px; margin-top: 32px;
}
.author-box p { margin: 0; }
.author-name { font-weight: 700; margin-bottom: 4px !important; }
.aff-note { font-size: 0.875rem; color: var(--muted); margin-top: 20px; }

/* ---------- Geschenkfinder ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 24px; padding: 0; list-style: none; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: var(--white); color: var(--ink);
  font: 600 0.95rem var(--sans); cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.gift-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.gift { display: flex; flex-direction: column; gap: 6px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.gift[hidden] { display: none; }
.gift h3 { margin: 0; font-size: 1.15rem; }
.gift p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.gift .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.gift .tag { font-size: 0.78rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); }
.gift .buy { margin-top: auto; padding-top: 10px; font-weight: 700; }
.gift-count { color: var(--muted); font-size: 0.95rem; }

/* ---------- Checkliste ---------- */
.progress-wrap {
  position: sticky; top: 64px; z-index: 10;
  background: var(--bg); padding: 12px 0; border-bottom: 1px solid var(--line); margin-bottom: 16px;
}
.progress-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.progress-label { font-weight: 700; }
.progress { height: 12px; background: var(--bg-alt); border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; margin-top: 8px; }
.progress-bar { height: 100%; width: 0; background: var(--accent); transition: width .25s; }
.check-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.check-actions .btn { min-height: 44px; padding: 0 16px; font-size: 0.95rem; }
.check-group { margin: 28px 0; }
.check-group h2 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 10px; font-size: 1.4rem; }
.check-group h2 small { font: 600 0.9rem var(--sans); color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.check-list li { border-top: 1px solid var(--line); }
.check-list li:first-child { border-top: 0; }
.check-list label { display: flex; gap: 14px; align-items: flex-start; padding: 12px 16px; cursor: pointer; min-height: 44px; }
.check-list input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.check-list .txt { flex: 1; }
.check-list .txt small { display: block; color: var(--muted); font-size: 0.9rem; }
.check-list input:checked + .txt b { text-decoration: line-through; color: var(--muted); }
.check-list .shop { font-size: 0.9rem; white-space: nowrap; padding: 12px 16px 0 0; }
.check-list li { display: flex; justify-content: space-between; align-items: flex-start; }
.check-list li label { flex: 1; }

.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.guide { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.guide h3 { margin-top: 0; }
.guide ul { padding-left: 1.2em; margin: 0 0 12px; }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: #EDE6D9; padding: 48px 0 24px; margin-top: 48px; }
.site-foot a, .site-foot .linklike { color: #FFE2C7; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 32px; }
.foot-logo { font: 700 1.3rem var(--serif); color: #fff; }
.foot-h { font-weight: 700; color: #fff; margin-bottom: 8px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { min-height: 44px; display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; }
.site-foot .small { color: #B9AF9F; }
.foot-bottom { border-top: 1px solid #3A352C; margin-top: 32px; padding-top: 16px; font-size: 0.875rem; color: #B9AF9F; }
.foot-bottom p { margin: 0; }

/* ---------- Rechtstexte / 404 ---------- */
.legal h2 { font-size: 1.35rem; }
.notfound { text-align: center; padding-top: 64px; padding-bottom: 64px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-note { transform: none; }
  .entry-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 32px; }
  .about { grid-template-columns: 1fr; }
  .check-list li { flex-direction: column; }
  .check-list .shop { padding: 0 16px 12px 52px; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Relaunch-Zähler ---------- */
.relaunch {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--ink); padding: 18px 22px; margin-top: 32px;
}
.relaunch[hidden] { display: none; }
.relaunch .stamp {
  flex: none; font: 800 0.8rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--accent); padding: 9px 12px; border-radius: 8px;
  transform: rotate(-4deg); box-shadow: 2px 2px 0 var(--ink);
}
.relaunch p { margin: 0; flex: 1 1 260px; }
.relaunch .num {
  font: 800 2.1rem/1 var(--serif); color: var(--accent-ink); font-variant-numeric: tabular-nums;
  display: inline-block; min-width: 2ch;
}
.relaunch .num.bump { animation: bump .5s cubic-bezier(.3, 1.6, .5, 1); }
.foot-counter { margin-top: 6px !important; }
.foot-counter b { color: #FFE2C7; font-variant-numeric: tabular-nums; }

/* ---------- Lässige Animationen ---------- */
.logo-mark .eyes { transform-origin: 16px 13px; animation: blink 6s infinite; }
.logo:hover .logo-mark { animation: wobble .6s ease-in-out; }
@keyframes blink { 0%, 46%, 50%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.1); } }
@keyframes wobble { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(10deg); } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }

/* Unterstrich wie mit dem Edding gekritzelt */
.scribble { position: relative; white-space: nowrap; }
.scribble svg { position: absolute; left: -2%; bottom: -.18em; width: 104%; height: .42em; overflow: visible; }
.scribble path { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw .9s .5s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Zettel fällt rein und wackelt beim Drüberfahren */
.hero-note { animation: drop .7s .2s cubic-bezier(.2, 1.4, .4, 1) both; }
.hero-note:hover { animation: sway .8s ease-in-out; }
@keyframes drop { from { opacity: 0; transform: translateY(-30px) rotate(-6deg); } to { opacity: 1; transform: rotate(1deg); } }
@keyframes sway { 0%, 100% { transform: rotate(1deg); } 30% { transform: rotate(-2deg); } 60% { transform: rotate(2.5deg); } }

/* Icons in den Einstiegskarten */
.entry:hover svg { animation: wobble .5s ease-in-out; }
.steam path { animation: steam 2.4s ease-in-out infinite; }
.steam path + path { animation-delay: .6s; }
@keyframes steam { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(-3px); opacity: .45; } }

.btn-primary:hover { animation: nudge .35s ease-out; }
@keyframes nudge { 50% { transform: translate(-2px, -2px) rotate(-1.5deg); } }

/* Einblenden beim Scrollen (nur Elemente, die beim Laden noch unsichtbar sind) */
.reveal-wait { opacity: 0; transform: translateY(18px); }
.reveal-in { opacity: 1; transform: none; transition: opacity .5s ease-out, transform .5s cubic-bezier(.2, 1.2, .4, 1); }

/* Checkliste: Haken ploppt, Konfetti bei 100 % */
.check-list input:checked { animation: pop .3s ease-out; }
@keyframes pop { 50% { transform: scale(1.35); } }
.progress-bar.full { background: repeating-linear-gradient(-45deg, var(--accent), var(--accent) 10px, #EA580C 10px, #EA580C 20px); }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 200; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }
.done-msg { font-weight: 700; color: var(--accent-ink); }

.notfound h1 { animation: shiver 3s ease-in-out infinite; }
@keyframes shiver { 0%, 90%, 100% { transform: none; } 92% { transform: translateX(-3px); } 94% { transform: translateX(3px); } 96% { transform: translateX(-2px); } }

/* ---------- Polaroid statt Initiale ---------- */
.about { grid-template-columns: 200px 1fr; gap: 40px; }
.polaroid {
  position: relative; display: block; margin: 8px 0 0; padding: 10px 10px 0;
  background: #fff; border: 2px solid var(--ink); border-radius: 4px;
  box-shadow: 6px 6px 0 var(--ink); transform: rotate(-4deg);
  transition: transform .35s cubic-bezier(.3, 1.5, .5, 1), box-shadow .35s;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.polaroid .pic { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border: 1.5px solid var(--ink); background: var(--yellow); }
.polaroid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.polaroid .pix { opacity: 0; image-rendering: pixelated; transition: opacity .25s steps(4); }
.polaroid figcaption { font: 700 1.05rem/1 var(--serif); text-align: center; padding: 12px 0 14px; }
.polaroid figcaption small { font: 500 .8rem var(--sans); color: var(--muted); }
.polaroid .tape {
  position: absolute; z-index: 2; top: -12px; left: 50%; width: 74px; height: 24px; margin-left: -37px;
  background: rgba(252, 235, 199, .85); border: 1px dashed rgba(30, 27, 22, .35); transform: rotate(3deg);
}
.polaroid:focus-visible, .polaroid.flip { transform: rotate(0) scale(1.03); box-shadow: 9px 9px 0 var(--ink); animation: jiggle .5s .1s ease-in-out; }
.polaroid:focus-visible .pix, .polaroid.flip .pix { opacity: 1; }
@media (hover: hover) {
  .polaroid:hover { transform: rotate(0) scale(1.03); box-shadow: 9px 9px 0 var(--ink); animation: jiggle .5s .1s ease-in-out; }
  .polaroid:hover .pix { opacity: 1; }
}
.polaroid:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
@keyframes jiggle { 0%, 100% { rotate: 0deg; } 25% { rotate: -3deg; } 50% { rotate: 2.5deg; } 75% { rotate: -1deg; } }

/* Mini-Polaroid im Autorenkasten */
.polaroid.mini { flex: none; width: 72px; padding: 5px 5px 14px; box-shadow: 3px 3px 0 var(--ink); transform: rotate(-5deg); cursor: default; }
.author-box:hover .polaroid.mini { transform: rotate(2deg); animation: jiggle .5s ease-in-out; }

@media (max-width: 560px) {
  .about { display: block; }
  .about .polaroid { float: left; width: 130px; margin: 6px 22px 12px 4px; padding: 7px 7px 0; box-shadow: 4px 4px 0 var(--ink); }
  .about .polaroid figcaption { font-size: .9rem; padding: 8px 0 10px; }
  .about .polaroid figcaption small { display: block; margin-top: 3px; font-size: .7rem; }
  .about::after { content: ""; display: block; clear: both; }
  .about h2 { margin-top: 0; }
}

/* ---------- Keks-Hinweis ---------- */
.cookie-note {
  position: fixed; z-index: 150; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  background: var(--yellow); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--ink); padding: 14px 18px;
  animation: slideup .5s .8s cubic-bezier(.2, 1.3, .4, 1) both;
}
.cookie-note[hidden] { display: none; }
.cookie-note svg { flex: none; width: 44px; height: 44px; animation: nibble 3s 1.6s ease-in-out infinite; }
.cookie-note p { margin: 0; font-size: .92rem; line-height: 1.45; }
.cookie-note .btn { flex: none; white-space: nowrap; }
.cookie-note.bye { animation: slidedown .35s ease-in forwards; }
@keyframes slideup { from { transform: translateY(140%); } to { transform: none; } }
@keyframes slidedown { to { transform: translateY(140%); opacity: 0; } }
@keyframes nibble { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-14deg); } 90% { transform: rotate(10deg); } }
@media (max-width: 560px) {
  .cookie-note { flex-wrap: wrap; left: 10px; right: 10px; bottom: 10px; gap: 10px 12px; padding: 12px 14px; }
  .cookie-note svg { width: 34px; height: 34px; }
  .cookie-note p { flex: 1 1 200px; font-size: .86rem; }
  .cookie-note .btn { width: 100%; }
}

/* ---------- Fehlerseiten 403/404/410 ---------- */
.errpage { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: center; padding: 64px 0 80px; max-width: 980px; }
.errpage .polaroid.err { animation: dropin .8s .1s cubic-bezier(.2, 1.4, .4, 1) both; }
.errpage .polaroid.err figcaption { font-size: 1rem; }
.errpage .pic img:first-child { image-rendering: pixelated; }
.err-text h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; margin: 6px 0 18px; }
.errpage .err-text { text-align: left; padding: 0; margin: 0; }
.err-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@keyframes dropin { from { opacity: 0; transform: translateY(-60px) rotate(-14deg); } to { opacity: 1; transform: rotate(-4deg); } }
@media (max-width: 700px) {
  .errpage { grid-template-columns: 1fr; gap: 20px; padding: 28px 0 56px; }
  .errpage .err-text { text-align: center; }
  .errpage .polaroid.err { width: 190px; margin: 14px auto 0; }
  .err-actions { justify-content: center; }
  .err-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal-wait { opacity: 1; transform: none; }
  .scribble path { stroke-dashoffset: 0; }
}

/* ---------- Druck (Checkliste) ---------- */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; font-size: 11pt; color: #000; }
  .site-head, .site-foot, .no-print, .check-actions, .shop, .chips, .skip, .crumbs { display: none !important; }
  .progress-wrap { position: static; border: 0; }
  .check-group { break-inside: avoid; margin: 12px 0; }
  .check-list { border: 0; }
  .check-list label { padding: 4px 0; min-height: 0; }
  .check-list input { width: 14px; height: 14px; }
  a { color: #000; text-decoration: none; }
  .aff { display: none; }
}
