/* ==========================================================================
   Storebox Aalen — lagerabteil-aalen.de
   ========================================================================== */
:root {
  --brand: #43a047;
  --brand-dark: #2e7d32;
  --brand-deep: #1b5e20;
  --ink: #182226;
  --ink-soft: #46555c;
  --bg: #ffffff;
  --bg-soft: #f3f7f3;
  --bg-card: #ffffff;
  --line: #dde5dd;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(24, 34, 38, 0.08);
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

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

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

a { color: var(--brand-dark); }
a:hover { color: var(--brand-deep); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { line-height: 1.25; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }

.section { padding: 3.5rem 0; }
.section.alt { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-bottom: 2rem; }
.section-head p { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.logo .logo-box {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}
.logo .logo-city { color: var(--brand-dark); }

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  align-items: center;
}
.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.98rem;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--brand-dark); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 8px 20px rgba(46, 125, 50, 0.4); }
.btn-secondary {
  background: #fff;
  color: var(--brand-dark);
  border: 2px solid var(--brand-dark);
}
.btn-secondary:hover { background: var(--bg-soft); }
.btn-small { padding: 9px 18px; font-size: 0.92rem; }
.btn-nav { padding: 9px 20px; font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(67, 160, 71, 0.16), transparent 60%),
    linear-gradient(180deg, #f6faf6 0%, #ffffff 100%);
  padding: 3.5rem 0 3rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}
.hero .eyebrow {
  display: inline-block;
  background: rgba(67, 160, 71, 0.12);
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 1rem 0 1.5rem;
  max-width: 34em;
}
.hero-usps {
  list-style: none;
  margin: 0 0 1.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.2rem;
}
.hero-usps li {
  padding-left: 1.7em;
  position: relative;
  font-weight: 600;
  font-size: 0.98rem;
}
.hero-usps li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-dark);
  font-weight: 800;
}
.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.7rem; }
.hero-media { position: relative; }
.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}
.hero-media .badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow);
}

/* --------------------------------------------------------------------------
   Trust bar
   -------------------------------------------------------------------------- */
.trust-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.1rem 0;
}
.trust-item { font-size: 0.95rem; font-weight: 600; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.trust-item .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); flex: 0 0 9px; }

/* --------------------------------------------------------------------------
   Cards & grids
   -------------------------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(67, 160, 71, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
}
.card p { color: var(--ink-soft); font-size: 0.97rem; }
.card a.more { font-weight: 700; text-decoration: none; display: inline-block; margin-top: 0.7rem; }

.steps { counter-reset: step; }
.step { position: relative; padding-left: 0; }
.step .step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-dark);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.price-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.price-card.highlight { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.price-card .size { font-weight: 800; font-size: 1.15rem; }
.price-card .qm { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 0.6rem; }
.price-card .price { font-size: 1.5rem; font-weight: 800; color: var(--brand-dark); }
.price-card .price small { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); display: block; }
.price-card .fits { font-size: 0.85rem; color: var(--ink-soft); margin: 0.7rem 0 1rem; flex: 1; }

.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--brand-dark); color: #fff; font-size: 0.95rem; }
.price-table tr:last-child td { border-bottom: none; }
.price-table td.num { font-weight: 700; color: var(--brand-dark); white-space: nowrap; }
.table-wrap { overflow-x: auto; }

.note-box {
  background: rgba(67, 160, 71, 0.08);
  border-left: 4px solid var(--brand);
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.3rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 1.5rem 0;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-list { max-width: 820px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 0.8rem;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 1.05rem 1.3rem;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--brand-dark); font-weight: 800; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-deep));
  color: #fff;
  border-radius: var(--radius);
  padding: 2.6rem 2rem;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 40em; margin: 0.6rem auto 1.4rem; }
.cta-band .btn-primary { background: #fff; color: var(--brand-deep); box-shadow: none; }
.cta-band .btn-primary:hover { color: var(--brand-deep); }
.cta-band .after-note { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); margin-top: 0.9rem; }

/* --------------------------------------------------------------------------
   Map (click-to-load)
   -------------------------------------------------------------------------- */
.map-consent {
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--ink-soft);
}
.map-frame { width: 100%; height: 420px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* --------------------------------------------------------------------------
   Article / prose
   -------------------------------------------------------------------------- */
.prose { max-width: 780px; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose p, .prose ul, .prose ol, .prose table { margin-bottom: 1.1rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: 0.35rem; }
.article-meta { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 1.6rem; }
.breadcrumbs { font-size: 0.88rem; color: var(--ink-soft); margin: 1.2rem 0; }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--brand-dark); }

.article-card { display: flex; flex-direction: column; }
.article-card h3 a { text-decoration: none; color: var(--ink); }
.article-card h3 a:hover { color: var(--brand-dark); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: #16211a; color: #c8d4c9; margin-top: 3rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0 2rem;
}
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 0.8rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: #c8d4c9; text-decoration: none; font-size: 0.95rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p { font-size: 0.95rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.2rem 0;
  font-size: 0.85rem;
  color: #93a695;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}
.footer-bottom a { color: #93a695; }

/* --------------------------------------------------------------------------
   Cookie banner
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  padding: 1.3rem 1.5rem;
  z-index: 100;
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner h2 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.cookie-banner p { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 1rem; }
.cookie-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 20px; font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.center { text-align: center; }
.skip-link {
  position: absolute;
  left: -9999px;
  background: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 10px; top: 10px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .price-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 0; }
  .main-nav li { border-bottom: 1px solid var(--bg-soft); }
  .main-nav li:last-child { border-bottom: none; padding: 0.8rem 20px; }
  .main-nav a { display: block; padding: 0.8rem 20px; }
  .main-nav .btn-nav { display: block; }
}

@media (max-width: 560px) {
  .price-cards { grid-template-columns: 1fr 1fr; }
  .hero-usps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
