/* BauPeil — Marketing-Website. Bewusst schlank, keine Frameworks (schnell = gut für SEO). */
:root {
  --blue: #1a3c5e;
  --blue-dark: #122c46;
  --orange: #f5a623;
  --green: #2e8b57;
  --text: #1c2530;
  --muted: #5b6b7b;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --border: #d6dde4;
  --radius: 14px;
  --wrap: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }
img { max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--blue); font-weight: 800; font-size: 1.25rem; }
.brand img { width: 34px; height: 34px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.site-nav a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover { color: var(--blue); }
/* Der Anmelden-Button behält weiße Schrift — .site-nav a ist spezifischer als .btn */
.site-nav a.btn { color: #fff; }
.site-nav a.btn:hover { color: #fff; background: var(--blue-dark); }
.btn {
  display: inline-block; background: var(--blue); color: #fff; text-decoration: none;
  padding: 11px 22px; border-radius: 10px; font-weight: 700; border: none; cursor: pointer;
}
.btn:hover { background: var(--blue-dark); }
.btn.orange { background: var(--orange); color: #3a2c00; }
.btn.ghost { background: transparent; color: var(--blue); border: 1.5px solid var(--border); }
.nav-toggle { display: none; }

/* Hero */
.hero { background: linear-gradient(160deg, #1a3c5e 0%, #24537f 100%); color: #fff; padding: 72px 0 80px; }
.hero .claim { display: inline-block; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25); border-radius: 999px; padding: 6px 16px; font-weight: 600; font-size: 0.9rem; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.12; margin: 0 0 18px; max-width: 20ch; }
.hero p.lead { font-size: 1.2rem; max-width: 60ch; opacity: 0.95; margin: 0 0 30px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .note { margin-top: 16px; font-size: 0.9rem; opacity: 0.85; }
.hero .cta-row .btn.ghost { color: #fff; border-color: rgba(255,255,255,0.6); }

/* Sections */
section { padding: 64px 0; }
section.soft { background: var(--bg-soft); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); line-height: 1.2; margin: 0 0 12px; color: var(--blue-dark); }
.section-intro { max-width: 62ch; color: var(--muted); font-size: 1.08rem; margin: 0 0 36px; }
h3 { font-size: 1.2rem; margin: 0 0 8px; color: var(--blue-dark); }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: 0 1px 3px rgba(20,40,60,0.06);
}
.card .ico { font-size: 2rem; line-height: 1; margin-bottom: 12px; display: block; }
.card p { color: var(--muted); margin: 0; }

/* Industries / pill list */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pill { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; font-weight: 600; color: var(--blue-dark); }

/* Trust / two-col */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 8px 0 8px 32px; position: relative; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* CTA band */
.cta-band { background: var(--blue); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 56ch; margin: 0 auto 26px; opacity: 0.95; }

/* Content pages (bautagebuch, verzug, legal …) */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 40px; }
.prose h3 { margin-top: 28px; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose .lead { font-size: 1.15rem; color: var(--muted); }
.toc { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0; }
.toc strong { display: block; margin-bottom: 6px; }
.toc a { display: block; padding: 3px 0; }
.callout { background: #fff8e8; border: 1px solid #f0ce85; border-radius: var(--radius); padding: 16px 20px; margin: 24px 0; }
.placeholder { background: #fdecea; border: 1px dashed #e0a3a0; border-radius: 8px; padding: 2px 8px; font-family: ui-monospace, monospace; font-size: 0.9em; color: #92251a; }

/* FAQ */
.faq details { border: 1px solid var(--border); border-radius: 10px; padding: 4px 18px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; color: var(--blue-dark); }
.faq details[open] summary { border-bottom: 1px solid var(--border); margin-bottom: 10px; }
.faq p { color: var(--muted); }

/* Breadcrumb */
.crumb { font-size: 0.85rem; color: var(--muted); padding: 16px 0 0; }
.crumb a { color: var(--muted); }

/* Footer */
.site-footer { background: var(--blue-dark); color: #cdd8e2; padding: 48px 0 28px; font-size: 0.92rem; }
.site-footer a { color: #cdd8e2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.footer-cols .brand { color: #fff; margin-bottom: 10px; }
.footer-cols h4 { color: #fff; font-size: 0.95rem; margin: 0 0 10px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin: 6px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

@media (max-width: 760px) {
  .site-nav { display: none; }
  .site-nav.open { display: flex; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 4px; background: #fff; border-bottom: 1px solid var(--border); padding: 12px 20px; }
  .site-nav.open a { padding: 8px 0; width: 100%; }
  .nav-toggle { display: inline-flex; margin-left: auto; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--blue); }
  .two-col { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
}
