:root {
  color-scheme: light;
  --ground: #f6efd9;
  --surface: #fffbed;
  --text: #243b2b;
  --muted: #53634d;
  --mint: #285c3e;
  --violet: #b74c29;
  --line: #b9bd91;
  --error: #a22220;
  --ink: #203c32;
  --yellow: #ffe071;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: linear-gradient(#c5ebef 0, #e6f3e1 610px, var(--ground) 1000px);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
body.has-cookie-banner { padding-bottom: var(--cookie-banner-space, 320px); }
[hidden] { display: none !important; }
::selection { background: var(--yellow); color: var(--ink); }
a { color: #245d3c; text-underline-offset: 4px; }
a:hover { color: #933b22; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #963616;
  outline-offset: 4px;
}
.site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.025em; text-wrap: balance; hyphens: auto; }
h1, h2, .brand, .footer-brand, .stats strong, .art-caption {
  font-family: ui-monospace, "Courier New", monospace;
  font-weight: 900;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 4.5rem); text-transform: uppercase; }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; line-height: 1.3; }
svg { display: block; max-width: 100%; }
.container { width: calc(100% - 48px); max-width: 1160px; margin-inline: auto; }
main { padding-bottom: 64px; }
main > section + section { margin-top: 64px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 24px; background: var(--yellow); color: var(--ink); }
.skip-link:focus { top: 8px; }
.site-header {
  position: relative; z-index: 20; min-height: 72px;
  background: var(--ink); color: #fffbed; border-bottom: 4px solid #749b55;
}
.header-inner {
  min-height: 68px; max-width: 1208px; margin: auto; padding: 10px 24px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; color: #fffbed; text-decoration: none; font-size: 15px; line-height: 1.3; }
.brand:hover { color: var(--yellow); }
.brand-mark { font-size: 28px; line-height: 1; flex-shrink: 0; }
.primary-nav { display: flex; gap: 24px; align-items: center; }
.primary-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #fffbed; text-decoration: none; font-weight: 700; font-size: .92rem; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--yellow); text-decoration: underline; }
.header-cta { justify-self: end; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; min-width: 0; max-width: 100%; padding: 12px 22px;
  border: 2px solid var(--ink); border-radius: 3px;
  background: var(--yellow); color: var(--ink); font-weight: 800; font-size: .95rem;
  line-height: 1.45; text-decoration: none; text-align: center;
  white-space: normal; overflow-wrap: anywhere;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.button:hover { background: #ffec9c; color: var(--ink); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.button:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.button-secondary { background: #e8eed6; }
.button-secondary:hover { background: #d9e6bc; }
.button:disabled { background: #dde0cd; color: #606755; border-color: #88927a; transform: none; box-shadow: none; }
.button-small { min-height: 44px; padding: 8px 16px; font-size: .85rem; }
.menu-toggle { display: none; }
.hero { padding-block: 64px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.hero > div:first-child { display: grid; gap: 24px; }
.hero > *, .section-heading > *, .three-column > *, .footer-grid > *, .contact-grid > * { min-width: 0; }
.eyebrow { color: #375c36; text-transform: uppercase; letter-spacing: .11em; font-size: .76rem; font-weight: 850; line-height: 1.7; }
.accent-text { color: #a43f20; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 660px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; }
.text-link { display: inline-block; font-weight: 750; text-decoration: none; line-height: 1.6; }
.text-link:hover { text-decoration: underline; }
.microcopy { font-size: .85rem; color: var(--muted); line-height: 1.65; }
.hero-art { overflow: hidden; border: 3px solid var(--ink); border-radius: 4px; background: #8bd3e4; box-shadow: 9px 9px 0 #668455; }
.duck-hunt-marsh-illustration { width: 100%; height: auto; image-rendering: pixelated; }
.art-caption { display: block; padding: 14px 12px; background: var(--ink); color: var(--yellow); text-align: center; font-size: .76rem; letter-spacing: .09em; }
.hero + section { margin-top: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.section-heading > div { display: grid; gap: 12px; }
.section-heading > p { color: var(--muted); max-width: 280px; }
.section-heading > .text-link { flex-shrink: 0; }
.card { min-width: 0; border: 2px solid var(--ink); border-radius: 4px; background: var(--surface); box-shadow: 5px 5px 0 #bac49a; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 2px solid var(--ink); background: #e7edce; border-radius: 2px 2px 0 0; }
.stats > div { padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats strong { color: #294c32; font-size: 1.25rem; line-height: 1.25; font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); font-size: .8rem; line-height: 1.5; }
.card-content { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.card-content > p:not(.eyebrow) { color: var(--muted); }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.guide-card { display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.guide-card:focus-within { outline: 2px solid #a43f20; outline-offset: 3px; }
.guide-card .card-content { flex: 1; }
.guide-card .text-link { margin-top: auto; padding-top: 4px; }
.game-card { box-shadow: 8px 8px 0 #749054; }
.game-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--ink); }
.game-stats strong { color: var(--yellow); font-size: clamp(1.5rem, 3vw, 2.25rem); }
.game-stats span { color: #e1edce; text-transform: uppercase; letter-spacing: .06em; }
.game-stats > div + div { border-left-color: #59705a; }
.game-stats [data-score] { transform-origin: left center; transition: transform .15s ease, color .15s ease; }
.game-stats [data-score].score-hit { color: #fffbed; transform: scale(1.08); }
.game-content { padding: 24px; display: grid; gap: 24px; }
.game-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 20px; }
.game-controls .field { flex: 1 1 240px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: .92rem; font-weight: 750; }
input, select, textarea { width: 100%; min-width: 0; max-width: 100%; padding: 12px 16px; border: 2px solid #7c8f64; border-radius: 3px; background: #fffef7; color: var(--text); font-size: 1rem; }
input:hover, select:hover, textarea:hover { border-color: var(--ink); }
select { min-height: 48px; }
select:disabled { background: #e5e8d8; color: var(--muted); }
textarea { resize: vertical; }
.game-board {
  position: relative; isolation: isolate; display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: 8px; width: 100%; max-width: 640px; aspect-ratio: 1.35; margin-inline: auto;
  padding: 16px; border: 3px solid var(--ink); border-radius: 3px;
  background: linear-gradient(#81cce2 0%, #b8e9ef 70%, #cbdc9a 70%, #a2c377 86%, #729546 86%);
  user-select: none; cursor: crosshair; overflow: hidden;
}
.game-board::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background:
    linear-gradient(#ffffffb8, #ffffffb8) 9% 14% / 18% 5% no-repeat,
    linear-gradient(#ffffffb8, #ffffffb8) 14% 10% / 9% 5% no-repeat,
    linear-gradient(#ffffffa8, #ffffffa8) 85% 29% / 21% 5% no-repeat,
    linear-gradient(#ffffffa8, #ffffffa8) 81% 25% / 11% 5% no-repeat,
    repeating-linear-gradient(90deg, transparent 0 16px, #507136 16px 22px, transparent 22px 36px) bottom / 100% 6% no-repeat;
}
.arena-cell { position: relative; display: grid; place-items: center; min-width: 0; min-height: 0; border: 1px solid #244f3926; border-radius: 2px; }
.neon-target {
  display: grid; place-items: center; width: 94%; max-width: 76px; max-height: 94%; aspect-ratio: 1;
  padding: 0; border: 0; border-radius: 3px; background: transparent; color: var(--ink);
  cursor: crosshair; touch-action: manipulation;
}
.neon-target:hover { background: #fffbe34d; }
.neon-target:focus-visible { outline-color: #79280c; background: #fff7c3; }
.duck-hunt-mallard-sprite { width: 100%; height: 100%; overflow: visible; pointer-events: none; image-rendering: pixelated; filter: drop-shadow(2px 3px 0 #203c322b); }
.duck-hunt-mallard-sprite .duck-wing { transform-origin: 24px 25px; animation: duck-wing-flap .5s steps(2, end) infinite; }
.duck-hit-pop {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
  pointer-events: none; user-select: none; animation: duck-score-pop .55s ease-out both;
}
.duck-hit-pop * { pointer-events: none; }
.duck-hit-starburst-illustration { position: absolute; width: 100%; height: 100%; max-width: 90px; overflow: visible; }
.duck-hit-points {
  position: relative; color: var(--ink);
  font: 900 clamp(.85rem, 3vw, 1.4rem)/1 ui-monospace, "Courier New", monospace;
  white-space: nowrap; text-shadow: 0 1px 0 #fffbed;
}
.game-board:not(.is-running)::after {
  content: "BEREIT FÜR DEINE RUNDE"; position: absolute; inset: 42% 8% auto; padding: 12px;
  background: #203c32e8; color: #fff4bf; text-align: center; pointer-events: none;
  font: 800 clamp(.8rem, 3vw, 1.2rem)/1.5 ui-monospace, monospace; letter-spacing: .08em;
}
.game-result { min-height: 3.3em; color: var(--text); font-weight: 650; }
.supporting-section { padding-block: 40px; border-top: 2px dashed #819564; }
.supporting-section > h2 { margin-top: 16px; max-width: 800px; }
.three-column { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
.three-column h3 { margin-bottom: 14px; }
.three-column p { color: var(--muted); }
.section-note { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.article-layout { max-width: 880px; padding-top: 56px; }
.article-header { display: grid; gap: 24px; margin-bottom: 48px; }
.article-header .eyebrow { margin-top: 4px; }
.article-header .lead { max-width: 720px; }
.article-copy { max-width: 76ch; }
.article-copy section + section { margin-top: 48px; }
.article-copy h2 { font-size: clamp(1.45rem, 3vw, 1.95rem); margin-bottom: 20px; }
.article-copy p { color: #45563f; hyphens: auto; }
.article-copy p + p { margin-top: 20px; }
.article-copy strong { color: var(--text); }
.article-copy a { hyphens: none; }
.article-next { border-top: 2px dashed #819564; margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.article-next > a { min-width: 0; max-width: 100%; }
.table-wrap { width: 100%; max-width: 100%; margin-block: 24px; border: 2px solid var(--ink); background: var(--surface); overflow-x: auto; overscroll-behavior-inline: contain; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
caption { padding: 16px; text-align: left; color: var(--muted); font-weight: 650; }
th, td { text-align: left; vertical-align: top; padding: 16px; border-top: 1px solid var(--line); hyphens: auto; }
thead th { background: #e2e9c8; }
tbody th { color: #285537; }
.contact-main { padding-top: 56px; }
.contact-main .article-header { max-width: 850px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.contact-form > .button { align-self: start; }
.contact-details { min-width: 0; }
.contact-details h2 { margin-block: 16px 24px; }
.contact-details p { margin-top: 24px; color: var(--muted); }
address { font-style: normal; color: var(--muted); }
address strong { color: var(--text); }
.notice { padding: 16px; border-left: 4px solid #ac4c27; background: #f5e3c1; color: #69371f; font-size: .9rem; }
.contact-details p.notice { color: #69371f; }
.field-error { color: var(--error); font-size: .86rem; }
.is-invalid { border-color: var(--error); }
.form-status { color: #285537; }
.form-status:empty { display: none; }
.form-status.is-invalid { padding: 16px; border: 2px solid var(--error); background: #ffe9dc; color: var(--error); }
.draft-result { display: grid; gap: 24px; }
.site-footer { background: var(--ink); color: #dbe5ca; border-top: 8px solid #779852; padding-block: 48px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 20px; }
.footer-grid p { font-size: .88rem; }
.footer-grid .microcopy { color: #dbe5ca; }
.footer-brand { color: #fffbed; text-decoration: none; font-size: 1.1rem; }
.footer-grid nav { display: flex; flex-direction: column; align-items: start; gap: 8px; }
.footer-grid nav h2 { font-size: 1.05rem; color: var(--yellow); margin-bottom: 8px; letter-spacing: 0; }
.footer-grid nav a, .footer-grid > div > a:not(.footer-brand) { font-size: .9rem; color: #f4f6e9; }
.footer-grid nav a { padding-block: 6px; }
.footer-grid a:hover { color: var(--yellow); }
.footer-preferences { border: 0; min-height: 44px; padding: 6px 0; text-align: left; font-size: .9rem; text-decoration: underline; text-underline-offset: 4px; background: transparent; color: var(--yellow); }
.cookie-banner {
  position: fixed; z-index: 50; bottom: 16px; left: 24px; right: 24px; max-width: 1160px;
  margin-inline: auto; padding: 24px; display: flex; align-items: center; gap: 24px;
  max-height: 55vh; max-height: 55dvh; overflow-y: auto; overscroll-behavior: contain;
  border: 3px solid var(--ink); border-radius: 3px;
  background: #fffbed; color: var(--text); box-shadow: 6px 6px 0 #203c32;
}
.cookie-banner > div:first-child { flex: 1; min-width: 0; }
.cookie-banner h2 { font-size: 1.1rem; margin-bottom: 8px; }
.cookie-banner p { color: var(--muted); font-size: .88rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: 1; min-width: 0; padding: 0 4px 4px 0; }
.cookie-actions .button { flex: 1 1 140px; padding: 12px; font-size: .85rem; }
.cookie-actions .button-secondary { background: var(--yellow); }
.cookie-actions .button-secondary:hover { background: #ffec9c; }
.preferences-dialog { width: calc(100% - 32px); max-width: 580px; max-height: 90vh; max-height: 90dvh; overflow-y: auto; padding: 32px; border: 3px solid var(--ink); border-radius: 4px; background: var(--surface); color: var(--text); box-shadow: 8px 8px 0 #10291d; }
.preferences-dialog::backdrop { background: #142d22c9; }
.preferences-dialog form { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.preferences-dialog h2 { font-size: clamp(1.35rem, 5vw, 1.75rem); }
.preferences-dialog p { color: var(--muted); }
.preferences-dialog .actions { gap: 16px; }
.checkbox-row { display: flex; align-items: start; gap: 16px; font-size: .95rem; cursor: pointer; }
.checkbox-row input { width: 20px; height: 20px; flex: 0 0 20px; margin: 4px 0 0; accent-color: #285537; }
.checkbox-row span { min-width: 0; }
@keyframes duck-wing-flap { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(12deg); } }
@keyframes duck-score-pop {
  0% { opacity: 1; transform: scale(.55); }
  25% { opacity: 1; transform: scale(1.12); }
  60% { opacity: 1; transform: translateY(-4px) scale(1); }
  100% { opacity: 0; transform: translateY(-14px) scale(.95); }
}
@media (hover: hover) and (pointer: fine) {
  .guide-card:hover { transform: translateY(-4px); box-shadow: 5px 9px 0 #bac49a; }
}
@media (max-width: 1000px) {
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { gap: 28px; }
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 16px; }
  .cookie-actions { flex: auto; }
  .three-column { gap: 24px; }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto auto; gap: 20px; }
}
@media (max-width: 767px) {
  .container { width: calc(100% - 32px); }
  .site-header { min-height: 64px; }
  .header-inner { min-height: 60px; padding: 8px 16px; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; }
  .brand { font-size: 12px; gap: 6px; }
  .brand-mark { font-size: 24px; }
  .header-cta { grid-column: 2; grid-row: 1; }
  .has-js .menu-toggle { display: flex; grid-column: 3; grid-row: 1; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 8px; border: 1px solid #c4d59e; background: #304e38; color: #fffbed; }
  .menu-toggle span { width: 18px; border-top: 2px solid currentColor; }
  .primary-nav { grid-column: 1 / -1; flex-wrap: wrap; gap: 16px; }
  .has-js .primary-nav { display: none; position: absolute; top: calc(100% + 4px); left: 16px; right: 16px; padding: 20px; align-items: stretch; flex-direction: column; border: 2px solid #6f8d51; background: var(--ink); box-shadow: 4px 4px 0 #789456; }
  .has-js .primary-nav.is-open { display: flex; }
  .primary-nav a { padding-block: 8px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 40px 48px; gap: 36px; }
  .hero-art { max-width: 440px; width: calc(100% - 10px); justify-self: center; }
  .section-heading { align-items: start; flex-direction: column; gap: 16px; }
  .section-heading > p { max-width: none; }
  .section-heading > .text-link { flex-shrink: 1; }
  .three-column, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .three-column { gap: 28px; }
  .contact-grid { gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .footer-grid > div { grid-column: 1 / -1; }
  .game-controls { gap: 16px; }
  .game-controls .field { flex-basis: 100%; }
  .game-controls .button { flex: 1; }
  .game-stats > div { padding: 16px; }
  .game-content { padding: 16px; gap: 20px; }
  .game-board { gap: 4px; aspect-ratio: 1.1; padding: 10px; }
  .cookie-banner { left: 12px; right: 16px; bottom: 12px; padding: 16px; }
  .cookie-actions .button { flex-basis: 45%; }
  .article-header h1 { font-size: clamp(2rem, 7vw, 3.4rem); }
  .article-layout, .contact-main { padding-top: 40px; }
  .article-header { margin-bottom: 36px; gap: 20px; }
  .preferences-dialog { padding: 24px; }
  th, td { padding: 12px; min-width: 100px; }
  main > section + section { margin-top: 48px; }
}
@media (max-width: 560px) {
  .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .game-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-stats > div:nth-child(3) { border-left: 0; }
  .game-stats > div:nth-child(n+3) { border-top: 1px solid #59705a; }
  .supporting-section { padding-block: 28px; }
  .article-copy section + section { margin-top: 36px; }
  .contact-form > .button { align-self: stretch; }
}
@media (max-width: 399px) {
  .brand { font-size: 11px; }
  .brand-mark { font-size: 20px; }
  .header-inner { gap: 8px; padding-inline: 12px; }
  .header-cta { padding-inline: 10px; }
  .card-content, .stats > div { padding: 16px; }
  .hero .actions, .game-controls { align-items: stretch; flex-direction: column; }
  .game-controls .field { flex-basis: auto; }
  .game-board { aspect-ratio: 1; padding: 6px; }
  .neon-target { width: 94%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .cookie-actions { flex-direction: column; }
  .cookie-actions .button { flex-basis: auto; }
  .preferences-dialog .actions, .article-next { flex-direction: column; align-items: stretch; }
  .preferences-dialog { padding: 20px; }
  .art-caption { letter-spacing: .04em; }
}
@media (max-width: 340px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .brand { grid-column: 1; grid-row: 1; }
  .header-cta { grid-column: 1; grid-row: 2; justify-self: start; }
  .has-js .menu-toggle { grid-column: 2; grid-row: 1 / 3; }
  .primary-nav { grid-row: 3; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .guide-card:hover, .button:hover, .button:active { transform: none; }
  .game-stats [data-score].score-hit { transform: none; }
}
@media (forced-colors: active) {
  .button, .card, .arena-cell, .game-board, .neon-target { border: 2px solid ButtonText; }
  .duck-hunt-mallard-sprite, .duck-hit-starburst-illustration { forced-color-adjust: none; }
  .duck-hit-points { color: CanvasText; background: Canvas; text-shadow: none; }
  .game-board::before { display: none; }
  .game-board:not(.is-running)::after { background: Canvas; color: CanvasText; }
}