/* Samwel Gorcha - shared stylesheet
   Colors / spacing faithfully match the approved Claude Design project.
   Google Fonts (Manrope/Inter) replaced with a self-hosted-free system font
   stack so the site ships with zero external CDN dependencies. */

:root {
  --color-primary: #2554d9;
  --color-primary-hover: #1c3fa8;
  --color-primary-light: #eaf0fd;
  --color-dark: #1f2430;
  --color-text: #1f2430;
  --color-text-muted: #4b5563;
  --color-text-mutedmore: #6b7280;
  --color-text-faint: #9aa2ad;
  --color-border: #e5e8ec;
  --color-border-strong: #d1d5db;
  --color-bg: #ffffff;
  --color-bg-alt: #f3f5f7;
  --color-bg-alt2: #f9fafb;
  --color-success-border: #cfe3d4;
  --color-success-bg: #f2f9f4;
  --color-success-icon: #3f9a54;
  --color-success-text: #8fd19e;
  --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  font-family: var(--font-body);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 { font-family: var(--font-heading); margin: 0; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-hover); }

img { max-width: 100%; display: block; }

input, textarea, select, button { font-family: var(--font-body); }
::placeholder { color: var(--color-text-faint); }

button { cursor: pointer; }

.site-main { flex: 1; width: 100%; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container-1100 { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.container-1000 { max-width: 1000px; margin: 0 auto; padding: 0 32px; }
.container-860 { max-width: 860px; margin: 0 auto; padding: 0 32px; }
.container-760 { max-width: 760px; margin: 0 auto; padding: 0 32px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container {
  padding-top: 16px; padding-bottom: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 8px; background: var(--color-primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.brand-mark span { width: 12px; height: 12px; background: #fff; border-radius: 2px; }
.brand-name { font-family: var(--font-heading); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--color-text); }

.main-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.main-nav a { color: var(--color-text); font-weight: 600; font-size: 14.5px; }
.main-nav a.active { color: var(--color-primary); }

.cart-link {
  display: flex; align-items: center; gap: 8px;
  background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: 10px;
  padding: 9px 14px; color: var(--color-text); font-weight: 700; font-size: 14px;
}
.cart-link .cart-icon { width: 16px; height: 16px; border: 2px solid var(--color-text); border-radius: 3px; }
.cart-count {
  background: var(--color-primary); color: #fff; font-size: 11.5px; font-weight: 700;
  border-radius: 999px; padding: 2px 7px; min-width: 18px; text-align: center; display: none;
}
.cart-count.show { display: inline-block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 10px; padding: 14px 26px; font-weight: 700; font-size: 15px;
  cursor: pointer; text-decoration: none;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-hover); color: #fff; }
.btn-outline { background: #fff; color: var(--color-text); border: 1.5px solid var(--color-border-strong); }
.btn-outline:hover { color: var(--color-text); border-color: var(--color-text-faint); }
.btn-dark { background: var(--color-dark); color: #fff; }
.btn-dark:hover { background: #333a49; color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px; font-size: 13.5px; border-radius: 8px; }

/* Pills */
.pill { display: inline-block; background: var(--color-primary-light); color: var(--color-primary); font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.filter-pill {
  padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--color-border-strong);
  background: #fff; color: #374151; font-weight: 700; font-size: 13.5px; cursor: pointer;
}
.filter-pill.active { border-color: var(--color-primary); background: var(--color-primary-light); color: var(--color-primary); }

/* Breadcrumb */
.breadcrumb { font-size: 13.5px; color: var(--color-text-mutedmore); margin-bottom: 12px; }

/* Hero */
.hero { padding: 64px 32px 56px; display: flex; gap: 56px; align-items: center; flex-wrap: wrap; }
.hero-copy { flex: 1 1 440px; min-width: 320px; }
.hero-media { flex: 1 1 380px; min-width: 300px; }
.hero h1 { font-size: 46px; line-height: 1.12; letter-spacing: -0.02em; color: var(--color-text); margin-bottom: 20px; }
.hero p { font-size: 17px; line-height: 1.65; color: var(--color-text-muted); max-width: 480px; margin-bottom: 28px; }
.media-frame { width: 100%; border-radius: 16px; overflow: hidden; border: 1px solid var(--color-border); aspect-ratio: 4/3; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame.square { aspect-ratio: 1/1; }
.media-frame.wide { aspect-ratio: 16/9; }
.media-frame.wide10 { aspect-ratio: 16/10; }

/* Trust bar */
.trust-bar { background: var(--color-bg-alt); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.trust-bar .container { padding: 22px 32px; display: flex; gap: 32px; flex-wrap: wrap; justify-content: space-between; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: #374151; }
.trust-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary); flex-shrink: 0; }

/* Section */
.section { padding: 64px 32px; }
.section-alt { background: var(--color-bg-alt2); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; flex-wrap: wrap; gap: 12px; }
.section h2 { font-size: 28px; color: var(--color-text); margin-bottom: 8px; }
.section-head h2 { margin-bottom: 0; }
.section > p, .section-head p { color: var(--color-text-mutedmore); font-size: 15px; }
.link-strong { font-weight: 700; font-size: 14.5px; }

/* Grids */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid-products { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-articles { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-related { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-why { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-values { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Category card */
.category-card { cursor: pointer; border: 1px solid var(--color-border); border-radius: 14px; padding: 22px; background: #fff; transition: border-color .15s; display: block; }
.category-card:hover { border-color: var(--color-primary); }
.category-card .media-frame { margin-bottom: 16px; }
.category-card .category-name { font-weight: 700; font-size: 15px; color: var(--color-text); }

/* Product card */
.product-card { border: 1px solid var(--color-border); border-radius: 14px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.product-card .media-frame { position: relative; padding: 0; }
.product-card .product-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-cat { font-size: 12px; color: var(--color-primary); font-weight: 700; }
.product-name { font-weight: 700; font-size: 15px; color: var(--color-text); line-height: 1.3; }
a.product-name { display: block; }
.product-desc { color: var(--color-text-mutedmore); font-size: 13px; line-height: 1.5; }
.product-price { font-weight: 800; font-size: 16px; color: var(--color-text); margin-top: auto; }
.product-badge { position: absolute; top: 10px; left: 10px; background: var(--color-primary); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 6px; }

/* Article card */
.article-card { cursor: pointer; border: 1px solid var(--color-border); border-radius: 14px; background: #fff; overflow: hidden; display: block; }
.article-card .article-body { padding: 20px; }
.article-cat { font-size: 12px; color: var(--color-primary); font-weight: 700; margin-bottom: 8px; }
.article-title { font-weight: 700; font-size: 16.5px; color: var(--color-text); line-height: 1.35; margin-bottom: 10px; }
.article-excerpt { color: var(--color-text-mutedmore); font-size: 13.5px; line-height: 1.55; margin-bottom: 12px; }
.article-date { color: var(--color-text-faint); font-size: 12.5px; }

/* Why grid */
.why-item .why-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--color-primary-light); margin-bottom: 14px; display: flex; align-items: center; justify-content: center; }
.why-item .why-icon span { display: block; background: var(--color-primary); }
.why-item .why-title { font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.why-item .why-desc { color: var(--color-text-mutedmore); font-size: 14.5px; line-height: 1.6; }

/* Newsletter CTA */
.newsletter-box { background: var(--color-dark); border-radius: 20px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.newsletter-box h2 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.newsletter-box p { color: #a3aab5; font-size: 14.5px; margin: 0; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input { padding: 13px 16px; border-radius: 10px; border: none; min-width: 220px; font-size: 14px; }
.newsletter-success { color: var(--color-success-text); font-weight: 700; font-size: 15px; }

/* Forms */
.form-stack { display: flex; flex-direction: column; gap: 12px; }
.form-input, .form-textarea {
  padding: 12px 14px; border: 1.5px solid var(--color-border-strong); border-radius: 9px; font-size: 14px; width: 100%;
}
.form-textarea { resize: vertical; }
.form-row { display: flex; gap: 10px; }

/* Product detail */
.product-detail { display: flex; gap: 48px; flex-wrap: wrap; margin-bottom: 64px; }
.product-detail-media { flex: 1 1 380px; min-width: 300px; }
.product-detail-info { flex: 1 1 380px; min-width: 300px; }
.product-detail-info h1 { font-size: 28px; color: var(--color-text); margin-bottom: 14px; line-height: 1.25; }
.product-detail-price { font-weight: 800; font-size: 26px; color: var(--color-text); margin-bottom: 6px; }
.product-vat-note { color: var(--color-text-faint); font-size: 13px; margin-bottom: 22px; }
.product-longdesc { color: var(--color-text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 28px; }
.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.qty-control { display: flex; align-items: center; border: 1.5px solid var(--color-border-strong); border-radius: 10px; }
.qty-control button { width: 40px; height: 44px; border: none; background: none; font-size: 18px; color: var(--color-text); }
.qty-control .qty-value { width: 36px; text-align: center; font-weight: 700; }
.product-features { border-top: 1px solid var(--color-border); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.feature-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--color-text-muted); font-weight: 600; }
.feature-item .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-primary); flex-shrink: 0; }

/* Cart page */
.cart-layout { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.cart-items { flex: 2 1 380px; display: flex; flex-direction: column; gap: 16px; }
.cart-item { display: flex; gap: 16px; border: 1px solid var(--color-border); border-radius: 14px; padding: 16px; align-items: center; }
.cart-item-thumb { width: 76px; height: 76px; flex-shrink: 0; border-radius: 10px; overflow: hidden; }
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 700; font-size: 14.5px; color: var(--color-text); margin-bottom: 4px; }
.cart-item-unit { color: var(--color-text-mutedmore); font-size: 13px; margin-bottom: 10px; }
.cart-item-controls { display: flex; align-items: center; gap: 10px; }
.qty-control-sm { display: flex; align-items: center; border: 1.5px solid var(--color-border-strong); border-radius: 8px; }
.qty-control-sm button { width: 30px; height: 30px; border: none; background: none; font-size: 15px; }
.qty-control-sm .qty-value { width: 26px; text-align: center; font-size: 13.5px; font-weight: 700; }
.remove-link { font-size: 13px; color: var(--color-text-faint); font-weight: 600; background: none; border: none; padding: 0; cursor: pointer; }
.cart-item-total { font-weight: 800; font-size: 15px; color: var(--color-text); white-space: nowrap; }

.cart-summary { flex: 1 1 300px; min-width: 280px; border: 1px solid var(--color-border); border-radius: 14px; padding: 24px; position: sticky; top: 90px; }
.cart-summary h3 { font-size: 17px; margin-bottom: 18px; color: var(--color-text); }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--color-text-muted); margin-bottom: 10px; }
.summary-hint { font-size: 12.5px; color: var(--color-primary); margin-bottom: 10px; }
.summary-total { display: flex; justify-content: space-between; font-size: 17px; font-weight: 800; color: var(--color-text); border-top: 1px solid var(--color-border); padding-top: 14px; margin-top: 6px; margin-bottom: 22px; }
.payment-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.payment-label-title { font-size: 12.5px; font-weight: 700; color: var(--color-text-mutedmore); margin-bottom: 2px; }
.payment-option { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #374151; cursor: pointer; }
.checkout-note { font-size: 11.5px; color: var(--color-text-faint); line-height: 1.5; }
.cart-empty { text-align: center; padding: 64px 20px; border: 1.5px dashed var(--color-border-strong); border-radius: 16px; }
.cart-empty p { color: var(--color-text-mutedmore); font-size: 15.5px; margin-bottom: 20px; }
.order-success { border: 1.5px solid var(--color-success-border); background: var(--color-success-bg); border-radius: 16px; padding: 40px; text-align: center; }
.order-success .check-circle { width: 52px; height: 52px; border-radius: 50%; background: var(--color-success-icon); margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; }
.order-success .check-circle .mark { width: 18px; height: 10px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg) translateY(-2px); }
.order-success h2 { font-size: 22px; color: var(--color-text); margin-bottom: 10px; }
.order-success p { color: var(--color-text-muted); font-size: 15px; margin-bottom: 6px; }
.order-success .order-help { color: var(--color-text-mutedmore); font-size: 14px; margin-bottom: 24px; }

/* Contact */
.contact-layout { display: flex; gap: 48px; flex-wrap: wrap; }
.contact-info { flex: 1 1 280px; display: flex; flex-direction: column; gap: 20px; }
.contact-form-col { flex: 1 1 320px; }
.info-label { font-weight: 700; font-size: 13.5px; color: var(--color-text-faint); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.info-value { font-size: 15px; color: var(--color-text); font-weight: 600; line-height: 1.5; }
.contact-success { border: 1.5px solid var(--color-success-border); background: var(--color-success-bg); border-radius: 14px; padding: 32px; text-align: center; }
.contact-success .title { font-weight: 700; font-size: 16px; color: var(--color-text); margin-bottom: 8px; }
.contact-success .desc { color: var(--color-text-muted); font-size: 14px; }

/* Legal pages */
.legal-updated { color: var(--color-text-faint); font-size: 13px; margin-bottom: 32px; }
.legal-body { color: #374151; font-size: 15px; line-height: 1.85; display: flex; flex-direction: column; gap: 22px; }
.legal-body h3 { font-size: 17px; margin-bottom: 8px; }
.impressum-body { color: #374151; font-size: 15px; line-height: 2; display: flex; flex-direction: column; gap: 4px; }

/* About */
.about-lead { color: var(--color-text-muted); font-size: 16px; line-height: 1.8; margin-bottom: 22px; }
.value-title { font-weight: 700; font-size: 15px; color: var(--color-text); margin-bottom: 6px; }
.value-desc { color: var(--color-text-mutedmore); font-size: 14px; line-height: 1.6; }

/* Blog article */
.article-cover { width: 100%; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; margin-bottom: 32px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-meta { color: var(--color-text-faint); font-size: 13.5px; margin-bottom: 28px; }
.article-content { color: #374151; font-size: 16px; line-height: 1.85; white-space: pre-line; }
.article-back { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--color-border); }

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--color-dark);
  padding: 18px 32px; display: flex; gap: 20px; align-items: center; justify-content: center; flex-wrap: wrap;
}
.cookie-banner p { color: #d1d5db; font-size: 13.5px; max-width: 620px; margin: 0; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner button { background: var(--color-primary); color: #fff; border: none; padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: 13.5px; white-space: nowrap; }

/* Toast */
.toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 70; background: var(--color-dark); color: #fff;
  padding: 14px 20px; border-radius: 10px; font-size: 14px; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.2);
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* Footer */
.site-footer { background: var(--color-bg-alt2); border-top: 1px solid var(--color-border); margin-top: auto; }
.footer-grid { max-width: var(--container); margin: 0 auto; padding: 56px 32px 28px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { font-family: var(--font-heading); font-weight: 800; font-size: 18px; color: var(--color-text); margin-bottom: 12px; }
.footer-desc { color: var(--color-text-mutedmore); font-size: 13.5px; line-height: 1.7; max-width: 280px; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social span { width: 32px; height: 32px; border-radius: 8px; background: var(--color-border); display: block; }
.footer-col-title { font-weight: 700; font-size: 13px; color: var(--color-text); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--color-text-mutedmore); font-size: 13.5px; }
.footer-bottom { border-top: 1px solid var(--color-border); }
.footer-bottom .container { padding: 20px 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { color: var(--color-text-faint); font-size: 12.5px; }
.pay-badges { display: flex; gap: 10px; }
.pay-badge { border: 1px solid var(--color-border); border-radius: 6px; padding: 5px 10px; font-size: 11px; color: var(--color-text-mutedmore); font-weight: 600; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .newsletter-box { padding: 32px 24px; }
}
