/* pro Igel: v1 "Modern" mockup
   Apple / Google / Spotify inspired: generous whitespace, large confident
   type, soft depth, restrained motion. Brand green (#014919) anchors
   header/footer; a fresh accent green carries CTAs and highlights. */

:root {
  --forest: #014919;
  --forest-700: #023d15;
  --forest-600: #0a5c22;
  --forest-500: #14732c;
  --accent: #8fd14f;
  --accent-600: #79b83e;
  --accent-ink: #0d2b0f;
  --cream: #f6f4ec;
  --cream-2: #eef0e4;
  --paper: #ffffff;
  --ink: #10221a;
  --ink-soft: #4a564d;
  --ink-faint: #8a9389;
  --line: rgba(16, 34, 26, 0.09);
  --line-on-dark: rgba(255, 255, 255, 0.14);
  --shadow-sm: 0 1px 2px rgba(16, 34, 26, 0.06), 0 1px 1px rgba(16, 34, 26, 0.04);
  --shadow-md: 0 8px 24px rgba(16, 34, 26, 0.10), 0 2px 6px rgba(16, 34, 26, 0.06);
  --shadow-lg: 0 24px 60px rgba(1, 27, 12, 0.18), 0 6px 16px rgba(1, 27, 12, 0.08);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Inter",
    Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Grid/flex items default to a content-based min-width, which lets long
   text force tracks wider than the viewport. Reset so text wraps instead. */
.hero-grid > *,
.split > *,
.cta-band > *,
.card-grid > *,
.shop-grid > *,
.stats-band > *,
.footer-grid > * {
  min-width: 0;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Utility bar ---------- */
.utility-bar {
  background: var(--forest-700);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  letter-spacing: 0.01em;
}
.utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  text-align: center;
}
.utility-bar strong { color: #fff; font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--forest);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.35s var(--ease), background-color 0.35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(1, 73, 25, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 8px 24px rgba(1, 27, 12, 0.22);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  margin-right: 8px;
}
.brand img {
  height: 40px;
  width: auto;
  border-radius: 6px;
}

.main-nav { display: flex; flex: 1; }
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav > ul > li { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.nav-link .caret {
  width: 9px;
  height: 9px;
  transition: transform 0.2s var(--ease);
  opacity: 0.7;
}
.has-submenu:hover .caret,
.has-submenu.is-open .caret { transform: rotate(180deg); }

.submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.has-submenu:hover .submenu,
.has-submenu.is-open .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.submenu a:hover { background: var(--cream); color: var(--forest); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}
.lang-switch a {
  padding: 5px 8px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.lang-switch a.active { color: #fff; background: rgba(255, 255, 255, 0.12); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 6px 16px rgba(143, 209, 79, 0.28);
}
.btn-accent:hover { background: #9bda63; box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 10px 22px rgba(143, 209, 79, 0.38); }

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255,255,255,.5); }

.btn-forest {
  background: var(--forest);
  color: #fff;
}
.btn-forest:hover { background: var(--forest-500); }

.btn-outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--forest); background: var(--cream); }

.btn-lg { padding: 15px 28px; font-size: 16px; }

.menu-toggle {
  display: none;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle span {
  position: relative;
  width: 18px;
  height: 2px;
  background: #fff;
  display: block;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #fff;
  transition: transform 0.2s var(--ease);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--forest);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 420px at 82% -10%, rgba(143, 209, 79, 0.22), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(10, 92, 34, 0.55), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 88px;
}
.kicker-on-dark {
  color: var(--accent);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  display: block;
  width: fit-content;
}

.hero h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 22px;
}
.hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 52ch;
  margin: 0 0 28px;
}
/* Quiet, editorial list treatment: a rule instead of a repeated icon badge */
.accent-list {
  display: grid;
  gap: 14px;
  margin: 0 0 32px;
  max-width: 46ch;
}
.accent-list li {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.accent-list-on-dark li {
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-media { position: relative; }
.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.6;
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(1,27,12,0) 55%, rgba(1,27,12,.55) 100%);
}
.hero-caption {
  margin: 14px 4px 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Hero critter (easter egg) ---------- */
.hero-floor {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 12px;
  height: 58px;
  pointer-events: none;
}
.critter {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 42px;
  opacity: 0;
  transform: translateX(-60px);
  pointer-events: none;
  cursor: pointer;
  transition: opacity 0.5s var(--ease);
}
.critter.is-active { opacity: 1; pointer-events: auto; }
.critter-shadow {
  display: none;
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 30px;
  height: 7px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.32), transparent 72%);
  transform: translateX(-50%);
}
.critter-flip { width: 100%; height: 100%; }
.critter-sprite { width: 100%; height: 100%; display: block; position: relative; }
.critter-sprite svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.critter-sprite .curl-svg { display: none; }
.critter.is-curled .critter-sprite .walk-svg { display: none; }
.critter.is-curled .critter-sprite .curl-svg { display: block; }
.critter.is-curled { animation: critter-settle 0.4s var(--ease); }
.critter-sprite .leg { transform-box: fill-box; transform-origin: 50% 8%; }
.critter.is-walking .critter-body { animation: critter-bob 0.5s ease-in-out infinite; }
.critter.is-fleeing .critter-body { animation: critter-bob 0.2s ease-in-out infinite; }
.critter.is-walking .leg-a { animation: leg-swing 0.5s ease-in-out infinite; }
.critter.is-walking .leg-b { animation: leg-swing 0.5s ease-in-out infinite reverse; }
.critter.is-fleeing .leg-a { animation: leg-swing 0.2s ease-in-out infinite; }
.critter.is-fleeing .leg-b { animation: leg-swing 0.2s ease-in-out infinite reverse; }
@keyframes critter-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.2px); }
}
@keyframes leg-swing {
  0%, 100% { transform: rotate(-28deg); }
  50% { transform: rotate(28deg); }
}
@keyframes critter-settle {
  0% { transform: translateX(var(--critter-x, 0)) scale(1); }
  40% { transform: translateX(var(--critter-x, 0)) scale(0.88, 1.1); }
  100% { transform: translateX(var(--critter-x, 0)) scale(1); }
}
@media (max-width: 640px) {
  .hero-floor { left: 16px; right: 16px; bottom: 10px; height: 46px; }
  .critter { width: 52px; height: 34px; }
}

/* ---------- Section basics ---------- */
section { position: relative; }
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-alt { background: var(--cream); }
.section-forest { background: var(--forest); color: #fff; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}
.kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest-500);
  margin-bottom: 12px;
}
.section-forest .kicker { color: var(--accent); }
.section-head h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin: 0;
  max-width: 34ch;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 42ch;
  margin: 14px 0 0;
}

.reveal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--forest);
  flex: none;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s var(--ease);
}
.reveal-link:hover { border-color: var(--forest); }
.reveal-link svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.reveal-link:hover svg { transform: translateX(3px); }

/* ---------- Cards grid (Aktuelles) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.story-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease);
  display: flex;
  flex-direction: column;
}
.story-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.story-card .thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream-2);
}
.story-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.story-card:hover .thumb img { transform: scale(1.06); }
.story-card .body { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.story-card h3 {
  font-size: 16.5px;
  line-height: 1.35;
  margin: 0 0 8px;
  font-weight: 650;
  letter-spacing: -0.005em;
}
.story-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}
.story-card .tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--forest-500);
  background: var(--cream);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  width: fit-content;
}
.story-card .card-link {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.story-card .card-link svg { width: 12px; height: 12px; }

/* ---------- Stats band ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-on-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-on-dark);
}
.stat {
  background: var(--forest-700);
  padding: 34px 26px;
  text-align: left;
}
.stat .num {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.stat .label {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

/* ---------- Explainer / two column ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 5/4.4;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(26px, 2.8vw, 34px); letter-spacing: -0.01em; line-height: 1.18; margin: 0 0 18px; }
.split p { font-size: 16px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 16px; }

/* ---------- Shop ---------- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.shop-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  gap: 20px;
  align-items: center;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color .28s var(--ease);
}
.shop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.shop-card .cover {
  flex: none;
  width: 88px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 3/4.2;
}
.shop-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.shop-card h3 { font-size: 16px; margin: 0 0 6px; font-weight: 650; }
.shop-card p { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 12px; line-height: 1.5; }
.shop-card .card-link { font-size: 13px; font-weight: 650; color: var(--forest); display: inline-flex; align-items: center; gap: 5px; }
.shop-card .card-link svg { width: 11px; height: 11px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--forest) 0%, #033f16 55%, #0a5c22 100%);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.3fr auto;
  align-items: center;
  gap: 40px;
  color: #fff;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(500px 260px at 90% 10%, rgba(143,209,79,.25), transparent 60%);
}
.cta-band h2 {
  position: relative;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.cta-band p { position: relative; color: rgba(255,255,255,.78); font-size: 15.5px; max-width: 48ch; margin: 0; }
.cta-band .actions { position: relative; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-on-dark);
}
.footer-brand img { height: 34px; margin-bottom: 18px; border-radius: 6px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin: 0 0 6px; color: rgba(255,255,255,.66); }
.footer-brand .iban { font-size: 12.5px; color: rgba(255,255,255,.48); margin-top: 10px; }
.social-row { display: flex; gap: 24px; margin-top: 22px; }
.social-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.18s var(--ease);
}
.social-row a:hover { color: var(--accent); }
.social-row svg { width: 18px; height: 18px; flex: none; }

.footer-col h4 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.5);
  margin: 0 0 18px;
  font-weight: 700;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,.82); transition: color .18s var(--ease); }
.footer-col a:hover { color: var(--accent); }

.footer-emergency-num {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
  border-bottom: 1px solid transparent;
  width: fit-content;
}
.footer-emergency-num:hover { border-bottom-color: var(--accent); }
.footer-emergency-time { font-size: 13.5px; color: rgba(255, 255, 255, 0.55); margin: 8px 0 0; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 32px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
}
.footer-bottom .legal-links { display: flex; gap: 20px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Mobile nav drawer ---------- */
.nav-scrim {
  position: fixed; inset: 0;
  background: rgba(1, 27, 12, 0.5);
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s;
  z-index: 90;
}
body.nav-open .nav-scrim { opacity: 1; visibility: visible; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-actions .btn-accent { display: none; }
  .lang-switch { display: none; }

  .hero-grid { grid-template-columns: 1fr; padding-bottom: 64px; }
  .hero-media { order: -1; }
  .hero-photo { aspect-ratio: 16/10; }

  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-media { order: -1; aspect-ratio: 16/10; }

  .cta-band { grid-template-columns: 1fr; text-align: left; padding: 44px 28px; }

  .section { padding: 72px 0; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .utility-bar { font-size: 12px; }
  .utility-bar .container { padding-top: 7px; padding-bottom: 7px; }
  .card-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr; }
  .shop-card { flex-direction: column; align-items: flex-start; text-align: left; }
  .shop-card .cover { width: 100px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .accent-list { max-width: 100%; }

  /* Off-canvas nav on small screens */
  .main-nav {
    display: block;
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(340px, 86vw);
    background: var(--forest-700);
    z-index: 95;
    padding: 90px 26px 26px;
    transform: translateX(100%);
    transition: transform .3s var(--ease);
    overflow-y: auto;
  }
  body.nav-open .main-nav { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { padding: 14px 12px; font-size: 16px; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    display: none; box-shadow: none; background: rgba(255,255,255,.05);
    margin: 4px 0 8px;
  }
  .has-submenu.is-open .submenu { display: block; }
  .mobile-only-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
  .mobile-only-actions .btn { width: 100%; }
}
@media (min-width: 641px) {
  .mobile-only-actions { display: none; }
}

/* =====================================================================
   SUBPAGES  (multi-page build: Igelwissen, Igel in Not, Verein, …)
   Reuses the tokens and primitives above; only adds what the article
   pages, tables and card layouts need.
   ===================================================================== */

/* ---------- Active nav state ---------- */
.nav-link.is-current { color: #fff; background: rgba(255, 255, 255, 0.12); }
.submenu a.is-current { background: var(--cream); color: var(--forest); }
@media (max-width: 640px) {
  .nav-link.is-current { background: rgba(255, 255, 255, 0.08); }
}

/* ---------- Page hero (compact interior header) ---------- */
.page-hero {
  background: var(--forest);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(680px 380px at 88% -20%, rgba(143, 209, 79, 0.20), transparent 60%),
    radial-gradient(820px 520px at -10% 120%, rgba(10, 92, 34, 0.5), transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; padding-top: 54px; padding-bottom: 58px; }
.page-hero.has-media .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 22px;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.78); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 11px; height: 11px; opacity: 0.5; }
.breadcrumb span[aria-current] { color: rgba(255, 255, 255, 0.9); }

.page-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 20px;
  max-width: 20ch;
}
.page-hero .lead {
  font-size: 17.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 54ch;
  margin: 0;
}
.page-hero .lead + .hero-actions { margin-top: 28px; }
.page-hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 4;
}
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Content layout: article + sticky aside ---------- */
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}
.content-layout > * { min-width: 0; }
.content-aside { position: sticky; top: 96px; display: grid; gap: 18px; }

/* ---------- Prose ---------- */
.prose { max-width: 68ch; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 {
  font-size: clamp(23px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin: 48px 0 16px;
}
.prose h3 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 650;
  margin: 34px 0 12px;
}
.prose p,
.prose li {
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink-soft);
}
.prose p { margin: 0 0 18px; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose a:not(.btn) {
  color: var(--forest-500);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.prose a:not(.btn):hover { color: var(--forest); }
.prose ul,
.prose ol { margin: 0 0 20px; padding-left: 0; display: grid; gap: 10px; }
.prose ul li {
  padding-left: 18px;
  position: relative;
  list-style: none;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent-600);
}
.prose ol { counter-reset: li; }
.prose ol li {
  counter-increment: li;
  padding-left: 34px;
  position: relative;
  list-style: none;
}
.prose ol li::before {
  content: counter(li);
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--forest-500);
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prose figure { margin: 28px 0; }
.prose figure img { width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.prose figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ink-faint);
  line-height: 1.5;
}

/* Standalone article figures (outside the .prose text column) */
.wide-figure { margin: 30px 0; }
.wide-figure img { width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.wide-figure figcaption { margin-top: 10px; font-size: 12.5px; color: var(--ink-faint); line-height: 1.5; }
.inset-figure { max-width: 340px; margin: 30px 0; }
.inset-figure img { width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.inset-figure figcaption { margin-top: 8px; font-size: 12px; color: var(--ink-faint); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

.prose-lead {
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 28px;
  font-weight: 400;
}

/* ---------- Callouts ---------- */
.callout {
  border-radius: var(--radius-md);
  padding: 22px 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  margin: 28px 0;
}
.callout h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.callout p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.callout p + p { margin-top: 10px; }
.callout.is-emergency {
  background: #fff;
  border: 1px solid var(--line);
}
.callout.is-emergency .num {
  font-size: 24px;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.01em;
}
.callout a {
  color: var(--forest-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.callout a:hover { color: var(--forest); }

/* ---------- Info card (aside) ---------- */
.info-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 22px;
  background: var(--paper);
}
.info-card.on-forest { background: var(--forest); border-color: transparent; color: #fff; }
.info-card h3 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--ink-faint);
}
.info-card.on-forest h3 { color: var(--accent); }
.info-card .big-num {
  display: block;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--forest);
}
.info-card.on-forest .big-num { color: var(--accent); }
.info-card p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }
.info-card.on-forest p { color: rgba(255, 255, 255, 0.72); }
.info-card .btn { margin-top: 16px; width: 100%; }
.info-card a:not(.btn) {
  color: var(--forest-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.info-card.on-forest a:not(.btn) { color: var(--accent); }

/* ---------- Definition list (contact) ---------- */
.contact-dl { display: grid; gap: 16px; margin: 24px 0 0; }
.callout + .contact-dl { margin-top: 24px; }
.contact-dl > div { display: grid; gap: 3px; }
.contact-dl dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--ink-faint);
}
.contact-dl dd { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.contact-dl dd a { color: var(--forest-500); }

/* ---------- Measure grid (garden measures / danger cards) ---------- */
.measure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.measure-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.measure-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.measure-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.measure-card .thumb { aspect-ratio: 3 / 2; overflow: hidden; background: var(--cream-2); }
.measure-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.measure-card .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.measure-card .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--forest-500);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.measure-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 650; line-height: 1.3; }
.measure-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.measure-card .pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 650;
  color: var(--forest);
}
/* Safety net: every inline arrow/chevron SVG in these links stays icon-sized */
.card-link svg,
.pdf-link svg { width: 12px; height: 12px; flex: none; }

/* ---------- Shop card actions (design only, no cart logic yet) ---------- */
.btn-sm { padding: 8px 16px; font-size: 13px; }
.measure-card .shop-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  overflow: hidden;
  flex: none;
}
.qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border: 0;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  color: var(--ink-soft);
}
.qty-btn:hover { background: var(--cream-2); color: var(--ink); }
.qty-value {
  min-width: 26px;
  text-align: center;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
}
.btn-cart { flex: none; }
.btn-cart svg { width: 14px; height: 14px; flex: none; }

/* ---------- Data table ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  -webkit-overflow-scrolling: touch;
}
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
.data-table caption { text-align: left; padding: 14px 18px; color: var(--ink-faint); font-size: 13px; }
.data-table th,
.data-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
}
.data-table thead th {
  background: var(--paper);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  position: sticky;
  top: 0;
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: rgba(1, 73, 25, 0.03); }
.data-table .plz { font-weight: 700; color: var(--forest-500); white-space: nowrap; }
.data-table .hours { color: var(--ink-faint); font-size: 12.5px; display: block; margin-top: 3px; }
.data-table a { color: var(--forest-500); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Region accordion ---------- */
.region-accordion { display: grid; gap: 12px; }
.region-group { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.region-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--paper);
  border: 0;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 650;
  color: var(--ink);
  text-align: left;
}
.region-toggle:hover { background: var(--cream); }
.region-toggle .count { font-size: 13px; font-weight: 500; color: var(--ink-faint); margin-left: auto; }
.region-toggle .chev { width: 14px; height: 14px; flex: none; transition: transform 0.25s var(--ease); }
.region-group.is-open .region-toggle .chev { transform: rotate(180deg); }
.region-panel { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.region-group.is-open .region-panel { display: block; }
.region-panel .table-wrap { border: 0; border-radius: 0; }
.region-panel .data-table { min-width: 560px; }

/* ---------- Price grid (membership) ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  background: var(--paper);
  text-align: center;
}
.price-card.is-featured { border-color: var(--forest); box-shadow: var(--shadow-md); }
.price-card h3 { margin: 0 0 12px; font-size: 15px; font-weight: 650; }
.price-card .amount { font-size: 30px; font-weight: 700; color: var(--forest); letter-spacing: -0.01em; }
.price-card .per { display: block; font-size: 12.5px; color: var(--ink-faint); margin-top: 4px; }

/* ---------- Mock form ---------- */
.form-mock {
  display: grid;
  gap: 16px;
  max-width: 520px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}
.form-mock label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.form-mock input,
.form-mock select {
  font: inherit;
  font-size: 15px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
}
.form-mock .form-note { font-size: 12.5px; color: var(--ink-faint); margin: 0; }

/* ---------- Team grid ---------- */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.team-col h3 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-faint);
  margin: 0 0 14px;
  font-weight: 700;
}
.team-col ul { display: grid; gap: 9px; }
.team-col li { font-size: 15px; color: var(--ink); line-height: 1.5; }
.team-col li span { color: var(--ink-faint); }

/* ---------- Archive grid (bulletin) ---------- */
.archive-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.archive-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.archive-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.archive-card .cover {
  width: 96px;
  aspect-ratio: 160 / 226;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--cream-2);
}
.archive-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.archive-card .meta h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 650; }
.archive-card .meta .articles { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.archive-card .meta .card-link { font-size: 13px; font-weight: 650; color: var(--forest); display: inline-flex; align-items: center; gap: 5px; }
.archive-card .meta .card-link svg { width: 12px; height: 12px; }

/* ---------- Document list (studies) ---------- */
.doc-list { display: grid; gap: 4px; }
.doc-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.doc-item:last-child { border-bottom: 0; }
.doc-item .doc-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--cream);
  color: var(--forest-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.doc-item h3 { margin: 0 0 4px; font-size: 15.5px; font-weight: 650; line-height: 1.35; }
.doc-item h3 a { color: var(--ink); }
.doc-item h3 a:hover { color: var(--forest); }
.doc-item p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }
.doc-item .src { color: var(--ink-faint); }

/* ---------- Small helpers ---------- */
.section > .container > .section-intro {
  max-width: 60ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 40px;
}
.stack-lg { display: grid; gap: 28px; }

/* ---------- Subpage responsive ---------- */
@media (max-width: 1080px) {
  .measure-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .archive-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .page-hero.has-media .container { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-media { order: -1; aspect-ratio: 16 / 10; }
  .content-layout { grid-template-columns: 1fr; gap: 40px; }
  .content-aside { position: static; }
  .team-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .measure-grid,
  .measure-grid.cols-2,
  .price-grid { grid-template-columns: 1fr; }
  .page-hero .container { padding-top: 40px; padding-bottom: 44px; }
  .prose { max-width: 100%; }
  .archive-card { grid-template-columns: 72px 1fr; gap: 14px; }
  .archive-card .cover { width: 72px; }
}

/* ---------- Cart bar (mockup) ---------- */
.cart-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--forest-700);
  color: #fff;
  box-shadow: 0 -8px 30px rgba(1, 27, 12, 0.25);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0.45s;
}
.cart-bar.is-visible { transform: none; visibility: visible; }
.cart-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cart-bar-info { font-size: 15px; }
.cart-bar-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  margin-right: 6px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--forest-700);
}
body.has-cart-bar { padding-bottom: 68px; }
@media (max-width: 640px) {
  .cart-bar-inner { padding: 12px 16px; }
  .cart-bar-info { font-size: 14px; }
}

/* Cart panel (expands above the bar) */
.cart-bar-info {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 4px 8px 4px 0;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.cart-bar-info:hover .cart-bar-label { text-decoration: underline; }
.cart-bar-chevron {
  width: 12px;
  height: 8px;
  margin-left: 10px;
  transition: transform 0.3s var(--ease);
}
.cart-bar.is-open .cart-bar-chevron { transform: rotate(180deg); }
.cart-panel {
  max-height: 0;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  transition: max-height 0.4s var(--ease);
}
.cart-bar.is-open .cart-panel { max-height: min(60vh, 460px); overflow-y: auto; }
.cart-panel-inner { max-width: 1200px; margin: 0 auto; padding: 20px 24px 8px; }
.cart-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cart-panel-head h2 { margin: 0; font-size: 18px; }
.cart-clear {
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: underline;
}
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.cart-item-name { flex: 1; font-weight: 600; font-size: 15px; line-height: 1.35; }
.cart-remove {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: var(--ink-soft);
}
.cart-remove:hover { background: var(--cream); color: var(--ink); }
@media (max-width: 640px) {
  .cart-panel-inner { padding: 16px 16px 4px; }
}
