/*
Theme Name: Martin Bruhn Garten
Theme URI: https://martin-bruhn.com
Author: Martin Bruhn
Description: Hobbygärtner-Ratgeber und Buchvorstellung – natürliche Erdtöne
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  --erde:       #5c3d1e;
  --erde-hell:  #8b5e3c;
  --sand:       #d4b896;
  --sand-hell:  #f0e4d4;
  --creme:      #faf6f0;
  --gruen:      #4a6741;
  --gruen-hell: #7a9e72;
  --gruen-zart: #c8dbc4;
  --text:       #2e1f0e;
  --text-mid:   #5a3e28;
  --weiss:      #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', Georgia, serif;
  background: var(--creme);
  color: var(--text);
  line-height: 1.8;
  font-size: 17px;
}

a { color: var(--gruen); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--erde); }

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

/* ===== NAVIGATION ===== */
.site-header {
  background: var(--erde);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--sand-hell);
  letter-spacing: 0.5px;
  font-weight: 400;
}

.site-logo span { color: var(--gruen-zart); font-style: italic; }

.main-nav { display: flex; gap: 36px; list-style: none; }
.main-nav a {
  color: var(--sand);
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
}
.main-nav a:hover { color: var(--weiss); border-bottom-color: var(--gruen-zart); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--erde) 0%, #3a2510 50%, var(--gruen) 100%);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  background: var(--gruen-hell);
  color: var(--weiss);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 24px;
  font-family: 'Lora', serif;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--weiss);
  line-height: 1.2;
  margin-bottom: 24px;
  font-weight: 400;
}

.hero h1 em { color: var(--gruen-zart); font-style: italic; }

.hero-text {
  color: var(--sand);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 36px;
  font-weight: 400;
}

.btn-primary {
  display: inline-block;
  background: var(--gruen);
  color: var(--weiss);
  padding: 14px 32px;
  border-radius: 4px;
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all 0.25s;
  border: 2px solid transparent;
}
.btn-primary:hover {
  background: transparent;
  border-color: var(--gruen-zart);
  color: var(--gruen-zart);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--sand);
  padding: 14px 32px;
  border-radius: 4px;
  border: 2px solid var(--sand);
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  margin-left: 16px;
  transition: all 0.25s;
}
.btn-secondary:hover { background: var(--sand); color: var(--erde); }

.hero-buch {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  backdrop-filter: blur(4px);
}

.hero-buch .buch-cover {
  width: 180px;
  margin: 0 auto 24px;
  border-radius: 6px;
  box-shadow: 8px 12px 32px rgba(0,0,0,0.4);
  background: linear-gradient(145deg, var(--gruen) 0%, var(--erde) 100%);
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  color: var(--sand-hell);
  font-size: 1.1rem;
  line-height: 1.4;
  padding: 20px;
}

.hero-buch h3 {
  font-family: 'Playfair Display', serif;
  color: var(--sand-hell);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.hero-buch p { color: var(--sand); font-size: 0.9rem; margin-bottom: 20px; }

.btn-buch {
  display: inline-block;
  background: var(--sand);
  color: var(--erde);
  padding: 10px 28px;
  border-radius: 4px;
  font-family: 'Lora', serif;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s;
}
.btn-buch:hover { background: var(--weiss); color: var(--erde); }

/* ===== SECTIONS ===== */
.section { padding: 90px 32px; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header .eyebrow {
  display: inline-block;
  color: var(--gruen);
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-family: 'Lora', serif;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--erde);
  font-weight: 400;
  line-height: 1.25;
}
.section-header p {
  color: var(--text-mid);
  margin-top: 16px;
  font-size: 1.05rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== RATGEBER KARTEN ===== */
.ratgeber-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.ratgeber-card {
  background: var(--weiss);
  border-radius: 10px;
  padding: 36px 32px;
  border: 1px solid var(--sand);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.ratgeber-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gruen), var(--gruen-hell));
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.ratgeber-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.ratgeber-card:hover::before { transform: scaleX(1); }

.card-icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
  display: block;
}

.ratgeber-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--erde);
  margin-bottom: 10px;
  font-weight: 700;
}

.ratgeber-card p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.card-link {
  color: var(--gruen);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.card-link::after { content: ' →'; }

/* ===== BUCH SEKTION ===== */
.buch-section { background: var(--sand-hell); }

.buch-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 70px;
  align-items: center;
}

.buch-cover-gross {
  background: linear-gradient(145deg, var(--gruen) 0%, var(--erde) 100%);
  border-radius: 8px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  color: var(--sand-hell);
  font-size: 1.3rem;
  line-height: 1.5;
  text-align: center;
  padding: 30px;
  box-shadow: 12px 16px 48px rgba(0,0,0,0.25);
}

.buch-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--erde);
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.2;
}

.buch-autor {
  color: var(--gruen);
  font-style: italic;
  margin-bottom: 24px;
  font-size: 1rem;
}

.buch-beschreibung {
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 32px;
  font-size: 1.02rem;
}

.buch-cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.btn-kaufen {
  display: inline-block;
  background: var(--erde);
  color: var(--weiss);
  padding: 14px 36px;
  border-radius: 4px;
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  transition: all 0.25s;
}
.btn-kaufen:hover { background: var(--gruen); color: var(--weiss); }

.btn-leseprobe {
  display: inline-block;
  color: var(--erde);
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--erde);
  padding-bottom: 2px;
  transition: all 0.2s;
}
.btn-leseprobe:hover { color: var(--gruen); border-color: var(--gruen); }

/* ===== ÜBER MICH ===== */
.ueber-section { background: var(--erde); }

.ueber-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ueber-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--sand-hell);
  font-weight: 400;
  margin-bottom: 24px;
}

.ueber-text p {
  color: var(--sand);
  line-height: 1.85;
  margin-bottom: 16px;
  font-size: 1rem;
}

.ueber-bild {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 48px 40px;
  text-align: center;
}

.ueber-bild .portrait-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gruen-hell), var(--gruen));
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  border: 4px solid var(--sand);
}

.ueber-bild h3 {
  font-family: 'Playfair Display', serif;
  color: var(--sand-hell);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.ueber-bild p { color: var(--sand); font-size: 0.9rem; font-style: italic; }

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: var(--gruen-zart);
  text-align: center;
  padding: 70px 32px;
}

.newsletter-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--erde);
  margin-bottom: 12px;
  font-weight: 400;
}

.newsletter-section p { color: var(--text-mid); margin-bottom: 32px; font-size: 1rem; }

.newsletter-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.newsletter-form input {
  padding: 12px 24px;
  border: 2px solid var(--gruen);
  border-radius: 4px;
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  width: 300px;
  background: var(--weiss);
  color: var(--text);
  outline: none;
}

.newsletter-form input:focus { border-color: var(--erde); }

.newsletter-form button {
  padding: 12px 28px;
  background: var(--erde);
  color: var(--weiss);
  border: none;
  border-radius: 4px;
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: var(--gruen); }

/* ===== FOOTER ===== */
.site-footer {
  background: #1a0f05;
  color: var(--sand);
  padding: 50px 32px 30px;
  text-align: center;
}

.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--sand-hell);
  margin-bottom: 16px;
}

.footer-nav { display: flex; gap: 28px; justify-content: center; list-style: none; margin-bottom: 30px; flex-wrap: wrap; }
.footer-nav a { color: var(--sand); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--weiss); }

.footer-copy { color: #7a6040; font-size: 0.82rem; border-top: 1px solid #3a2510; padding-top: 24px; margin-top: 10px; }
.footer-copy a { color: #7a6040; }
.footer-copy a:hover { color: var(--sand); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-inner, .buch-layout, .ueber-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero { min-height: auto; }
  .hero-inner { padding: 60px 24px; }
  .hero-buch { display: none; }
  .main-nav { gap: 20px; }
  .section { padding: 60px 24px; }
}

/* ===== ANIMATIONEN ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-tag  { animation: fadeUp 0.6s ease both; }
.hero h1   { animation: fadeUp 0.6s 0.15s ease both; }
.hero-text { animation: fadeUp 0.6s 0.3s ease both; }
.hero .hero-btns { animation: fadeUp 0.6s 0.45s ease both; }
.hero-buch { animation: fadeUp 0.8s 0.3s ease both; }
