/* OFFIXA — Prototyp A „Professionell-pragmatisch": Hellgrau-Grund, Stahlblau, 4-px-Radien,
   Versalien-Labels, 4er-Kartenraster, Spezifikationen im Mittelpunkt.
   Bewusst anders als die Schwester-Shops (dunkle Leiste/Orange bzw. Creme/Petrol/Pills
   bzw. Editorial-Look): weiße schmale Leiste, nüchterne Flächen, B2B-Ton. */
:root {
  --bg: #f3f4f6;
  --card: #ffffff;
  --ink: #111827;
  --muted: #6b7280;
  --primary: #1d4ed8;      /* Stahlblau */
  --primary-dark: #1e40af;
  --accent-soft: #eff3fe;
  --line: #e5e7eb;
  --line-strong: #d1d5db;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(17, 24, 39, .06);
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: var(--font-body);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--ink); line-height: 1.6; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); letter-spacing: -.01em; font-weight: 700; }
a { color: var(--primary); }

/* Versalien-Label (Systemmerkmal) */
.badge, .eyebrow, .lang-switch, .flow-step .k {
  text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; font-weight: 700;
}

/* ---------- Navigation (weiß, schmal, feine Linie) ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: #ffffff; border-bottom: 1px solid var(--line-strong); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 9px 20px; display: flex; align-items: center; gap: 18px; }
.logo { font-size: 1.1rem; font-weight: 800; color: var(--ink); text-decoration: none; text-transform: uppercase; letter-spacing: .14em; }
.logo .dot { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav-sections { display: contents; }
.nav-sections a { color: var(--ink); text-decoration: none; font-size: .88rem; padding: 4px 2px; border-bottom: 2px solid transparent; }
.nav-sections a:hover { color: var(--primary); border-bottom-color: var(--primary); }
.lang-switch { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 5px 10px; text-decoration: none; color: var(--muted); }
.lang-switch:hover { color: var(--primary); border-color: var(--primary); }
.cart-link { background: var(--primary); color: #fff; text-decoration: none; border-radius: var(--radius); padding: 7px 14px; font-size: .88rem; font-weight: 600; }
.cart-link:hover { background: var(--primary-dark); }
.cart-count { background: #ffffff; color: var(--primary); border-radius: var(--radius); padding: 0 6px; font-size: .78rem; font-weight: 700; margin-left: 6px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- Hero (linksbündig, pragmatisch, Fakten-Chips) ---------- */
.hero { max-width: 1200px; margin: 0 auto; padding: 54px 20px 34px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.hero .eyebrow { color: var(--primary); display: block; margin-bottom: 10px; }
.hero h1 { font-size: 2.5rem; line-height: 1.12; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero .lead { margin-top: 14px; color: var(--muted); font-size: 1.05rem; max-width: 36rem; }
.hero-facts { margin-top: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.fact-chip { background: #ffffff; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 5px 12px; font-size: .8rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.fact-chip strong { color: var(--primary); }
.hero-cta { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-media { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; display: flex; justify-content: center; }
.hero-media img { max-height: 340px; width: auto; object-fit: contain; }

/* ---------- Buttons (rechteckig, 4 px) ---------- */
.btn { display: inline-block; border: none; cursor: pointer; text-decoration: none; text-align: center; font-size: .9rem; font-weight: 600; font-family: var(--font-body); border-radius: var(--radius); padding: 10px 20px; transition: background .12s ease, border-color .12s ease; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { background: #ffffff; color: var(--primary); border: 1px solid var(--primary); padding: 9px 19px; }
.btn-ghost:hover { background: var(--accent-soft); }

/* ---------- Sektionen ---------- */
.section { max-width: 1200px; margin: 0 auto; padding: 38px 20px; }
.section > .eyebrow { color: var(--primary); display: block; margin-bottom: 6px; }
.section > h2 { font-size: 1.5rem; margin-bottom: 4px; }
.section > .section-sub { color: var(--muted); margin-bottom: 22px; max-width: 46rem; font-size: .95rem; }

/* Arbeitsablauf-Leiste (statt Größenkompass) */
.flow { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flow-step { border-left: 3px solid var(--primary); padding-left: 14px; }
.flow-step .k { color: var(--primary); display: block; margin-bottom: 4px; }
.flow-step p { font-size: .85rem; color: var(--muted); }

/* ---------- Produktkarten: 4er-Raster, kompakt, Spezifikation vorn ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card-media { background: #ffffff; border-bottom: 1px solid var(--line); padding: 14px; display: flex; justify-content: center; }
.card-media img { max-height: 150px; width: auto; object-fit: contain; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.badge { align-self: flex-start; background: var(--accent-soft); color: var(--primary-dark); border: 1px solid #d6e1fb; border-radius: var(--radius); padding: 2px 8px; }
.card h3 { font-size: .98rem; line-height: 1.3; }
.card .sub { color: var(--muted); font-size: .8rem; line-height: 1.45; }
.card .price { font-size: 1.08rem; font-weight: 700; color: var(--ink); margin-top: auto; }
.vat { font-size: .7rem; color: var(--muted); font-weight: 400; }
.card .actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.card .actions .btn { padding: 7px 12px; font-size: .8rem; flex: 1; }

/* Vertrauen */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; border-top: 3px solid var(--primary); }
.trust-card h3 { font-size: 1rem; margin-bottom: 6px; }
.trust-card p { font-size: .88rem; color: var(--muted); }

/* FAQ */
.faq-list { display: grid; gap: 10px; max-width: 50rem; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.faq-item h3 { font-size: .95rem; margin-bottom: 4px; }
.faq-item p { font-size: .88rem; color: var(--muted); }

/* ---------- Produktseite: Spezifikation im Mittelpunkt ---------- */
.product-page { max-width: 1200px; margin: 0 auto; padding: 36px 20px; }
.product-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: start; }
.product-media { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; display: flex; justify-content: center; position: sticky; top: 70px; }
.product-media img { max-height: 420px; width: auto; object-fit: contain; }
.product-info h1 { font-size: 1.55rem; margin: 8px 0 4px; }
.product-info .subtitle { color: var(--muted); font-size: .95rem; }
.product-info .price { font-size: 1.6rem; font-weight: 700; color: var(--ink); margin: 14px 0; }
.product-info .price .vat { font-size: .75rem; }
.audience { background: var(--accent-soft); border: 1px solid #d6e1fb; border-radius: var(--radius); padding: 12px 14px; font-size: .9rem; margin-top: 16px; }
.bullets { margin: 14px 0 0 18px; font-size: .92rem; }
.bullets li { margin-bottom: 6px; }
.specs { margin-top: 18px; }
.specs h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); margin-bottom: 10px; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.spec-table th, .spec-table td { text-align: left; padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: .88rem; }
.spec-table th { width: 38%; color: var(--muted); font-weight: 600; background: #f9fafb; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* Bewertungen */
.reviews { margin-top: 40px; }
.reviews h2 { font-size: 1.2rem; margin-bottom: 14px; }
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px; }
.review-head { display: flex; gap: 10px; align-items: center; }
.review-meta { color: var(--muted); font-size: .8rem; margin: 2px 0 6px; }
.stars { color: var(--primary); letter-spacing: 2px; }
.review-summary { font-size: .95rem; font-weight: 400; color: var(--muted); }

/* ---------- Warenkorb / Unterseiten ---------- */
.cart-page { max-width: 960px; margin: 0 auto; padding: 38px 20px; min-height: 46vh; }
.cart-page h1 { font-size: 1.6rem; margin-bottom: 16px; }
.table-scroll { overflow-x: auto; }
.cart-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cart-table th, .cart-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: .9rem; }
.cart-table th { background: #f9fafb; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.qty-controls { display: inline-flex; align-items: center; gap: 10px; }
.qty-controls button { width: 28px; height: 28px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: #fff; cursor: pointer; font-size: 1rem; }
.qty-controls button:hover { border-color: var(--primary); color: var(--primary); }
.cart-summary { display: flex; justify-content: flex-end; align-items: center; gap: 22px; margin-top: 20px; }
.cart-summary .total { font-size: 1.15rem; font-weight: 700; }
.checkout-note { color: var(--muted); font-size: .82rem; margin-top: 12px; text-align: right; }
.cart-empty { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: #111827; color: #9ca3af; margin-top: 56px; }
.footer .cols { max-width: 1200px; margin: 0 auto; padding: 36px 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; font-size: .88rem; }
.footer a { color: #d1d5db; text-decoration: none; }
.footer a:hover { color: #ffffff; }
.footer-brand { font-size: 1.05rem; font-weight: 800; color: #ffffff; text-transform: uppercase; letter-spacing: .14em; }
.footer-brand .dot { color: #60a5fa; }

/* ---------- Mobil ---------- */
@media (max-width: 1020px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .hero h1 { font-size: 1.9rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-media { position: static; }
  .footer .cols { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links { display: none; }
  .nav.menu-open .nav-links { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: #ffffff; flex-direction: column; align-items: stretch; padding: 14px 20px 20px; gap: 4px; border-bottom: 1px solid var(--line-strong); box-shadow: 0 8px 16px rgba(17,24,39,.08); }
  .nav.menu-open .nav-sections { display: flex; flex-direction: column; }
  .nav.menu-open .nav-sections a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav.menu-open .cart-link, .nav.menu-open .lang-switch { margin-top: 10px; text-align: center; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
}
