/* ==========================================================================
   Kaminholz Holzkiki – Stylesheet
   Farben aus dem Logo (Rostbraun #A65C45, Flammenrot #E30613, Orange #F07000),
   ergänzt um Holz- und Grüntöne. Systemschriften, keine externen Ressourcen.
   ========================================================================== */

:root {
  --c-bg: #fbf8f3;
  --c-surface: #ffffff;
  --c-sand: #f4ece0;
  --c-sand-strong: #eadcc8;
  --c-line: #e3d5c1;
  --c-ink: #2b211b;
  --c-ink-soft: #5a4a40;
  --c-brand: #a65c45;
  --c-brand-dark: #8a4634;
  --c-brand-deep: #6f3726;
  --c-flame: #e30613;
  --c-ember: #e8822e;
  --c-ember-light: #f29a4a;
  --c-forest: #3f5b3c;
  --c-forest-dark: #2f452d;
  --c-moss: #eef1e6;
  --c-bark: #2e221b;
  --c-bark-2: #3a2c23;
  --c-on-dark: #f4ece0;
  --c-on-dark-soft: #d8c8b6;
  --c-focus: #d96500;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", P052, Georgia, serif;

  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(43, 33, 27, .06), 0 6px 18px rgba(43, 33, 27, .08);
  --container: 72rem;
  --gutter: 1rem;
  --section: clamp(3rem, 8vw, 5.5rem);

  color-scheme: light;
}

@media (min-width: 40em) {
  :root { --gutter: 1.5rem; }
}

/* --------------------------------------------------------------------------
   Grundlagen
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

img,
svg,
picture { display: block; max-width: 100%; }

img { height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-ink);
  text-wrap: balance;
}

/* Schmale Bildschirme: deutsche Silbentrennung statt Wortbruch an beliebiger Stelle */
@media (max-width: 39.99em) {
  h1, h2, h3, h4, .legal { -webkit-hyphens: auto; hyphens: auto; }
}

h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p, ul, ol, dl, table, address { margin: 0 0 1.1em; }

/* Keine einzelnen Wörter in der letzten Zeile (wo vom Browser unterstützt) */
p, li { text-wrap: pretty; }

address { font-style: normal; }

a {
  color: var(--c-brand-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

a:hover { color: var(--c-brand-deep); text-decoration-thickness: 2px; }

strong { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Zahl und Einheit nicht trennen (z. B. „18 %“, „1–3 m“) */
.nobr { white-space: nowrap; }

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

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: calc(48rem + 2 * var(--gutter)); }

/* Einspaltige Grids (Mobil): Spalte darf nie breiter als der Bildschirm werden,
   auch wenn ein Kind (z. B. die Tabelle) breiter ist – das scrollt dann in sich. */
.about,
.team,
.claim__grid,
.feature,
.article-layout,
.steps,
.woods,
.compare,
.services,
.contact,
.lost,
.footer__main {
  grid-template-columns: minmax(0, 1fr);
}

/* Skip-Link */
.skip-link {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 100;
  padding: .75rem 1.1rem;
  background: var(--c-ink);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius);
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; color: #fff; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 3rem;
  padding: .7rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--c-brand-dark);
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}

.btn:hover { background: var(--c-brand-deep); color: #fff; text-decoration: none; }

.btn svg { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }

.btn--ember { background: var(--c-ember); color: var(--c-ink); }
.btn--ember:hover { background: var(--c-ember-light); color: var(--c-ink); }

.btn--outline {
  background: transparent;
  border-color: var(--c-brand-dark);
  color: var(--c-brand-dark);
}

.btn--outline:hover { background: var(--c-brand-dark); color: #fff; }

@media (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-1px); }
}

/* --------------------------------------------------------------------------
   Topbar
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--c-bark);
  color: var(--c-on-dark);
  font-size: .9rem;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: .75rem;
  row-gap: .15rem;
  padding-block: .45rem;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding-block: .2rem;
  color: var(--c-on-dark);
  text-decoration: none;
}

.topbar a:hover { color: #fff; text-decoration: underline; }

.topbar svg { width: 1em; height: 1em; fill: var(--c-ember-light); flex: none; }

.topbar__sep { color: var(--c-on-dark-soft); }

@media (max-width: 29.99em) {
  .topbar__sep { display: none; }
  .topbar__inner { flex-direction: column; }
}

@media (min-width: 48em) {
  .topbar__inner { justify-content: flex-end; }
}

/* --------------------------------------------------------------------------
   Kopfbereich und Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  background: linear-gradient(90deg, var(--c-brand) 0 60%, var(--c-ember) 60% 85%, var(--c-flame) 85%);
}

.header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding-block: .6rem;
}

.brand {
  display: block;
  flex: none;
  border-radius: var(--radius);
}

.brand img {
  width: auto;
  height: 72px;
}

@media (min-width: 62em) {
  .brand img { height: 110px; }
  .header__inner { padding-block: .8rem; }
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: .5rem .9rem;
  border: 2px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface);
  color: var(--c-ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle:hover { border-color: var(--c-brand); }

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

.nav-toggle__icon { position: relative; }

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__icon::before { top: -6px; }
.nav-toggle__icon::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { transform: translateY(-6px) rotate(-45deg); }

.main-nav { width: 100%; }

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: .55rem .85rem;
  border-radius: var(--radius);
  color: var(--c-ink);
  font-weight: 600;
  text-decoration: none;
}

.main-nav a:hover { background: var(--c-sand); color: var(--c-ink); }

.main-nav a[aria-current="page"] {
  color: var(--c-brand-dark);
  box-shadow: inset 0 -3px 0 var(--c-brand);
  border-radius: var(--radius) var(--radius) 0 0;
}

/* Mobil mit JavaScript: Menü klappbar. Ohne JavaScript bleibt es sichtbar. */
@media (max-width: 61.99em) {
  .js .nav-toggle { display: inline-flex; }

  .js .main-nav { display: none; }
  .js .main-nav.is-open { display: block; }

  .main-nav ul {
    flex-direction: column;
    padding-block: .25rem .5rem;
  }

  .main-nav a { padding: .75rem .85rem; border-top: 1px solid var(--c-line); border-radius: 0; }
  .main-nav li:first-child a { border-top: 0; }

  .main-nav a[aria-current="page"] {
    box-shadow: inset 4px 0 0 var(--c-brand);
    background: var(--c-sand);
    border-radius: 0;
  }
}

@media (min-width: 62em) {
  .main-nav { width: auto; }
  .main-nav ul { gap: .15rem; }
  .main-nav a { padding: .6rem .95rem; font-size: 1.05rem; }
}

/* --------------------------------------------------------------------------
   Hero-Slider (Startseite)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  min-height: clamp(26rem, 72vh, 44rem);
  overflow: hidden;
  background: var(--c-bark);
  color: #fff;
}

.hero__slides {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease, visibility 0s linear 1.2s;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 1.2s ease, visibility 0s;
}

.hero__slide picture,
.hero__slide img {
  width: 100%;
  height: 100%;
}

.hero__slide img { object-fit: cover; }

.hero__slide--1 img { object-position: 30% 50%; }
.hero__slide--2 img { object-position: 60% 50%; }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(28, 19, 13, .82) 0%, rgba(28, 19, 13, .55) 50%, rgba(28, 19, 13, .2) 100%),
    linear-gradient(0deg, rgba(28, 19, 13, .65) 0%, rgba(28, 19, 13, 0) 45%);
}

.hero__content {
  position: relative;
  z-index: 2;
  align-self: center;
  padding-block: 4rem 6rem;
}

.hero__content h1 {
  max-width: 14ch;
  margin-bottom: 1.6rem;
  color: #fff;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}

.hero__content h1::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 4px;
  margin-top: 1.1rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-flame), var(--c-ember));
}

.hero__controls {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 1.25rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.js .hero__controls { display: flex; }

.hero__dots {
  display: flex;
  gap: .25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__dot {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hero__dot::before {
  content: "";
  width: .8rem;
  height: .8rem;
  border: 2px solid #fff;
  border-radius: 50%;
  transition: background-color .2s, transform .2s;
}

.hero__dot[aria-current="true"]::before {
  background: var(--c-ember);
  border-color: var(--c-ember);
  transform: scale(1.15);
}

.hero__dot:hover::before { background: rgba(255, 255, 255, .6); }

.hero__buttons { display: flex; gap: .5rem; }

.hero__btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  background: rgba(28, 19, 13, .45);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}

.hero__btn:hover { background: var(--c-brand-dark); border-color: #fff; }

.hero__btn svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }

.hero__btn .icon-play { display: none; }
.hero__btn[aria-pressed="true"] .icon-play { display: block; }
.hero__btn[aria-pressed="true"] .icon-pause { display: none; }

.hero :focus-visible { outline-color: var(--c-ember-light); }

/* Sehr schmale Geräte (bis 399 px): Bedienelemente etwas kompakter */
@media (max-width: 24.99em) {
  .hero__controls { gap: .5rem; }
  .hero__dots { gap: 0; }
  .hero__dot { width: 2.25rem; height: 2.5rem; }
  .hero__buttons { gap: .35rem; }
  .hero__btn { width: 2.5rem; height: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide,
  .hero__slide.is-active { transition: none; }
}

/* --------------------------------------------------------------------------
   Seitenkopf der Unterseiten
   -------------------------------------------------------------------------- */
.page-head {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(11rem, 26vw, 17rem);
  overflow: hidden;
  background: var(--c-bark);
  color: #fff;
}

.page-head__img,
.page-head__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-head__img img { object-fit: cover; }

.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(28, 19, 13, .88) 0%, rgba(28, 19, 13, .62) 60%, rgba(28, 19, 13, .4) 100%);
}

.page-head__inner {
  position: relative;
  z-index: 2;
  padding-block: 2.5rem 2rem;
}

.page-head h1 {
  margin: 0;
  color: #fff;
}

.page-head h1::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 4px;
  margin-top: .8rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-flame), var(--c-ember));
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin: 0 0 .5rem;
  padding: 0;
  list-style: none;
  font-size: .95rem;
  color: var(--c-on-dark);
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: .3rem;
  color: var(--c-on-dark-soft);
}

.breadcrumb a { color: var(--c-on-dark); }
.breadcrumb a:hover { color: #fff; }
.page-head :focus-visible { outline-color: var(--c-ember-light); }

/* --------------------------------------------------------------------------
   Abschnitte
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section); }
.section--sand { background: var(--c-sand); }
.section--moss { background: var(--c-moss); }

.section__title::after,
.title-bar::after {
  content: "";
  display: block;
  width: 3rem;
  height: 4px;
  margin-top: .65rem;
  border-radius: 2px;
  background: var(--c-brand);
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.prose { max-width: 68ch; }
.prose > :last-child { margin-bottom: 0; }

/* Über uns */
.about {
  display: grid;
  gap: 2rem;
}

@media (min-width: 40em) {
  .about {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    align-items: center;
    gap: 2.5rem;
  }
}

@media (min-width: 56em) {
  .about { gap: 4rem; }
}

.since {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 17rem;
  width: 100%;
  margin-inline: auto;
  color: var(--c-ink);
  text-align: center;
  container-type: inline-size;
}

@media (max-width: 39.99em) {
  .since { max-width: 14rem; }
}

.since svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.since__text {
  position: relative;
  display: grid;
  place-content: center;
  gap: .15rem;
  width: 72%;
  aspect-ratio: 1;
  margin: 0;
  border-radius: 50%;
  background: rgba(251, 248, 243, .95);
  box-shadow: 0 0 0 .5rem rgba(251, 248, 243, .45);
  font-family: var(--font-serif);
  line-height: 1.1;
}

/* Schrift wächst mit dem Kreis, damit „Familienunternehmen“ immer hineinpasst */
.since__label { font-size: .75rem; font-size: 5.4cqi; font-weight: 700; }
.since__small { font-size: .8rem; font-size: 5.2cqi; }
.since__year { font-size: 2.1rem; font-size: 15cqi; font-weight: 700; color: var(--c-brand-dark); }

/* Team */
.team {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 40em) {
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
}

.team__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

@media (min-width: 40em) {
  .team__card {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.25rem;
  }
}

.team__mono {
  display: grid;
  place-items: center;
  flex: none;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 55%, rgba(166, 92, 69, .18) 56% 60%, transparent 61%),
    radial-gradient(circle, var(--c-sand) 0 70%, var(--c-sand-strong) 71%);
  border: 3px solid var(--c-brand);
  color: var(--c-brand-dark);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
}

@media (min-width: 40em) {
  .team__mono { width: 5.5rem; height: 5.5rem; font-size: 1.7rem; }
}

.team__name {
  margin: 0;
  font-size: 1.25rem;
}

.team__role {
  margin: .15rem 0 0;
  color: var(--c-ink-soft);
}

/* Anspruch */
.claim {
  position: relative;
  background: var(--c-bark);
  color: var(--c-on-dark);
  overflow: hidden;
}

.claim::before {
  content: "";
  position: absolute;
  right: -10rem;
  top: 50%;
  width: 34rem;
  height: 34rem;
  transform: translateY(-50%);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 1.6rem, rgba(244, 236, 224, .045) 1.6rem 1.75rem);
  pointer-events: none;
}

.claim .container { position: relative; }

.claim h2 { color: #fff; }
.claim .section__title::after { background: var(--c-ember); }

.claim__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 56em) {
  .claim__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
}

.claim__grid p {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(244, 236, 224, .2);
  font-size: 1.08rem;
}

.claim__statement {
  max-width: 42ch;
  margin: 2.75rem 0 0;
  text-wrap: balance;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  line-height: 1.35;
  color: #fff;
}

.claim__statement::before {
  content: "";
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  background: no-repeat center / contain url("../img/flamme.svg");
}

/* --------------------------------------------------------------------------
   Produkte
   -------------------------------------------------------------------------- */
.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 64em) {
  .products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
}

.product {
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.product img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product__name {
  margin: 0;
  padding: .7rem .9rem .8rem;
  font-size: 1.15rem;
  border-top: 4px solid var(--c-brand);
}

@media (min-width: 40em) {
  .products { gap: 1.25rem; }
  .product__name { padding: 1rem 1.25rem 1.15rem; font-size: 1.4rem; }
}

.feature {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 56em) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3.5rem; }
}

.feature__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.section--moss .section__title::after { background: var(--c-forest); }

.feature h3 { color: var(--c-forest-dark); }

/* --------------------------------------------------------------------------
   Prozesserklärung
   -------------------------------------------------------------------------- */
.article-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 64em) {
  .article-layout {
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: 4rem;
    align-items: start;
  }
}

.toc {
  padding: 1.25rem 1.25rem 1rem;
  background: var(--c-sand);
  border-radius: var(--radius-lg);
  font-size: .98rem;
}

@media (min-width: 64em) {
  .toc { position: sticky; top: 1.5rem; }
}

.toc__title {
  margin: 0 0 .5rem;
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc li { counter-increment: toc; }

.toc a {
  display: flex;
  gap: .6rem;
  padding: .4rem 0;
  color: var(--c-ink);
  text-decoration: none;
  line-height: 1.35;
}

.toc a::before {
  content: counter(toc);
  flex: none;
  width: 1.5rem;
  font-weight: 700;
  color: var(--c-brand-dark);
}

.toc a:hover { color: var(--c-brand-dark); text-decoration: underline; }

/* Lesespalte ca. 70 Zeichen; einspaltig zentriert */
.article,
.toc {
  width: 100%;
  max-width: 43rem;
  margin-inline: auto;
}

@media (min-width: 64em) {
  .article,
  .toc { margin-inline: 0; }
  .toc { max-width: none; }
}

.article > section + section {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--c-line);
}

.article h2 { scroll-margin-top: 1.5rem; }
.article h3 { margin-top: 2.25rem; }

.article p { font-size: 1.09rem; line-height: 1.75; }

.steps {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

/* Mobil: Nummer neben der Überschrift, Text in voller Kartenbreite.
   Ab 40em: Text eingerückt unter der Überschrift. */
.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: .85rem;
  row-gap: .6rem;
  padding: 1.15rem 1.15rem 1.25rem;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.step__num {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--c-brand-dark);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
}

.step h3 {
  margin: 0;
  font-size: 1.25rem;
}

.step p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.7;
}

@media (min-width: 40em) {
  .step { column-gap: 1rem; padding: 1.35rem 1.5rem 1.4rem 1.25rem; }
  .step p { grid-column: 2; }
}

.step:nth-child(3) { border-color: var(--c-brand); }

/* Tabelle */
.table-scroll {
  margin: 1.75rem 0 .75rem;
  overflow-x: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  -webkit-overflow-scrolling: touch;
}

.table-scroll:focus-visible { outline-offset: 2px; }

table {
  width: 100%;
  min-width: 42rem;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .98rem;
  font-variant-numeric: tabular-nums;
}

th,
td {
  padding: .75rem .9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--c-line);
  background: var(--c-surface);
}

td { white-space: nowrap; }

thead th {
  background: var(--c-bark);
  color: var(--c-on-dark);
  font-weight: 700;
  font-size: .9rem;
  line-height: 1.35;
  vertical-align: bottom;
}

tbody tr:nth-child(even) > * { background: var(--c-bg); }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 700; color: var(--c-brand-dark); white-space: nowrap; }

/* Erste Spalte bleibt beim seitlichen Wischen stehen */
thead th:first-child,
tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  box-shadow: 1px 0 0 var(--c-line);
}

thead th:first-child { box-shadow: 1px 0 0 rgba(244, 236, 224, .2); }

@media (max-width: 47.99em) {
  table { min-width: 38rem; font-size: .95rem; }
  th, td { padding: .65rem .75rem; }
  thead th:first-child { min-width: 7rem; }
}

.table-hint {
  display: none;
  margin: 0 0 .25rem;
  font-size: .9rem;
  color: var(--c-ink-soft);
}

@media (max-width: 47.99em) {
  .table-hint { display: block; }
}

.legend {
  font-size: .95rem;
  color: var(--c-ink-soft);
}

/* Holzarten */
.woods {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.wood {
  padding: 1.25rem 1.35rem;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-left: 6px solid var(--wood, var(--c-brand));
  border-radius: var(--radius);
}

.wood h4 { margin-bottom: .35rem; }
.wood p { margin: 0; font-size: 1.04rem; line-height: 1.7; }

.wood--soft { --wood: #e3c48f; }
.wood--birch { --wood: #c79a62; }
.wood--hard { --wood: #7a4a30; }

/* Energievergleich */
.compare {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
}

@media (min-width: 40em) {
  .compare { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
}

.compare__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.compare__head {
  margin: 0;
  padding: 1.1rem 1.25rem;
  background: var(--c-brand-dark);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.4;
}

.compare__card--pine .compare__head { background: var(--c-forest); }

.compare__list {
  margin: 0;
  padding: .5rem 1.25rem 1rem;
  list-style: none;
}

.compare__list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem .5rem;
  padding: .7rem 0;
  border-bottom: 1px dashed var(--c-line);
}

.compare__list li:last-child { border-bottom: 0; }

/* Serifenlos, damit „l“ (Liter) nicht wie „1“ aussieht */
.compare__list strong {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  color: var(--c-ink);
}

/* Hinweisbox */
.tip {
  display: flex;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 1.25rem 1.35rem;
  background: var(--c-moss);
  border: 1px solid #cfd8c2;
  border-left: 6px solid var(--c-forest);
  border-radius: var(--radius);
}

.tip svg {
  flex: none;
  width: 2rem;
  height: 2rem;
  fill: var(--c-forest);
}

.tip__title {
  margin: 0 0 .2rem;
  font-weight: 700;
  color: var(--c-forest-dark);
}

.tip p { margin: 0; }

/* --------------------------------------------------------------------------
   Service
   -------------------------------------------------------------------------- */
.services {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 60em) {
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
}

.service {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-top: 5px solid var(--c-brand);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.service__icon {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--c-sand);
}

.service__icon svg {
  width: 3.4rem;
  height: 2.6rem;
  fill: none;
  stroke: var(--c-brand-dark);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service h2 { font-size: 1.6rem; }

.service p { margin-bottom: .75rem; }

.service__highlight {
  padding: .6rem .85rem;
  background: var(--c-sand);
  border-radius: var(--radius);
  font-weight: 700;
}

.service__cta {
  margin-top: auto;
  padding-top: .75rem;
}

/* Tablet: Karten im Querformat, Icon links */
@media (min-width: 40em) and (max-width: 59.99em) {
  .service {
    display: grid;
    grid-template-columns: 5rem minmax(0, 1fr);
    column-gap: 1.75rem;
    align-content: start;
    padding: 1.75rem 2rem;
  }
  .service__icon { grid-row: 1 / span 10; margin-bottom: 0; }
  .service > :not(.service__icon) { grid-column: 2; }
}

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 52em) {
  .contact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}

.card {
  padding: 1.75rem 1.5rem;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

@media (min-width: 40em) {
  .card { padding: 2.25rem 2.25rem; }
}

.card h2 { font-size: 1.6rem; }

.contact-list {
  display: grid;
  gap: .5rem;
  margin: 1.5rem 0 0;
  padding: 1.25rem 0 0;
  list-style: none;
  border-top: 1px solid var(--c-line);
}

.contact-list li {
  display: grid;
  grid-template-columns: 2.5rem auto;
  align-items: center;
  column-gap: .5rem;
}

.contact-list .icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--c-sand);
}

.contact-list svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: var(--c-brand-dark);
}

.contact-list a { font-weight: 600; }

.route {
  display: flex;
  flex-direction: column;
}

.route__art {
  width: 100%;
  max-width: 22rem;
  margin: .25rem 0 1.5rem;
}

.route .btn { align-self: flex-start; }

/* --------------------------------------------------------------------------
   Rechtstexte
   -------------------------------------------------------------------------- */
.legal h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
}

.legal h3 {
  margin-top: 1.9rem;
  font-size: 1.25rem;
}

.legal h4 {
  margin-top: 1.4rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
}

.legal > :first-child { margin-top: 0; }

.legal ul { padding-left: 1.25rem; }
.legal li + li { margin-top: .5rem; }

.legal .caps {
  font-size: .95rem;
  letter-spacing: .01em;
}

.legal address {
  padding: 1rem 1.25rem;
  background: var(--c-sand);
  border-radius: var(--radius);
}

.source {
  margin-top: 2.5rem;
  font-size: .95rem;
  color: var(--c-ink-soft);
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.lost {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 56em) {
  .lost { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; }
}

.lost__art { width: 100%; max-width: 30rem; margin-inline: auto; }

.lost__code {
  margin: 0 0 .5rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-brand-dark);
}

.lost__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}

.lost__fact {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--c-sand);
  border-left: 5px solid var(--c-ember);
  border-radius: var(--radius);
  font-size: .98rem;
}

.worm { transform-box: fill-box; transform-origin: 50% 100%; }

@media (prefers-reduced-motion: no-preference) {
  .worm { animation: worm 2.6s ease-in-out infinite; }
  .dust { animation: dust 3s ease-in infinite; }
  .dust--2 { animation-delay: 1s; }
  .dust--3 { animation-delay: 2s; }
}

@keyframes worm {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(10deg) translateY(-3px); }
}

@keyframes dust {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateY(60px); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--c-bark);
  color: var(--c-on-dark);
  font-size: 1rem;
}

.site-footer a { color: var(--c-on-dark); }
.site-footer a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: var(--c-ember-light); }

.footer__main {
  display: grid;
  gap: 2rem;
  padding-block: 3rem 2.5rem;
}

/* Tablet: zwei Spalten, Seitenlinks darunter als Zeile */
@media (min-width: 30em) and (max-width: 63.99em) {
  .footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.5rem; }
  .footer__main > nav { grid-column: 1 / -1; }
  .footer__main > nav .footer__list { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; }
  .footer__main > nav .footer__list li + li { margin-top: 0; }
}

@media (min-width: 64em) {
  .footer__main { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, .8fr); gap: 2.5rem; }
}

.footer__title {
  margin: 0 0 .75rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #fff;
}

.footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__list li + li { margin-top: .35rem; }

.footer__label { color: var(--c-on-dark-soft); }

.footer__bottom {
  border-top: 1px solid rgba(244, 236, 224, .15);
}

.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}

.footer__bottom p { margin: 0; }

.footer__sep { margin-inline: .1rem; color: var(--c-on-dark-soft); }

.to-top {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.75rem;
  padding: .45rem 1rem;
  border: 2px solid rgba(244, 236, 224, .4);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.site-footer .to-top:hover { border-color: var(--c-ember); background: rgba(232, 130, 46, .15); color: #fff; }

.to-top svg { width: 1rem; height: 1rem; fill: currentColor; }

/* --------------------------------------------------------------------------
   Druck
   -------------------------------------------------------------------------- */
@media print {
  .topbar,
  .nav-toggle,
  .main-nav,
  .hero__controls,
  .toc,
  .to-top,
  .skip-link,
  .route__art { display: none !important; }

  body { background: #fff; font-size: 11pt; }
  .hero, .page-head, .claim, .site-footer { background: none; color: #000; min-height: 0; }
  .hero::before, .page-head::before, .claim::before { display: none; }
  .hero__slides, .page-head__img { display: none; }
  .hero__content h1, .page-head h1, .claim h2, .claim__statement { color: #000; text-shadow: none; }
  .site-footer a, .claim { color: #000; }
  .section { padding-block: 1.5rem; }
  .product, .step, .card, .service, .compare__card, .team__card { box-shadow: none; break-inside: avoid; }
  table { min-width: 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
}
