/* ============================================================
   Specialty Coffee Hub – Custom Theme v2
   Modernes Design mit großem Hero-Bild
   ============================================================ */

/* ---- Root overrides ---- */
:root {
  --bg: #faf7f4;
  --bg-subtle: #f2ebe2;
  --bg-code: #ede4d8;
  --border: #d8c4aa;
  --border-subtle: #ece1d3;
}

/* ---- Headings: Lora Serif ---- */
h1, h2, h3, h4,
.site-logo,
.content-nav-brand,
.footer-logo {
  font-family: 'Lora', Georgia, serif;
}

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  border-bottom: 1px solid rgba(212,184,150,0.3);
  background: rgba(250, 247, 244, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.offerings-bar {
  background: #1c0d06;
}

.offerings-bar a,
.offerings-bar .site-logo {
  color: #c4a882;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.offerings-bar a:hover {
  color: #f0e0c8;
}

/* ================================================================
   LANDING PAGE HERO – Bohnen-Bild mit Overlay
   ================================================================ */
.section-hero {
  background:
    linear-gradient(
      to bottom,
      rgba(15, 6, 2, 0.60) 0%,
      rgba(30, 12, 4, 0.50) 50%,
      rgba(15, 6, 2, 0.72) 100%
    ),
    url('/assets/hero-beans.jpg') center / cover no-repeat !important;
  color: #fdf8f3 !important;
  min-height: 88vh;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 100px !important;
  text-align: center;
}

.section-hero h1,
.section-hero h2 {
  color: #fff !important;
  font-size: clamp(2.4rem, 1.6rem + 4vw, 4.2rem);
  letter-spacing: -1px;
  line-height: 1.12;
  margin-bottom: 24px;
  max-width: 820px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.section-hero p {
  color: rgba(253,248,243,0.88) !important;
  font-size: 1.2em;
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.75;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.section-hero .stats-bar {
  background: rgba(255,255,255,0.10) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-radius: 16px;
  margin: 48px auto 0;
  max-width: 680px;
  backdrop-filter: blur(8px);
}

.section-hero .stat-value {
  color: #e8b55a !important;
  font-size: 2rem;
}

.section-hero .stat-label {
  color: rgba(253,248,243,0.75) !important;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

/* ================================================================
   CTA BUTTONS
   ================================================================ */
.btn-primary {
  background: #c8963c !important;
  color: #1c0f06 !important;
  border: none !important;
  font-weight: 600;
  border-radius: 8px;
  padding: 14px 28px !important;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(200,150,60,0.35);
}

.btn-primary:hover {
  background: #e0a840 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200,150,60,0.45);
}

.btn-secondary {
  background: transparent !important;
  color: #fdf8f3 !important;
  border: 1.5px solid rgba(253,248,243,0.5) !important;
  font-weight: 500;
  border-radius: 8px;
  padding: 13px 28px !important;
  letter-spacing: 0.02em;
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: #fdf8f3 !important;
  background: rgba(253,248,243,0.12) !important;
}

/* ================================================================
   LANDING SECTIONS (nach Hero)
   ================================================================ */
.section {
  padding: 80px 24px !important;
}

.section:nth-child(even) {
  background: var(--bg-subtle);
}

.section h2 {
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

/* ================================================================
   FEATURE CARDS
   ================================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 0;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s, transform 0.2s;
  display: block;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(60,30,10,0.06);
}

.feature-card:hover {
  box-shadow: 0 12px 40px rgba(60,30,10,0.15);
  transform: translateY(-4px);
  color: inherit;
  text-decoration: none;
}

/* Farbiger Akzentbalken oben */
.feature-card::before {
  content: '';
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

a.feature-card[href*="kaffeekommune-mainz"]::before {
  background: linear-gradient(90deg, #6b3a2a, #c8963c);
}
a.feature-card[href*="maldaner-wiesbaden"]::before {
  background: linear-gradient(90deg, #3d2010, #8c5035);
}
a.feature-card[href*="onoma-flensburg"]::before {
  background: linear-gradient(90deg, #1a3d5a, #4a8cb5);
}
a.feature-card[href*="unbound-coffee-innsbruck"]::before {
  background: linear-gradient(90deg, #1a4a35, #4ab580);
}
a.feature-card[href*="suedseite-heidelberg"]::before {
  background: linear-gradient(90deg, #8c5035, #e0a840);
}
a.feature-card[href*="epitome-erfurt"]::before {
  background: linear-gradient(90deg, #3d1a5a, #9a5ab5);
}
a.feature-card[href*="mak-coffee-augsburg"]::before {
  background: linear-gradient(90deg, #5a4a1a, #c8b040);
}

.feature-card h3 {
  color: var(--primary);
  margin: 22px 22px 10px;
  font-size: 1.08rem;
  font-family: 'Lora', Georgia, serif;
  line-height: 1.35;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0 22px 8px;
}

.feature-card .card-link {
  display: inline-block;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 10px 22px 22px;
  letter-spacing: 0.02em;
}

/* ================================================================
   STATS BAR
   ================================================================ */
.stats-bar {
  display: flex;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  margin: 40px 0;
  overflow: hidden;
}

.stat {
  flex: 1;
  padding: 24px 16px;
  text-align: center;
  border-right: 1px solid var(--border-subtle);
}

.stat:last-child {
  border-right: none;
}

.stat-value {
  display: block;
  color: var(--primary);
  font-family: 'Lora', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.15;
}

.stat-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 5px;
}

/* ================================================================
   BANNER SHORTCODE
   ================================================================ */
.banner {
  border-radius: 12px;
  overflow: hidden;
}

/* ================================================================
   ARTICLE / SIDEBAR CTA
   ================================================================ */
.sidebar-cta {
  background: linear-gradient(145deg, #2c1608, #5c3320);
  border-radius: 14px;
  color: #fdf8f3;
  border: none;
}

.sidebar-cta h3,
.sidebar-cta strong {
  color: #fdf8f3;
  font-family: 'Lora', Georgia, serif;
}

.sidebar-cta p {
  color: #e8d5be;
}

/* Article CTA Block */
.article-cta {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 32px;
  margin: 48px 0;
}

/* ================================================================
   ARTIKEL-SEITE
   ================================================================ */
.article-header {
  margin-bottom: 40px;
}

article h1 {
  font-size: clamp(1.8rem, 1.4rem + 2vw, 2.8rem);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

article h2 {
  font-size: 1.45rem;
  margin-top: 48px;
  letter-spacing: -0.3px;
}

article a {
  color: var(--primary);
  text-underline-offset: 3px;
}

article a:hover {
  color: var(--accent);
}

/* ================================================================
   PAGE HEADER
   ================================================================ */
.page-header {
  border-bottom: 2px solid var(--border-subtle);
  padding-bottom: 24px;
  margin-bottom: 40px;
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: #140a04;
  color: #b89870;
  border-top: 1px solid rgba(200,150,60,0.15);
}

.site-footer a {
  color: #b89870;
  transition: color 0.15s;
}

.site-footer a:hover {
  color: #f0e0c8;
}

.site-footer .footer-logo {
  color: #f0e0c8;
}

/* ================================================================
   SPLIT SHORTCODE
   ================================================================ */
.split-grid {
  border-radius: 12px;
  overflow: hidden;
}

/* ================================================================
   MOBILE RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
  .section-hero {
    min-height: 70vh;
    padding: 80px 20px 64px !important;
  }

  .section-hero h1 {
    font-size: 2rem;
    letter-spacing: -0.5px;
  }

  .section-hero p {
    font-size: 1rem;
  }

  .stats-bar {
    flex-wrap: wrap;
  }

  .stat {
    flex: 1 1 50%;
    border-bottom: 1px solid var(--border-subtle);
  }

  .stat:nth-child(2n) {
    border-right: none;
  }

  .stat:nth-last-child(-n+2) {
    border-bottom: none;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .section {
    padding: 56px 20px !important;
  }
}

@media (max-width: 480px) {
  .stat {
    flex: 1 1 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  .stat:last-child {
    border-bottom: none;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
