/* Tischlerei Lärchenhof, Konzept. Richtung: Handwerk warm.
   Farben: Holz #2A1E16, Papier #F3EBDD, Akzent Lärche #A5481F, gedämpft #76624D.
   Akzent nur für Knöpfe, Schrittnummern und das Kernholz der Zeichnung. Nie als Text auf Holz-Dunkel. */

@font-face { font-family: "Young Serif"; src: url("fonts/young-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/public-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/public-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/public-sans-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --holz: #2A1E16;
  --papier: #F3EBDD;
  --laerche: #A5481F;
  --grau: #76624D;
  --linie: rgba(42, 30, 22, .22);
  --rand: clamp(20px, 5vw, 72px);
  --serif: "Young Serif", Georgia, serif;
  --sans: "Public Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--papier);
  color: var(--holz);
  font-family: var(--sans);
  font-size: clamp(17px, 1.05vw + 12px, 20px);
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }

.konzept {
  margin: 0;
  background: var(--holz);
  color: var(--papier);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 7px var(--rand);
}

/* Kopf */
.kopf {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--rand);
  border-bottom: 1px solid var(--linie);
}
.marke { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.marke-name { font-family: var(--serif); font-size: 28px; }
.marke-ort { font-size: 14px; color: var(--grau); font-weight: 600; margin-top: 3px; }
.nav { display: flex; gap: 32px; font-weight: 600; font-size: 16px; }
.nav a { text-decoration: none; padding: 10px 0; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; }

.knopf {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  background: var(--laerche); color: var(--papier);
  font-weight: 800; font-size: 17px; text-decoration: none;
  border: 2px solid var(--laerche); border-radius: 4px;
  transition: background-color .2s, color .2s;
}
.knopf svg { width: 20px; height: 20px; fill: currentColor; }
.knopf:hover { background: var(--holz); border-color: var(--holz); }
.knopf:focus-visible, .nav a:focus-visible, .marke:focus-visible { outline: 3px solid var(--laerche); outline-offset: 3px; }
.knopf-hohl { background: transparent; color: var(--holz); border-color: var(--holz); }
.knopf-hohl:hover { background: var(--holz); color: var(--papier); }
.knopf-klein { min-height: 46px; padding: 0 20px; font-size: 16px; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  padding: clamp(32px, 6vw, 88px) var(--rand) clamp(48px, 7vw, 110px);
}
.hero h1 { font-size: clamp(42px, 5.6vw, 88px); max-width: 13ch; }
.hero-sub { font-size: clamp(19px, 1.4vw + 10px, 24px); max-width: 38ch; margin-top: 28px; }
.aktionen { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-bild { margin: 0; justify-self: end; width: min(100%, 560px); }

/* Leistungen als Zuschnittliste */
.leistungen { padding: clamp(56px, 8vw, 120px) var(--rand); border-top: 1px solid var(--linie); }
.leistungen > h2 { font-size: clamp(34px, 3.6vw, 56px); margin-bottom: clamp(24px, 4vw, 56px); }
.posten {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
  padding: clamp(28px, 3.5vw, 48px) 0;
  border-top: 2px solid var(--holz);
}
.posten:last-child { border-bottom: 2px solid var(--holz); }
.posten h3 { font-size: clamp(28px, 2.6vw, 40px); }
.posten-gross h3 { font-size: clamp(40px, 4.4vw, 68px); }
.posten-text p + p { margin-top: 12px; color: var(--grau); }
.posten-lead { font-weight: 600; }
.zeichnung { width: 100%; height: auto; color: var(--holz); }
.posten-gross { grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); }

/* Unser Holz */
.holz { background: var(--holz); color: var(--papier); }
.holz-maserung {
  height: clamp(72px, 10vw, 150px);
  background: url("img/maserung-dunkel.svg") center / cover;
  border-bottom: 1px solid rgba(243, 235, 221, .2);
}
.holz-inhalt { padding: clamp(48px, 7vw, 104px) var(--rand) clamp(56px, 8vw, 120px); }
.holz h2 { font-size: clamp(34px, 4.4vw, 68px); max-width: 20ch; }
.holz-spalten {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px); margin-top: clamp(32px, 4vw, 56px); align-items: start;
}
.holz-text p { max-width: 38ch; }
.holz-text p + p { margin-top: 18px; font-family: var(--serif); font-size: 1.25em; line-height: 1.35; }

.foto-platz {
  margin: 0;
  aspect-ratio: 4 / 3;
  border: 2px dashed rgba(243, 235, 221, .55);
  display: grid; place-content: center; justify-items: center; gap: 16px;
  padding: 24px; text-align: center;
  color: var(--papier);
}
.foto-platz svg { width: min(220px, 70%); opacity: .8; }
.foto-platz figcaption { font-weight: 600; font-size: 17px; max-width: 24ch; }

.muster { margin-top: clamp(48px, 6vw, 88px); }
.muster-titel { font-family: var(--serif); font-size: clamp(22px, 1.8vw + 8px, 32px); line-height: 1.3; max-width: 30ch; }
.brett {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  border-radius: 6px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(243, 235, 221, .25);
}
.brett-feld {
  min-height: clamp(180px, 22vw, 300px);
  display: flex; align-items: flex-end;
  padding: 16px;
  background-size: cover; background-position: center;
}
.brett-feld + .brett-feld { border-left: 2px solid var(--holz); }
.geoelt { background-image: url("img/brett-geoelt.svg"); }
.gebuerstet { background-image: url("img/brett-gebuerstet.svg"); }
.gekalkt { background-image: url("img/brett-gekalkt.svg"); }
.brett-feld span {
  background: var(--papier); color: var(--holz);
  font-weight: 800; font-size: 16px; padding: 6px 12px; border-radius: 3px;
}

/* Ablauf */
.ablauf { padding: clamp(56px, 8vw, 120px) var(--rand); }
.ablauf h2 { font-size: clamp(34px, 3.6vw, 56px); max-width: 18ch; }
.schritte {
  list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid var(--holz);
}
.schritte li { padding: 24px 22px 8px 0; position: relative; }
.schritte li + li { padding-left: 22px; border-left: 1px solid var(--linie); }
.nr { display: block; font-family: var(--serif); font-size: clamp(44px, 4vw, 64px); line-height: 1; color: var(--laerche); margin-bottom: 14px; }

/* Kontakt und Zeiten */
.kontakt {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px);
  padding: clamp(56px, 8vw, 120px) var(--rand);
  border-top: 1px solid var(--linie);
  background: #EDE3D2;
}
.kontakt h2 { font-size: clamp(34px, 4.2vw, 64px); max-width: 16ch; }
.kontakt-liste { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 18px; font-size: clamp(19px, 1vw + 12px, 24px); }
.kontakt-liste li { display: flex; gap: 16px; align-items: flex-start; }
.kontakt-liste svg { width: 26px; height: 26px; fill: var(--laerche); flex: none; margin-top: 4px; }
.kontakt-liste a { text-decoration-thickness: 1px; text-underline-offset: 5px; }
.anfahrt { margin-top: 28px; max-width: 40ch; color: var(--grau); }
.zeiten { border: 2px solid var(--holz); padding: clamp(24px, 3vw, 40px); align-self: start; background: var(--papier); }
.zeiten h3 { font-size: clamp(26px, 2vw + 10px, 36px); margin-bottom: 18px; }
.zeiten table { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.zeiten th, .zeiten td { text-align: left; vertical-align: top; padding: 12px 0; border-top: 1px solid var(--linie); }
.zeiten th { font-weight: 600; padding-right: 16px; }
.zeiten td { text-align: right; white-space: nowrap; }

/* Fuß */
.fuss { padding: 48px var(--rand) 40px; background: var(--holz); color: var(--papier); display: grid; gap: 10px; }
.fuss-marke { font-family: var(--serif); font-size: 40px; line-height: 1; margin-bottom: 8px; }
.fuss-recht { display: flex; gap: 24px; margin-top: 14px; font-size: 16px; }
.fuss-recht a { text-underline-offset: 4px; }
.fuss-konzept { font-size: 15px; color: #D8C9B2; }

/* Bewegung: nur ein ruhiges Einblenden, nur wenn erlaubt */
@media (prefers-reduced-motion: no-preference) {
  .js .zeige { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
  .js .zeige.da { opacity: 1; transform: none; }
}

/* Tablet und Handy */
@media (max-width: 1000px) {
  .nav { display: none; }
  .posten, .posten-gross { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .zeichnung { grid-column: 1 / -1; max-width: 420px; }
  .schritte { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .schritte li, .schritte li + li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-left: 0; border-top: 1px solid var(--linie); }
  .schritte li:first-child { border-top: 2px solid var(--holz); }
  .nr { margin: 0; font-size: 44px; }
  .kontakt { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .konzept { font-size: 12.5px; padding-left: 12px; padding-right: 12px; }
  .kopf { padding-top: 14px; padding-bottom: 14px; }
  .zeichnung { max-width: 300px; }
  .marke-name { font-size: 24px; }
  .marke-ort { font-size: 13px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 28px; }
  .hero-bild { justify-self: center; width: min(72%, 300px); }
  .hero h1 { font-size: clamp(36px, 10vw, 48px); }
  .hero-sub { margin-top: 18px; }
  .aktionen { margin-top: 26px; }
  .aktionen .knopf { flex: 1 1 100%; justify-content: center; }
  .posten, .posten-gross { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .holz-spalten { grid-template-columns: minmax(0, 1fr); }
  .brett { grid-template-columns: minmax(0, 1fr); }
  .brett-feld { min-height: 120px; }
  .brett-feld + .brett-feld { border-left: 0; border-top: 2px solid var(--holz); }
  .zeiten td { white-space: normal; }
}

/* Rechtsseite */
.recht { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }
.recht h1 { font-size: clamp(40px, 6vw, 64px); margin: 28px 0 20px; }
.recht h2 { font-size: clamp(30px, 4vw, 44px); margin: 48px 0 16px; }
.recht table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.recht th, .recht td { text-align: left; vertical-align: top; padding: 10px 16px 10px 0; border-top: 1px solid currentColor; }
.recht th { white-space: nowrap; }
