:root {
  --ink: #161512;
  --ink-soft: #292720;
  --ivory: #f5f1e9;
  --paper: #fffdf8;
  --gold: #c6a35c;
  --gold-light: #e4cc96;
  --line: rgba(22, 21, 18, 0.14);
  --muted: #6c685e;
  --success: #2d6a4f;
  --error: #a12b2b;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(26, 22, 14, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 34px; }
.brand img { width: 164px; height: auto; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 700; }
.nav a:not(.btn):hover { color: #8b6b2e; }
.header-phone { font-size: 13px; color: var(--muted); }
.menu-toggle { display: none; margin-left: auto; border: 0; background: transparent; font-size: 28px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  border: 1px solid transparent; font-weight: 800; font-size: 14px;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { color: #17140e; background: linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow: 0 12px 32px rgba(164, 126, 54, .22); }
.btn-dark { color: #fff; background: var(--ink); }
.btn-light { background: rgba(255,255,255,.88); border-color: rgba(255,255,255,.48); color: var(--ink); }
.btn-outline { border-color: var(--line); background: transparent; }
.btn-block { width: 100%; }

.eyebrow, .section-kicker {
  display: flex; align-items: center; gap: 9px; margin-bottom: 14px;
  color: #9b7835; font-size: 12px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase;
}
.eyebrow::before, .section-kicker::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(43px, 5.5vw, 78px); }
h2 { font-size: clamp(34px, 4vw, 54px); }
h3 { font-size: 25px; }
p { margin: 0; }
.lead { margin-top: 22px; color: rgba(255,255,255,.78); font-size: clamp(18px, 2vw, 22px); max-width: 660px; }
.section-copy { color: var(--muted); max-width: 660px; font-size: 17px; }

.hero {
  position: relative; min-height: 720px; display: flex; align-items: center; overflow: hidden;
  color: #fff; background: var(--ink);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,8,.92) 0%, rgba(10,10,8,.73) 46%, rgba(10,10,8,.18) 78%),
    url("projects/wohnbereich-eiche.webp") center / cover no-repeat;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 190px; background: linear-gradient(transparent, rgba(0,0,0,.3)); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.12fr) minmax(330px,.68fr); gap: 72px; align-items: center; padding: 92px 0; }
.hero-copy h1 span { color: var(--gold-light); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.micro-proof { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 34px; font-size: 13px; color: rgba(255,255,255,.72); }
.micro-proof span::before { content: "✓"; color: var(--gold-light); margin-right: 7px; font-weight: 900; }

.hero-card {
  padding: 30px; border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius);
  background: rgba(255,255,255,.11); backdrop-filter: blur(18px); box-shadow: var(--shadow);
}
.hero-card small { color: var(--gold-light); text-transform: uppercase; letter-spacing: .12em; font-weight: 900; }
.hero-card h2 { margin-top: 8px; font-size: 34px; }
.hero-card p { margin: 14px 0 22px; color: rgba(255,255,255,.75); }
.hero-list { display: grid; gap: 12px; margin: 0 0 24px; padding: 0; list-style: none; font-size: 14px; }
.hero-list li { display: flex; gap: 10px; }
.hero-list li::before { content: "✓"; color: var(--gold-light); font-weight: 900; }

.proof-bar { background: var(--ink); color: #fff; border-top: 1px solid rgba(255,255,255,.13); }
.proof-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.proof-item { padding: 24px 22px; border-right: 1px solid rgba(255,255,255,.12); }
.proof-item:last-child { border: 0; }
.proof-item strong { display: block; font-family: Georgia, serif; font-size: 21px; color: var(--gold-light); }
.proof-item span { font-size: 13px; color: rgba(255,255,255,.68); }

section { padding: 100px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 44px; }
.section-head .section-copy { max-width: 500px; }
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 14px 44px rgba(25,20,12,.055); }
.card-number { color: var(--gold); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.card h3 { margin: 18px 0 12px; }
.card p { color: var(--muted); }
.card-link { display: inline-block; margin-top: 24px; color: #8a692d; font-weight: 800; }

.projects-section { background: var(--ivory); }
.project-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 20px; }
.project-card { position: relative; min-height: 440px; overflow: hidden; border-radius: var(--radius); color: #fff; background: var(--ink); }
.project-card:nth-child(1) { grid-column: span 7; }
.project-card:nth-child(2) { grid-column: span 5; }
.project-card:nth-child(3), .project-card:nth-child(4), .project-card:nth-child(5) { grid-column: span 4; min-height: 360px; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover img { transform: scale(1.025); }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 42%, rgba(0,0,0,.86)); }
.project-meta { position: absolute; z-index: 1; left: 25px; right: 25px; bottom: 23px; }
.project-meta small { color: var(--gold-light); font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.project-meta h3 { margin-top: 7px; }
.project-meta p { margin-top: 8px; color: rgba(255,255,255,.75); font-size: 14px; }

.process { background: var(--ink); color: #fff; }
.process .section-copy { color: rgba(255,255,255,.65); }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.step { padding: 30px; background: var(--ink); }
.step b { color: var(--gold-light); font-size: 13px; letter-spacing: .12em; }
.step h3 { margin: 24px 0 12px; font-size: 24px; }
.step p { color: rgba(255,255,255,.65); font-size: 14px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.image-stack { position: relative; padding: 0 60px 60px 0; }
.image-stack img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); }
.image-stack img:last-child { position: absolute; width: 48%; aspect-ratio: 1/1; right: 0; bottom: 0; border: 8px solid var(--paper); }
.check-list { display: grid; gap: 16px; margin: 28px 0; }
.check { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.check i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #eee1bf; color: #7a5a20; font-style: normal; font-weight: 900; }
.check strong { display: block; }
.check span { color: var(--muted); font-size: 14px; }

.cta-panel { padding: 55px; border-radius: 30px; background: linear-gradient(135deg,#171612,#29251d); color: #fff; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; box-shadow: var(--shadow); }
.cta-panel p { color: rgba(255,255,255,.68); margin-top: 12px; }

.page-hero { padding: 88px 0 70px; background: var(--ivory); }
.page-hero .lead { color: var(--muted); }
.page-hero h1 { max-width: 900px; }
.page-hero .hero-actions { margin-top: 26px; }
.page-hero .btn-light { border-color: var(--line); }

.reference-feature { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; border-radius: 28px; overflow: hidden; background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.reference-feature img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.reference-copy { padding: 48px; align-self: center; }
.reference-copy h2 { margin-bottom: 18px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.fact { padding: 15px; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; }
.fact small { display: block; color: rgba(255,255,255,.5); }
.fact strong { color: var(--gold-light); }
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery figcaption { padding: 16px 18px; font-size: 14px; color: var(--muted); }

.form-shell { display: grid; grid-template-columns: .72fr 1.28fr; gap: 34px; align-items: start; }
.form-aside { position: sticky; top: 110px; padding: 32px; border-radius: var(--radius); color: #fff; background: var(--ink); }
.form-aside h2 { font-size: 34px; }
.form-aside p { margin-top: 14px; color: rgba(255,255,255,.68); }
.form-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.progress-row { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--muted); font-size: 13px; font-weight: 800; }
.progress-track { height: 6px; overflow: hidden; border-radius: 99px; background: #ece6db; margin-bottom: 28px; }
.progress-track span { display: block; width: 25%; height: 100%; background: var(--gold); transition: width .25s ease; }
.form-step { display: none; }
.form-step.active { display: block; animation: appear .25s ease; }
@keyframes appear { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.form-step h2 { font-size: 34px; }
.form-step > p { color: var(--muted); margin: 9px 0 25px; }
.option-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.option { position: relative; padding: 20px 16px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--paper); }
.option input { position: absolute; opacity: 0; }
.option:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(198,163,92,.18); background: #fffaf0; }
.option strong { display: block; }
.option span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1/-1; }
.field label { font-size: 13px; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 25px; }
.result-box { padding: 24px; border-radius: 16px; background: var(--ink); color: #fff; margin-bottom: 22px; }
.result-box small { color: var(--gold-light); font-weight: 800; }
.result-box strong { display: block; margin: 7px 0 4px; font-family: Georgia,serif; font-size: 34px; }
.result-box span { color: rgba(255,255,255,.64); font-size: 13px; }
.privacy { display: flex; gap: 10px; margin-top: 18px; color: var(--muted); font-size: 12px; }
.privacy input { margin-top: 4px; }
.form-status { display: none; margin-top: 15px; padding: 12px 14px; border-radius: 10px; font-size: 13px; }
.form-status.visible { display: block; }
.form-status.error { background: #fbe7e7; color: var(--error); }
.form-status.success { background: #e7f5ed; color: var(--success); }
.hp-field { position: absolute !important; left: -9999px !important; }

.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 34px; }
.contact-panel { padding: 34px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.contact-panel a { display: block; margin-top: 16px; color: var(--gold-light); font-weight: 800; }

.faq { display: grid; gap: 10px; }
.faq details { padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 850; }
.faq p { margin-top: 10px; color: var(--muted); }

.site-footer { padding: 58px 0 94px; background: #11110f; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 50px; }
.footer-brand img { width: 180px; filter: brightness(0) invert(1); }
.footer-brand p { margin-top: 18px; color: rgba(255,255,255,.58); max-width: 430px; }
.footer-col strong { display: block; margin-bottom: 14px; color: var(--gold-light); }
.footer-col a, .footer-col span { display: block; margin: 8px 0; color: rgba(255,255,255,.64); font-size: 14px; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.45); font-size: 12px; }
.mobile-cta { display: none; }

@media (max-width: 900px) {
  .nav, .header-phone { display: none; }
  .menu-toggle { display: block; }
  .nav.open { position: absolute; display: grid; top: 78px; left: 0; right: 0; gap: 0; padding: 12px 20px 22px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open a { padding: 13px 0; }
  .hero { min-height: auto; }
  .hero::before { background: linear-gradient(rgba(10,10,8,.82),rgba(10,10,8,.8)), url("projects/wohnbereich-eiche.webp") center/cover; }
  .hero-grid, .form-shell, .contact-grid, .two-col, .reference-feature { grid-template-columns: 1fr; gap: 34px; }
  .hero-grid { padding: 72px 0; }
  .hero-card { max-width: 580px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item:nth-child(2) { border-right: 0; }
  .cards { grid-template-columns: 1fr; }
  .project-card:nth-child(n) { grid-column: span 6; min-height: 340px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .section-head { display: block; }
  .section-head .section-copy { margin-top: 18px; }
  .cta-panel { grid-template-columns: 1fr; padding: 38px; }
  .form-aside { position: static; }
  .reference-feature img { min-height: 390px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 70px; }
  .brand img { width: 142px; }
  section { padding: 72px 0; }
  h1 { font-size: 43px; }
  .hero-grid { padding: 58px 0 70px; }
  .hero-card, .form-card, .reference-copy, .contact-panel { padding: 24px; }
  .hero-actions .btn { width: 100%; }
  .proof-grid, .steps, .option-grid, .field-grid, .gallery, .footer-grid { grid-template-columns: 1fr; }
  .proof-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .project-grid { display: block; }
  .project-card { margin-bottom: 14px; min-height: 330px !important; }
  .image-stack { padding: 0 28px 40px 0; }
  .facts { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; }
  .mobile-cta { position: fixed; display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; z-index: 45; left: 10px; right: 10px; bottom: 10px; padding: 8px; border-radius: 18px; background: rgba(255,253,248,.96); box-shadow: 0 12px 38px rgba(0,0,0,.24); }
  .mobile-cta .btn { min-height: 46px; padding: 0 12px; }
  .site-footer { padding-bottom: 120px; }
}
