/* EBS Holzbau – Hausfarben und Grundstil
   Schrift: Carlito (lokal eingebunden, metrisch gleich Calibri) */

@font-face { font-family: "Carlito"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/carlito-400.woff2") format("woff2"); }
@font-face { font-family: "Carlito"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/carlito-700.woff2") format("woff2"); }

:root {
  --gruen: #121212;
  --gruen-dunkel: #121212;
  --mittelgruen: #2B2B2B;
  --bronze: #A47C54;
  --bronze-hell: #A47C54;
  --bronze-dunkel: #7A5A38;
  --creme: #FFFFFF;
  --sand: #F5F4F2;
  --grau: #6B6B6B;
  --linie: #E3E2DF;
  --weiss: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--creme); color: var(--gruen); font-family: Carlito, Calibri, "Segoe UI", Arial, sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gruen); }
a:hover { color: var(--bronze-dunkel); }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--bronze); outline-offset: 2px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--weiss { background: var(--weiss); }
.section--sand { background: var(--sand); }
.section--dunkel { background: var(--gruen); color: var(--creme); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-dunkel); }
.section--dunkel .eyebrow { color: var(--bronze-hell); }
.h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 900; }
.lead { color: var(--mittelgruen); }
.section--dunkel .lead { color: var(--sand); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.kopfzeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.kopfzeile > .stack { flex: 1 1 520px; }
.kopfzeile > p { flex: 1 1 360px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--creme); padding: 10px 16px; }

/* Buttons */
.btn { display: inline-block; white-space: nowrap; padding: 15px 26px; font-weight: 700; font-size: 16px; text-decoration: none; border-radius: 2px; border: 1px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn--bronze { background: #FFFFFF; color: #121212; }
.btn--bronze:hover { background: #E3E2DF; color: #121212; }
.btn--rahmen { border-color: var(--bronze-hell); color: var(--creme); }
.btn--rahmen:hover { background: rgba(201,165,126,.12); color: var(--creme); }
.btn--gruen { background: var(--gruen); color: var(--creme); }
.btn--gruen:hover { background: var(--mittelgruen); color: var(--creme); }

/* Kopfband */
.header { background: var(--gruen); color: var(--creme); position: sticky; top: 0; z-index: 50; border-bottom: 4px solid var(--bronze); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 14px; padding-bottom: 14px; }
.marke { display: flex; align-items: center; gap: 14px; color: var(--creme); text-decoration: none; }
.marke:hover { color: var(--creme); }
.marke img { height: 42px; width: auto; }
.marke span { font-size: 21px; letter-spacing: .06em; white-space: nowrap; }
.marke strong { font-weight: 700; color: #FFFFFF; }
.marke em { font-style: normal; color: var(--bronze); }
.nav { display: flex; align-items: center; gap: 8px 28px; font-size: 15px; }
.nav a { color: var(--creme); text-decoration: none; padding: 12px 0; }
.nav a:hover { color: var(--bronze-hell); }
.nav .btn { padding: 12px 20px; color: #121212; }
@media (max-width: 900px) { .nav a:not(.btn) { display: none; } }
@media (max-width: 420px) { .marke span { font-size: 18px; } .marke img { height: 36px; } .nav .btn { padding: 10px 14px; font-size: 14px; } }

/* Hero */
.hero { background-color: var(--gruen); color: var(--creme); background-image: linear-gradient(rgba(232,220,201,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(232,220,201,.05) 1px, transparent 1px); background-size: 32px 32px; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-top: 72px; padding-bottom: 80px; }
.hero__text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 56px); font-weight: 900; line-height: 1.08; letter-spacing: -.01em; }
.hero__sub { font-size: 20px; line-height: 1.5; color: var(--sand); max-width: 520px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.hero figure { flex: 1 1 560px; min-width: 0; margin: 0; }
.bildtext { font-size: 13px; letter-spacing: .04em; color: var(--bronze-hell); border-top: 1px solid var(--mittelgruen); padding-top: 10px; margin-top: 10px; }

/* Leistungszeile */
.zeile { background: var(--sand); border-bottom: 1px solid var(--linie); }
.zeile .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 22px; padding-bottom: 22px; font-size: 15px; font-weight: 700; letter-spacing: .06em; }
.zeile .punkt { color: var(--bronze-dunkel); }
@media (max-width: 700px) { .zeile .punkt { display: none; } .zeile .wrap { justify-content: flex-start; gap: 8px 24px; } }

/* Listen mit Bronzepunkt */
.punkte { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sand); }
.punkte li { padding: 14px 0 14px 22px; border-bottom: 1px solid var(--sand); position: relative; font-size: 16px; line-height: 1.5; }
.punkte li::before { content: ""; position: absolute; left: 0; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--bronze); }

/* Was ist CLT */
.clt { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.clt__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.clt__bild { flex: 1 1 360px; min-width: 0; margin: 0; display: flex; align-items: center; gap: 20px; }
.clt__bild picture { width: 62%; flex: none; }
.lagen { flex: 1; display: flex; flex-direction: column; gap: 22px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--mittelgruen); }
.lagen .quer { color: var(--bronze-dunkel); }
.lagen .hinweis { font-weight: 400; letter-spacing: 0; font-size: 14px; line-height: 1.5; color: var(--grau); border-top: 1px solid var(--sand); padding-top: 12px; }

/* Bildband */
.band { position: relative; background: var(--gruen); }
.band img { width: 100%; height: 420px; object-fit: cover; opacity: .55; }
.band blockquote { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; padding: 24px; }
.band p { max-width: 820px; text-align: center; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.3; font-weight: 900; color: var(--creme); }

/* Leistungen */
.zweispaltig { display: flex; flex-wrap: wrap; gap: 56px; }
.zweispaltig__haupt { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.zweispaltig__bild { flex: 1 1 340px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.zweispaltig__bild img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.zweispaltig__bild figcaption { font-size: 13px; color: var(--grau); }
.karten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.karte { background: var(--weiss); border-top: 3px solid var(--bronze); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.karte .nr { font-size: 30px; font-weight: 900; color: var(--bronze); line-height: 1; }
.karte strong { font-size: 20px; }
.karte span:last-child { font-size: 16px; line-height: 1.55; color: var(--mittelgruen); }
.hinweisbox { padding: 16px 20px; background: var(--sand); font-size: 16px; line-height: 1.5; }

/* Digitale Planung */
.schritte { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--bronze); }
.schritte li { padding: 24px 24px 8px 0; display: flex; flex-direction: column; gap: 8px; }
.schritte .nr { font-size: 30px; font-weight: 900; color: var(--bronze-hell); line-height: 1; }
.schritte strong { font-size: 18px; }
.schritte span:last-child { font-size: 15px; line-height: 1.55; color: var(--sand); }
.vorteil { margin-top: 40px; border: 1px solid var(--bronze); padding: 24px 28px; display: flex; flex-direction: column; gap: 8px; }
.vorteil strong { color: var(--bronze-hell); }

/* Argumente */
.argumente { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 32px; }
.argumente div { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--bronze); padding-top: 14px; }
.argumente strong { font-size: 18px; }
.argumente span { font-size: 15px; line-height: 1.55; color: var(--mittelgruen); }

/* Vergleich */
.tabelle { overflow-x: auto; margin-top: 32px; }
table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
thead tr { background: var(--gruen); color: var(--creme); text-align: left; }
thead th { padding: 14px 18px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
thead th.clt-spalte { color: var(--bronze-hell); }
tbody tr { border-bottom: 1px solid var(--sand); }
tbody th { padding: 14px 18px; text-align: left; background: var(--creme); }
tbody td { padding: 14px 18px; color: var(--mittelgruen); }
tbody td:first-of-type { font-weight: 700; color: var(--gruen); }
.fussnote { margin-top: 16px; font-size: 14px; color: var(--grau); }

/* Team */
.team { display: flex; flex-wrap: wrap; gap: 24px; }
.team > img { flex: 1 1 440px; min-width: 0; width: 100%; height: 380px; object-fit: cover; object-position: 50% 30%; }
.team__karten { flex: 1 1 440px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.person { background: var(--creme); border-top: 3px solid var(--bronze); padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; }
.person strong { font-size: 20px; display: block; }
.person .rolle { font-size: 15px; color: var(--grau); }
.person ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.5; color: var(--mittelgruen); }

/* Kontakt */
.kontakt { display: flex; flex-wrap: wrap; gap: 56px; }
.kontakt__info { flex: 1 1 380px; display: flex; flex-direction: column; gap: 20px; }
.adresse { background: var(--weiss); border-top: 3px solid var(--bronze); padding: 24px; display: flex; flex-direction: column; gap: 18px; font-size: 16px; line-height: 1.5; }
.adresse__personen { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; border-top: 1px solid var(--sand); padding-top: 16px; }
.adresse a { display: inline-block; padding: 4px 0; }
.formular { flex: 1 1 520px; background: var(--weiss); padding: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.formular .voll { grid-column: 1 / -1; }
.formular label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.formular input, .formular select, .formular textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px; border: 1px solid #b9aa92; background: var(--creme); border-radius: 2px; color: var(--gruen); width: 100%; }
.formular textarea { resize: vertical; min-height: 120px; }
.formular input[type=file] { border-style: dashed; border-color: var(--bronze); font-size: 15px; }
.formular .klein { font-weight: 400; font-size: 13px; color: var(--grau); }
.formular .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14px; line-height: 1.5; }
.formular .check input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--gruen); }
.formular .absenden { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .formular { grid-template-columns: minmax(0, 1fr); padding: 22px; } .section { padding: 64px 0; } }

/* Fußband */
.footer { background: var(--gruen); color: var(--sand); border-top: 4px solid var(--bronze); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 48px; padding-bottom: 32px; font-size: 14px; line-height: 1.6; }
.footer .marke span { font-size: 20px; }
.footer .spalte { display: flex; flex-direction: column; gap: 6px; }
.footer nav { display: flex; gap: 24px; align-items: flex-start; }
.footer a { color: var(--sand); padding: 4px 0; }
.footer a:hover { color: var(--bronze-hell); }

/* Unterseiten (Impressum, Datenschutz, Danke) */
.text { max-width: 820px; }
.text h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 900; margin-bottom: 32px; }
.text h2 { font-size: 22px; font-weight: 700; margin: 36px 0 10px; }
.text h3 { font-size: 18px; font-weight: 700; margin: 24px 0 8px; }
.text p, .text ul { margin: 0 0 14px; }
.text ul { padding-left: 20px; }
.platzhalter { background: #fff3cd; padding: 0 4px; }
.entwurf { background: #fff3cd; border-left: 0; border-top: 3px solid #c79a2a; padding: 14px 18px; margin-bottom: 32px; font-size: 15px; }
