/* ===========================================================
   Gericke Digital – Angebote
   Design-Tokens: Ink #14140F · Paper #FBF7EE · Signal-Rot #E8432E
   Display: Archivo Black · Body: Inter · Mono: JetBrains Mono
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --ink: #14140F;
  --paper: #FBF7EE;
  --paper-dim: #F1EBDB;
  --signal: #E8432E;
  --signal-dim: #C7381F;
  --line: #DCD5C4;
  --text-soft: #6B665C;
  --white: #ffffff;

  --font-display: 'Archivo Black', 'Arial Black', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Eyebrow / mono labels ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
}

/* ---------- Top bar ---------- */
.topbar {
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand span { color: var(--signal); }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -30%;
  width: 60%;
  height: 160%;
  background: var(--signal);
  opacity: 0.08;
  transform: rotate(8deg);
}
.hero-inner {
  padding: 88px 24px 72px;
  position: relative;
  z-index: 1;
}
.hero .eyebrow { color: var(--signal); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-grid.no-teaser { grid-template-columns: 1fr; }
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 18px 0 22px;
}
.hero p.lead {
  font-size: 19px;
  color: #D9D4C6;
  max-width: 56ch;
  margin: 0 0 34px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-line {
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #9A9587;
  border-top: 1px solid #2B2A24;
  padding-top: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--signal);
  color: var(--white);
}
.btn-primary:hover { background: var(--signal-dim); }
.btn-ghost {
  background: transparent;
  border-color: #423F35;
  color: var(--paper);
}
.btn-ghost:hover { border-color: var(--signal); color: var(--signal); }
.btn-outline-ink {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline-ink:hover { background: var(--ink); color: var(--paper); }
.btn-sm { padding: 10px 16px; font-size: 11.5px; }

/* ---------- Hero Teaser (Apple-Style, rotierende Angebote) ---------- */
.teaser {
  position: relative;
  aspect-ratio: 4/5;
  max-height: 480px;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
  overflow: hidden;
  transition: box-shadow 0.4s ease, transform 0.4s cubic-bezier(.4,0,.2,1);
}
.teaser:hover {
  box-shadow: 0 40px 80px -18px rgba(0,0,0,0.65);
  transform: translateY(-3px);
}
.teaser-slides { position: relative; width: 100%; height: 100%; }
.teaser-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.9s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  outline-offset: -3px;
}
.teaser-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.teaser-slide.is-active:hover,
.teaser-slide.is-active:focus-visible {
  transform: scale(1.015);
}
.teaser-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  transition: transform 0.7s cubic-bezier(.4,0,.2,1), opacity 0.4s ease;
}
.teaser-slide:hover .teaser-media,
.teaser-slide:focus-visible .teaser-media {
  transform: scale(1.07);
  opacity: 0.65;
}
.teaser-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,20,15,0) 20%, rgba(20,20,15,0.92) 100%);
}
.teaser-content {
  position: relative;
  z-index: 1;
  padding: 28px 26px 30px;
}
.teaser-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.teaser-content h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.25;
  color: var(--paper);
  margin: 0 0 8px;
}
.teaser-content p {
  font-size: 14px;
  color: #C9C4B6;
  margin: 0 0 18px;
  line-height: 1.5;
}
.teaser-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.teaser-price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  color: var(--paper);
}
.teaser-cta {
  transition: background 0.25s ease, transform 0.25s ease;
}
.teaser-slide:hover .teaser-cta,
.teaser-slide:focus-visible .teaser-cta {
  background: var(--signal-dim);
  transform: translateX(2px);
}
.teaser-dots {
  position: absolute;
  bottom: 18px;
  right: 22px;
  z-index: 2;
  display: flex;
  gap: 6px;
}
.teaser-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.35s cubic-bezier(.4,0,.2,1), background 0.35s ease;
}
.teaser-dot.is-active {
  width: 22px;
  background: var(--paper);
}
.teaser-dot:hover { background: rgba(255,255,255,0.6); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .teaser { max-height: 340px; aspect-ratio: auto; height: 340px; margin-top: 4px; }
}

/* ---------- Category nav (pills) ---------- */
.cat-nav {
  position: sticky;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  z-index: 10;
  padding: 14px 0;
  overflow-x: auto;
  white-space: nowrap;
}
.cat-nav a {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-right: 10px;
  color: var(--ink);
}
.cat-nav a:hover { border-color: var(--signal); color: var(--signal); }

/* ---------- Category sections ---------- */
.category-section {
  padding: 64px 0 12px;
  scroll-margin-top: 70px;
}
.category-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 14px;
  margin-bottom: 34px;
}
.category-head .num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--signal);
  font-weight: 700;
}
.category-head h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  margin: 0;
  letter-spacing: -0.01em;
}
.category-head p {
  margin: 0 0 0 auto;
  color: var(--text-soft);
  font-size: 14px;
  max-width: 40ch;
  text-align: right;
}

/* ---------- Product grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  padding-bottom: 60px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--ink); transform: translateY(-2px); }
.card .thumb {
  aspect-ratio: 16/10;
  background: var(--paper-dim);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--signal);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  z-index: 2;
}
.card .body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card .type-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 8px;
}
.card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 8px;
}
.card .subtitle {
  color: var(--text-soft);
  font-size: 14px;
  margin: 0 0 14px;
}
.bullets {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  font-size: 13.5px;
  color: var(--ink);
}
.bullets li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}
.bullets li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--signal);
  font-weight: 700;
}
.card .footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
}
.price .note {
  font-weight: 500;
  font-size: 11px;
  color: var(--text-soft);
  text-transform: uppercase;
  margin-left: 4px;
}
.card .btn { padding: 10px 16px; font-size: 12px; }

/* ---------- Contact / Beratung ---------- */
.contact-section {
  background: var(--ink);
  color: var(--paper);
  margin-top: 20px;
}
.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 56px 0;
  flex-wrap: wrap;
}
.contact-box h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 34px);
  margin: 14px 0 14px;
  max-width: 20ch;
  letter-spacing: -0.01em;
}
.contact-box p {
  color: #D9D4C6;
  max-width: 48ch;
  margin: 0;
  font-size: 15.5px;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: #9A9587;
  padding: 40px 0;
  margin-top: 40px;
}
.footer-inner { display: flex; flex-direction: column; gap: 22px; }
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding-bottom: 22px;
  border-bottom: 1px solid #2B2A24;
}
.social-row a {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: #D9D4C6;
  border: 1px solid #3A382F;
  border-radius: 999px;
  padding: 8px 16px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.social-row a:hover { color: var(--paper); border-color: var(--signal); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
footer a { color: #D9D4C6; text-decoration: none; }
footer a:hover { color: var(--signal); }

/* ---------- Empty state ---------- */
.empty {
  padding: 80px 24px;
  text-align: center;
  color: var(--text-soft);
  font-family: var(--font-mono);
}

@media (max-width: 640px) {
  .hero-inner { padding: 64px 20px 48px; }
  .category-head { flex-wrap: wrap; }
  .category-head p { text-align: left; margin-left: 0; }
}
