/* ââ CEVN Shop â Frontend CSS ââââââââââââââââââââââââââââââââââââââââââ */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --surface: #ffffff;
  --surface2: #f8fafc;
  --border: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;
  --green: #16a34a;
  --red: #dc2626;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(15,23,42,.08);
  --shadow-lg: 0 12px 48px rgba(15,23,42,.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--surface2); color: var(--text); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ââ Layout ââ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }

/* ââ Nav ââ */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); padding: 0 20px;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 24px;
}
.nav-brand { font-size: 20px; font-weight: 900; letter-spacing: .05em;
  color: var(--text); display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { padding: 8px 14px; border-radius: 10px; color: var(--muted);
  font-size: 14px; font-weight: 600; transition: all .15s; }
.nav-links a:hover, .nav-links a.active { background: var(--surface2); color: var(--text); text-decoration: none; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.cart-btn { position: relative; background: var(--text); color: #fff;
  border: none; border-radius: 12px; padding: 9px 16px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.cart-badge { position: absolute; top: -6px; right: -6px; background: var(--primary);
  color: #fff; border-radius: 999px; font-size: 11px; font-weight: 900;
  min-width: 18px; height: 18px; display: flex; align-items: center; justify-content: center;
  padding: 0 4px; display: none; }
.cart-badge.show { display: flex; }

/* ââ Buttons ââ */
.btn { display: inline-flex; align-items: center; gap: 8px; border: none;
  border-radius: var(--radius); padding: 12px 22px; font: inherit; font-size: 15px;
  font-weight: 700; cursor: pointer; transition: all .18s; text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; color: #fff; }
.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 18px; }
.btn:disabled { opacity: .5; cursor: wait; }

/* ââ Cards ââ */
.card { background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); }

/* ââ Product Grid ââ */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 18px; }
.product-card { display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--border,#e2e8f0); border-radius: 18px; overflow: hidden;
  text-decoration: none; color: inherit; transition: all .2s; position: relative; }
.product-card:hover { border-color: var(--primary,#2563eb); box-shadow: 0 8px 32px rgba(37,99,235,.12); transform: translateY(-3px); }
.product-card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--surface2,#f8fafc); position: relative; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; color: var(--border); }
.product-card-badge { position: absolute; top: 10px; right: 10px; background: var(--primary,#2563eb); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.product-card-body { padding: 14px 14px 8px; flex: 1; }
.product-card-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted,#64748b); margin-bottom: 5px; }
.product-card-name { font-size: 15px; font-weight: 800; margin: 0 0 6px; line-height: 1.3; }
.product-card-desc { font-size: 13px; color: var(--muted,#64748b); margin: 0; line-height: 1.5; }
.product-card-bullets { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 3px; }
.product-card-bullets li { font-size: 12px; color: var(--muted,#64748b); line-height: 1.4; padding-left: 12px; position: relative; }
.product-card-bullets li::before { content: "·"; position: absolute; left: 0; color: var(--primary,#2563eb); font-weight: 900; }
.product-card-footer { padding: 10px 14px 14px; border-top: 1px solid var(--border,#e2e8f0); margin-top: auto; }
.product-card-price { font-size: 19px; font-weight: 900; color: var(--primary,#2563eb); display: flex; align-items: baseline; gap: 5px; }
.product-card-price .price-label { font-size: 12px; font-weight: 600; color: var(--muted,#64748b); }
.product-card-vat { font-size: 11px; color: var(--muted,#64748b); margin-top: 2px; }
/* Legacy-Aliase (alte Templates) */
.product-price { font-size: 18px; font-weight: 900; color: var(--primary); }
.product-price small { font-size: 11px; color: var(--muted); font-weight: 500; display: block; }
.badge-config { display: inline-flex; align-items: center; gap: 4px; background: #eff6ff;
  color: var(--primary); border-radius: 999px; padding: 2px 10px; font-size: 11px; font-weight: 700; }

/* ââ Hero ââ */
.hero { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: #fff; padding: 80px 0 70px; }
.hero h1 { font-size: clamp(32px,5vw,56px); font-weight: 900; line-height: 1.1;
  margin: 0 0 16px; }
.hero p { font-size: 18px; color: #94a3b8; max-width: 560px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero { background: var(--primary); color: #fff; }
.btn-hero:hover { background: #1d4ed8; text-decoration: none; color: #fff; }
.btn-hero-outline { background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.25); }
.btn-hero-outline:hover { background: rgba(255,255,255,.2); text-decoration: none; color: #fff; }

/* ââ Category sidebar ââ */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
@media(max-width: 768px) { .shop-layout { grid-template-columns: 1fr; } }
.shop-sidebar { position: sticky; top: 80px; }
.cat-nav { list-style: none; margin: 0; padding: 0; }
.cat-nav li a { display: block; padding: 9px 14px; border-radius: 10px; color: var(--muted);
  font-size: 14px; font-weight: 600; transition: all .15s; }
.cat-nav li a:hover, .cat-nav li a.active { background: #eff6ff; color: var(--primary); text-decoration: none; }
.cat-nav li a.active { font-weight: 800; }

/* ââ Product detail ââ */
.product-detail { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: start; }
@media(max-width: 900px) { .product-detail { grid-template-columns: 1fr; } }
.product-gallery { }
.gallery-main { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
  background: var(--surface2); border: 1px solid var(--border); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.gallery-thumb { width: 72px; height: 72px; border-radius: 10px; overflow: hidden;
  border: 2px solid transparent; cursor: pointer; transition: border-color .15s; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info h1 { margin: 0 0 8px; font-size: 28px; font-weight: 900; }
.product-sku { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.product-short-desc { color: var(--muted); margin-bottom: 24px; line-height: 1.7; }

.price-box { background: var(--surface2); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 20px; margin-bottom: 20px; }
.price-base-label { font-size: 12px; color: var(--muted); text-transform: uppercase;
  letter-spacing: .08em; }
.price-value { font-size: 36px; font-weight: 900; color: var(--primary); line-height: 1; margin: 4px 0; }
.price-vat { font-size: 12px; color: var(--muted); }
.price-delta { font-size: 14px; color: var(--green); font-weight: 700; margin-top: 6px; }

/* ââ Configurator ââ */
.configurator { margin-bottom: 24px; }
.config-area { margin-bottom: 20px; }
.config-area-title { font-size: 12px; text-transform: uppercase; letter-spacing: .12em;
  color: var(--muted); font-weight: 800; margin: 0 0 10px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border); }
.config-group { margin-bottom: 14px; }
.config-group-label { font-size: 13px; font-weight: 700; margin: 0 0 8px;
  display: flex; align-items: center; gap: 6px; }
.required-badge { font-size: 10px; background: #fef2f2; color: var(--red);
  border-radius: 4px; padding: 1px 5px; font-weight: 700; }
.config-options { display: flex; flex-direction: column; gap: 6px; }
.config-option { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px;
  border: 1.5px solid var(--border); border-radius: 10px; cursor: pointer;
  transition: all .15s; }
.config-option:hover { border-color: var(--primary); background: #f8faff; }
.config-option.selected { border-color: var(--primary); background: #eff6ff; }
.config-option input { margin-top: 2px; accent-color: var(--primary); }
.config-option-text { flex: 1; }
.config-option-name { font-size: 14px; font-weight: 700; }
.config-option-desc { font-size: 12px; color: var(--muted); margin-top: 2px; }
.config-option-price { font-size: 13px; font-weight: 700; color: var(--green); white-space: nowrap; }
.config-option-price.negative { color: var(--red); }

/* ââ Cart panel ââ */
.cart-panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px,100vw);
  background: var(--surface); border-left: 1px solid var(--border);
  z-index: 200; box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.cart-panel.open { transform: translateX(0); }
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 199;
  display: none; backdrop-filter: blur(4px); }
.cart-overlay.show { display: block; }
.cart-header { padding: 20px 22px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; }
.cart-header h2 { margin: 0; font-size: 18px; }
.cart-close { background: none; border: 1px solid var(--border); border-radius: 9px;
  padding: 7px 12px; cursor: pointer; color: var(--muted); font-size: 18px; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 22px; }
.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 56px; height: 56px; border-radius: 8px; overflow: hidden;
  flex-shrink: 0; background: var(--surface2); display: flex; align-items: center; justify-content: center; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 700; }
.cart-item-opts { font-size: 12px; color: var(--muted); }
.cart-item-price { font-size: 14px; font-weight: 800; color: var(--primary); }
.cart-item-qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty-btn { width: 26px; height: 26px; border: 1px solid var(--border); border-radius: 6px;
  background: var(--surface2); cursor: pointer; font-size: 16px; line-height: 1;
  display: flex; align-items: center; justify-content: center; }
.cart-footer { padding: 18px 22px; border-top: 1px solid var(--border); }
.cart-total-row { display: flex; justify-content: space-between;
  font-size: 18px; font-weight: 900; margin-bottom: 14px; }
.cart-empty { text-align: center; padding: 40px 20px; color: var(--muted); }

/* ââ Checkout ââ */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
@media(max-width: 800px) { .checkout-layout { grid-template-columns: 1fr; } }
.checkout-sticky { position: sticky; top: 80px; }

.form-card { background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; margin-bottom: 18px; box-shadow: var(--shadow); }
.form-card h2 { margin: 0 0 18px; font-size: 17px; font-weight: 800; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: 11px;
  padding: 11px 13px; font: inherit; font-size: 14px; background: var(--surface2);
  transition: border-color .15s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); }
.form-group textarea { min-height: 80px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media(max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.type-selector { display: flex; gap: 10px; }
.type-card { flex: 1; padding: 14px; border: 1.5px solid var(--border); border-radius: 14px;
  cursor: pointer; transition: all .15s; text-align: center; }
.type-card input { display: none; }
.type-card.active { border-color: var(--primary); background: #eff6ff; }
.type-card h4 { margin: 0 0 4px; font-size: 15px; }
.type-card p { margin: 0; font-size: 12px; color: var(--muted); }
.type-card.active p { color: #3b82f6; }

.notice { padding: 13px 16px; border-radius: 12px; font-size: 14px; margin-bottom: 16px; }
.notice-ok  { background: #f0fdf4; border: 1px solid #bbf7d0; color: #14532d; }
.notice-err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* ââ Footer ââ */
.site-footer { background: #0f172a; color: #94a3b8; padding: 40px 0 24px; margin-top: 60px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 32px; }
.footer-brand { font-size: 18px; font-weight: 900; color: #fff; margin-bottom: 8px; }
.social-row { display: flex; gap: 10px; margin-top: 12px; }
.social-row a { display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.1);
  color: #94a3b8; font-size: 12px; font-weight: 800; text-decoration: none;
  transition: background .15s; }
.social-row a:hover { background: var(--primary,#2563eb); color: #fff; text-decoration: none; }
.pay-grid { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pay-badge { display: inline-block; padding: 3px 8px; border-radius: 6px;
  background: rgba(255,255,255,.08); color: #cbd5e1; font-size: 11px; font-weight: 700; }
.footer-bottom-links { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
.footer-bottom-links a { color: #94a3b8; }
.footer-bottom-links a:hover { color: #fff; text-decoration: none; }
.footer-bottom-links span { color: #475569; }
.footer-copy  { text-align: center; padding: 24px 20px; font-size: 13px;
  border-top: 1px solid #1e293b; margin-top: 32px;
  display: flex; flex-direction: column; gap: 8px; align-items: center; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { color: #94a3b8; font-size: 14px; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-section h4 { color: #e2e8f0; font-size: 13px; text-transform: uppercase;
  letter-spacing: .1em; margin: 0 0 14px; }

/* ââ Misc ââ */
.page-header { padding: 40px 0 32px; }
.page-header h1 { margin: 0 0 8px; font-size: 34px; font-weight: 900; }
.page-header p { margin: 0; color: var(--muted); font-size: 16px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { margin: 0 6px; }
.spinner { display: inline-block; width: 18px; height: 18px;
  border: 2px solid rgba(37,99,235,.3); border-top-color: var(--primary);
  border-radius: 50%; animation: spin .7s linear infinite; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state h3 { color: var(--text); }

/* ââ Responsive ââ */
@media(max-width: 640px) {
  .section { padding: 36px 0; }
  .hero { padding: 48px 0; }
  .nav-links { display: none; }
  .products-grid { grid-template-columns: 1fr; }
}

/* Nav Dropdown – has-menu / nav-dropdown */
.nav-links li.has-menu { position: relative; }
.nav-links li.has-menu .nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  min-width: 200px;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(15,23,42,.13);
  padding: 8px 0;
  z-index: 300;
  white-space: nowrap;
}
.nav-links li.has-menu:hover .nav-dropdown { display: block; }
.nav-links li.has-menu .nav-dropdown a {
  display: block;
  padding: 9px 18px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .12s, color .12s;
}
.nav-links li.has-menu .nav-dropdown a:hover {
  background: var(--surface2);
  color: var(--primary);
}

/* Gallery Main – Bildgrösse */
.gallery-main {
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface2);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 520px;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* Topline */
.cevn-header { position: sticky; top: 0; z-index: 100; }
.cevn-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0f172a;
  color: rgba(255,255,255,.75);
  font-size: 12px;
  padding: 6px 20px;
  gap: 16px;
}
.cevn-topline a { color: var(--primary); text-decoration: none; }
.cevn-topline a:hover { text-decoration: underline; }


/* Produktkarten – kein Underline auf Text */
.product-card { text-decoration: none !important; }
.product-card * { text-decoration: none !important; }
.product-card:hover .product-card-name { color: var(--primary, #2563eb); }
/* Bild-Verhältnis einheitlich (Start- + Shop-Seite identisch) */
.product-card-img { aspect-ratio: 4/3; }

/* ═══════════════════════════════════════════════
   MOBILE RESPONSIVE – CEVN SHOP
   Breakpoints: 768px (tablet), 480px (phone)
   ═══════════════════════════════════════════════ */

/* ── Layout-Basis ─────────────────────────────── */
@media(max-width:768px) {
  body { -webkit-text-size-adjust: 100%; }

  /* Site-Box: kein seitlicher Schatten auf Mobile */
  .site-box { box-shadow: none; }

  /* Container-Padding */
  .container { padding: 0 16px; }
}

/* ── Konfigurator ─────────────────────────────── */
@media(max-width:768px) {
  /* Konfigurator-Optionen: 2 Spalten auf Tablet */
  .cfg-options { grid-template-columns: repeat(2,1fr) !important; gap: 8px; }
  .cfg-options.cfg-wide { grid-template-columns: 1fr !important; }

  /* Konfigurator-Container: kein overflow */
  .cfg-area-tabs { flex-wrap: wrap; gap: 6px; }
  .cfg-area-tab { font-size: 12px; padding: 6px 12px; }

  /* Option-Tile etwas kompakter */
  .cfg-option-tile { padding: 10px; }
  .cfg-opt-name { font-size: 13px; }
  .cfg-opt-price { font-size: 12px; }
}

@media(max-width:480px) {
  /* Konfigurator-Optionen: 1 Spalte auf Phone */
  .cfg-options { grid-template-columns: 1fr !important; }
  .cfg-option-tile { flex-direction: row; align-items: center; gap: 10px; padding: 10px 12px; }
}

/* ── Produktseite ─────────────────────────────── */
@media(max-width:900px) {
  .product-detail { gap: 24px; }
}

@media(max-width:768px) {
  /* Produktseite: volle Breite, kein seitliches Padding-Problem */
  .product-detail { grid-template-columns: 1fr; padding: 0 16px 80px; }

  /* Sticky CTA am Bottom */
  .product-sticky { 
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
    background: #fff; border-top: 1px solid #e2e8f0;
    padding: 12px 16px; box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  }

  /* Preis & Buttons */
  .prod-price-block { padding-bottom: 8px; }
  .btn-primary, .btn-outline, button[type=submit] { 
    min-height: 48px; font-size: 15px; 
  }

  /* Galerie */
  .gallery-main { border-radius: 10px; }
  .product-gallery { margin: 0; }
}

/* ── Shop-Grid / Produktliste ─────────────────── */
@media(max-width:768px) {
  .shop-layout { 
    grid-template-columns: repeat(2,1fr) !important; 
    gap: 12px; 
    padding: 0 12px;
  }
}

@media(max-width:400px) {
  .shop-layout { grid-template-columns: 1fr !important; }
}

/* ── Produktkarte ─────────────────────────────── */
@media(max-width:768px) {
  .product-card { border-radius: 12px; }
  .product-card .card-body { padding: 12px; }
  .product-card h3 { font-size: 14px; }
  .product-card .card-price { font-size: 16px; }
  .product-card .card-btn { padding: 8px 14px; font-size: 13px; }
}

/* ── Checkout ─────────────────────────────────── */
@media(max-width:768px) {
  .checkout-layout { gap: 20px; padding: 16px; }
  .checkout-step { padding: 16px; border-radius: 14px; }
  .checkout-step h2 { font-size: 17px; }
}

/* ── Homepage Hero ────────────────────────────── */
@media(max-width:768px) {
  .hero { padding: 40px 20px; text-align: center; }
  .hero h1 { font-size: clamp(28px, 7vw, 44px); }
  .hero p { font-size: 16px; }
  .hero .btn-row { flex-direction: column; align-items: center; gap: 10px; }
  .hero .btn-row a, .hero .btn-row button { width: 100%; max-width: 300px; }
}

/* ── Footer ───────────────────────────────────── */
@media(max-width:640px) {
  .footer-inner { flex-direction: column; gap: 24px; padding: 32px 20px; }
  .footer-col { min-width: 0; }
}

/* ── Account / Mein Konto ─────────────────────── */
@media(max-width:768px) {
  .acc-tabs { flex-wrap: wrap; gap: 6px; padding: 0 4px; }
  .acc-tab { font-size: 13px; padding: 8px 14px; }
  .acc-card { border-radius: 14px; padding: 20px 16px; }
  .order-row { flex-wrap: wrap; gap: 6px; }
  .order-row-btns { flex-wrap: wrap; gap: 6px; }
  .order-row-btns button, .order-row-btns a { font-size: 11px; padding: 6px 10px; }
}

/* ── Allgemeine Touch-Targets ─────────────────── */
@media(max-width:768px) {
  /* Mindest-Touch-Target: 44px */
  a, button { -webkit-tap-highlight-color: transparent; }

  /* Formulare */
  input, select, textarea { font-size: 16px !important; } /* Verhindert iOS Zoom */

  /* Schriftgröße */
  body { font-size: 15px; }
}

/* ── Scroll-Fix ───────────────────────────────── */
@media(max-width:768px) {
  html { scroll-padding-top: 70px; } /* Sticky Nav-Höhe */
}
