/**
 * Block-Startseite „WOW“ – warm, modern, ruhig (Beige/Off-White/Holz)
 * Nur HTML/Jinja + CSS, mobile-first, keine Slider.
 */

:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface-2: #f5efe6;
  --ink: #1f1f1f;
  --muted: #6b645c;

  --accent: #b8873a;
  --accent-2: #7a8f7a;
  --border: rgba(30, 20, 10, 0.1);

  --radius: 18px;
  --radius-lg: 26px;

  --shadow: 0 10px 26px rgba(20, 12, 6, 0.08);
  --shadow-soft: 0 6px 18px rgba(20, 12, 6, 0.06);

  --maxw: 1200px;
}

/* Grundlayout */
.home-container {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
}

.block {
  padding: 56px 0;
}

@media (min-width: 900px) {
  .block {
    padding: 86px 0;
  }
}

/* --- FULL BLEED SECTION BANDS (100vw background, content stays in container) --- */
.band {
  position: relative;
}
.band::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}
.band-beige::before {
  background: var(--bg);
}

/* ensure the page itself is not tinted */
.home-wrap {
  background: transparent;
}

/* Typografie */
.h-eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 10px;
}

.h1 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.02;
  margin: 0 0 14px;
  color: var(--ink);
}

.lead {
  font-size: 16px;
  line-height: 1.6;
  max-width: 52ch;
  color: var(--muted);
  margin: 0 0 22px;
}

@media (min-width: 900px) {
  .lead {
    font-size: 18px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: linear-gradient(180deg, rgba(184, 135, 58, 0.98), rgba(160, 112, 40, 0.98));
  color: #fff;
  border-color: rgba(184, 135, 58, 0.35);
  box-shadow: 0 12px 28px rgba(184, 135, 58, 0.2);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(184, 135, 58, 0.26);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.btn-ghost:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

/* Cards – bewusst weiß, heben sich vom Beige-Hintergrund ab */
.card,
.product-card,
.category-card {
  background: #ffffff;
}
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(184, 135, 58, 0.25);
}

/* Hero – WOW: 60–65vh, vertikal zentriert, luftige Headline, dezente Glow-Kante */
.hero {
  position: relative;
  padding: 28px 0 10px;
}

.hero-surface {
  position: relative;
  min-height: 62vh;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(1000px 500px at 10% 10%, rgba(184, 135, 58, 0.18), transparent 60%),
    radial-gradient(900px 500px at 90% 15%, rgba(122, 143, 122, 0.16), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 239, 230, 0.92));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.6) inset,
    0 10px 40px rgba(20, 12, 6, 0.06),
    0 0 80px -20px rgba(184, 135, 58, 0.08);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  gap: 22px;
  padding: 28px;
  min-height: 62vh;
  align-content: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    padding: 44px 52px;
    gap: 36px;
  }
}

.hero-content {
  order: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content .h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  margin: 0 0 20px;
  max-width: 14ch;
}

.hero-content .lead {
  font-size: 17px;
  line-height: 1.65;
  max-width: 42ch;
  margin: 0 0 28px;
}

.hero-content .hero-short {
  font-size: 15px;
  line-height: 1.6;
  max-width: 52ch;
  color: var(--muted);
  margin: 0 0 22px;
}

@media (min-width: 900px) {
  .hero-content .lead {
    font-size: 19px;
    line-height: 1.7;
  }
  .hero-content .hero-short {
    font-size: 16px;
  }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.hero-content .btn {
  align-self: flex-start;
}

.hero-media-wrap {
  order: 2;
}

@media (min-width: 900px) {
  .hero-content { order: 1; }
  .hero-media-wrap { order: 2; }
}

.hero-media {
  border-radius: calc(var(--radius) + 6px);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
  min-height: 220px;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.02) contrast(1.02);
}

.hero-media.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
}

/* Grids */
.grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 720px) {
  .grid {
    gap: 16px;
  }
}

.grid-3 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 720px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 900px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Block-Titel (Sektionen) */
.block-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 10px;
}

.block-subtitle {
  font-size: 1rem;
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 52ch;
}

.block-warum-text {
  max-width: 52ch;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}

.block-warum-text p {
  margin: 0;
}

.workshop-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 16px;
}

.workshop-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Kategorien-Cards – emotionaler: höher, mehr Padding, Hover nur Anhebung+Shadow, Description weicher */
.category-card {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(20, 12, 6, 0.1);
}

.category-card .card-body {
  padding: 24px 22px;
  min-height: 120px;
}

.category-card .card-name {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  display: block;
  margin-bottom: 10px;
}

.category-card .card-desc {
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
  margin: 0;
  line-height: 1.5;
}

.category-card .card-img {
  aspect-ratio: 4/3;
  background: var(--surface-2);
}

.category-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Produkt-Cards */
.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.product-card .card-img {
  aspect-ratio: 1;
  background: var(--surface-2);
}

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

.product-card .card-body {
  padding: 16px;
}

.product-card .card-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
}

.product-card .card-price {
  font-weight: 600;
  color: var(--accent);
  font-size: 1rem;
}

/* Value-Props Cards */
.value-prop-card {
  padding: 24px 20px;
  text-align: center;
}

.value-prop-card .card-icon {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.value-prop-card .card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
}

.value-prop-card .card-text {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* --- INSTAGRAM WOW --- */
.ig-band {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 26px;
}
.ig-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: center;
}
@media (max-width: 900px) {
  .ig-inner {
    grid-template-columns: 1fr;
  }
}
.ig-kicker {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 6px 0;
}
.ig-handle {
  font-size: clamp(1.6rem, 3.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 10px 0;
}
.ig-copy {
  color: var(--muted);
  line-height: 1.65;
  max-width: 52ch;
}
.ig-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.ig-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.ig-tile {
  aspect-ratio: 1/1;
  border-radius: 14px;
  border: 1px solid var(--border);
  background:
    radial-gradient(120px 120px at 25% 20%, rgba(184, 135, 58, 0.2), transparent 60%),
    radial-gradient(120px 120px at 80% 70%, rgba(30, 22, 14, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.55));
  box-shadow: 0 10px 24px rgba(20, 12, 6, 0.08);
  overflow: hidden;
}
.ig-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- FOOTER DIVIDER (dezente Akzentlinie vor Footer) --- */
.footer-divider {
  width: 100%;
  height: 1px;
  margin: 48px 0 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(184, 135, 58, 0.55),
    transparent
  );
}

/* CTA Footer (Card-Optik) */
.cta-footer-surface {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(245, 239, 230, 0.95));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 40px 28px;
  text-align: center;
}

.cta-footer-surface .block-title {
  margin-bottom: 10px;
}

.cta-footer-surface .block-subtitle {
  margin-bottom: 24px;
}

/* Grid-Footer (z.B. „Alle Produkte“) */
.block-grid-footer {
  text-align: center;
  margin-top: 28px;
}
