/* ============================================================
   Zur Kräuterfee — Stylesheet
   ============================================================ */

:root {
  --green-dark:   #2d5a34;
  --green:        #3a7d44;
  --green-light:  #d4edda;
  --cream:        #faf8f4;
  --warm:         #f0ebe2;
  --gold:         #8b6914;
  --text:         #2c2c2c;
  --text-muted:   #5a5a5a;
  --border:       #ddd5c8;

  --font-body:    'Lato', system-ui, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;

  --max-width: 900px;
  --radius:    8px;
  --shadow:    0 2px 12px rgba(0,0,0,.08);
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
}

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

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Typography ── */
h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--green-dark);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.25rem;
}

h3 { font-size: 1.1rem; margin-bottom: .4rem; }

/* ── Layout helpers ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: 3.5rem 0;
}

section:nth-child(even) { background: var(--warm); }

/* ── Header ── */
header {
  background: var(--green-dark);
  color: #fff;
  padding: 1.5rem 1.25rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}


.header-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.header-logo {
  height: 56px;
  width: auto;
  flex-shrink: 0;
  filter: invert(1);
}

.site-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 4vw, 1.75rem);
  color: #fff;
  letter-spacing: .02em;
}

.site-subtitle {
  font-size: .8rem;
  color: #b8d9bc;
  letter-spacing: .08em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: .25rem;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  color: #c8e6cc;
  font-size: .85rem;
  padding: .35rem .7rem;
  border-radius: 4px;
  transition: background .2s, color .2s;
}

nav a:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
  text-decoration: none;
}

/* ── Hero / Willkommen ── */
#willkommen {
  /* Wenn hero.webp vorhanden: Foto als Hintergrund mit Grün-Overlay */
  background:
    linear-gradient(135deg, rgba(45,90,52,.82) 0%, rgba(58,125,68,.78) 100%),
    var(--hero-foto, none),
    linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 5rem 1.25rem;
}

#willkommen h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #fff;
  margin-bottom: .75rem;
}

#willkommen .lead {
  max-width: 650px;
  margin: 0 auto 2rem;
  color: #c8e6cc;
  font-size: 1.05rem;
}


/* ── Sortiment cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}

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

.card-icon { font-size: 2.2rem; margin-bottom: .6rem; }
.card p { font-size: .88rem; color: var(--text-muted); margin-top: .3rem; }

/* ── Öffnungszeiten ── */
.hours-wrapper {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 580px) {
  .hours-wrapper { grid-template-columns: 1fr; }
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}

.hours-table tr:last-child { border-bottom: none; }
.hours-table tr.today { background: var(--green-light); font-weight: 700; }
.hours-table tr.closed-day td:last-child { color: var(--text-muted); }

.hours-table td {
  padding: .55rem .5rem;
  font-size: .95rem;
}

.hours-table td:last-child { text-align: right; }

/* Open/Closed badge */
.status-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  min-width: 160px;
}

.status-badge {
  display: inline-block;
  padding: .4rem 1.1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .03em;
}

.status-badge.open   { background: #d4edda; color: #155724; }
.status-badge.closed { background: #f8d7da; color: #721c24; }

.status-time {
  margin-top: .6rem;
  font-size: .8rem;
  color: var(--text-muted);
}

/* ── Fotos: Kontakt & Vorträge ── */
.kontakt-foto {
  grid-column: 1 / -1;
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 280px;
}

.laden-foto {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}


.vortrag-foto {
  border-radius: var(--radius);
  overflow: hidden;
}

.vortrag-bild {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* ── Kontakt ── */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

@media (max-width: 580px) {
  .kontakt-grid { grid-template-columns: 1fr; }
}

.kontakt-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.kontakt-box address {
  font-style: normal;
  line-height: 2;
  font-size: .95rem;
}

.map-link {
  display: inline-block;
  margin-top: 1rem;
  background: var(--green);
  color: #fff;
  padding: .5rem 1.1rem;
  border-radius: 4px;
  font-size: .85rem;
  transition: background .2s;
}

.map-link:hover { background: var(--green-dark); text-decoration: none; }

/* ── Vorträge & Beratung ── */
.section-intro {
  max-width: 650px;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.vortraege-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 640px) {
  .vortraege-grid { grid-template-columns: 1fr; }
}

.vortrag-info h3 { margin-top: 0; }

.vortrag-zeiten {
  list-style: none;
  margin: .75rem 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.vortrag-zeiten li {
  font-size: .95rem;
  padding: .4rem .75rem;
  background: var(--green-light);
  border-radius: 4px;
}

.vortrag-cta {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: .55rem 1.25rem;
  border-radius: 4px;
  font-size: .9rem;
  font-weight: 700;
  transition: background .2s;
}

.vortrag-cta:hover { background: var(--green-dark); text-decoration: none; }

.termin-liste {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 1rem;
}

.termin-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
  box-shadow: var(--shadow);
}

.termin-datum {
  font-weight: 700;
  font-size: .9rem;
  color: var(--green-dark);
}

.termin-thema {
  font-size: 1rem;
  margin: .2rem 0 .15rem;
}

.termin-info {
  font-size: .8rem;
  color: var(--text-muted);
}

.termin-hinweis {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: .5rem;
}

/* ── Footer ── */
footer {
  background: var(--green-dark);
  color: #a8c8ac;
  text-align: center;
  padding: 2rem 1.25rem;
  font-size: .82rem;
}

footer a { color: #c8e6cc; }
footer .footer-sep { margin: 0 .6rem; opacity: .5; }
