/* Werkhaus Fertigbau – Stylesheet */
@font-face { font-family: "Manrope"; src: url("fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --beige: #F4F0E8;
  --light: #FBF9F4;
  --line: #E2DBCD;
  --dark: #1F2326;
  --accent: #A84A24;
  --text: #45433F;
  --eyebrow: #9A4422;
  --muted: #5C5A55;
  --peach: #F0B48F;
  --onDark: #CFC9BD;
  --wrap: 1200px;
  --gutter: 24px;
  --section: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; background: var(--beige); color: var(--text); font-family: "Manrope", "DM Sans", Arial, sans-serif; font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Manrope", "DM Sans", Arial, sans-serif; font-weight: 800; color: var(--dark); margin: 0; }
h1 { font-size: 60px; line-height: 1.08; letter-spacing: -0.025em; }
h2 { font-size: 42px; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.bg-beige { background: var(--beige); }
.bg-light { background: var(--light); }
.bg-dark { background: var(--dark); color: var(--onDark); }
.bg-accent { background: var(--accent); color: #fff; }
.lines { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.line-top { border-top: 1px solid var(--line); }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--eyebrow); margin-bottom: 16px; }
.lead { font-size: 19px; max-width: 520px; }
.stack > * + * { margin-top: 24px; }
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 4px; font-family: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #8f3d1c; }
.btn-ghost { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-ghost:hover { background: var(--dark); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-block { width: 100%; }
.text-link { font-size: 15px; font-weight: 700; color: var(--eyebrow); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; }
.topbar { background: var(--dark); color: #E9E4DA; font-size: 14px; }
.topbar .wrap { height: 40px; display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
.topbar a { text-decoration: none; }
.navbar { background: var(--light); border-bottom: 1px solid var(--line); }
.navbar .wrap { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.logo-main { font-family: "Manrope", Arial, sans-serif; font-weight: 800; font-size: 24px; color: var(--dark); }
.logo-sub { font-size: 11px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font-size: 15px; font-weight: 600; color: var(--dark); text-decoration: none; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav .btn { padding: 12px 22px; font-size: 15px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--dark); margin: 6px 0; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid-2.top { align-items: start; }
.grid-2.bottom { align-items: end; }
.grid-2.wide-gap { gap: 72px; }
.grid-2.split-40 { grid-template-columns: 2fr 3fr; }
.grid-2.split-33 { grid-template-columns: 1fr 2fr; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.mt-48 { margin-top: 48px; }

/* Images */
.photo { border-radius: 6px; overflow: hidden; background: var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.h-480 { height: 480px; } .h-440 { height: 440px; } .h-400 { height: 400px; } .h-220 { height: 220px; }

/* Hero */
.hero { padding: 80px 0 70px; }

/* Cards */
.card { background: var(--light); border: 1px solid var(--line); border-radius: 6px; padding: 32px; }
.card h3 { font-family: "Manrope", sans-serif; font-size: 20px; font-weight: 700; margin: 16px 0 10px; }
.card p { font-size: 16px; }
.icon { width: 36px; height: 36px; color: var(--accent); }
.bg-dark .icon { color: var(--peach); }

/* Leistungen list */
.arrow-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.arrow-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 700; color: var(--dark); }
.arrow-list li::before { content: "→"; color: var(--accent); margin-right: 10px; }

/* Zahlen */
.stats { padding: 64px 0; }
.stat-num { font-family: "Manrope", Arial, sans-serif; font-weight: 800; font-size: 48px; line-height: 1.1; color: var(--peach); }
.stat-txt { font-size: 16px; color: var(--onDark); margin-top: 8px; line-height: 1.5; }

/* Steps */
.step { border-top: 3px solid var(--dark); padding-top: 20px; }
.step-num { font-family: "Manrope", Arial, sans-serif; font-weight: 800; font-size: 56px; line-height: 1; color: var(--accent); }
.step h3 { font-family: "Manrope", sans-serif; font-weight: 700; font-size: 21px; margin: 16px 0 10px; }
.step p { font-size: 16px; margin-bottom: 16px; }
.grid-5 .step-num { font-size: 40px; }
.grid-5 .step h3 { font-size: 18px; }
.grid-5 .step p { font-size: 15px; line-height: 1.5; }

/* Haustypen */
.type-card { text-decoration: none; display: block; }
.type-card h3 { font-family: "Manrope", sans-serif; font-weight: 700; font-size: 19px; margin: 16px 0 6px; }
.type-card p { font-size: 15px; color: var(--muted); line-height: 1.5; }
.type-card:hover h3 { color: var(--accent); }

/* FAQ */
.faq details { border-bottom: 1px solid #D6CEBE; }
.faq details:first-child { border-top: 1px solid #D6CEBE; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 18px; font-weight: 700; color: var(--dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 26px; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; font-size: 16px; max-width: 680px; }

/* Kontakt */
.contact { padding: 88px 0; }
.contact h2 { color: #fff; font-size: 48px; }
.contact .stack > * + * { margin-top: 22px; }
.contact a { text-decoration: none; }
.form-card { background: var(--light); border-radius: 6px; padding: 32px; color: var(--dark); }
.form-card.bordered { border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea { width: 100%; height: 46px; padding: 10px 12px; border: 1px solid #BFB6A5; border-radius: 4px; background: #fff; font: inherit; font-size: 16px; color: var(--dark); }
textarea { height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.5; margin: 0; }
.check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; }
.req { color: var(--accent); }

/* Pakete */
.pkg { border-radius: 6px; padding: 36px; display: flex; flex-direction: column; background: var(--light); border: 1px solid var(--line); }
.pkg.featured { background: var(--dark); border-color: var(--dark); color: var(--onDark); }
.pkg .tag { align-self: flex-start; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; padding: 4px 10px; border-radius: 4px; margin-bottom: 14px; }
.pkg .pkg-no { font-size: 14px; color: var(--muted); }
.pkg.featured .pkg-no { color: var(--onDark); }
.pkg h3 { font-size: 28px; margin: 6px 0 10px; }
.pkg.featured h3, .pkg.featured .price { color: #fff; }
.pkg .desc { font-size: 15px; }
.pkg .price { font-family: "Manrope", Arial, sans-serif; font-weight: 800; font-size: 32px; color: var(--dark); margin: 20px 0; }
.pkg ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.pkg li { font-size: 15px; padding: 6px 0 6px 26px; position: relative; line-height: 1.5; }
.pkg li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.pkg.featured li::before { color: var(--peach); }

/* Aufruf */
.cta { padding: 88px 0; }
.cta h2 { color: #fff; }
.cta .grid-2 { grid-template-columns: 2fr 1fr; }
.cta .right { display: flex; justify-content: flex-end; }

/* Legal */
.legal { min-height: 50vh; }

/* Footer */
.site-footer { background: var(--dark); color: var(--onDark); font-size: 15px; padding: 64px 0 32px; }
.site-footer .grid-3 { gap: 48px; }
.site-footer h4 { color: #fff; font-size: 15px; margin: 0 0 10px; }
.site-footer .f-logo { font-family: "Manrope", Arial, sans-serif; font-weight: 800; font-size: 24px; color: #fff; margin: 0 0 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid #3A3F43; display: flex; justify-content: space-between; gap: 24px; font-size: 14px; flex-wrap: wrap; }
.footer-bottom nav { display: flex; gap: 24px; }

/* Danke-Meldung */
.notice { background: var(--light); border-left: 4px solid var(--accent); padding: 20px 24px; border-radius: 4px; color: var(--dark); }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .nav { gap: 20px; }
}
@media (max-width: 860px) {
  :root { --section: 70px; }
  h1 { font-size: 40px; }
  h2, .contact h2 { font-size: 32px; }
  .hero { padding: 56px 0; }
  .grid-2, .grid-2.split-40, .grid-2.split-33, .cta .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .grid-5 { grid-template-columns: 1fr; gap: 32px; }
  .site-footer .grid-3 { gap: 32px; }
  .cta .right { justify-content: flex-start; }
  .hero .photo { order: -1; }
  .h-480, .h-440, .h-400 { height: 300px; }
  .topbar .wrap { justify-content: center; font-size: 13px; gap: 16px; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 120px; left: 0; right: 0; background: var(--light); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { margin-top: 16px; }
  .stat-num { font-size: 40px; }
}
@media (max-width: 560px) {
  .grid-4, .arrow-list, .form-grid { grid-template-columns: 1fr; }
  .card, .pkg, .form-card { padding: 24px; }
  .topbar .wrap { gap: 12px; font-size: 12px; }
  .btn-row .btn { width: 100%; }
}
.h60 { font-size: 60px; }
.h44 { font-size: 44px; }
@media (max-width: 860px) { .h60 { font-size: 40px; } .h44 { font-size: 32px; } }
@media (max-width: 400px) { h1, .h60 { font-size: 34px; } }
h1, h2 { overflow-wrap: break-word; hyphens: auto; }
.legal-text { max-width: 760px; }
.legal-text .lg-h { font-family: "Manrope", sans-serif; font-size: 18px; font-weight: 700; margin: 32px 0 8px; letter-spacing: 0; }
.legal-text p { font-size: 17px; }
.legal-text a { color: var(--accent); }
.legal-text .lg-h1 { font-size: 26px; margin: 48px 0 4px; }
.legal-text .lg-h1:first-child { margin-top: 32px; }
.legal-text .lg-h3 { font-family: "Manrope", sans-serif; font-size: 16px; font-weight: 700; color: var(--dark); margin: 20px 0 6px; }
.legal-text p + p { margin-top: 12px; }
.legal-text ul { padding-left: 20px; font-size: 17px; }
.legal-text li { margin-bottom: 8px; }
@media (max-width: 560px) { .legal-text .lg-h, .legal-text .lg-h1 { overflow-wrap: anywhere; } }
.logo img { height: 52px; width: auto; }
.site-footer .f-logo img { height: 48px; width: auto; }
@media (max-width: 560px) { .logo img { height: 40px; } }
