:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --yellow: #facc15;
  --yellow-dark: #eab308;
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
  --white: #ffffff;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.5;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
.site-header {
  background: var(--navy);
  color: var(--text-light);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--yellow);
}

.main-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--text-light);
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--yellow);
}

.btn-nav {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.btn-primary {
  background: var(--yellow);
  color: var(--navy);
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 16px;
  line-height: 1.2;
}

.accent {
  color: var(--yellow);
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn-outline {
  border-color: var(--text-light);
  color: var(--text-light);
}

/* Sections */
.section {
  padding: 70px 0;
}

.section-alt {
  background: #f8fafc;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin: 0 0 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.15s ease;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

.product-photo {
  width: 140px;
  height: 140px;
  background: #f8fafc;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding: 8px;
}

.product-photo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-icon {
  color: var(--yellow-dark);
  background: #fef9c3;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.product-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0 0 16px;
  flex-grow: 1;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 18px;
}

.product-price .unit {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.step {
  text-align: center;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.2rem;
}

.step h3 {
  margin: 0 0 8px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Contact */
.contact-inner {
  text-align: center;
}

.zelle-note {
  margin-top: 20px;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--text-muted);
  text-align: center;
  padding: 24px 0;
  font-size: 0.9rem;
}

/* Product actions */
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

/* Cart toggle button */
.cart-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 6px;
}

.cart-toggle:hover {
  color: var(--yellow);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Cart drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 20;
}

.cart-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 380px;
  max-width: 90vw;
  background: var(--white);
  box-shadow: -8px 0 24px rgba(15, 23, 42, 0.15);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 21;
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.cart-drawer-header h3 {
  margin: 0;
}

.cart-close {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--navy);
  padding: 0 4px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.cart-empty {
  color: var(--text-muted);
  text-align: center;
  margin-top: 40px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #e2e8f0;
}

.cart-item-info h4 {
  margin: 0 0 4px;
  font-size: 0.95rem;
}

.cart-item-price {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cart-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: var(--white);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-qty-btn:hover {
  background: #f8fafc;
}

.cart-item-qty {
  min-width: 18px;
  text-align: center;
  font-weight: 600;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0 2px;
}

.cart-item-remove:hover {
  color: #ef4444;
}

.cart-drawer-footer {
  padding: 20px;
  border-top: 1px solid #e2e8f0;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cart-checkout {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}

.cart-clear {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-muted);
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 4px;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .header-inner {
    justify-content: center;
    text-align: center;
  }
  .product-actions {
    flex-direction: column;
  }
}
