@font-face {
  font-family: "Archivo";
  src: url("/beispiel/holzwerkstatt/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
:root {
  --bg: #efefeb;
  --surface: #fafaf8;
  --text: #1a1a18;
  --muted: #55544f;
  --line: #d6d5cf;
  --control: #75746e;
  --accent: #b3401d;
  --accent-text: #ffffff;
  --oak: #c79a60;
  --block: #1a1a18;
  --block-text: #efefeb;
  --focus: #1d4ed8;
  --error: #b42318;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121211;
    --surface: #1b1b19;
    --text: #edece7;
    --muted: #b3b1aa;
    --line: #34332f;
    --control: #8e8c85;
    --accent: #ff8c61;
    --accent-text: #1f0b03;
    --block: #232320;
    --focus: #8fb3ff;
    --error: #ff9d92;
  }
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 5.5rem; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Archivo", "Helvetica Neue", Arial, sans-serif; font-size: 1.0625rem; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.wrap { width: min(100% - 2.5rem, 78rem); margin-inline: auto; }
h1, h2, h3 { margin: 0; line-height: 1.02; text-wrap: balance; overflow-wrap: break-word; font-stretch: 118%; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); }
h3 { font-size: 1.375rem; font-stretch: 110%; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
p, li, dd { overflow-wrap: break-word; hyphens: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: 0; transform: translateY(-120%); background: var(--text); color: var(--bg); padding: 0.75rem 1rem; z-index: 30; font-weight: 700; }
.skip:focus { transform: translateY(1rem); }
.demo-note { background: var(--accent); color: var(--accent-text); font-size: 0.9375rem; }
.demo-note p { margin: 0; padding-block: 0.5rem; }
.demo-note a { font-weight: 700; }
.demo-note a:focus-visible { outline-color: currentColor; }

.btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 700; font-stretch: 108%; background: var(--accent); color: var(--accent-text); border: 2px solid var(--accent); border-radius: 0.375rem; padding: 0.8125rem 1.5rem; text-decoration: none; cursor: pointer; transition: transform 0.15s ease, filter 0.2s ease; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn-light { background: transparent; color: #ffffff; border-color: #ffffff; }
.btn-small { padding: 0.5rem 1rem; font-size: 0.9375rem; }

.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; padding-block: 0.75rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; margin: 0; font-weight: 800; font-stretch: 125%; font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1.05; }
.brand small { display: block; font-size: 0.75rem; font-weight: 500; font-stretch: 100%; letter-spacing: 0; color: var(--muted); }
.brand-mark { width: 2.25rem; height: 2.25rem; flex: none; background: linear-gradient(135deg, var(--accent) 0 50%, var(--oak) 50% 100%); border-radius: 0.25rem; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; display: inline-block; padding-block: 0.5rem; font-weight: 600; }
.site-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; }

/* Hero: photo behind, facts bar below */
.hero { position: relative; color: #ffffff; background: #141412; display: grid; min-height: min(86vh, 52rem); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(20 20 18 / 0.9) 0%, rgb(20 20 18 / 0.7) 45%, rgb(20 20 18 / 0.15) 100%); }
.hero-inner { position: relative; z-index: 2; align-self: center; padding-block: 5rem 3rem; }
.hero-inner h1 { max-width: 14ch; }
.hero-inner p { font-size: 1.25rem; max-width: 34rem; margin: 1.5rem 0 2rem; color: rgb(255 255 255 / 0.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-actions .btn:focus-visible, .hero-facts :focus-visible { outline-color: #ffffff; }
.hero-facts { position: relative; z-index: 2; align-self: end; background: var(--accent); color: var(--accent-text); }
.hero-facts dl { margin-block: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0.25rem 2rem; padding-block: 1.25rem; }
.hero-facts dt { font-size: 0.8125rem; font-weight: 600; opacity: 0.85; }
.hero-facts dd { margin: 0; font-weight: 800; font-stretch: 112%; font-size: 1.25rem; }
@media (prefers-reduced-motion: no-preference) {
  .hero-bg { animation: settle 1.4s cubic-bezier(0.16, 1, 0.3, 1) both; }
  @keyframes settle { from { transform: scale(1.06); } }
}

.section { padding-block: 5.5rem; }
.section-head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: 3rem; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.1875rem; }

/* Bento */
.bento { display: grid; gap: 1rem; }
@media (min-width: 56rem) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(14rem, auto); }
  .t-kitchen { grid-column: 1 / 3; grid-row: 1 / 3; }
  .t-closet { grid-column: 3 / 5; grid-row: 1; }
  .t-stairs { grid-column: 3; grid-row: 2; }
  .t-repair { grid-column: 4; grid-row: 2; }
  .t-shop { grid-column: 1 / 5; grid-row: 3; min-height: 12rem; }
}
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 0.75rem; padding: 1.75rem; display: flex; flex-direction: column; justify-content: end; gap: 0.625rem; position: relative; overflow: hidden; }
.tile p { margin: 0; color: var(--muted); }
.tile-photo { padding: 0; justify-content: stretch; }
.tile-photo img { width: 100%; flex: 1; object-fit: cover; min-height: 14rem; }
.tile-photo .tile-body { padding: 1.5rem 1.75rem 1.75rem; display: grid; gap: 0.5rem; }
.tile-accent { background: var(--accent); color: var(--accent-text); border: 0; }
.tile-accent h3 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); }
.tile-accent p { color: inherit; opacity: 0.9; max-width: 30rem; }
.tile-link { font-weight: 700; margin-top: 0.5rem; }
.tile-link:focus-visible { outline-color: currentColor; }
.tile-wood { background-image: linear-gradient(0deg, rgb(20 20 18 / 0.85), rgb(20 20 18 / 0.5)), url("/beispiel/holzwerkstatt/img/holz.webp"); background-size: cover; background-position: center; color: #f3f3ef; border: 0; }
.tile-wood p { color: inherit; opacity: 0.9; }

/* Planner */
.planner { background: var(--block); color: var(--block-text); }
.planner .section-head p { color: inherit; opacity: 0.8; }
.planner-grid { display: grid; gap: 2.5rem; }
@media (min-width: 60rem) { .planner-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4rem; align-items: start; } }
.planner-form { display: grid; gap: 1.75rem; }
.planner :focus-visible { outline-color: #ffb08f; }
.range { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 1rem; align-items: baseline; }
.range label { font-weight: 700; }
.range output { font-weight: 800; font-stretch: 115%; font-size: 1.375rem; font-variant-numeric: tabular-nums; }
.range input { grid-column: 1 / -1; width: 100%; accent-color: #ff8c61; height: 2rem; margin: 0; }
.planner fieldset { border: 0; padding: 0; margin: 0; }
.planner legend { font-weight: 700; padding: 0; margin-bottom: 0.75rem; }
.woods { display: grid; grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); gap: 0.625rem; }
.wood { position: relative; }
.wood input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.wood span { display: grid; gap: 0.5rem; padding: 0.625rem; border: 2px solid rgb(239 239 235 / 0.25); border-radius: 0.5rem; font-weight: 600; font-size: 0.9375rem; }
.wood i { display: block; height: 2.5rem; border-radius: 0.25rem; background: var(--w); box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.15); }
.wood input:checked + span { border-color: #ff8c61; background: rgb(255 140 97 / 0.12); }
.wood input:focus-visible + span { outline: 3px solid #ffb08f; outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 0.5rem 1rem; border: 2px solid var(--control); border-radius: 0.375rem; font-weight: 600; }
.planner .chip span { border-color: rgb(239 239 235 / 0.35); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.planner .chip input:checked + span { background: #ff8c61; border-color: #ff8c61; color: #1f0b03; }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.planner .chip input:focus-visible + span { outline-color: #ffb08f; }
.planner-result { display: grid; gap: 1.5rem; }
@media (min-width: 60rem) { .planner-result { position: sticky; top: 6rem; } }
.sketch { background: #f5f4ef; border-radius: 0.75rem; padding: 1rem; background-image: linear-gradient(rgb(26 26 24 / 0.06) 1px, transparent 1px), linear-gradient(90deg, rgb(26 26 24 / 0.06) 1px, transparent 1px); background-size: 24px 24px; }
.sketch svg { width: 100%; height: auto; display: block; }
.estimate-label { margin: 0; font-weight: 600; opacity: 0.8; }
.estimate-price { margin: 0.125rem 0 0.5rem; font-weight: 800; font-stretch: 120%; font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.estimate-text { margin: 0 0 1.25rem; opacity: 0.85; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { counter-increment: step; border-top: 4px solid var(--text); padding-top: 1.25rem; display: grid; gap: 0.5rem; align-content: start; }
.steps li::before { content: counter(step, decimal-leading-zero); font-weight: 800; font-stretch: 125%; font-size: 2.5rem; line-height: 1; color: var(--accent); }
.steps p { margin: 0; color: var(--muted); }
.duration { justify-self: start; margin-top: 0.5rem; font-size: 0.8125rem; font-weight: 700; padding: 0.1875rem 0.625rem; border: 1px solid var(--line); border-radius: 999px; }

/* Workshop */
.workshop { padding-top: 0; }
.workshop-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 56rem) { .workshop-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4.5rem; } }
.collage { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1rem; align-items: end; }
.collage img { border-radius: 0.75rem; width: 100%; object-fit: cover; }
.collage img:first-child { aspect-ratio: 4 / 5; }
.collage img:last-child { aspect-ratio: 1 / 1; margin-bottom: 3rem; }
.workshop p { color: var(--muted); font-size: 1.125rem; margin: 1.25rem 0 0; }
.woodlist { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.woodlist li { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1rem; padding-block: 0.875rem; border-bottom: 1px solid var(--line); }
.woodlist strong { font-stretch: 112%; }
.woodlist span { color: var(--muted); }

/* Contact */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 56rem) { .contact-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4.5rem; } }
.contact-grid > div > p { color: var(--muted); font-size: 1.125rem; }
address { font-style: normal; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.tel { font-weight: 800; font-stretch: 115%; font-size: 1.5rem; }
form { display: grid; gap: 1.25rem; }
form fieldset { border: 0; margin: 0; padding: 0; }
form legend { font-weight: 700; padding: 0; margin-bottom: 0.625rem; }
.row { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 0.375rem; align-content: start; }
.field label { font-weight: 700; }
input[type="text"], input[type="email"], textarea { font: inherit; color: var(--text); background: var(--bg); width: 100%; border: 2px solid var(--control); border-radius: 0.375rem; padding: 0.6875rem 0.875rem; }
input[type="file"] { font: inherit; }
textarea { min-height: 7.5rem; resize: vertical; }
.hint { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.req { font-weight: 400; color: var(--muted); }
.error { margin: 0; color: var(--error); font-weight: 600; font-size: 0.9375rem; }
.error:empty { display: none; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.plan-note { margin: 0; padding: 0.875rem 1rem; border: 1px solid var(--line); border-radius: 0.5rem; background: var(--bg); font-weight: 600; }
.form-status:empty { display: none; }
.form-status { margin: 0; padding: 1rem; border-radius: 0.5rem; background: var(--bg); font-weight: 700; border: 2px solid var(--accent); }

.site-footer { background: #141412; color: #efefeb; padding-block: 2.5rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.site-footer .brand small { color: #b3b1aa; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.9375rem; }
.site-footer a { display: inline-block; padding-block: 0.25rem; }
.site-footer :focus-visible { outline-color: currentColor; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
input[type="file"]::file-selector-button { font: inherit; font-weight: 700; margin-right: 0.875rem; padding: 0.5rem 1rem; border-radius: 0.375rem; border: 2px solid var(--text); background: transparent; color: var(--text); cursor: pointer; }
