/*
Theme Name: Mein-Hofladen24
Theme URI: https://mein-hofladen24.de/
Description: GeneratePress Child Theme für Mein-Hofladen24.de. Optimiert für den Mein-Hofladen24 Core.
Author: Mein-Hofladen24
Version: 0.1.0
Template: generatepress
Text Domain: mein-hofladen24
*/

:root {
  --mh24-green: #315b3a;
  --mh24-green-dark: #21422a;
  --mh24-sage: #e9f0e5;
  --mh24-cream: #fbf8ef;
  --mh24-gold: #c9973b;
  --mh24-ink: #263129;
  --mh24-muted: #667268;
  --mh24-border: #dce4da;
  --mh24-white: #fff;
  --mh24-radius: 18px;
  --mh24-shadow: 0 12px 35px rgba(31, 61, 38, .09);
}

body { color: var(--mh24-ink); background: #f7f8f4; }
a { color: var(--mh24-green); }
a:hover { color: var(--mh24-green-dark); }

.site-header { border-bottom: 1px solid var(--mh24-border); }
.site-logo img { max-height: 58px; width: auto; }
.main-navigation .main-nav ul li a { font-weight: 650; }
.main-navigation .main-nav ul li[class*="current-menu-"] > a { color: var(--mh24-green); }

.mh24-shell { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.mh24-hero { background: linear-gradient(135deg, var(--mh24-cream), var(--mh24-sage)); padding: 72px 0; border-bottom: 1px solid var(--mh24-border); }
.mh24-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; color: var(--mh24-green); }
.mh24-hero h1 { font-size: clamp(2.3rem, 5vw, 4.6rem); line-height: 1.02; margin: 10px 0 18px; max-width: 850px; }
.mh24-hero p { font-size: 1.15rem; color: var(--mh24-muted); max-width: 720px; }
.mh24-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.mh24-button, .mh24-button:visited, button.mh24-button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 999px; background: var(--mh24-green); color: #fff; text-decoration: none; border: 1px solid var(--mh24-green); font-weight: 750; }
.mh24-button:hover { background: var(--mh24-green-dark); color: #fff; }
.mh24-button--secondary, .mh24-button--secondary:visited { background: #fff; color: var(--mh24-green); }

.mh24-section { padding: 56px 0; }
.mh24-section-title { margin-bottom: 24px; }
.mh24-section-title h2 { margin-bottom: 7px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.mh24-section-title p { color: var(--mh24-muted); margin: 0; }

.mh24-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.mh24-card { background: var(--mh24-white); border: 1px solid var(--mh24-border); border-radius: var(--mh24-radius); overflow: hidden; box-shadow: var(--mh24-shadow); }
.mh24-card__media { aspect-ratio: 16/9; background: var(--mh24-sage); overflow: hidden; }
.mh24-card__media img { width: 100%; height: 100%; object-fit: cover; }
.mh24-card__body { padding: 22px; }
.mh24-card__body h2, .mh24-card__body h3 { margin: 0 0 8px; }
.mh24-card__body p { color: var(--mh24-muted); }
.mh24-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--mh24-muted); font-size: .92rem; }
.mh24-chip { display: inline-flex; padding: 6px 10px; background: var(--mh24-sage); border-radius: 999px; font-size: .82rem; color: var(--mh24-green-dark); font-weight: 700; }

.mh24-profile { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 28px; align-items: start; }
.mh24-panel { background: #fff; border: 1px solid var(--mh24-border); border-radius: var(--mh24-radius); padding: 26px; box-shadow: var(--mh24-shadow); margin-bottom: 22px; }
.mh24-panel h2, .mh24-panel h3 { margin-top: 0; }
.mh24-data { list-style: none; margin: 0; padding: 0; }
.mh24-data li { padding: 10px 0; border-bottom: 1px solid var(--mh24-border); }
.mh24-data li:last-child { border-bottom: 0; }

/* Core shortcodes/forms */
.mh24-search, .mh24-form, form[class*="mh24"] { background: #fff; border: 1px solid var(--mh24-border); border-radius: var(--mh24-radius); padding: 22px; box-shadow: var(--mh24-shadow); }
.mh24-search input, .mh24-search select, .mh24-form input, .mh24-form select, .mh24-form textarea, form[class*="mh24"] input, form[class*="mh24"] select, form[class*="mh24"] textarea { border: 1px solid #cfd9cd; border-radius: 12px; padding: 12px 14px; background: #fff; }
.mh24-search button, .mh24-form button, form[class*="mh24"] button, form[class*="mh24"] input[type="submit"] { background: var(--mh24-green); color: #fff; border: 0; border-radius: 999px; padding: 12px 18px; font-weight: 750; cursor: pointer; }

.mh24-empty { text-align: center; background: #fff; border: 1px dashed var(--mh24-border); border-radius: var(--mh24-radius); padding: 46px 24px; color: var(--mh24-muted); }
.site-footer { background: var(--mh24-green-dark); color: rgba(255,255,255,.82); }
.site-footer a { color: #fff; }

@media (max-width: 900px) {
  .mh24-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mh24-profile { grid-template-columns: 1fr; }
  .mh24-hero { padding: 52px 0; }
}
@media (max-width: 620px) {
  .mh24-shell { padding: 0 16px; }
  .mh24-grid { grid-template-columns: 1fr; }
  .mh24-section { padding: 38px 0; }
  .mh24-card__body, .mh24-panel { padding: 18px; }
  .mh24-actions { flex-direction: column; align-items: stretch; }
}
