/* Holzwerk Brandt, Schreinerei (Beispiel-Website von Hillcode)
   Stil: werkstatt / vollbild. Weiß, Graphit, Rost, Hellgrau. Archivo + Public Sans. */

@font-face { font-family: "Archivo"; font-weight: 800; font-display: swap; src: url("fonts/archivo-800.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 600; font-display: swap; src: url("fonts/archivo-600.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 400; font-display: swap; src: url("fonts/public-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 600; font-display: swap; src: url("fonts/public-sans-600.woff2") format("woff2"); }

:root {
  --white: #ffffff;
  --ink: #1B1D1F;
  --ink-soft: #4A5056;
  --rust: #B3541E;
  --rust-dark: #96441A;
  --grey: #EEF0F1;
  --line: #D5D9DC;
  --line-dark: #3A3E42;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --text: "Public Sans", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --space: clamp(72px, 9vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.08; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0 0 14px;
}
.eyebrow--light { color: #F0B48F; }

.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(34px, 4.4vw, 56px); }

/* ---------- Knöpfe ---------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 14px 26px;
  font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: 0.01em;
  text-decoration: none; border: 2px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.btn--main { background: var(--rust); color: var(--white); }
.btn--main:hover { background: var(--rust-dark); }
.btn--quiet { padding-inline: 0; min-height: 44px; color: var(--ink); border-bottom: 2px solid var(--ink); border-radius: 0; }
.btn--quiet:hover { color: var(--rust); border-bottom-color: var(--rust); }

/* ---------- Kopf ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.01em; }
.brand__sub { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-family: var(--display); font-weight: 600; font-size: 17px; text-decoration: none; padding-block: 10px; }
.nav a:hover { color: var(--rust); }
.nav .nav__cta { background: var(--ink); color: var(--white); padding: 12px 20px; border-radius: 2px; }
.nav .nav__cta:hover { background: var(--rust); color: var(--white); }
.icon-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; justify-content: center; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 17px; }
.icon-btn svg { color: var(--rust); }
.menu-btn { display: none; }

@media (max-width: 980px) {
  .icon-btn__text { display: none; }
  .icon-btn { border: 2px solid var(--ink); border-radius: 2px; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
    background: var(--ink); color: var(--white); border: 0; border-radius: 2px;
    font-family: var(--display); font-weight: 600; font-size: 16px; cursor: pointer;
  }
  .menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
  .menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
  .menu-btn__bars::before { top: -6px; }
  .menu-btn__bars::after { top: 6px; }
  .menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-btn__bars::before { top: 0; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__bars::after { top: 0; transform: rotate(-45deg); }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 19px; }
  .nav .nav__cta { margin-top: 14px; text-align: center; border-bottom: 0; }
}
@media (max-width: 420px) {
  .menu-btn__label { display: none; }
  .menu-btn { width: 48px; justify-content: center; padding: 0; }
  .brand__name { font-size: 21px; }
}

/* ---------- Hero (Vollbild) ---------- */
.hero { position: relative; background: var(--ink); }
.hero__media img {
  width: 100%;
  height: clamp(560px, calc(100svh - 128px), 820px);
  object-fit: cover;
  object-position: 62% 50%;
}
.hero__panel {
  position: absolute;
  left: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  bottom: 0;
  width: min(660px, 54%);
  background: var(--white);
  padding: 44px 52px 46px;
}
.hero__panel::before { content: ""; position: absolute; left: 0; top: 0; width: 72px; height: 6px; background: var(--rust); }
.hero h1 { font-size: clamp(42px, 5.6vw, 76px); margin-bottom: 20px; }
.lead { font-size: 20px; line-height: 1.55; color: var(--ink-soft); max-width: 34em; margin-bottom: 28px; }

@media (max-width: 820px) {
  .hero { background: var(--white); }
  .hero__media img { height: auto; aspect-ratio: 16 / 10; object-position: 55% 60%; }
  .hero__panel { position: relative; left: auto; bottom: auto; width: auto; padding: 30px var(--gutter) 36px; }
  .hero__panel::before { left: var(--gutter); }
  .hero h1 { font-size: clamp(38px, 10.4vw, 52px); margin-bottom: 14px; }
  .lead { font-size: 18px; margin-bottom: 22px; }
  .actions { gap: 10px 24px; }
}

/* ---------- Faktenzeile ---------- */
.facts {
  list-style: none; margin-block: 0; padding-top: 34px; padding-bottom: 34px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.facts li { padding: 4px 24px; border-left: 1px solid var(--line); color: var(--ink-soft); font-size: 17px; line-height: 1.45; }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--ink); margin-bottom: 4px; }
@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 420px) { .facts li { padding: 4px 14px; } .facts strong { font-size: 21px; } }

/* ---------- Leistungen ---------- */
.services__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.services__intro { align-self: start; position: sticky; top: 32px; }
.services__intro h2 { margin-bottom: 24px; }
.services__intro p:last-child { color: var(--ink-soft); max-width: 30em; }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.service-list li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px 32px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.service-list h3 { font-size: 23px; font-weight: 600; letter-spacing: -0.005em; line-height: 1.25; }
.service-list p { margin: 0; color: var(--ink-soft); }
@media (max-width: 900px) {
  .services__grid { grid-template-columns: 1fr; }
  .services__intro { position: static; }
  .service-list li { grid-template-columns: 1fr; padding: 22px 0; }
}

/* ---------- Arbeiten ---------- */
.works { padding-top: 0; }
.works__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); align-items: start; }
.work { margin: 0; }
.work img { width: 100%; height: auto; }
.work figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; font-size: 17px; color: var(--ink-soft); }
.work figcaption strong { font-family: var(--display); font-weight: 600; font-size: 21px; color: var(--ink); }
.work--a { grid-column: 1 / span 7; }
.work--b { grid-column: 8 / span 5; margin-top: clamp(60px, 10vw, 160px); }
.work--c { grid-column: 1 / span 5; margin-top: clamp(24px, 3vw, 40px); }
.work--d { grid-column: 6 / span 7; margin-top: clamp(80px, 12vw, 180px); }
@media (max-width: 760px) {
  .works__grid { grid-template-columns: 1fr; gap: 36px; }
  .work--a, .work--b, .work--c, .work--d { grid-column: auto; margin-top: 0; }
  .work--b img { aspect-ratio: 4 / 3; object-fit: cover; }
}

/* ---------- Haltung (Band in Hausfarbe) ---------- */
.stance { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--rust); color: var(--white); }
/* Bild füllt die Rasterzelle absolut: eine prozentuale Höhe im auto-Raster ist zirkulär und ließ headless Chrome beim Ganzseiten-Screenshot hängen */
.stance__img { position: relative; min-height: 420px; margin: 0; }
.stance__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stance__text { padding: clamp(48px, 7vw, 112px) clamp(24px, 6vw, 96px); align-self: center; max-width: 820px; }
.stance .eyebrow--light { color: #FFE2CF; font-size: 15px; letter-spacing: 0.1em; line-height: 1.4; }
.stance__quote { font-family: var(--display); font-weight: 600; font-size: clamp(27px, 3vw, 40px); line-height: 1.22; letter-spacing: -0.01em; margin-bottom: 32px; text-wrap: pretty; }
.stance__note { font-size: 18px; color: #FFEDE2; max-width: 36em; margin: 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .35); }
@media (max-width: 820px) {
  .stance { grid-template-columns: 1fr; }
  .stance__img { min-height: 0; }
  .stance__img img { position: static; aspect-ratio: 16 / 10; height: auto; }
}

/* ---------- Ablauf ---------- */
.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.step-list li { position: relative; padding: 30px 24px 0 0; }
.step-list li::before { content: ""; position: absolute; left: 0; top: -2px; width: calc(100% - 24px); height: 6px; background: transparent; }
.step-list li:first-child::before { background: var(--rust); }
.step-list h3 { font-size: 23px; font-weight: 800; margin-bottom: 12px; line-height: 1.2; }
.step-list p { margin: 0; color: var(--ink-soft); font-size: 17px; }
@media (max-width: 980px) {
  .step-list { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); }
  .step-list li { padding: 0 0 30px 28px; }
  .step-list li:last-child { padding-bottom: 0; }
  .step-list li::before { left: -2px; top: 0; width: 6px; height: 34px; }
}

/* ---------- Einzugsgebiet ---------- */
.area { background: var(--grey); }
.area__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.area__text h2 { margin-bottom: 22px; }
.area__text > p { color: var(--ink-soft); max-width: 32em; }
.places { list-style: none; margin: 28px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.places li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid #C9CED2; }
.places li span:first-child { font-weight: 600; }
.places li span:last-child { color: var(--ink-soft); white-space: nowrap; }
.area__places { margin-top: 0; }
@media (max-width: 900px) { .area__grid { grid-template-columns: 1fr; } }

/* ---------- Anfrage (Kontaktformular) ---------- */
.enquiry { background: var(--ink); color: var(--white); }
.enquiry__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.enquiry__aside h2 { margin-bottom: 22px; }
.enquiry__aside > p { color: #C9CDD1; }
.contact { margin: 34px 0 0; border-top: 1px solid var(--line-dark); }
.contact div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.contact dt { font-family: var(--display); font-weight: 600; color: #F0B48F; font-size: 17px; }
.contact dd { margin: 0; overflow-wrap: anywhere; }
.contact a { text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 4px; }
.contact a:hover { color: #F0B48F; }
.jobs { margin-top: 30px; font-size: 17px; color: #C9CDD1; }
.jobs strong { color: var(--white); }

.form { background: var(--white); color: var(--ink); padding: clamp(24px, 4vw, 48px); display: grid; gap: 22px; }
.field { display: grid; gap: 8px; margin: 0; min-width: 0; }
.field label, .dims legend { font-family: var(--display); font-weight: 600; font-size: 17px; }
.opt { font-family: var(--text); font-weight: 400; color: var(--ink-soft); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="number"], .form select, .form textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: inherit; font-size: 17px; color: var(--ink);
  background: var(--white); border: 1.5px solid #9AA1A7; border-radius: 2px;
}
.form textarea { resize: vertical; min-height: 120px; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--rust); outline-offset: 1px; border-color: var(--ink); }
.form ::placeholder { color: #6B7279; }
.dims { border: 0; padding: 0; }
.dims legend { padding: 0; margin-bottom: 8px; }
.dims__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dims__row div { display: grid; gap: 6px; }
.dims__row label { font-family: var(--text); font-weight: 400; font-size: 16px; color: var(--ink-soft); }
.form input[type="file"] { font: inherit; font-size: 16px; padding: 12px; border: 1.5px dashed #9AA1A7; border-radius: 2px; background: var(--grey); width: 100%; }
.form input[type="file"]::file-selector-button { font-family: var(--display); font-weight: 600; font-size: 16px; margin-right: 14px; padding: 10px 16px; min-height: 44px; border: 0; border-radius: 2px; background: var(--ink); color: var(--white); cursor: pointer; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 16px; color: var(--ink-soft); }
.check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--rust); }
.check a { color: var(--ink); }
.form .btn { justify-self: start; }
.hc-form-note { margin: 0; padding: 14px 16px; background: var(--grey); border-left: 4px solid var(--rust); font-size: 17px; }
@media (max-width: 900px) { .enquiry__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .dims__row { gap: 8px; }
  .form .btn { justify-self: stretch; }
  .contact div { grid-template-columns: 1fr; gap: 2px; }
  .form { padding: 22px 18px 26px; margin-inline: calc(var(--gutter) * -0.5); }
}

/* ---------- Fuß ---------- */
.site-footer { background: #111314; color: #C9CDD1; padding-block: 44px; font-size: 17px; }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1.4fr 1fr; gap: 24px 48px; align-items: start; }
.site-footer p { margin: 0; }
.site-footer__name { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--white); margin-bottom: 6px !important; }
.site-footer a { color: inherit; text-underline-offset: 4px; }
.site-footer a:hover { color: var(--white); }
.site-footer__links { display: flex; gap: 24px; justify-content: flex-end; }
.site-footer__links a { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 760px) { .site-footer__inner { grid-template-columns: 1fr; } .site-footer__links { justify-content: flex-start; } }
