/* Spiel 3 – Vom Nektar zum Honig */
.zg-play { background: var(--zg-cream-100); }
.nh-instr { font-size: var(--zg-fs-md); line-height: 1.4; }
.nh-scroll {
  position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
  padding: calc(72px + env(safe-area-inset-top)) var(--zg-s4) calc(var(--zg-s6) + env(safe-area-inset-bottom));
}
.nh-wrap { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--zg-s3); }

/* Stationen-Weg */
.nh-map { display: flex; align-items: flex-start; justify-content: center; gap: 4px; padding: var(--zg-s1) 0; }
.nh-map__zone { display: flex; flex-direction: column; align-items: center; gap: 4px; border-radius: var(--zg-radius-md); padding: 6px 6px 4px; }
.nh-map__zone--bees { background: var(--zg-honey-300); }
.nh-map__zone--keeper { background: var(--zg-green-300); }
.nh-map__dots { display: flex; gap: 6px; }
.nh-map__label { font-family: var(--zg-font-display); font-weight: 600; font-size: 12px; line-height: 1; color: var(--zg-green-900); white-space: nowrap; }
.nh-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 252, 244, .75); color: var(--zg-green-900); font-family: var(--zg-font-display); font-weight: 600; font-size: 14px; border: 2px solid transparent; }
.nh-dot.is-done { background: var(--zg-green-900); color: var(--zg-gold-500); }
.nh-dot.is-done svg { width: 16px; height: 16px; }
.nh-dot.is-current { background: #fff; border-color: var(--zg-green-900); transform: scale(1.15); box-shadow: 0 2px 8px rgba(29, 65, 30, .3); }

/* Stationskarte */
.nh-card {
  background: var(--zg-cream-50); border-radius: var(--zg-radius-lg); box-shadow: var(--zg-shadow-card);
  padding: var(--zg-s4); display: flex; flex-direction: column; gap: var(--zg-s3);
  animation: zg-pop 360ms var(--zg-ease-bounce); overflow: hidden;
}
.nh-head { display: flex; gap: var(--zg-s3); align-items: center; }
.nh-tag { display: inline-flex; align-items: center; gap: 6px; border-radius: var(--zg-radius-pill); padding: 2px 10px 2px 4px; font-family: var(--zg-font-display); font-weight: 600; font-size: 13px; color: var(--zg-green-900); }
.nh-tag svg { width: 28px; height: 24px; }
.nh-tag--bees { background: var(--zg-honey-300); }
.nh-tag--keeper { background: var(--zg-green-300); }
.nh-title { font-size: clamp(1.3rem, 5.4vw, 1.7rem); color: var(--zg-green-900); margin-top: 4px; }
.nh-task { font-size: var(--zg-fs-md); line-height: 1.4; }

/* Szene */
.nh-scene { position: relative; width: 100%; aspect-ratio: 16 / 11; border-radius: var(--zg-radius-md); overflow: hidden; touch-action: manipulation; }
.nh-scene--meadow { background: linear-gradient(#CFE6F2 0 38%, #A9C97A 38% 46%, #7FAE51 46%); }
.nh-scene--hive { background-color: #F0D48C; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='72' viewBox='0 0 42 72'%3E%3Cpath d='M21 0 L42 12 L42 36 L21 48 L0 36 L0 12 Z M21 48 L21 72' fill='%23F6CF6B' fill-opacity='.35' stroke='%23C9A04E' stroke-width='2'/%3E%3C/svg%3E"); background-size: 42px 72px; }
.nh-scene--room { background: linear-gradient(#F4E6C8 0 62%, #C99A62 62% 64%, #D9AE78 64%); }
.nh-scene--plain { aspect-ratio: auto; background: transparent; overflow: visible; }

.nh-hit {
  appearance: none; border: 0; background: transparent; cursor: pointer; padding: 0; position: absolute;
  transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%;
  min-width: 56px; min-height: 56px; touch-action: manipulation;
}
.nh-hit > svg { width: 100%; height: 100%; display: block; pointer-events: none; }
.nh-hit:focus-visible { outline-offset: 0; }
.nh-glow { animation: nh-glow 1.3s ease-in-out infinite; }
@keyframes nh-glow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(246, 207, 107, 0)); } 50% { filter: drop-shadow(0 0 12px rgba(255, 220, 110, 1)) drop-shadow(0 0 4px rgba(255, 255, 255, .9)); } }
.nh-flower { width: 22%; aspect-ratio: 1; }
.nh-flower.is-empty > svg { filter: grayscale(.85) brightness(1.05); opacity: .6; }
.nh-flower.is-used > svg { opacity: .5; }
.nh-drop { position: absolute; top: -2px; right: 6%; width: 22px; height: 28px; pointer-events: none; animation: zg-float 1.6s ease-in-out infinite; }
.nh-stem { position: absolute; width: 4px; background: #3E7A33; border-radius: 2px; transform: translateX(-50%); }

.nh-bee { position: absolute; width: 18%; aspect-ratio: 120 / 100; transform: translate(-50%, -60%); transition: left 650ms var(--zg-ease), top 650ms var(--zg-ease); pointer-events: none; z-index: 3; }
.nh-bee > svg, .nh-figure > svg { width: 100%; height: 100%; display: block; }
.nh-bee.is-flipped > svg { transform: scaleX(-1); }
.nh-figure { position: absolute; pointer-events: none; }

/* Meter */
.nh-meter { display: flex; align-items: center; gap: var(--zg-s3); font-family: var(--zg-font-display); font-weight: 600; color: var(--zg-green-900); font-size: var(--zg-fs-sm); }
.nh-meter__track { position: relative; flex: 1; height: 22px; border-radius: 99px; background: var(--zg-cream-200); overflow: hidden; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .12); }
.nh-meter__fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--zg-honey-300), var(--zg-honey-500)); transition: width 380ms var(--zg-ease); }
.nh-meter__fill--water { background: linear-gradient(90deg, #9CC9E8, #5A8DB8); }
.nh-meter__mark { position: absolute; top: -2px; bottom: -2px; width: 3px; background: var(--zg-green-900); border-radius: 2px; }
.nh-meter__val { min-width: 54px; text-align: right; font-variant-numeric: tabular-nums; }
.nh-drops { display: flex; gap: 6px; }
.nh-drops svg { width: 24px; height: 30px; }
.nh-drops .is-empty { opacity: .25; filter: grayscale(1); }

/* Antwort-Knöpfe */
.nh-choices { display: grid; gap: var(--zg-s3); grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
.nh-choice {
  appearance: none; cursor: pointer; position: relative; border: 3px solid var(--zg-cream-200); background: #fff;
  border-radius: var(--zg-radius-md); padding: var(--zg-s2) var(--zg-s1) var(--zg-s3); min-height: 120px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; touch-action: manipulation;
  transition: transform var(--zg-dur) var(--zg-ease), border-color var(--zg-dur);
}
.nh-choice:hover:not(:disabled) { border-color: var(--zg-gold-400); transform: translateY(-2px); }
.nh-choice__pic { width: 100%; max-width: 120px; aspect-ratio: 6 / 5; }
.nh-choice__pic > svg { width: 100%; height: 100%; }
.nh-choice__label { font-family: var(--zg-font-display); font-weight: 600; color: var(--zg-green-900); font-size: var(--zg-fs-sm); line-height: 1.15; text-align: center; }
.nh-opts { display: flex; flex-direction: column; gap: var(--zg-s2); }
.nh-opt { appearance: none; cursor: pointer; text-align: left; display: flex; align-items: center; gap: var(--zg-s3); border: 3px solid var(--zg-cream-200); background: #fff; border-radius: var(--zg-radius-md); padding: var(--zg-s3); min-height: 56px; font-size: var(--zg-fs-md); line-height: 1.3; color: var(--zg-ink); touch-action: manipulation; }
.nh-opt__key { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--zg-gold-200); font-family: var(--zg-font-display); font-weight: 600; color: var(--zg-green-900); }
.nh-mark { margin-left: auto; flex: none; width: 28px; height: 28px; border-radius: 50%; display: none; place-items: center; color: #fff; }
.nh-choice .nh-mark { position: absolute; top: 6px; right: 6px; margin: 0; }
.nh-mark svg { width: 16px; height: 16px; }
.is-correct { border-color: var(--zg-success) !important; background: var(--zg-success-bg) !important; }
.is-correct .nh-mark { display: grid; background: var(--zg-success); }
.is-wrong { opacity: .55; border-style: dashed !important; border-color: #C9B48A !important; }
.is-wrong .nh-mark { display: grid; background: #9A8A6A; }

.nh-action { align-self: center; min-width: 220px; }
.nh-action.is-busy { animation: zg-wiggle 300ms; }

/* Waben-Raster */
.nh-comb { --cell: clamp(50px, 15vw, 80px); display: flex; flex-direction: column; align-items: center; padding: var(--zg-s3) 0 var(--zg-s4); }
.nh-comb__row { display: flex; gap: 4px; margin-top: calc(var(--cell) * -0.22); }
.nh-comb__row:first-child { margin-top: 0; }
.nh-comb__row:nth-child(even) { transform: translateX(calc(var(--cell) / 2 + 2px)); }
.nh-cell {
  appearance: none; border: 0; cursor: pointer; width: var(--cell); height: calc(var(--cell) * 1.12);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: #C9A04E; padding: 0; position: relative; touch-action: manipulation;
  display: grid; place-items: center;
}
.nh-cell::before { content: ""; position: absolute; inset: 4px; clip-path: inherit; background: var(--fill, #E9A630); }
.nh-cell span { position: relative; font-family: var(--zg-font-display); font-weight: 600; font-size: 22px; line-height: 1; color: var(--zg-green-900); }
.nh-cell--ripe { --fill: radial-gradient(circle at 35% 30%, #F2B94B, #D98E17 70%); }
.nh-cell--unripe { --fill: radial-gradient(circle at 35% 30%, #FFF4C8, #F3D98A 70%); }
.nh-cell--unripe span { color: #6B8DAF; }
.nh-cell--capped { --fill: repeating-linear-gradient(60deg, #FBF1D6 0 6px, #F1E2B6 6px 12px); cursor: default; }
.nh-cell--capped span { color: var(--zg-gold-700); font-size: 16px; }
.nh-cell.nh-glow::before { animation: nh-cellglow 1.2s ease-in-out infinite; }
@keyframes nh-cellglow { 50% { background: radial-gradient(circle at 35% 30%, #FFE08A, #F2B94B 70%); } }
.nh-legend { display: flex; justify-content: center; gap: var(--zg-s4); flex-wrap: wrap; font-size: var(--zg-fs-sm); color: var(--zg-ink-soft); }
.nh-legend b { font-family: var(--zg-font-display); color: var(--zg-green-900); }

/* Schleuder */
.nh-spinner { transition: transform 600ms cubic-bezier(.2, .7, .3, 1); transform-origin: 50% 50%; transform-box: fill-box; }

/* Gruppen (Abschluss leicht) */
.nh-pool { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--zg-s2); }
.nh-task { appearance: none; cursor: pointer; border: 3px solid var(--zg-gold-400); background: #fff; border-radius: var(--zg-radius-pill); padding: 8px 16px; min-height: 48px; font-size: var(--zg-fs-sm); font-weight: 700; line-height: 1.2; color: var(--zg-ink); box-shadow: 0 3px 0 rgba(138, 106, 40, .25); touch-action: manipulation; transition: transform 160ms var(--zg-ease); }
.nh-task[aria-pressed="true"] { background: var(--zg-honey-300); border-color: var(--zg-green-900); transform: translateY(-3px) scale(1.03); }
.nh-groups { display: grid; grid-template-columns: 1fr 1fr; gap: var(--zg-s3); }
.nh-group { appearance: none; cursor: pointer; border: 3px dashed var(--zg-gold-400); border-radius: var(--zg-radius-md); padding: var(--zg-s2); min-height: 150px; display: flex; flex-direction: column; align-items: center; gap: 4px; touch-action: manipulation; }
.nh-group--bees { background: #FFF3D2; }
.nh-group--keeper { background: #EEF5E2; }
.nh-group.is-ready { border-style: solid; border-color: var(--zg-green-700); animation: zg-pulse 1.4s infinite; }
.nh-group__pic { height: 64px; width: 80px; }
.nh-group__pic > svg { width: 100%; height: 100%; }
.nh-group__name { font-family: var(--zg-font-display); font-weight: 600; color: var(--zg-green-900); }
.nh-group ul { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 4px; }
.nh-group li { background: var(--zg-success-bg); color: #1F5326; border-radius: 10px; font-size: 13px; padding: 4px 8px 4px 22px; position: relative; text-align: left; }
.nh-group li::before { content: "✓"; position: absolute; left: 7px; top: 3px; font-weight: 700; }

/* Reihenfolge */
.nh-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.nh-slot { display: flex; align-items: center; gap: var(--zg-s3); min-height: 44px; border-radius: var(--zg-radius-sm); border: 2px dashed var(--zg-gold-400); padding: 4px var(--zg-s3); color: var(--zg-ink-soft); font-size: var(--zg-fs-sm); }
.nh-slot__n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--zg-cream-200); font-family: var(--zg-font-display); font-weight: 600; color: var(--zg-green-900); }
.nh-slot.is-filled { border-style: solid; border-color: var(--zg-success); background: var(--zg-success-bg); color: #1F5326; font-weight: 700; }
.nh-slot.is-filled .nh-slot__n { background: var(--zg-success); color: #fff; }
.nh-slot.is-bees .nh-slot__n { box-shadow: 0 0 0 3px var(--zg-honey-300); }
.nh-slot.is-keeper .nh-slot__n { box-shadow: 0 0 0 3px var(--zg-green-300); }

/* Imker-Zwischenkarte: Früher und heute */
.nh-then { display: flex; flex-direction: column; gap: var(--zg-s3); font-size: var(--zg-fs-sm); line-height: 1.4; }
.nh-then__intro { display: flex; gap: var(--zg-s3); align-items: center; }
.nh-then__pic { display: inline-block; width: 46px; height: 64px; flex: none; }
.nh-then__pic > svg { width: 100%; height: 100%; }
.nh-then__pic--keeper { width: 54px; height: 80px; }
.nh-then__box { background: var(--zg-green-100); border-radius: var(--zg-radius-md); padding: var(--zg-s3); display: flex; flex-direction: column; gap: var(--zg-s2); }
.nh-then__pics { display: flex; justify-content: center; gap: var(--zg-s5); }
.nh-then__fig { display: flex; align-items: flex-end; gap: 2px; position: relative; padding-bottom: 18px; }
.nh-then__fig small { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-family: var(--zg-font-display); font-weight: 600; color: var(--zg-green-900); font-size: 13px; }
.nh-then strong { color: var(--zg-green-900); }
.nh-then__title { font-family: var(--zg-font-display); font-weight: 600; color: var(--zg-green-900); display: block; margin-bottom: 2px; font-size: var(--zg-fs-md); }

.nh-feedback { display: flex; flex-direction: column; gap: var(--zg-s3); animation: zg-pop 300ms var(--zg-ease-bounce); }
.nh-feedback .zg-feedback strong { font-family: var(--zg-font-display); }

@media (max-width: 380px) {
  .nh-card { padding: var(--zg-s3); }
  .nh-dot { width: 26px; height: 26px; font-size: 13px; }
  .nh-map__dots { gap: 4px; }
  .nh-choice { min-height: 104px; }
  .nh-choice__label { font-size: 14px; }
}
@media (min-width: 560px) {
  .nh-scene { aspect-ratio: 16 / 9; }
}
@media (max-width: 420px) {
  .nh-meter { flex-wrap: wrap; row-gap: 4px; }
  .nh-meter > span:first-child { flex-basis: 100%; }
}
