/* Expan Büromöbel – Konferenztisch-Konfigurator */
:root {
  --ink: #1b1d22;
  --muted: #4a4d55;
  --subtle: #5b5e66;
  --ground: #f5f4f0;
  --panel: #ffffff;
  --well: #f0eee8;
  --line: #e2e0da;
  --line-strong: #c9c6be;
  --accent: #1e3a8a;
  --accent-dark: #172554;
  --accent-soft: #e6ecfa;
  --radius: 12px;
  /* Systemschriften: keine Verbindung zu Google Fonts (DSGVO).
     Eigene Webfonts ggf. selbst gehostet unter public/fonts/ einbinden. */
  --font-display: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.container { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.01em; margin: 0; }
h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; }

/* Header */
.site-header { background: var(--panel); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav a:hover { color: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-secondary { border: 1px solid var(--line-strong); color: var(--ink); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 40px; }
.hero-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: clamp(34px, 4.5vw, 52px); line-height: 1.05; letter-spacing: -0.02em; }
.lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.hero-bild { flex: 1 1 460px; min-width: 0; }
.hero-bild img { width: 100%; height: clamp(280px, 40vw, 460px); object-fit: cover; border-radius: var(--radius); }

/* Konfigurator */
.section { padding-top: 40px; padding-bottom: 64px; }
.section > h2 { margin-bottom: 24px; }
.konf { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.vorschau { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.optionen { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--subtle); }
.zeichnung { background: var(--well); border-radius: 8px; padding: 40px 24px; display: flex; flex-direction: column; gap: 12px; }
.mass { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.mass::before, .mass::after { content: ''; flex: 1; height: 1px; background: #8a8d94; }
.zeichnung svg { width: 100%; height: auto; display: block; overflow: visible; }
.mass-unten { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); }
.kennzahlen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kennzahl { background: var(--ground); border-radius: 8px; padding: 14px 16px; }
.kennzahl span { display: block; font-size: 12px; color: var(--subtle); }
.kennzahl strong { font-family: var(--font-display); font-size: 22px; font-weight: 600; }

.gruppe { display: flex; flex-direction: column; gap: 14px; }
.gruppe-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.gruppe-titel { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.hinweis { font-size: 13px; color: var(--subtle); }
.zahl-zeile { display: flex; align-items: center; gap: 12px; }
.zahl-zeile input { width: 120px; height: 48px; padding: 0 12px; font: inherit; font-size: 18px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); background: #fff; }
input[type='range'] { width: 100%; height: 28px; accent-color: var(--accent); }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.preset { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.preset[aria-pressed='true'] { background: var(--accent); border-color: var(--accent); color: #fff; }

.dekore { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dekor { display: flex; flex-direction: column; gap: 8px; padding: 8px; border-radius: 10px; border: 2px solid var(--line); background: #fff; cursor: pointer; font: inherit; text-align: left; }
.dekor[aria-pressed='true'] { border-color: var(--accent); }
.dekor .muster { display: block; height: 44px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.dekor .name { font-size: 13px; font-weight: 500; color: var(--ink); }

.preis { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-direction: column; gap: 6px; }
.preis-wert { font-family: var(--font-display); font-size: 44px; font-weight: 700; letter-spacing: -0.02em; }
.anfrage { display: flex; flex-direction: column; gap: 10px; }
.anfrage .btn { min-height: 52px; font-size: 16px; }
.anfrage .hinweis { text-align: center; }

/* Preisstaffel */
.band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .container { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 64px; padding-bottom: 64px; }
.band-text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.band-text p { margin: 0; line-height: 1.6; color: var(--muted); }
.tabelle-box { flex: 2 1 520px; min-width: 0; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; padding: 12px 16px; font-size: 13px; font-weight: 600; color: var(--subtle); border-bottom: 1px solid var(--line); }
td { padding: 14px 16px; border-bottom: 1px solid #eeece6; }
th:last-child, td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
tr.aktiv td { background: var(--accent-soft); font-weight: 600; }

/* Details */
.details { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.details .card { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.details h3 { font-size: 18px; font-weight: 600; }
.details p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: #e9e7e1; }
.site-footer a { color: #e9e7e1; }
.site-footer a:hover { color: #fff; }
.footer-top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; padding-top: 56px; padding-bottom: 40px; }
.footer-top > div { flex: 1 1 280px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer-titel { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: #fff; }
.footer-top p { margin: 0; line-height: 1.6; color: #c4c2bc; }
.footer-top address { font-style: normal; line-height: 1.6; }
.leise { color: #c4c2bc; }
.footer-bottom { border-top: 1px solid #3a3d44; padding-top: 24px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 16px; }
.disclaimer { margin: 0; font-size: 13px; line-height: 1.6; color: #b5b3ad; max-width: 900px; }
.rechtliches { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }

@media (max-width: 480px) {
  .kennzahlen { grid-template-columns: minmax(0, 1fr); }
  .dekore { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { padding: 20px; }
}
