/* ==========================================================================
   Holzagentur NRW — style.css
   Statisch, ohne Framework. Farben und Typo 1:1 aus dem alten Build.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Farben */
  --forest:   #0e2a18;
  --forest-2: #123b22;
  --birch:    #fcfdfb;
  --sand:     #edf6e9;
  --leaf:     #22a24a;
  --moss:     #33553b;
  --cream:    #f4f1ea;

  /* Abgeleitete Flächen und Linien */
  --line:        rgba(14, 42, 24, .15);
  --line-soft:   rgba(14, 42, 24, .10);
  --line-birch:  rgba(252, 253, 251, .10);

  /* Typo */
  --font-display: "Clash Display", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Satoshi", ui-sans-serif, system-ui, sans-serif;

  /* Raster */
  --wrap: 1600px;
  --pad:  1.5rem;

  /* Bewegung */
  --ease: cubic-bezier(.16, 1, .3, 1);
}

@media (min-width: 768px) {
  :root { --pad: 2.5rem; }
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--birch);
  color: var(--forest);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Anker-Ziele nicht unter die fixe Navigation schieben */
[id] { scroll-margin-top: 7rem; }

/* Sichtbarer Tastaturfokus, überall */
:focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   3. Hilfsklassen
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: 6rem; }
@media (min-width: 768px) { .section { padding-block: 8rem; } }

.section--sand   { background: var(--sand); }
.section--birch  { background: var(--birch); }
.section--forest { background: var(--forest); color: var(--birch); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--forest);
  color: var(--birch);
  padding: .75rem 1.25rem;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Eyebrow: kurzer Strich plus Label über jeder Überschrift */
.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--leaf);
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
}
.eyebrow--light { color: rgba(252, 253, 251, .7); }
.eyebrow--light::before { background: rgba(252, 253, 251, .4); }

.h-section {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.02em;
}
.h-section em {
  font-style: italic;
  color: var(--leaf);
}

.lead {
  margin-top: 1.5rem;
  max-width: 32rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--moss);
}
.section--forest .lead { color: rgba(252, 253, 251, .7); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 0;
  border-radius: 999px;
  padding: .875rem 1.75rem;
  font-size: .875rem;
  font-weight: 700;
  white-space: nowrap;   /* sonst bricht "Zum Kontaktformular" in schmalen Spalten um */
  cursor: pointer;
  transition: transform .3s var(--ease), background-color .3s var(--ease),
              color .3s var(--ease), border-color .3s var(--ease);
}
/* Groesse hier festlegen, nicht als Attribut im SVG. Ohne diese Regel
   skaliert ein SVG ohne width/height auf die volle verfuegbare Flaeche —
   der Button wird dann zur Riesenkreisflaeche. */
.btn svg {
  flex: none;
  width: 1rem;
  height: 1rem;
  transition: transform .3s var(--ease);
}
.btn:hover svg { transform: rotate(45deg); }

.btn--primary { background: var(--leaf); color: var(--birch); }
.btn--primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -8px rgba(34, 162, 74, .55);
}

.btn--ghost {
  background: rgba(14, 42, 24, .3);
  color: var(--birch);
  border: 1px solid rgba(252, 253, 251, .4);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { border-color: var(--leaf); color: var(--leaf); }

.btn--dark {
  background: var(--forest);
  color: var(--birch);
  padding: 1rem 2rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.btn--dark:hover { transform: translateY(-4px); background: var(--leaf); }
.btn--dark:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* --------------------------------------------------------------------------
   5. Laufband (USP-Leiste und Sortiment-Band)
   Zwei identische Kopien, Spur wandert um genau 50 % — dadurch bricht die
   Schleife nie sichtbar um.
   -------------------------------------------------------------------------- */
.marquee { overflow: hidden; }

.marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee-loop 60s linear infinite;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.marquee__track:hover { animation-play-state: paused; }

.marquee__copy {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  white-space: nowrap;
}

@keyframes marquee-loop {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* --------------------------------------------------------------------------
   6. Kopfbereich: USP-Leiste und Navigation
   -------------------------------------------------------------------------- */
.site-head {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
}

.usp {
  background: var(--forest);
  color: var(--birch);
}
.usp .marquee__track { height: 2.25rem; animation-duration: 45s; }

.usp__item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-inline: 2rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.usp__item svg { width: .875rem; height: .875rem; color: var(--leaf); }

.nav {
  background: var(--birch);
  transition: box-shadow .3s var(--ease);
}
.nav.is-stuck {
  box-shadow: 0 1px 0 rgba(14, 42, 24, .10),
              0 10px 30px -20px rgba(14, 42, 24, .5);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.logo { display: inline-flex; align-items: center; gap: .625rem; }
.logo svg { width: 2rem; height: 2rem; flex: none; }
.logo__word {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
}
.logo__nrw { color: var(--leaf); }
.logo--dark .logo__word { color: var(--birch); }

.nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .3s var(--ease);
}
.nav__links a:hover { color: var(--leaf); }

.nav__actions { display: flex; align-items: center; gap: .75rem; }

.nav__cta {
  display: none;
  align-items: center;
  gap: .375rem;
  border-radius: 999px;
  background: var(--leaf);
  color: #fff;
  padding: .625rem 1.25rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.nav__cta:hover { transform: translateY(-2px); background: var(--forest); }
.nav__cta svg { width: 1rem; height: 1rem; transition: transform .3s var(--ease); }
.nav__cta:hover svg { transform: rotate(45deg); }

.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -.5rem;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__toggle svg { width: 1.5rem; height: 1.5rem; }
.nav__toggle .icon-close,
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

.nav__mobile {
  display: none;
  border-top: 1px solid var(--line-soft);
  background: var(--birch);
  padding: 1rem;
}
.nav__mobile.is-open { display: block; }
.nav__mobile ul { display: flex; flex-direction: column; gap: .25rem; }
.nav__mobile a {
  display: block;
  border-radius: .5rem;
  padding: .75rem;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background-color .2s var(--ease);
}
.nav__mobile a:hover { background: var(--sand); }
.nav__mobile .nav__mobile-cta {
  margin-top: .25rem;
  border-radius: 999px;
  background: var(--leaf);
  color: #fff;
  text-align: center;
}

@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
  .nav__mobile { display: none !important; }
}
@media (min-width: 640px) {
  .nav__cta { display: inline-flex; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  background: var(--forest);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.02);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  background: linear-gradient(to right,
    rgba(14, 42, 24, .8) 0%,
    rgba(14, 42, 24, .35) 50%,
    transparent 100%);
}
.hero__scrim--bottom {
  inset: auto 0 0 0;
  height: 7rem;
  background: linear-gradient(to top, rgba(14, 42, 24, .9), transparent);
}

.hero__inner {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 6rem var(--pad) 0;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  width: fit-content;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(252, 253, 251, .25);
  border-radius: 999px;
  background: rgba(14, 42, 24, .4);
  backdrop-filter: blur(4px);
  padding: .375rem 1rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--birch);
}
.hero__dot {
  width: .375rem;
  height: .375rem;
  border-radius: 999px;
  background: var(--leaf);
  animation: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
}
@keyframes pulse { 50% { opacity: .4; } }

.hero__title { font-family: var(--font-display); color: var(--birch); }
.hero__line-1 {
  display: block;
  font-size: clamp(3rem, 10vw, 7.5rem);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.03em;
}
.hero__line-1 span { color: var(--leaf); }
.hero__line-2 {
  display: block;
  font-size: clamp(1.6rem, 5.2vw, 3.4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: rgba(252, 253, 251, .9);
}

.hero__text {
  margin-top: 1.75rem;
  max-width: 32rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(252, 253, 251, .75);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2.25rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(252, 253, 251, .5);
}
.hero__scroll svg {
  width: 1rem;
  height: 1rem;
  color: var(--leaf);
  animation: bounce 1s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(.8, 0, 1, 1); }
  50%      { transform: none;             animation-timing-function: cubic-bezier(0, 0, .2, 1); }
}

/* Auf schmalen Schirmen steht der Text ueber dem Bild statt daneben.
   Der seitliche Verlauf traegt dort nicht mehr — deshalb von oben nach
   unten abdunkeln, sonst steht der Fliesstext auf hellen Blaettern. */
@media (max-width: 767px) {
  .hero__scrim {
    background: linear-gradient(to bottom,
      rgba(14, 42, 24, .55) 0%,
      rgba(14, 42, 24, .72) 45%,
      rgba(14, 42, 24, .88) 100%);
  }
}

/* Bei sehr niedrigen Fenstern (Mobile quer) den Hero nicht erzwingen */
@media (max-height: 520px) {
  .hero { height: auto; min-height: 0; padding-block: 8rem 4rem; }
  .hero__scroll { display: none; }
}

/* --------------------------------------------------------------------------
   8. Sortiment-Laufband
   -------------------------------------------------------------------------- */
.wordband {
  border-block: 1px solid var(--line-soft);
  background: var(--sand);
  padding-block: 1.5rem;
}
.wordband__word {
  padding-inline: 2.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--forest);
}
.wordband__sep {
  font-size: 1.5rem;
  color: var(--leaf);
}

/* --------------------------------------------------------------------------
   9. Über uns
   -------------------------------------------------------------------------- */
.manifesto {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .manifesto { grid-template-columns: repeat(12, 1fr); }
  .manifesto__intro   { grid-column: 1 / span 5; }
  .manifesto__chapters { grid-column: 7 / span 6; }
}

.chapter {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-block: 2rem;
}
.chapter:first-child { border-top: 0; }
.chapter__no {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--leaf);
}
.chapter h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -.01em;
}
.chapter p { margin-top: .5rem; color: var(--moss); }

/* --------------------------------------------------------------------------
   10. Leistungen und Produkte: geteiltes Rasterkarten-Muster
   Rahmen entstehen aus Nachbarkanten — links/oben am Container,
   rechts/unten an der Karte. Ergibt saubere Hairlines ohne Dopplung.
   -------------------------------------------------------------------------- */
.cardgrid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
@media (min-width: 640px)  { .cardgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cardgrid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .cardgrid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2rem;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.card__no {
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 700;
  color: var(--leaf);
  opacity: .8;
}
.card h3 {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
}
.card p {
  margin-top: .75rem;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--moss);
  transition: color .3s var(--ease);
}
.card__arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 1.25rem;
  height: 1.25rem;
  opacity: 0;
  transition: opacity .3s var(--ease), color .3s var(--ease);
}

/* Leistungen: Karte kippt beim Hover auf Dunkelgrün */
.card--service:hover { background: var(--forest); color: var(--birch); }
.card--service:hover .card__no { color: var(--birch); }
.card--service:hover p { color: rgba(252, 253, 251, .7); }
.card--service:hover .card__arrow { opacity: 1; color: var(--birch); }

/* Produkte: liegen auf Sand, hellen beim Hover auf */
.card--product { display: block; background: var(--sand); padding: 1.75rem; }
.card--product:hover { background: var(--birch); }
.card--product h3 { margin-top: 1rem; font-size: 1.125rem; }

/* --------------------------------------------------------------------------
   11. Impressionen (Parallaxstreifen im Sortiment)
   -------------------------------------------------------------------------- */
.impressions {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .impressions { grid-template-columns: repeat(3, 1fr); } }

.impression {
  position: relative;
  height: 38vh;
  min-height: 280px;
  overflow: hidden;
  border-radius: 1rem;
}
@media (min-width: 768px) { .impression { height: 52vh; } }

.impression img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
  transform: translateY(-12%);
  will-change: transform;
}
.impression::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 42, 24, .4), transparent);
}
.impression__label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  border-radius: 999px;
  background: rgba(252, 253, 251, .9);
  padding: .375rem 1rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--forest);
}

/* --------------------------------------------------------------------------
   12. Team
   -------------------------------------------------------------------------- */
.team {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .team { grid-template-columns: repeat(2, 1fr); } }

.member__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1.5rem;
}
.member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transform: scale(1.28);
  transform-origin: top;
}
.member__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 42, 24, .75) 0%, transparent 55%);
}
.member__id {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 1;
}
.member__role {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--leaf);
}
.member__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: var(--birch);
}
.member__bio {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--moss);
}

.badge-area {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 2.5rem;
  border: 1px solid var(--leaf);
  border-radius: 999px;
  background: var(--birch);
  padding: .5rem 1rem;
  font-size: .875rem;
  font-weight: 700;
}
.badge-area svg { width: 1rem; height: 1rem; color: var(--leaf); }

/* --------------------------------------------------------------------------
   13. Standort
   -------------------------------------------------------------------------- */
.standort { position: relative; overflow: hidden; }
.standort__glow {
  position: absolute;
  top: -6rem;
  right: -6rem;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  background: rgba(252, 253, 251, .05);
  filter: blur(64px);
  pointer-events: none;
}
.standort__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 3.5rem;
}
@media (min-width: 768px) { .standort__grid { grid-template-columns: repeat(2, 1fr); } }

.pins { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
.pin {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line-birch);
  border-radius: .75rem;
  background: rgba(252, 253, 251, .05);
  padding: 1rem 1.25rem;
  transition: background-color .3s var(--ease);
}
.pin:hover { background: rgba(252, 253, 251, .1); }
.pin__dot {
  flex: none;
  width: .625rem;
  height: .625rem;
  border-radius: 999px;
  background: rgba(252, 253, 251, .4);
}
.pin--primary .pin__dot {
  background: var(--birch);
  box-shadow: 0 0 0 3px rgba(244, 241, 234, .2);
}
.pin__name { font-size: .875rem; font-weight: 700; color: var(--birch); }
.pin__sub  { font-size: .75rem; color: rgba(252, 253, 251, .5); }

.mapbox {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  border: 1px solid var(--line-birch);
  border-radius: 1.5rem;
  background: rgba(18, 59, 34, .6);
  padding: 1rem;
}
.mapbox svg { width: 100%; height: 100%; }

.map__line {
  stroke-dasharray: 2 2;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.is-visible .map__line { opacity: .6; }
.map__ping { transform-box: fill-box; transform-origin: center; }
.is-visible .map__ping { animation: ping 2.2s ease-out infinite; }
@keyframes ping {
  from { transform: scale(.8); opacity: .8; }
  to   { transform: scale(2.4); opacity: 0; }
}

/* --------------------------------------------------------------------------
   14. Kontakt
   -------------------------------------------------------------------------- */
.contact__grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}
@media (min-width: 768px) { .contact__grid { grid-template-columns: repeat(2, 1fr); } }

.contact__items { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
.contact__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line-soft);
  border-radius: .75rem;
  background: var(--birch);
  padding: 1rem 1.25rem;
  font-size: .875rem;
  color: var(--moss);
  transition: border-color .3s var(--ease);
}
a.contact__item:hover { border-color: var(--leaf); }
.contact__item svg { flex: none; width: 1rem; height: 1rem; color: var(--leaf); }

.form { display: flex; flex-direction: column; gap: 1.5rem; }
.form__row { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: repeat(2, 1fr); } }

.field { display: flex; flex-direction: column; gap: .5rem; }
.field label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--moss);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 2px solid rgba(14, 42, 24, .2);
  border-radius: 0;
  background: transparent;
  padding: .5rem 0;
  font-size: 1rem;
  color: var(--forest);
  transition: border-color .2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(51, 85, 59, .5); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--leaf);
}
/* Auswahlfeld: natives select, damit es auf Android und iOS richtig funktioniert */
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2333553b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .25rem center;
  padding-right: 1.75rem;
  cursor: pointer;
}
/* Platzhalter des Auswahlfelds gedaempft, solange nichts gewaehlt ist */
.field select:has(option[value=""]:checked) { color: rgba(51, 85, 59, .5); }
.field select option { color: var(--forest); }

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form__status {
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.5;
}
.form__status:empty { display: none; }
.form__status[data-state="ok"]    { color: var(--leaf); }
.form__status[data-state="error"] { color: #b3261e; }

.spinner { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   15. Fußbereich
   -------------------------------------------------------------------------- */
.site-foot {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  color: var(--birch);
  padding-top: 5rem;
}
.foot__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  border-bottom: 1px solid var(--line-birch);
  padding-bottom: 3.5rem;
}
@media (min-width: 768px) { .foot__grid { grid-template-columns: repeat(3, 1fr); } }

.foot__tag {
  margin-top: 1rem;
  max-width: 20rem;
  font-size: .875rem;
  line-height: 1.7;
  color: rgba(252, 253, 251, .5);
}
.foot__label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(252, 253, 251, .6);
}
.foot__list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: 1rem;
  font-size: .875rem;
  color: rgba(252, 253, 251, .7);
}
.foot__list a { transition: color .2s var(--ease); }
.foot__list a:hover { color: var(--birch); }

.foot__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 2rem;
  font-size: .75rem;
  color: rgba(252, 253, 251, .3);
}
@media (min-width: 768px) {
  .foot__bottom { flex-direction: row; align-items: center; }
}

/* Schriftzug im Fussbereich.
   Frueher ein <p> mit 18vw Schriftgroesse — das lief seitlich aus dem Bild
   und riss einen leeren Streifen auf. Jetzt ein SVG mit viewBox: die Breite
   folgt dem Container, die Hoehe ergibt sich daraus. textLength zwingt den
   Text exakt auf die Breite, unabhaengig davon, welche Schrift geladen ist. */
.foot__watermark {
  display: block;
  width: 100%;              /* volle Bildschirmbreite, kein max-width */
  pointer-events: none;
  user-select: none;
  overflow: visible;
}
.foot__watermark text {
  font-family: var(--font-display);
  font-weight: 700;
  fill: rgba(252, 253, 251, .04);
}

/* --------------------------------------------------------------------------
   16. Rechtsseiten und 404
   -------------------------------------------------------------------------- */
.page-legal {
  min-height: 100vh;
  background: var(--birch);
  padding: 5rem var(--pad);
}
.page-legal .wrap { max-width: 48rem; padding-inline: 0; }

.backlink {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--moss);
  transition: color .2s var(--ease);
}
.backlink:hover { color: var(--leaf); }
.backlink svg { width: 1rem; height: 1rem; }

.page-legal h1 {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -.02em;
}
.prose { margin-top: 2rem; color: var(--moss); }
.prose > * + * { margin-top: 1rem; }
.prose strong { color: var(--forest); }
.prose a { color: var(--leaf); text-decoration: underline; text-underline-offset: 2px; }
.prose h2 {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--forest);
}
.prose small { font-size: .875rem; opacity: .8; }

.page-404 {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: var(--forest);
  color: var(--birch);
  padding: var(--pad);
}
.page-404 .code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 20vw, 12rem);
  font-weight: 700;
  line-height: .9;
  color: var(--leaf);
}

/* --------------------------------------------------------------------------
   17. Scroll-Einblendungen
   Ohne JS bleibt alles sichtbar — die Klasse setzt erst das Skript.
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal-group > .reveal.is-visible { transition-delay: calc(var(--i, 0) * 70ms); }

/* --------------------------------------------------------------------------
   18. Weniger Bewegung
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .impression img { transform: translateY(-12%) !important; }
  /* Laufbaender laufen bewusst weiter — sie sind kein Bewegungseffekt,
     sondern der Inhalt selbst. Ohne Animation stehen sie leer da.
     Gleiche Handhabung wie auf Terrassenbaumaterial.de. */
}

/* --------------------------------------------------------------------------
   19. Kleine Layout-Varianten
   -------------------------------------------------------------------------- */
/* Leistungen schließen direkt an "Über uns" an — beide auf Birke, daher
   oben keine zweite Sektionsluft. */
.section--flush-top { padding-top: 0; }

.h-section--wide { max-width: 42rem; }

.lead--tight  { margin-top: 0; }
.lead--narrow { max-width: 24rem; }

.produkte__head {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .produkte__head { flex-direction: row; align-items: flex-end; }
}

.section--forest strong { color: var(--birch); font-weight: 700; }

.page-404__title { color: var(--birch); margin-top: 1rem; }
.page-404__lead  { color: rgba(252, 253, 251, .7); }
.page-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   20. Produktseiten
   -------------------------------------------------------------------------- */
.subhero {
  background: var(--forest);
  color: var(--birch);
  padding-block: 9rem 4rem;
}
@media (min-width: 768px) { .subhero { padding-top: 11rem; padding-bottom: 5rem; } }

/* Gleiche Mechanik wie .wrap: max-width einschliesslich Innenabstand.
   Lag der Innenabstand aussen an der Section, startete der Inhalt um
   genau --pad weiter links als Navigation und Fliesstext. */
.subhero__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(252, 253, 251, .5);
}
.crumbs a { transition: color .2s var(--ease); }
.crumbs a:hover { color: var(--leaf); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.crumbs li { display: flex; align-items: center; }
.crumbs [aria-current] { color: var(--birch); }

.subhero h1 {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.02em;
  /* Deutsche Komposita wie "Konstruktionsvollholz" sprengen sonst schmale
     Schirme. hyphens greift ueber lang="de" am html-Element. */
  hyphens: auto;
  overflow-wrap: break-word;
}
.subhero__lead {
  margin-top: 1.5rem;
  max-width: 38rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(252, 253, 251, .75);
}

/* Kennzahlenleiste direkt unter dem Titel */
.keyfacts {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 3rem;
  border-top: 1px solid var(--line-birch);
}
@media (min-width: 640px)  { .keyfacts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .keyfacts { grid-template-columns: repeat(4, 1fr); } }

.keyfact {
  border-bottom: 1px solid var(--line-birch);
  padding: 1.25rem 0;
}
@media (min-width: 640px) {
  .keyfact { border-right: 1px solid var(--line-birch); padding-inline: 1.5rem; }
  .keyfact:first-child { padding-left: 0; }
}
.keyfact__label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--leaf);
}
.keyfact__value {
  margin-top: .5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--birch);
}

/* Fließtext der Produktseite */
.article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .article { grid-template-columns: minmax(0, 1fr) 20rem; gap: 4rem; }
}

.article__body > * + * { margin-top: 1.25rem; }
.article__body h2,
.article__body h3 { hyphens: auto; overflow-wrap: break-word; }

.article__body h2 {
  margin-top: 3rem;
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -.01em;
}
.article__body h3 {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}
.article__body p { color: var(--moss); line-height: 1.75; }
.article__body ul { display: flex; flex-direction: column; gap: .625rem; }
.article__body ul li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--moss);
}
.article__body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: .5rem;
  height: .5rem;
  border-radius: 999px;
  background: var(--leaf);
}

/* Rasterkinder duerfen schrumpfen, sonst sprengt die Tabelle die Spalte */
.article > * { min-width: 0; }

/* Datentabelle für Querschnitte, Klassen, Längen.
   Auf schmalen Schirmen waagerecht scrollbar statt die Seite zu sprengen. */
.spec-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.spec {
  min-width: 34rem;
  width: 100%;
  margin-top: 1.5rem;
  border-collapse: collapse;
  font-size: .9375rem;
}
.spec caption {
  text-align: left;
  padding-bottom: .75rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--leaf);
}
.spec th, .spec td {
  border-bottom: 1px solid var(--line);
  padding: .75rem .75rem .75rem 0;
  text-align: left;
  vertical-align: top;
}
.spec th { font-weight: 700; color: var(--forest); }
.spec td { color: var(--moss); }
.spec tbody tr:hover { background: var(--sand); }

/* Seitenspalte */
.aside { position: sticky; top: 7.5rem; align-self: start; }
.aside__card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--sand);
  padding: 1.75rem;
}
.aside__card + .aside__card { margin-top: 1.25rem; }
.aside__card h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}
.aside__card p { margin-top: .75rem; font-size: .9375rem; color: var(--moss); }
.aside__card .btn { margin-top: 1.25rem; }

.siblings { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; }
.siblings a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: .625rem 0;
  font-size: .9375rem;
  font-weight: 700;
  color: var(--forest);
  transition: color .2s var(--ease);
}
.siblings a:hover { color: var(--leaf); }
.siblings a::after { content: "→"; color: var(--leaf); }

/* Fragen und Antworten */
.faq { margin-top: 3rem; border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--forest);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--leaf);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: .875rem; color: var(--moss); line-height: 1.75; }

/* Platzhalter: muss vor Veroeffentlichung ersetzt werden.
   Bewusst auffaellig, damit nichts versehentlich live geht. */
.todo {
  background: #fff3cd;
  border-bottom: 2px solid #d39e00;
  padding: 0 .25rem;
  font-weight: 700;
  color: #6b4b00;
}

/* --------------------------------------------------------------------------
   21. Wissensseiten
   -------------------------------------------------------------------------- */
/* Merksatz: die eine Aussage, die von der Seite hängenbleiben soll */
.pull {
  margin-block: 2rem;
  border-left: 3px solid var(--leaf);
  padding: .25rem 0 .25rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--forest);
}

/* Quellenangabe am Seitenende */
.sources {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  font-size: .875rem;
  color: var(--moss);
}
.sources h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--forest);
}
.sources ul { margin-top: .75rem; display: flex; flex-direction: column; gap: .5rem; }
.sources li { padding-left: 0; }
.sources li::before { display: none; }
.sources a { color: var(--leaf); text-decoration: underline; text-underline-offset: 2px; }
.sources p { margin-top: 1rem; font-size: .8125rem; opacity: .75; }

/* Hinweiskasten für Abgrenzungen und Praxisregeln */
.note {
  margin-block: 2rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--sand);
  padding: 1.5rem;
}
.note h3 { margin-top: 0; font-size: 1.0625rem; }
.note p { margin-top: .5rem; font-size: .9375rem; }
.note > :first-child { margin-top: 0; }

/* --------------------------------------------------------------------------
   22. Fehlerseite
   -------------------------------------------------------------------------- */
/* Zeigt den tatsaechlich aufgerufenen Pfad. Bleibt ohne JS ausgeblendet,
   damit dort kein leerer Hinweis steht. */
.url-hinweis {
  margin-top: 1.5rem;
  font-size: .875rem;
  color: rgba(252, 253, 251, .55);
}
.url-hinweis code {
  border-radius: .375rem;
  background: rgba(252, 253, 251, .1);
  padding: .125rem .5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .8125rem;
  word-break: break-all;
  color: var(--birch);
}

.hilfe {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}
@media (min-width: 768px)  { .hilfe { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hilfe { grid-template-columns: 1fr 1fr 1.4fr; gap: 3.5rem; } }

.hilfe h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--forest);
}
.hilfe__block p {
  margin-top: .75rem;
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--moss);
}
.hilfe__liste {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  margin-top: 1rem;
}
.hilfe__liste a {
  font-size: .9375rem;
  color: var(--moss);
  transition: color .2s var(--ease);
}
.hilfe__liste a:hover { color: var(--leaf); }

.hilfe__block--kontakt {
  border-radius: 1rem;
  background: var(--sand);
  padding: 1.75rem;
}
.hilfe__block--kontakt .btn { margin-top: 1.5rem; }

/* Auf der Fehlerseite steht in den Kacheln nur der Name, kein Beschreibungstext */
.card--product:has(> h3:last-child) { display: flex; flex-direction: column; gap: .75rem; }

/* --------------------------------------------------------------------------
   23. Sprachumschalter
   Reine Links ohne JavaScript. Auf dem Desktop als Aufklapp-Liste beim
   Ueberfahren und beim Tastaturfokus, auf dem Handy als Zeile im Menue.
   -------------------------------------------------------------------------- */
.langswitch {
  position: relative;
  display: none;
}
@media (min-width: 640px) { .langswitch { display: block; } }

.langswitch__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  color: var(--moss);
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.langswitch__icon svg { width: 1.125rem; height: 1.125rem; }
.langswitch:hover .langswitch__icon,
.langswitch:focus-within .langswitch__icon { background: var(--sand); color: var(--forest); }

.langswitch ul {
  position: absolute;
  right: 0;
  top: calc(100% + .5rem);
  z-index: 60;
  min-width: 9rem;
  border: 1px solid var(--line-soft);
  border-radius: .75rem;
  background: var(--birch);
  padding: .375rem;
  box-shadow: 0 12px 32px -12px rgba(14, 42, 24, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.langswitch:hover ul,
.langswitch:focus-within ul {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.langswitch li a {
  display: block;
  border-radius: .5rem;
  padding: .5rem .75rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--moss);
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.langswitch li a:hover { background: var(--sand); color: var(--forest); }
.langswitch li a[aria-current] { color: var(--leaf); }

/* Im mobilen Menue als eigene Zeile am Ende */
.nav__mobile .langswitch { display: block; margin-top: .75rem; }
.nav__mobile .langswitch__icon { display: none; }
.nav__mobile .langswitch ul {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  display: flex;
  gap: .25rem;
  border: 0;
  box-shadow: none;
  padding: 0;
  background: none;
}
.nav__mobile .langswitch li { flex: 1; }
.nav__mobile .langswitch li a {
  border: 1px solid var(--line-soft);
  text-align: center;
}

/* --------------------------------------------------------------------------
   24. Zweierraster fuer Trex und UKAL
   Belag und Unterkonstruktion gehoeren zusammen, deshalb je 50 % Breite
   statt im Viererraster der uebrigen Sortimente.
   -------------------------------------------------------------------------- */
.cardgrid--2 {
  margin-top: 0;
  border-top: 0;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .cardgrid--2 { grid-template-columns: repeat(2, 1fr); } }

.card--wide { padding: 2.25rem; }
.card--wide h3 { font-size: 1.375rem; }
.card--wide p { font-size: .9375rem; }

/* --------------------------------------------------------------------------
   25. Links im Fliesstext
   Ohne eigene Regel erben sie a { color: inherit; text-decoration: none }
   und waeren damit unsichtbar. Unterstrichen statt nur eingefaerbt, damit
   sie auch bei Farbfehlsichtigkeit erkennbar bleiben.
   -------------------------------------------------------------------------- */
.article__body p a,
.article__body li a {
  color: var(--leaf);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}
.article__body p a:hover,
.article__body li a:hover {
  color: var(--forest);
  text-decoration-thickness: 2px;
}

/* Auf dunklem Grund im Kopfbereich der Seite */
.section--forest .article__body p a { color: var(--birch); }

/* --------------------------------------------------------------------------
   26. Sprungtasten hoch und runter
   Rechts unten, ausserhalb des Textflusses. Wird per JavaScript eingefuegt;
   ohne Skript ist sie nicht vorhanden — als reine Bequemlichkeitsfunktion
   ist das in Ordnung, alle Inhalte bleiben auch ohne sie erreichbar.
   -------------------------------------------------------------------------- */
.jumpnav {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.jumpnav.is-visible { opacity: 1; visibility: visible; transform: none; }

@media (min-width: 768px) { .jumpnav { right: 1.5rem; bottom: 1.5rem; } }

.jumpnav__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--birch);
  color: var(--forest);
  cursor: pointer;
  box-shadow: 0 8px 24px -10px rgba(14, 42, 24, .45);
  transition: background-color .2s var(--ease), color .2s var(--ease),
              transform .2s var(--ease);
}
.jumpnav__btn svg { width: 1.25rem; height: 1.25rem; }
.jumpnav__btn:hover {
  background: var(--leaf);
  border-color: var(--leaf);
  color: #fff;
  transform: translateY(-2px);
}
.jumpnav__btn[hidden] { display: none; }

/* Auf schmalen Schirmen etwas kleiner, damit sie den Text nicht verdeckt */
@media (max-width: 480px) {
  .jumpnav__btn { width: 2.5rem; height: 2.5rem; }
  .jumpnav__btn svg { width: 1.125rem; height: 1.125rem; }
}

@media (prefers-reduced-motion: reduce) {
  .jumpnav { transition: none; }
}
