/* KüchenPilot — Archetyp B „Küchen-frisch, funktional": Warmweiß, klares Grün, Tomaten-Akzent.
   Eigenständige Handschrift: weiße Leiste mit grüner Unterstreichung, harter Split-Hero
   mit Farbpanel (kein Blob), 3er-Grid mit grüner Oberkante, 10px-Radien, kompakte Specs. */
:root {
  --bg: #fcfbf7;
  --card: #ffffff;
  --ink: #26302b;
  --muted: #64716a;
  --primary: #2f7d32;      /* Clares Küchen-Grün */
  --primary-dark: #245f26;
  --primary-soft: #e8f2e6; /* Panel-Grün */
  --accent: #e6482e;       /* Tomate */
  --accent-soft: #fdeae5;
  --line: #e5e2d8;
  --radius: 10px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { 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-weight: 700; letter-spacing: -.01em; }
a { color: var(--primary); }

/* ---------- Navigation: weiß, aktiver Bereich grün unterstrichen ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: #ffffff; border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1160px; margin: 0 auto; padding: 13px 20px; display: flex; align-items: center; gap: 20px; }
.logo { font-size: 1.3rem; font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.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: .94rem; font-weight: 600; padding: 6px 2px 4px; border-bottom: 2px solid transparent; }
.nav-sections a:hover { color: var(--primary); }
.nav-sections a.active { color: var(--primary); border-bottom-color: var(--primary); }
.lang-switch { border: 1px solid var(--line); border-radius: var(--radius); padding: 5px 12px; text-decoration: none; color: var(--muted); font-size: .85rem; }
.lang-switch:hover { border-color: var(--primary); color: var(--primary); }
.cart-link { background: var(--primary); color: #fff; text-decoration: none; border-radius: var(--radius); padding: 8px 16px; font-size: .94rem; font-weight: 600; }
.cart-link:hover { background: var(--primary-dark); }
.cart-count { background: var(--accent); color: #fff; border-radius: var(--radius); padding: 0 7px; font-size: .8rem; font-weight: 700; margin-left: 4px; }
.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; border-radius: 2px; }

/* ---------- Hero: harter Split — Farbpanel links, Bild rechts ---------- */
.hero { max-width: 1160px; margin: 28px auto 0; padding: 0 20px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; }
.hero-panel { background: var(--primary-soft); border-radius: var(--radius) 0 0 var(--radius); padding: 54px 46px; display: flex; flex-direction: column; justify-content: center; }
.hero-panel .kicker { color: var(--primary); font-weight: 700; font-size: .85rem; text-transform: none; letter-spacing: .02em; }
.hero h1 { font-size: 2.5rem; line-height: 1.14; margin-top: 10px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero .lead { margin-top: 14px; color: var(--muted); font-size: 1.05rem; max-width: 32rem; }
.hero-cta { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-media { background: #ffffff; border: 1px solid var(--line); border-left: none; border-radius: 0 var(--radius) var(--radius) 0; display: flex; align-items: center; justify-content: center; padding: 30px; }
.hero-media img { max-height: 380px; width: auto; object-fit: contain; }

/* ---------- Buttons: eckig-rund (10px), solide ---------- */
.btn { display: inline-block; border: none; cursor: pointer; text-decoration: none; text-align: center; font-size: .94rem; font-weight: 600; font-family: var(--font-body); border-radius: var(--radius); padding: 11px 20px; transition: background .12s ease, transform .12s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-ghost:hover { background: var(--primary-soft); }

/* ---------- Sektionen ---------- */
.section { max-width: 1160px; margin: 0 auto; padding: 42px 20px 20px; }
.section > h2 { font-size: 1.6rem; }
.section > .section-sub { color: var(--muted); margin-top: 4px; margin-bottom: 22px; }

/* Anschluss-Check (statt Größenkompass): 3 nüchterne Fakten-Schritte */
.size-guide { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--primary); border-radius: var(--radius); padding: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.size-step { border-left: 3px solid var(--accent); padding-left: 14px; }
.size-step .size { font-size: 1.1rem; color: var(--primary); font-weight: 700; }
.size-step p { font-size: .9rem; color: var(--muted); margin-top: 4px; }

/* ---------- Produktkarten: 3er-Grid, grüne Oberkante, kein großer Schatten ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--primary); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-media { background: #ffffff; padding: 18px; display: flex; justify-content: center; border-bottom: 1px solid var(--line); }
.card-media img { max-height: 190px; width: auto; object-fit: contain; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.badge { align-self: flex-start; background: var(--accent-soft); color: #b0341d; border-radius: 6px; padding: 2px 9px; font-size: .76rem; font-weight: 700; }
.card h3 { font-size: 1.05rem; }
.card .sub { color: var(--muted); font-size: .86rem; line-height: 1.45; }
.card .price { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin-top: auto; }
.vat { font-size: .74rem; color: var(--muted); font-weight: 400; }
.card .actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.card .actions .btn { padding: 9px 14px; font-size: .88rem; }

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

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

/* ---------- Produktseite ---------- */
.product-page { max-width: 1160px; margin: 0 auto; padding: 36px 20px; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.product-media { background: #ffffff; border: 1px solid var(--line); border-top: 3px solid var(--primary); border-radius: var(--radius); padding: 30px; display: flex; justify-content: center; }
.product-media img { max-height: 420px; width: auto; object-fit: contain; }
.product-info h1 { font-size: 1.7rem; margin: 8px 0 4px; }
.product-info .subtitle { color: var(--muted); }
.product-info .price { font-size: 1.7rem; font-weight: 700; color: var(--ink); margin: 14px 0; }
.audience { background: var(--primary-soft); border-radius: var(--radius); padding: 12px 16px; font-size: .94rem; margin-top: 14px; }
.bullets { margin: 14px 0 0 20px; }
.bullets li { margin-bottom: 7px; }
.specs { margin-top: 34px; }
.specs h2 { font-size: 1.25rem; margin-bottom: 12px; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 8px 14px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.spec-table th { width: 38%; color: var(--muted); font-weight: 600; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* ---------- Warenkorb / Unterseiten ---------- */
.cart-page { max-width: 900px; margin: 0 auto; padding: 40px 20px; min-height: 46vh; }
.cart-page h1 { font-size: 1.8rem; margin-bottom: 16px; }
.table-scroll { overflow-x: auto; }
.cart-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-table th, .cart-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: .93rem; }
.qty-controls { display: inline-flex; align-items: center; gap: 10px; }
.qty-controls button { width: 30px; height: 30px; border-radius: 8px; border: 1.5px solid var(--line); 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: 20px; margin-top: 20px; }
.cart-summary .total { font-size: 1.2rem; font-weight: 700; }
.checkout-note { color: var(--muted); font-size: .85rem; margin-top: 12px; text-align: right; }
.cart-empty { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--primary); border-radius: var(--radius); padding: 30px; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: #f2f0e8; border-top: 1px solid var(--line); margin-top: 56px; }
.footer .cols { max-width: 1160px; margin: 0 auto; padding: 36px 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; font-size: .9rem; color: var(--muted); }
.footer a { color: var(--ink); text-decoration: none; }
.footer a:hover { color: var(--primary); }
.footer-brand { font-size: 1.2rem; font-weight: 800; color: var(--ink); }
.footer-brand .dot { color: var(--primary); }

/* ---------- Mobil ---------- */
@media (max-width: 920px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .hero { grid-template-columns: 1fr; }
  .hero-panel { border-radius: var(--radius) var(--radius) 0 0; padding: 34px 24px; }
  .hero-media { border: 1px solid var(--line); border-top: none; border-radius: 0 0 var(--radius) var(--radius); }
  .hero h1 { font-size: 1.9rem; }
  .cards { grid-template-columns: 1fr; }
  .size-guide { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .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: #fff; flex-direction: column; align-items: stretch; padding: 14px 20px 20px; gap: 4px; border-bottom: 1px solid var(--line); }
  .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; }
}
