/* ============================================================
   aufkleberhelden.de – kleben und kleben lassen
   Helles Werkstatt-Design auf Papierweiß mit einer Akzentfarbe:
   Sticker-Orange (nach dem historischen Logo). Keine externen
   Fonts, keine externen Ressourcen, keine Dauer-Animationen.
   ============================================================ */

:root {
  --bg: #f8f6f2;
  --surface: #ffffff;
  --surface-soft: #fbf9f5;
  --ink: #262a33;
  --muted: #5d626e;
  --line: #e8e4db;
  --orange: #e86c0a;          /* dekorativ: Logo, Icons, Rahmen, Häkchen */
  --orange-dark: #b25104;     /* Flächen mit weißem Text (WCAG AA) und Textlinks */
  --orange-deeper: #8f4103;   /* Hover-Zustand dunkler Flächen */
  --orange-soft: #fdeedd;
  --danger: #b03a2e;
  --danger-soft: #f9e8e5;
  --radius: 14px;
  --radius-small: 9px;
  --shadow: 0 10px 30px rgba(48, 42, 34, 0.09);
  --shadow-soft: 0 4px 14px rgba(48, 42, 34, 0.06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

/* iOS Safari: automatische Textvergrößerung deaktivieren */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Sicherheitsnetz gegen horizontales Scrollen auf Mobilgeräten */
html, body { overflow-x: clip; }
@supports not (overflow-x: clip) {
  html, body { overflow-x: hidden; }
}

h1, h2, h3, h4, p { overflow-wrap: break-word; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 18px;
}

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

a { color: var(--orange-dark); text-decoration: none; }
a:hover { color: var(--ink); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }

/* ── Top-Strip ─────────────────────────────────────────────── */

.top-strip {
  background: var(--ink);
  color: #f0ece5;
  font-size: 14px;
  padding: 7px 0;
}

.top-strip a { color: #f4c99d; text-decoration: underline; text-underline-offset: 2px; }
.top-strip a:hover { color: #fff; }

.top-strip-inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Header & Navigation ───────────────────────────────────── */

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 76px;
}

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 50px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.main-nav > a,
.nav-parent > a {
  display: inline-block;
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
}

.main-nav > a:hover,
.nav-parent > a:hover { background: var(--orange-soft); color: var(--orange-dark); }

.main-nav > a.active,
.nav-parent > a.active { background: var(--orange-dark); color: #fff; }

.nav-parent { position: relative; }

.sub-nav {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 250px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow);
  padding: 8px;
  visibility: hidden;
  opacity: 0;
  z-index: 70;
  /* Gnadenfrist beim Schließen: verzeiht kurze Hover-Aussetzer */
  transition: opacity 0.12s ease, visibility 0s linear 0.25s;
}

/* Unsichtbare Brücke über die 6px-Lücke zwischen Menüpunkt und Untermenü,
   sonst bricht der Hover auf dem Weg nach unten ab und das Menü klappt zu */
.sub-nav::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.nav-parent:hover .sub-nav,
.nav-parent:focus-within .sub-nav {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.sub-nav a {
  display: block;
  padding: 9px 12px;
  border-radius: 7px;
  color: var(--ink);
  font-size: 15.5px;
}

.sub-nav a:hover { background: var(--orange-soft); color: var(--orange-dark); }

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 17px;
  background: var(--orange-dark);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  position: relative;
  white-space: nowrap;
}

.cart-button:hover { background: var(--orange-deeper); color: #fff; }
.cart-button svg { width: 21px; height: 21px; }

.cart-count {
  background: var(--ink);
  color: #fff;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  padding: 0 6px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  margin-left: auto;
}

.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ───────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  text-align: center;
  font-family: var(--font);
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--orange-dark); color: #fff; }
.btn-primary:hover { background: var(--orange-deeper); color: #fff; }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }

.btn-light {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-light:hover { border-color: var(--orange); color: var(--orange-dark); }

.btn-block { display: block; width: 100%; }

/* ── Hero (Startseite) ─────────────────────────────────────── */

.hero {
  background:
    radial-gradient(1000px 420px at 88% -60px, rgba(232, 108, 10, 0.12), transparent 60%),
    linear-gradient(160deg, #f6f2ea 0%, #efe9de 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  padding-top: 58px;
  padding-bottom: 62px;
}

.kicker {
  display: inline-block;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(31px, 4.4vw, 47px);
  margin-bottom: 16px;
  color: var(--ink);
}

.hero p.lead {
  font-size: 19.5px;
  color: var(--muted);
  max-width: 34em;
  margin-bottom: 26px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-usps {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
  font-size: 15px;
  color: var(--muted);
}

.hero-usps span::before { content: "✓ "; color: var(--orange); font-weight: 700; }

.hero-visual {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
}

.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

.hero-visual-fallback {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(232, 108, 10, 0.05) 0%, rgba(232, 108, 10, 0.16) 100%),
    repeating-linear-gradient(-35deg, #f4efe6 0 26px, #ece7db 26px 52px);
  color: var(--orange-dark);
}

.hero-visual-fallback svg { width: 130px; height: auto; opacity: 0.8; }
.hero-visual-fallback strong { font-size: 18px; }
.hero-visual-fallback small { color: var(--muted); max-width: 26em; }

/* ── Sektionen ─────────────────────────────────────────────── */

.section { padding: 54px 0; }
.section-tight { padding: 34px 0; }
.section-alt { background: var(--surface-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.section-head h2 { font-size: clamp(24px, 3vw, 31px); color: var(--ink); }
.section-head p { color: var(--muted); max-width: 46em; }

/* ── Seiten-Hero (Unterseiten) ─────────────────────────────── */

.page-hero {
  background: linear-gradient(160deg, #f6f2ea 0%, #efe9de 100%);
  border-bottom: 1px solid var(--line);
  padding: 34px 0 38px;
}

.page-hero h1 { font-size: clamp(27px, 3.6vw, 39px); color: var(--ink); margin-bottom: 10px; }
.page-hero p { color: var(--muted); max-width: 52em; }

.breadcrumb {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.breadcrumb a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.breadcrumb a:hover { color: var(--ink); }

/* ── Kategorie-Kacheln ─────────────────────────────────────── */

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.category-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  color: var(--ink);
  overflow: hidden;
}

/* Bildstreifen oben in der Kachel: Produktfoto der Kategorie, randbündig */
.tile-image {
  display: block;
  margin: -22px -22px 6px;
  aspect-ratio: 5 / 2;
  background: #f3efe7;
  overflow: hidden;
}

.tile-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-image .product-image-missing svg { width: 44px; }
.tile-image .product-image-missing strong { font-size: 12px; }
.tile-image .product-image-missing small { display: none; }

.category-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.category-tile h3 { color: var(--ink); font-size: 18.5px; }
.category-tile p { color: var(--muted); font-size: 15px; flex: 1; }
.category-tile .tile-link { font-weight: 700; color: var(--orange-dark); font-size: 15px; }
.category-tile .tile-count { font-size: 13px; color: var(--muted); }

/* ── Produkt-Grid & Karten ─────────────────────────────────── */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.product-image {
  position: relative;
  aspect-ratio: 3 / 2;
  background: #f3efe7;
  display: block;
}

.product-image img { width: 100%; height: 100%; object-fit: cover; }

.product-image-missing {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  padding: 18px;
  color: var(--orange-dark);
  background:
    linear-gradient(180deg, rgba(232, 108, 10, 0.04) 0%, rgba(232, 108, 10, 0.13) 100%),
    repeating-linear-gradient(-35deg, #f4efe6 0 22px, #ede8dc 22px 44px);
}

.product-image-missing svg { width: 76px; height: auto; }
.product-image-missing strong { font-size: 15px; line-height: 1.3; }
.product-image-missing small { color: var(--muted); font-size: 12.5px; }

/* Produkt-Badge im Sticker-Look: leicht gedreht, mit Knick-Ecke */
.product-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--orange-dark);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 7px 7px 2px 7px;
  transform: rotate(-2deg);
  box-shadow: 1px 2px 5px rgba(48, 42, 34, 0.22);
}

.product-discount {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--danger);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
}

.product-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-brand {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-dark);
}

.rating { color: var(--orange-dark); font-size: 14px; font-weight: 700; }

.product-content h3 { font-size: 18px; }
.product-content h3 a { color: var(--ink); }
.product-content h3 a:hover { color: var(--orange-dark); }

.product-desc { color: var(--muted); font-size: 15px; flex: 1; }

.product-chips { display: flex; flex-wrap: wrap; gap: 6px; }

.product-chips span {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  padding: 3px 9px;
  border-radius: 999px;
}

.product-chips .chip-wet { background: #e3edf3; border-color: #cfdee9; color: #33627e; }

.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-top: 2px;
}

.price-block strong { font-size: 19px; color: var(--ink); }
.price-block em {
  display: block;
  font-style: normal;
  font-size: 13px;
  color: var(--danger);
  font-weight: 700;
}

/* ── Filterleiste ──────────────────────────────────────────── */

.filter-bar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 16px;
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1fr 1.2fr;
  gap: 12px;
  margin-bottom: 26px;
}

.filter-bar label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-bar input,
.filter-bar select {
  font-family: var(--font);
  font-size: 16px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--ink);
}

.filter-bar input:focus,
.filter-bar select:focus { outline: 2px solid var(--orange); outline-offset: 1px; }

.filter-empty {
  display: none;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 44px 20px;
  color: var(--muted);
}

.filter-empty.visible { display: block; }

.category-seo {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-top: 34px;
  color: var(--muted);
  box-shadow: var(--shadow-soft);
}

.category-seo h2 { color: var(--ink); font-size: 21px; margin-bottom: 10px; }

/* ── Produkt-Detailseite ───────────────────────────────────── */

.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: start;
}

.product-gallery {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  position: relative;
  aspect-ratio: 3 / 2;
}

.product-gallery img { width: 100%; height: 100%; object-fit: cover; }

.product-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 26px;
}

.product-panel .product-brand { font-size: 14px; }
.product-panel h1 { font-size: clamp(25px, 3vw, 32px); margin: 5px 0 8px; }

.product-panel .rating-line {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 14px;
}

.price-line { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.price-line strong { font-size: 30px; color: var(--ink); }
.price-line em { font-style: normal; color: var(--muted); text-decoration: line-through; font-size: 17px; }
.price-line .save-badge {
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 13.5px;
  font-weight: 800;
  border-radius: 999px;
  padding: 3px 10px;
}

.vat-note { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }

.size-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 9px;
}

.size-label a { font-size: 13.5px; font-weight: 600; }

.variant-list { display: grid; gap: 8px; margin-bottom: 18px; }

.variant-list input { position: absolute; opacity: 0; pointer-events: none; }

.variant-list label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-small);
  padding: 11px 15px;
  font-weight: 600;
  font-size: 15.5px;
  cursor: pointer;
  background: var(--surface);
  transition: border-color 0.1s ease, background 0.1s ease;
}

.variant-list label:hover { border-color: var(--orange); }

.variant-list label .variant-price { font-weight: 800; white-space: nowrap; }
.variant-list label .variant-old {
  font-weight: 400;
  color: var(--muted);
  text-decoration: line-through;
  font-size: 13.5px;
  margin-right: 7px;
}

.variant-list input:checked + label {
  background: var(--orange-soft);
  border-color: var(--orange);
}

.variant-list input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }

.buy-row { display: flex; gap: 12px; align-items: stretch; margin-bottom: 14px; }

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface);
}

.qty-stepper button {
  border: none;
  background: none;
  width: 40px;
  height: 48px;
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  color: var(--orange-dark);
  font-family: var(--font);
}

.qty-stepper button:hover { background: var(--orange-soft); }

.qty-stepper input {
  width: 42px;
  border: none;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  font-family: var(--font);
  color: var(--ink);
  -moz-appearance: textfield;
}

.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }

.buy-row .btn { flex: 1; font-size: 17px; }

.stock-note { font-size: 14.5px; color: var(--ink); font-weight: 600; margin-bottom: 18px; }
.stock-note::before { content: "● "; color: #4d9e59; }

.shipping-note {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  font-size: 14.5px;
  color: var(--muted);
  padding: 11px 14px;
  margin-bottom: 20px;
}

.feature-list { list-style: none; display: grid; gap: 8px; margin-bottom: 4px; }

.feature-list li { padding-left: 24px; position: relative; font-size: 15.5px; }

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 800;
}

.spec-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }

.spec-table th,
.spec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }

.spec-table th { color: var(--muted); font-weight: 600; width: 38%; }

.detail-cards {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
  margin-top: 34px;
  align-items: start;
}

.content-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 26px;
}

.content-card h2 { color: var(--ink); font-size: 21px; margin-bottom: 12px; }
.content-card p + p { margin-top: 12px; }

/* ── Warenkorb ─────────────────────────────────────────────── */

.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 26px;
  align-items: start;
}

.cart-list { display: grid; gap: 14px; }

.cart-line {
  display: grid;
  grid-template-columns: 118px 1fr auto;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 14px;
  align-items: center;
}

.cart-line-image {
  border-radius: var(--radius-small);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #f3efe7;
}

.cart-line-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-image .product-image-missing svg { width: 40px; }
.cart-line-image .product-image-missing strong { font-size: 10.5px; }
.cart-line-image .product-image-missing small { display: none; }

.cart-line-info h3 { font-size: 16.5px; }
.cart-line-info h3 a { color: var(--ink); }
.cart-line-info h3 a:hover { color: var(--orange-dark); }
.cart-line-info .line-meta { font-size: 14px; color: var(--muted); margin: 3px 0 10px; }

.cart-line-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cart-line-controls .qty-stepper button { height: 36px; width: 34px; font-size: 16px; }
.cart-line-controls .qty-stepper input { width: 34px; font-size: 15px; }

.remove-link {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13.5px;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  font-family: var(--font);
}

.remove-link:hover { color: var(--danger); }

.cart-line-price { text-align: right; }
.cart-line-price strong { font-size: 17.5px; color: var(--ink); display: block; }
.cart-line-price small { color: var(--muted); font-size: 13px; }

.summary-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 24px;
  position: sticky;
  top: 96px;
}

.summary-card h2 { font-size: 21px; color: var(--ink); margin-bottom: 14px; }

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--muted);
}

.summary-row strong { color: var(--ink); }

.summary-total {
  display: flex;
  justify-content: space-between;
  border-top: 2px solid var(--ink);
  margin-top: 10px;
  padding-top: 13px;
  font-size: 17.5px;
  font-weight: 800;
}

.summary-total strong { font-size: 21px; color: var(--ink); }

.free-shipping-hint {
  background: var(--orange-soft);
  border-radius: var(--radius-small);
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 13px;
  margin: 14px 0;
}

.free-shipping-hint.done { background: #e9f2e6; color: #2f6b3a; }

.payment-icons {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.payment-icons span {
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  padding: 4px 9px;
  background: var(--surface-soft);
}

.cart-empty {
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 60px 24px;
}

.cart-empty svg { width: 64px; height: 64px; color: var(--muted); margin: 0 auto 14px; }
.cart-empty h2 { color: var(--ink); margin-bottom: 8px; }
.cart-empty p { color: var(--muted); margin-bottom: 20px; }

.added-banner {
  background: var(--orange-soft);
  border: 1px solid #f2d3b0;
  color: var(--orange-dark);
  border-radius: var(--radius-small);
  padding: 13px 16px;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 20px;
}

/* ── Kasse / Checkout-Schritte ─────────────────────────────── */

.checkout-steps {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  counter-reset: step;
}

.checkout-steps span {
  flex: 1;
  min-width: 130px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 10px;
  border-radius: 999px;
  counter-increment: step;
}

.checkout-steps span::before { content: counter(step) ". "; }

.checkout-steps .done {
  background: var(--orange-soft);
  border-color: #f2d3b0;
  color: var(--orange-dark);
}

.checkout-steps .done::before { content: "✓ "; }

.checkout-steps .current {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: #fff;
}

.demo-alert {
  border: 2px solid var(--orange);
  background: linear-gradient(180deg, #fff 0%, var(--orange-soft) 140%);
}

.demo-alert .kicker { background: var(--orange-soft); color: var(--orange-dark); }
.demo-alert h2 { font-size: clamp(23px, 3vw, 29px); }

.mini-list { list-style: none; display: grid; gap: 8px; margin: 16px 0 22px; }

.mini-list li { padding-left: 26px; position: relative; font-size: 16px; }

.mini-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--orange-dark);
  font-weight: 800;
}

.two-col {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 26px;
  align-items: start;
}

/* ── Ratgeber & Inhaltsseiten ──────────────────────────────── */

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.guide-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.guide-card h3 { color: var(--ink); font-size: 18.5px; }
.guide-card p { color: var(--muted); font-size: 15px; flex: 1; }
.guide-card .guide-meta { font-size: 13px; color: var(--orange-dark); font-weight: 700; }

.article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 34px 38px;
  max-width: 860px;
}

.article h2 { color: var(--ink); font-size: 23px; margin: 28px 0 12px; }
.article h3 { color: var(--ink); font-size: 18.5px; margin: 22px 0 8px; }
.article p { margin-bottom: 14px; }
.article ul, .article ol { margin: 0 0 16px 22px; }
.article li { margin-bottom: 7px; }
.article table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 14px 0 20px; }
.article th, .article td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.article th { background: var(--surface-soft); }

.tip-box {
  background: var(--orange-soft);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
  padding: 15px 18px;
  margin: 18px 0;
  font-size: 15.5px;
}

.tip-box strong { color: var(--orange-dark); }

.notice-box {
  background: var(--danger-soft);
  border-left: 4px solid var(--danger);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
  padding: 15px 18px;
  margin: 18px 0;
  font-size: 15.5px;
}

.notice-box strong { color: var(--danger); }

/* ── FAQ ───────────────────────────────────────────────────── */

.faq-list { display: grid; gap: 12px; max-width: 860px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 17px 20px;
  list-style: none;
  position: relative;
  padding-right: 46px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--orange);
  font-weight: 400;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item .faq-answer { padding: 0 20px 18px; color: var(--muted); }
.faq-item .faq-answer p + p { margin-top: 10px; }

/* ── Formulare ─────────────────────────────────────────────── */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 700;
}

.form-field.full { grid-column: 1 / -1; }

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--ink);
}

.form-field textarea { min-height: 110px; resize: vertical; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; }

.consent-line {
  flex-direction: row;
  align-items: start;
  gap: 10px;
  font-weight: 400;
  font-size: 14px;
  color: var(--muted);
}

.consent-line input { margin-top: 3px; }

.form-note { font-size: 13.5px; color: var(--muted); margin-top: 12px; }

/* ── Newsletter-Band ───────────────────────────────────────── */

.newsletter-band {
  background: var(--ink);
  color: #f0ece5;
  padding: 34px 0;
}

.newsletter-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.newsletter-band h2 { font-size: 22px; margin-bottom: 4px; }
.newsletter-band p { color: #c8c4bb; font-size: 15px; }

.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }

.newsletter-form input {
  font-family: var(--font);
  font-size: 16px;
  padding: 12px 16px;
  border-radius: 999px;
  border: none;
  min-width: 260px;
}

/* ── Footer ────────────────────────────────────────────────── */

.footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-top: 46px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 34px;
}

.footer-grid h4 {
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 13px;
}

.footer-grid a { display: block; color: var(--ink); padding: 3px 0; }
.footer-grid a:hover { color: var(--orange-dark); }
.footer-grid p { color: var(--muted); margin: 12px 0 16px; }

.footer-brand .brand-logo { height: 42px; }

.footer-contact-line { display: block; color: var(--muted); padding: 3px 0; }

.trust-row { display: flex; gap: 8px; flex-wrap: wrap; }

.trust-row span {
  border: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  padding: 4px 11px;
}

.footer-disclosure {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 13.5px;
  color: var(--muted);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  padding-bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}

.footer-bottom a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: var(--ink); }

/* ── Partner-Slot (Backlinkseller) ─────────────────────────── */

.partner-slot { padding: 28px 0 0; }

.partner-slot-box {
  background: var(--surface-soft);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
}

.partner-slot-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.partner-slot-content { font-size: 14px; color: var(--muted); line-height: 1.9; }
.partner-slot-content a { color: var(--orange-dark); }

/* ── Rechtstexte ───────────────────────────────────────────── */

.legal-text { max-width: 860px; }
.legal-text h2 { font-size: 20px; margin: 26px 0 10px; color: var(--ink); }
.legal-text p { margin-bottom: 12px; }
.legal-text ul { margin: 0 0 14px 22px; }

/* ── Responsive ────────────────────────────────────────────── */

.hide-mobile { display: inline; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; padding-bottom: 46px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-layout, .cart-layout, .two-col, .detail-cards { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .summary-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 22px 18px;
    gap: 2px;
  }

  .main-nav.open { display: flex; }

  .main-nav > a, .nav-parent > a { display: block; border-radius: var(--radius-small); }

  .nav-parent .sub-nav {
    display: block;
    position: static;
    visibility: visible;
    opacity: 1;
    transition: none;
    border: none;
    box-shadow: none;
    padding: 0 0 6px 14px;
    min-width: 0;
  }

  .sub-nav::before { display: none; }

  .cart-label { display: none; }
}

@media (max-width: 620px) {
  .hide-mobile { display: none; }
  .header-inner { gap: 14px; min-height: 64px; }
  .brand-logo { height: 42px; }
  .cart-button { padding: 8px 13px; }
  .hero h1 { font-size: clamp(27px, 8vw, 34px); }
  .hero p.lead { font-size: 17.5px; }
  .product-grid, .category-grid, .guide-grid { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 92px 1fr; }
  .cart-line-price { grid-column: 1 / -1; text-align: left; display: flex; gap: 10px; align-items: baseline; }
  .article { padding: 24px 20px; }
  .buy-row { flex-direction: column; }
  .qty-stepper { justify-content: center; }
  .checkout-steps span { min-width: 0; flex-basis: 46%; }
}
