/* KegMeister — Archetyp D „Dunkle Schankstube": warmes Dunkelbraun, Bernstein + Kupfer,
   fette Georgia-Serifen, kleine Radien (6px), Produkte als große alternierende Schaublöcke.
   Charakter: warm, schwer, wirtshaus-artig — dunkler Grund mit Bernstein-Akzenten. */
:root {
  --bg: #14100c;
  --card: #1d1712;
  --ink: #f3e9dc;
  --muted: #b5a48d;
  --primary: #e8a13c;      /* Bernstein */
  --primary-dark: #cf8a24;
  --accent: #b0653a;       /* Kupfer */
  --accent-soft: #2a2118;
  --line: #35291d;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  --font-head: Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 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.65; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; letter-spacing: normal; }
a { color: var(--primary); }
hr { border: none; border-top: 1px solid var(--accent); opacity: .55; }
.rule { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---------- Navigation (warm-dunkle Leiste, Bernstein-Wortmarke) ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(20, 16, 12, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1140px; margin: 0 auto; padding: 16px 20px; display: flex; align-items: center; gap: 18px; }
.logo { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--primary); text-decoration: none; }
.logo .dot { color: var(--accent); }
.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: .97rem; padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav-sections a:hover { color: var(--primary); border-bottom-color: var(--accent); }
.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 { color: var(--primary); border-color: var(--accent); }
.cart-link { background: var(--primary); color: #221708; text-decoration: none; border-radius: var(--radius); padding: 9px 18px; font-size: .95rem; font-weight: 700; }
.cart-link:hover { background: var(--primary-dark); }
.cart-count { background: #221708; color: var(--primary); 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: dunkle Bildatmosphäre auf Gradient-Grund ---------- */
.hero { background:
    radial-gradient(1100px 500px at 78% 10%, rgba(232, 161, 60, .16), transparent 65%),
    radial-gradient(700px 420px at 12% 90%, rgba(176, 101, 58, .18), transparent 70%),
    linear-gradient(175deg, #1a130c 0%, #14100c 55%, #100c08 100%);
  border-bottom: 1px solid var(--line); }
.hero-inner { max-width: 1140px; margin: 0 auto; padding: 84px 20px 64px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.kicker { color: var(--accent); font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-size: 3.4rem; line-height: 1.08; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero .lead { margin-top: 20px; color: var(--muted); font-size: 1.12rem; max-width: 36rem; }
.hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media::before { content: ""; position: absolute; inset: -8% -6%; background: radial-gradient(closest-side, rgba(232, 161, 60, .22), transparent 78%); }
.hero-media img { position: relative; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }

/* ---------- Buttons (kantig, kleine Radien) ---------- */
.btn { display: inline-block; border: none; cursor: pointer; text-decoration: none; text-align: center; font-size: .95rem; font-family: var(--font-body); font-weight: 700; border-radius: var(--radius); padding: 12px 24px; transition: transform .12s ease, background .12s ease, color .12s ease; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: #221708; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { background: transparent; color: var(--primary); border: 1px solid var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); }

/* ---------- Sektionen ---------- */
.section { max-width: 1140px; margin: 0 auto; padding: 56px 20px; }
.section > h2 { font-size: 2.1rem; margin-bottom: 8px; }
.section > .section-sub { color: var(--muted); margin-bottom: 30px; max-width: 44rem; }

/* ---------- Produkt-Schau: große Blöcke, Bild/Text alternierend ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 0; }
.card { background: transparent; display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; padding: 44px 0; }
.card + .card { border-top: 1px solid var(--accent); }
.card:nth-child(even) .card-media { order: 2; }
.card-media { background: linear-gradient(155deg, #221a12, #181209); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; justify-content: center; box-shadow: var(--shadow); }
.card-media img { max-height: 340px; width: auto; object-fit: contain; border-radius: var(--radius); }
.card-body { display: flex; flex-direction: column; gap: 10px; }
.badge { align-self: flex-start; background: var(--accent-soft); color: var(--primary); border: 1px solid var(--accent); border-radius: var(--radius); padding: 3px 12px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.card h3 { font-size: 1.7rem; }
.card .sub { color: var(--muted); font-size: 1rem; }
.card .card-desc { color: var(--ink); opacity: .88; font-size: .98rem; max-width: 34rem; }
.card .price { font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; color: var(--primary); margin-top: 6px; }
.vat { font-size: .75rem; color: var(--muted); font-family: var(--font-body); font-weight: 400; }
.card .actions { display: flex; gap: 12px; margin-top: 10px; flex-wrap: wrap; }

/* Vertrauen */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trust-card { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 26px; }
.trust-card h3 { font-size: 1.15rem; color: var(--primary); margin-bottom: 8px; }
.trust-card p { font-size: .93rem; color: var(--muted); }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 48rem; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 18px 22px; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 5px; color: var(--ink); }
.faq-item p { font-size: .93rem; color: var(--muted); }

/* ---------- Produktseite ---------- */
.product-page { max-width: 1140px; margin: 0 auto; padding: 48px 20px; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.product-media { background: linear-gradient(155deg, #221a12, #181209); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; display: flex; justify-content: center; box-shadow: var(--shadow); }
.product-media img { max-height: 440px; width: auto; object-fit: contain; border-radius: var(--radius); }
.product-info h1 { font-size: 2.3rem; margin: 10px 0 6px; }
.product-info .subtitle { color: var(--muted); }
.product-info .price { font-family: var(--font-head); font-weight: 700; font-size: 2.1rem; color: var(--primary); margin: 18px 0; }
.audience { background: var(--accent-soft); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 14px 16px; font-size: .96rem; margin-top: 18px; }
.bullets { margin: 18px 0 0 20px; }
.bullets li { margin-bottom: 8px; }
.specs { margin-top: 48px; }
.specs h2 { font-size: 1.6rem; margin-bottom: 16px; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.spec-table th, .spec-table td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.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: 920px; margin: 0 auto; padding: 48px 20px; min-height: 46vh; }
.cart-page h1 { font-size: 2.2rem; margin-bottom: 18px; }
.table-scroll { overflow-x: auto; }
.cart-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.cart-table th, .cart-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.cart-table th { color: var(--muted); }
.qty-controls { display: inline-flex; align-items: center; gap: 10px; }
.qty-controls button { width: 30px; height: 30px; border-radius: var(--radius); border: 1px solid var(--accent); background: var(--accent-soft); color: var(--ink); cursor: pointer; font-size: 1rem; }
.cart-summary { display: flex; justify-content: flex-end; align-items: center; gap: 22px; margin-top: 22px; }
.cart-summary .total { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--primary); }
.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-radius: var(--radius); padding: 34px; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: #0f0b08; border-top: 1px solid var(--accent); margin-top: 64px; }
.footer .cols { max-width: 1140px; margin: 0 auto; padding: 44px 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; font-size: .92rem; color: var(--muted); }
.footer a { color: var(--ink); text-decoration: none; }
.footer a:hover { color: var(--primary); }
.footer-brand { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--primary); }
.footer-brand .dot { color: var(--accent); }

/* ---------- Mobil ---------- */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 44px; }
  .hero h1 { font-size: 2.3rem; }
  .card { grid-template-columns: 1fr; gap: 22px; padding: 32px 0; }
  .card:nth-child(even) .card-media { order: 0; }
  .card-media img { max-height: 260px; }
  .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: var(--bg); flex-direction: column; align-items: stretch; padding: 16px 20px 22px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .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; }
}
