/* =========================================================
   Wust Bau & Sanierung — Stylesheet
   Swiss Style: Grid, Whitespace, klare Typografie
   ========================================================= */

/* ---------- Reset & Base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #111418;
  background: #ffffff;
}
::selection { background: #1d4ed8; color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; }

:root {
  --navy: #15233b;
  --navy-deep: #0f1828;
  --blue: #1d4ed8;
  --blue-light: #5e9bff;
  --ink: #111418;
  --muted: #5b6470;
  --muted-2: #8a929e;
  --line: #e6e8ec;
  --gray-bg: #f5f6f8;
  --light-blue-bg: #eef2fb;
  --maxw: 1240px;
}

/* ---------- Layout ---------- */
.layout { min-height: 100vh; display: flex; flex-direction: column; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
main { flex: 1; }
.section { padding: 80px 0; }
.section--gray { background: var(--gray-bg); }
.section--navy { background: var(--navy); color: #fff; }
.bt { border-top: 1px solid var(--line); }
.bb { border-bottom: 1px solid var(--line); }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.18em;
  color: var(--blue); text-transform: uppercase; margin-bottom: 16px;
}
.mono-tag {
  font-family: 'SF Mono', ui-monospace, Menlo, monospace;
  font-size: 11px; color: var(--muted-2);
  background: #fff; padding: 6px 11px; border: 1px solid var(--line);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: inherit; font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; padding: 15px 26px; text-decoration: none;
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
}
.btn svg { display: block; }
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: #1d3052; }
.btn--light { background: #fff; color: var(--navy); font-weight: 700; padding: 16px 30px; }
.btn--light:hover { background: #eef2fb; }
.btn--ghost { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.btn--ghost:hover { background: rgba(255,255,255,0.16); }
.btn--outline { background: none; color: var(--navy); border: 1px solid #cfd4db; }
.btn--outline:hover { border-color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 74px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.logo-btn { background: none; border: none; cursor: pointer; padding: 0; display: flex; align-items: center; }
.logo-btn img { height: 50px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  background: none; border: none; cursor: pointer; padding: 8px 14px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  color: var(--muted); border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav-link:hover { color: var(--navy); }
.nav-link.active { color: var(--navy); border-bottom-color: var(--blue); }
.nav-cta {
  margin-left: 12px; background: var(--navy); border: none; cursor: pointer;
  padding: 11px 20px; font-family: inherit; font-size: 14px; font-weight: 600; color: #fff;
  transition: background .15s ease;
}
.nav-cta:hover { background: #1d3052; }
.nav-toggle { display: none; }

/* ---------- Pages ---------- */
.page { display: none; }
.page.is-active { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-deep); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg,#1b2a44 0,#1b2a44 16px,#16233a 16px,#16233a 32px);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,18,31,0.94) 0%, rgba(11,18,31,0.82) 46%, rgba(11,18,31,0.42) 100%);
}
.hero-foto-tag {
  position: absolute; left: 24px; bottom: 20px; z-index: 3;
  font-family: 'SF Mono', ui-monospace, Menlo, monospace; font-size: 11px;
  color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08);
  padding: 6px 11px; border: 1px solid rgba(255,255,255,0.18);
}
.hero-inner { position: relative; z-index: 2; }
.hero-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.14);
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: #c2cad8;
}
.hero-meta span { display: flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #3b82f6; display: inline-block; }
.hero-content {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,360px);
  gap: 48px; align-items: center; padding: 80px 0 88px;
}
.hero-text { min-width: 0; }
.hero-title {
  margin: 0; font-size: 68px; line-height: 0.96; font-weight: 900;
  letter-spacing: -0.04em; color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.hero-title .accent { color: var(--blue-light); }
.hero-lead { margin: 30px 0 0; font-size: 18px; line-height: 1.6; color: #dbe1ea; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.hero-logo { display: flex; justify-content: center; align-items: center; min-width: 0; }
.hero-logo img { width: 100%; max-width: 360px; height: auto; }

/* ---------- Trust features (3 col) ---------- */
.features { display: grid; grid-template-columns: repeat(3,1fr); gap: 48px; }
.feature { display: flex; gap: 20px; align-items: flex-start; }
.feature-icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%; background: var(--navy);
}
.feature h3 { margin: 0 0 9px; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.feature p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* ---------- Section head ---------- */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 48px; gap: 24px; flex-wrap: wrap;
}
.section-title { margin: 0; font-size: 40px; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); }
.section-head-note { margin: 0; max-width: 360px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- Card grid (hairline) ---------- */
.grid-hairline {
  display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.cols-3 { grid-template-columns: repeat(3,1fr); }
.cols-2 { grid-template-columns: repeat(2,1fr); }
.cols-4 { grid-template-columns: repeat(4,1fr); }

/* competency cards */
.comp-card {
  text-align: left; background: #fff; border: none; cursor: pointer;
  padding: 40px 36px; display: flex; flex-direction: column; gap: 20px; font-family: inherit;
  transition: background .15s ease;
}
.comp-card:hover { background: #fafbfc; }
.comp-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; background: var(--navy);
}
.comp-num { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--blue); }
.comp-card h3 { margin: 8px 0 10px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.comp-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.more-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--navy); }

/* ---------- Stats band ---------- */
.stat { background: #fff; padding: 36px 32px; }
.stat-num { font-size: 42px; font-weight: 900; letter-spacing: -0.03em; color: var(--navy); }
.stat-label { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ---------- CTA strip ---------- */
.cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta h2 { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.cta p { margin: 14px 0 0; font-size: 16px; color: #9aa6ba; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding: 72px 0; }
.page-title { margin: 0; font-size: 54px; font-weight: 900; letter-spacing: -0.035em; color: var(--navy); }
.page-lead { margin: 24px 0 0; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 660px; }

/* ---------- Detail rows ---------- */
.detail-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.detail-row + .detail-row { margin-top: 72px; }
.detail-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--blue); margin-bottom: 14px; }
.detail-row h3 { margin: 0 0 16px; font-size: 30px; font-weight: 800; letter-spacing: -0.025em; color: var(--navy); }
.detail-row h3.smaller { font-size: 28px; }
.detail-row p { margin: 0 0 22px; font-size: 16px; line-height: 1.7; color: var(--muted); }

.photo {
  aspect-ratio: 4/3;
  background: repeating-linear-gradient(135deg,#eef0f3 0,#eef0f3 11px,#e6e8ec 11px,#e6e8ec 22px);
  display: flex; align-items: flex-end; padding: 18px;
}
.photo--wide { aspect-ratio: 16/10; }
.photo--dark {
  background: repeating-linear-gradient(135deg,rgba(255,255,255,0.07) 0,rgba(255,255,255,0.07) 11px,rgba(255,255,255,0.025) 11px,rgba(255,255,255,0.025) 22px);
}
.photo--dark .mono-tag {
  color: #aeb8c8; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
}

/* check lists */
.check-list { display: flex; flex-direction: column; gap: 11px; }
.check-item { display: flex; align-items: flex-start; gap: 11px; }
.check-item svg { flex: none; margin-top: 1px; }
.check-item span { font-size: 15px; color: var(--navy); }

/* ---------- Navy feature block ---------- */
.feature-block { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.badge-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: 20px;
}
.badge-eyebrow .dot { background: var(--blue-light); }
.block-title { margin: 0 0 8px; font-size: 40px; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.block-subtitle { font-size: 18px; font-weight: 600; color: var(--blue-light); margin-bottom: 22px; }
.block-text { margin: 0 0 18px; font-size: 16.5px; line-height: 1.7; color: #aeb8c8; }
.block-text:last-of-type { margin-bottom: 28px; }
.block-text strong, .block-text b { color: #fff; font-weight: 600; }
.subhead { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #9aa6ba; margin-bottom: 14px; }
.subhead .blue { color: var(--blue-light); }

.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
.chip {
  font-size: 13px; color: #dfe4ec; padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.04);
}

.mini-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.12);
}
.mini-stat { background: var(--navy); padding: 22px 24px; }
.mini-stat-num { font-size: 28px; font-weight: 900; color: #fff; }
.mini-stat-num.sm { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.mini-stat-label { margin-top: 6px; font-size: 13.5px; color: #9aa6ba; }

.substrates { display: flex; flex-wrap: wrap; gap: 18px; }
.substrate { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #dfe4ec; }

/* swatches */
.swatch-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.swatch { display: flex; flex-direction: column; gap: 7px; align-items: center; }
.swatch-color { width: 100%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,0.14); }
.swatch-label { font-size: 10.5px; color: #9aa6ba; text-align: center; }

/* info cards on dark */
.info-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.04);
}
.info-card + .info-card { margin-top: 12px; }
.info-card .ic-mark {
  flex: none; width: 34px; height: 34px; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
}
.info-card .ic-mark.dashed {
  background: none; border: 1.5px dashed rgba(255,255,255,0.5);
  font-size: 10px; color: #aeb8c8; font-family: 'SF Mono', ui-monospace, monospace;
}
.info-card p { margin: 0; font-size: 13.5px; line-height: 1.55; color: #aeb8c8; }
.info-card p strong { color: #fff; font-weight: 600; }

/* lists inside navy verfahren */
.verfahren { display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.12); }
.verfahren-item { background: var(--navy); padding: 18px 22px; display: flex; gap: 16px; align-items: flex-start; }
.verfahren-num { flex: none; font-size: 13px; font-weight: 700; color: var(--blue-light); width: 18px; }
.verfahren-item h4 { margin: 0 0 3px; font-size: 15px; font-weight: 700; color: #fff; }
.verfahren-item p { margin: 0; font-size: 13px; color: #9aa6ba; line-height: 1.5; }

/* process steps */
.steps {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.12); margin-top: 48px;
}
.step { background: var(--navy); padding: 26px 28px; }
.step-num { font-size: 13px; font-weight: 700; color: var(--blue-light); margin-bottom: 8px; }
.step p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #9aa6ba; }

/* ---------- Keller symptoms ---------- */
.symptom { background: #fff; padding: 18px 20px; font-size: 14px; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.symptom .sq { flex: none; width: 6px; height: 6px; background: var(--blue); }

/* ---------- Stein overview cards ---------- */
.svc-card { background: #fff; padding: 36px 32px; }
.svc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: var(--light-blue-bg); margin-bottom: 20px;
}
.svc-card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.svc-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* benefits grid */
.benefit { background: #fff; padding: 22px 24px; display: flex; align-items: flex-start; gap: 12px; }
.benefit svg { flex: none; margin-top: 1px; }
.benefit span { font-size: 14.5px; color: var(--navy); }

/* usage */
.usage-col { background: var(--navy); padding: 24px; }
.usage-col h4 { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: #fff; }
.usage-list { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: #9aa6ba; }
.beratung-box { border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.04); padding: 24px 26px; }
.beratung-box h4 { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: #fff; }
.beratung-box p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.6; color: #9aa6ba; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; }
.form-col { padding: 64px 56px 64px 0; border-right: 1px solid var(--line); }
.contact-col { padding: 64px 0 64px 56px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--navy); }
.input {
  font-family: inherit; font-size: 15px; padding: 13px 14px;
  border: 1px solid #cfd4db; background: #fff; outline: none; color: var(--ink);
  transition: border-color .15s ease; width: 100%;
}
.input:focus { border-color: var(--navy); }
textarea.input { resize: vertical; }
.field--full { margin-bottom: 28px; }
.success { border: 1px solid #c9dcc2; background: #f1f7ee; padding: 40px; }
.success-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; background: #2f8a3e; margin-bottom: 20px;
}
.success h3 { margin: 0 0 10px; font-size: 24px; font-weight: 800; color: var(--navy); }
.success p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

.contact-col h3 { margin: 0 0 28px; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.contact-list { display: flex; flex-direction: column; gap: 4px; }
.contact-item { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 1px solid var(--line); }
.contact-icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; background: var(--light-blue-bg);
}
.contact-item-label { font-size: 13px; color: var(--muted-2); margin-bottom: 4px; }
.contact-item-value { font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.5; text-decoration: none; }
.map-placeholder {
  margin-top: 28px; height: 180px;
  background: repeating-linear-gradient(135deg,#eef0f3 0,#eef0f3 11px,#e6e8ec 11px,#e6e8ec 22px);
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); }
.footer-inner { padding: 64px 32px 0; max-width: var(--maxw); margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo-box { display: inline-flex; background: #fff; padding: 14px 18px; margin-bottom: 22px; }
.footer-logo-box img { height: 58px; width: auto; }
.footer-slogan { margin: 0; font-size: 15px; font-weight: 600; color: #fff; }
.footer-desc { margin: 14px 0 0; font-size: 14px; line-height: 1.6; color: #9aa6ba; max-width: 300px; }
.footer-col h4 { margin: 0 0 18px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #9aa6ba; }
.footer-links { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-link {
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: inherit; font-size: 14px; color: #dfe4ec; text-align: left; text-decoration: none;
  transition: color .15s ease;
}
.footer-link:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.5; color: #dfe4ec; }
.footer-contact a { text-decoration: none; color: #dfe4ec; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  padding: 24px 0; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer-bottom span { font-size: 13px; color: #7b889c; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-title { font-size: 52px; }
  .hero-content { grid-template-columns: 1fr; gap: 36px; padding: 56px 0 64px; }
  .hero-logo { order: -1; justify-content: flex-start; }
  .hero-logo img { max-width: 260px; }
  .features { grid-template-columns: 1fr; gap: 32px; }
  .cols-3, .cols-4 { grid-template-columns: 1fr 1fr; }
  .detail-row, .feature-block, .contact-grid, .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .form-col { padding: 48px 0; border-right: none; border-bottom: 1px solid var(--line); }
  .contact-col { padding: 48px 0; }
  .section-title { font-size: 32px; }
  .page-title { font-size: 40px; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container, .footer-inner { padding-left: 20px; padding-right: 20px; }
  .header-inner { gap: 12px; }
  .main-nav { gap: 0; }
  .nav-link { padding: 8px 8px; font-size: 13px; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-title { font-size: 42px; }
  .cols-3, .cols-4, .cols-2, .grid-hairline.cols-3, .grid-hairline.cols-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .swatch-grid { grid-template-columns: repeat(4,1fr); }
  .section { padding: 56px 0; }
  .page-title { font-size: 34px; }
}
