/* ---------- CI: GastroGarden ----------
   Grün #4C7C3F · Anthrazit #1A1A1A · Weiß #FFFFFF
   Sekundär: Beton #D9D9D4 · Stein #B7B2A6 · Sand #E8E2D6 · Holz #C5A06A · Messing #B98E4A
   Headline-Font: Exo 2 (Bold, selbst gehostet) als freie Alternative zu Eurostile Next LT Pro
   Fließtext: Lato (selbst gehostet) · Eckenradius 8 px · Linien 1 px #E6E6E6 */

@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/exo2-normal-700.woff2") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/lato-400.woff2") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/lato-700.woff2") format("woff2");
}

:root {
  --ink: #1a1a1a;
  --muted: #6b6b66;
  --bg: #ffffff;
  --bg-alt: #f3f2ec;
  --card: #ffffff;
  --line: #e6e6e6;
  --accent: #4c7c3f;
  --accent-strong: #5d9550;
  --accent-deep: #3a6130;
  --anthrazit: #1a1a1a;
  --sand: #e8e2d6;
  --stein: #b7b2a6;
  --holz: #c5a06a;
  --radius: 8px;
  --shadow: 0 8px 24px rgba(26, 26, 26, 0.08);
  --font-head: "Exo 2", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Lato", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
::selection { background: var(--accent); color: #fff; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 780px; }
.center { text-align: center; margin-top: 2rem; }

h1, h2 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(1.9rem, 4.6vw, 2.8rem); line-height: 1.14; }
h2 { font-size: clamp(1.35rem, 3.2vw, 1.8rem); line-height: 1.22; }
h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; }
h1 em, h2 em { font-style: normal; color: var(--accent); }

.lead { font-size: 1.12rem; color: var(--muted); margin-top: 1rem; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-deep);
  background: rgba(76, 124, 63, 0.1); border: 1px solid rgba(76, 124, 63, 0.3);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 11px 22px; border-radius: var(--radius); border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 0.92rem;
  text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(76, 124, 63, 0.3); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { border-color: #c9c9c2; color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn-dark { background: var(--anthrazit); color: #fff; }
.btn-dark:hover { background: #000; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { height: 34px; width: auto; }
.footer-logo { height: 30px; width: auto; margin-bottom: 1rem; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.site-nav a:hover { color: var(--accent-deep); }
.site-nav .btn-nav { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero-banner { background: #16211c; }
.hero-banner img { width: 100%; max-width: 1920px; margin: 0 auto; }
.hero {
  background:
    radial-gradient(720px 380px at 88% 10%, rgba(76, 124, 63, 0.1), transparent 65%),
    linear-gradient(180deg, #fbfaf7 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.hero-inner { padding: 56px 0 64px; max-width: 820px; margin: 0 auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.8rem; justify-content: center; }
.hero-usps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 1.9rem; justify-content: center; }
.hero-usps li { position: relative; padding-left: 26px; font-size: 0.92rem; color: var(--muted); font-weight: 700; }
.hero-usps li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 19px; height: 19px; border-radius: 50%; background: var(--accent); color: #fff;
  font-size: 0.7rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* ---------- Werte-Band (aus dem CI) ---------- */
.value-band { background: var(--anthrazit); color: #fff; padding: 34px 0; }
.value-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.value-item h3 { font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.06em; color: #fff; }
.value-item h3::before { content: ""; display: block; width: 26px; height: 3px; background: var(--accent-strong); margin-bottom: 10px; border-radius: 2px; }
.value-item p { font-size: 0.82rem; color: rgba(255, 255, 255, 0.65); margin-top: 4px; }

/* ---------- Sektionen ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 2.6rem; }
.section-head p { color: var(--muted); margin-top: 0.7rem; }
.page-head {
  background: radial-gradient(600px 300px at 80% 0%, rgba(76, 124, 63, 0.08), transparent 65%), #fbfaf7;
  border-bottom: 1px solid var(--line);
  padding: 56px 0 40px;
}

/* ---------- Karten / Produkte ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.product-card { position: relative; display: flex; flex-direction: column; overflow: hidden; }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700;
  font-family: var(--font-head); text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.product-img { background: #fbfaf7; padding: 18px; border-bottom: 1px solid var(--line); }
.product-img img { aspect-ratio: 5 / 4; object-fit: contain; width: 100%; }
.variant-label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--muted); margin-bottom: 16px; }
.variant-select {
  display: block; width: 100%; margin-top: 6px; padding: 10px 12px;
  border: 1.5px solid #d5d5cf; border-radius: var(--radius); font: inherit;
  background: #fff; color: var(--ink); cursor: pointer;
}
.variant-select:focus { outline: none; border-color: var(--accent); }
.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-desc { color: var(--muted); font-size: 0.95rem; margin-top: 0.5rem; }
.features { list-style: none; margin: 1rem 0 1.4rem; display: grid; gap: 7px; }
.features li { position: relative; padding-left: 24px; font-size: 0.9rem; color: #3c3c38; }
.features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-body h3 a:hover { color: var(--accent-deep); }
.card-bottom { margin-top: auto; }
.card-footer { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.card-footer .btn { text-align: center; }
.card-footer .btn-details { padding: 9px 20px; font-size: 0.86rem; }
.price { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; line-height: 1.3; }
.price small { display: block; font-family: "Lato", sans-serif; font-weight: 400; color: var(--muted); font-size: 0.72rem; text-transform: none; }

/* ---------- Schritte / Branding ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-num {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: var(--radius); background: var(--accent); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin-bottom: 1rem;
}
.step p { color: var(--muted); font-size: 0.94rem; margin-top: 0.5rem; }
.branding-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.branding-item { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; }
.branding-item p { color: var(--muted); font-size: 0.93rem; margin-top: 0.4rem; }

/* ---------- Sortierung ---------- */
.sort-bar { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-bottom: 22px; }
.sort-bar label { font-size: 0.9rem; font-weight: 700; color: var(--muted); }
.sort-bar select {
  padding: 9px 12px; border: 1.5px solid #d5d5cf; border-radius: var(--radius);
  font: inherit; background: #fff; color: var(--ink); cursor: pointer;
}

/* ---------- Produktdetailseite ---------- */
.breadcrumb { margin-bottom: 1rem; font-size: 0.9rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-deep); }
.detail-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.detail-gallery img#detail-main {
  width: 100%; aspect-ratio: 5 / 4; object-fit: contain; background: #fbfaf7;
  border-radius: var(--radius); border: 1px solid var(--line); padding: 16px; box-sizing: border-box;
  cursor: zoom-in;
}
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumb {
  width: 76px; height: 62px; padding: 4px; background: #fbfaf7; border: 2px solid var(--line);
  border-radius: var(--radius); cursor: pointer; transition: border-color 0.12s ease;
}
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb:hover, .thumb.active { border-color: var(--accent); }
.detail-info .features { margin-top: 1.2rem; }
.detail-price {
  margin-top: 1.6rem; padding: 18px 20px; background: #fbfaf7;
  border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 14px;
}
.detail-price .btn { text-align: center; }
.detail-hint { margin-top: 1rem; font-size: 0.85rem; color: var(--muted); }
.detail-text p { color: #3c3c38; margin-bottom: 1rem; }
.detail-text h2 { margin: 1.8rem 0 0.8rem; }
.detail-text h2:first-child { margin-top: 0; }
.table-wrap { overflow-x: auto; }
.detail-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.detail-table th, .detail-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.detail-table thead th { font-family: var(--font-head); font-weight: 700; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.detail-table tbody th { color: var(--muted); font-weight: 700; width: 40%; }
.detail-table a { color: var(--accent-deep); text-decoration: none; white-space: nowrap; font-weight: 700; }
.detail-table .mono { font-family: Consolas, monospace; font-size: 0.88rem; color: var(--muted); }
.spec-table .spec-group th {
  font-family: var(--font-head); font-weight: 700; color: var(--accent-deep);
  text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.05em; padding-top: 22px;
}
.table-note { margin-top: 10px; font-size: 0.8rem; color: var(--muted); }
.container-narrow h2 { margin-bottom: 1rem; }
.container-narrow .table-wrap + h2, .container-narrow .table-note + h2 { margin-top: 2.4rem; }

/* ---------- Lightbox ---------- */
.lightbox-trigger { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center;
  background: rgba(26, 26, 26, 0.94);
}
.lightbox.open { display: flex; }
.lightbox figure { max-width: 88vw; max-height: 88vh; margin: 0; text-align: center; }
.lightbox img { max-width: 88vw; max-height: 80vh; object-fit: contain; border-radius: var(--radius); background: #fff; }
.lightbox figcaption { color: rgba(255, 255, 255, 0.8); margin-top: 12px; font-weight: 700; }
.lightbox button {
  position: absolute; background: rgba(255, 255, 255, 0.1); color: #fff; border: 0;
  font-size: 1.8rem; line-height: 1; width: 52px; height: 52px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lightbox button:hover { background: var(--accent); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Referenzen ---------- */
.ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.ref-item {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.ref-item img { width: 100%; aspect-ratio: 5 / 4; object-fit: contain; background: #fff; padding: 12px; box-sizing: border-box; }
.ref-item figcaption {
  padding: 10px 14px; font-size: 0.85rem; font-weight: 700; color: #3c3c38;
  background: var(--bg-alt); border-top: 1px solid var(--line);
}

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid #dcdbd4; padding: 4px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; position: relative; padding-right: 30px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.4rem; color: var(--accent); font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--muted); padding-bottom: 16px; }

/* ---------- CTA-Banner (Grün) ---------- */
.cta-banner { background: linear-gradient(100deg, var(--accent-deep) 0%, var(--accent) 100%); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-inner p { color: rgba(255, 255, 255, 0.8); margin-top: 0.4rem; font-weight: 700; }

/* ---------- Formular ---------- */
.anfrage-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.form-card { padding: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; }
.form-field input[type="text"], .form-field input[type="email"], .form-field input[type="tel"],
.form-field select, .form-field textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid #d5d5cf; border-radius: var(--radius);
  font: inherit; background: #fff; color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(76, 124, 63, 0.15);
}
.form-field input[type="file"] { font-size: 0.9rem; color: var(--muted); }
#logo-field { transition: opacity 0.15s ease; }
#logo-field.hidden { display: none; }
.form-consent label { display: flex; gap: 10px; font-weight: 400; font-size: 0.88rem; color: var(--muted); }
.form-consent input { margin-top: 4px; accent-color: var(--accent); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin-top: 14px; font-weight: 700; min-height: 1.4em; }
.form-status.success { color: var(--accent-deep); }
.form-status.error { color: #b3423a; }
.aside-card { padding: 24px; margin-bottom: 20px; }
.aside-steps { margin: 0.8rem 0 0 1.2rem; display: grid; gap: 8px; color: var(--muted); font-size: 0.94rem; }

/* ---------- Rechtstexte ---------- */
.legal h2 { font-size: 1.2rem; margin: 2rem 0 0.6rem; }
.legal p { color: #3c3c38; }
.placeholder-note {
  background: rgba(185, 142, 74, 0.12); border: 1px solid rgba(185, 142, 74, 0.45); border-radius: var(--radius);
  padding: 14px 18px; color: #8a6a37 !important; font-weight: 700;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--anthrazit); border-top: 3px solid var(--accent); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding: 56px 20px 32px; }
.footer-title { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.05em; margin-bottom: 0.8rem; }
.footer-muted { color: rgba(255, 255, 255, 0.55); font-size: 0.92rem; }
.site-footer a { display: block; color: rgba(255, 255, 255, 0.7); text-decoration: none; margin-bottom: 8px; font-size: 0.94rem; }
.site-footer a:hover { color: var(--accent-strong); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 20px; }
.footer-bottom p { color: rgba(255, 255, 255, 0.45); font-size: 0.85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .anfrage-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-inner { padding: 44px 0 52px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 680px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 20px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; }
  .site-nav .btn-nav { text-align: center; margin-top: 8px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
}
