/* ============================================================
   bausysteme.net — Haupt-Stylesheet
   Palette:
     --ink        #111111   tiefes Anthrazit (Text, Headlines)
     --ink-2      #444444
     --muted      #6b6b6b
     --paper      #ffffff
     --paper-2    #faf7f2   warmes Offwhite (CoverStyl-Feeling)
     --line       #e6e1d8
     --accent     #4a7c2e   bausysteme-grün (Logo)
     --accent-h   #3a6322
     --copper     #b47a4a   Spenglerei-Akzent (warm)
   ============================================================ */

:root {
  --ink: #111111;
  --ink-2: #444444;
  --muted: #6b6b6b;
  --paper: #ffffff;
  --paper-2: #faf7f2;
  --line: #e6e1d8;
  --accent: #4a7c2e;
  --accent-h: #3a6322;
  --copper: #b47a4a;
  --shadow-sm: 0 2px 10px rgba(17,17,17,.06);
  --shadow-md: 0 12px 36px rgba(17,17,17,.10);
  --radius: 4px;
  --radius-lg: 12px;
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.section-sm { padding: 60px 0; }
.section-tight { padding: 40px 0; }
.section.alt { background: var(--paper-2); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-2);
  max-width: 640px;
  line-height: 1.7;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-h); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-light:hover { border-color: var(--ink); }

/* ===== Navigation ===== */
.site-nav {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-logo img { height: 40px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  color: var(--ink);
  font-size: .9rem;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: var(--radius);
  transition: color .15s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links .nav-cta a {
  background: var(--ink);
  color: #fff;
  padding: 11px 22px;
  margin-left: 14px;
}
.nav-links .nav-cta a:hover { background: var(--accent); color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; background: none; border: 0; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 28px; width: 100%; border-radius: 0; }
  .nav-links .nav-cta { width: 100%; padding: 10px 20px; }
  .nav-links .nav-cta a { display: block; text-align: center; margin: 0; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: clamp(80px, 12vw, 140px) 0 clamp(70px, 10vw, 110px);
  background: var(--paper-2);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-badges {
  display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap;
}
.hero-badge {
  display: flex; align-items: center; gap: 10px;
  font-size: .88rem; color: var(--ink-2); font-weight: 500;
}
.hero-badge::before {
  content: '✓';
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 22px; height: 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 700;
}

/* ===== Pillar Cards (2 große Produktbereiche) ===== */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform .4s;
  background: #ddd;
}
.pillar:hover { transform: translateY(-4px); }
.pillar img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s;
}
.pillar:hover img { transform: scale(1.05); }
.pillar::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,.75) 0%, rgba(17,17,17,.1) 55%, transparent 100%);
}
.pillar-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 38px 36px;
  color: #fff;
  z-index: 1;
}
.pillar-body .tag {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  margin-bottom: 14px;
}
.pillar-body h3 {
  color: #fff;
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.pillar-body p {
  color: rgba(255,255,255,.88);
  font-size: .98rem;
  max-width: 420px;
  margin-bottom: 22px;
}
.pillar-body .pillar-cta {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff;
  font-weight: 600;
  font-size: .92rem;
  border-bottom: 1px solid rgba(255,255,255,.5);
  padding-bottom: 3px;
  transition: gap .2s, border-color .2s;
}
.pillar:hover .pillar-cta { gap: 16px; border-color: #fff; }

/* ===== Feature Row (USPs) ===== */
.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .feature-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-row { grid-template-columns: 1fr; } }
.feature {
  padding: 0;
}
.feature-num {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .15em;
  color: var(--accent);
  margin-bottom: 12px;
}
.feature h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}
.feature p { color: var(--muted); font-size: .92rem; line-height: 1.65; }

/* ===== Split (alternating image+text) ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.reverse .split-image { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .split.reverse .split-image { order: 0; } }
.split-image {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split-body .eyebrow { color: var(--copper); }
.split-body h2 { margin-bottom: 18px; }
.split-body p { color: var(--ink-2); margin-bottom: 16px; font-size: 1.02rem; }
.split-body ul { list-style: none; margin: 20px 0; }
.split-body li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
  color: var(--ink-2);
}
.split-body li:last-child { border-bottom: 0; }
.split-body li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ===== CTA Band ===== */
.cta-band {
  background: var(--ink);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 18px; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 600px; margin: 0 auto 32px; font-size: 1.05rem; }

/* ===== Footer ===== */
.site-footer {
  background: #0f0f0f;
  color: rgba(255,255,255,.72);
  padding: 70px 0 30px;
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h5 {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.72); font-size: .9rem; }
.footer-col a:hover { color: #fff; }
.footer-brand p { color: rgba(255,255,255,.6); margin-top: 16px; max-width: 340px; line-height: 1.7; }
.footer-brand img { filter: brightness(0) invert(1); height: 38px; width: auto; }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.5); margin-left: 20px; }
.footer-bottom a:hover { color: #fff; }

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-lg { margin-top: 56px; }
.mb-lg { margin-bottom: 56px; }
.mb-md { margin-bottom: 28px; }
.section-title { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-title h2 { margin-bottom: 14px; }
.section-title p { color: var(--muted); font-size: 1.05rem; }
