/* =============================================
   Landwirtschaft Tanja Ittner – Modernes Redesign
   Primärfarbe: #2f6b1e (Landwirtschaftliches Grün)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Raleway:wght@300;400;500;600&display=swap');

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

:root {
  --primary:       #2f6b1e;
  --primary-dark:  #1e4a11;
  --primary-light: #4a8f30;
  --accent:        #c8960e;
  --accent-light:  #f0d484;
  --bg:            #f7f9f5;
  --bg-light:      #eef3ea;
  --text:          #2c2c2c;
  --text-light:    #5c6b56;
  --white:         #ffffff;
  --shadow:        0 4px 24px rgba(47,107,30,0.13);
  --shadow-lg:     0 8px 40px rgba(47,107,30,0.18);
  --radius:        8px;
  --radius-lg:     16px;
  --transition:    0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.3;
  color: var(--primary-dark);
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }

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

/* ─── Page Wrapper ─── */
.page-wrapper {
  max-width: 1100px;
  margin: 30px auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* ─── Navigation ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  min-height: 62px;
  position: relative;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo span {
  color: var(--accent-light);
  font-size: 0.7rem;
  display: block;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
}
.nav-links li a {
  display: block;
  padding: 0.45rem 0.75rem;
  color: rgba(255,255,255,0.88);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-links li a:hover,
.nav-links li a.active {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}
.nav-links li a.nav-btn {
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 600;
  margin-left: 0.4rem;
}
.nav-links li a.nav-btn:hover {
  background: var(--accent-light);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ─── */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 5rem 2.5rem 4rem;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}

/* Decorative circles */
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -120px; left: -60px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: rgba(200,150,14,0.08);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(200,150,14,0.2);
  color: var(--accent-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(200,150,14,0.3);
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.75;
  max-width: 540px;
}
.hero-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.15);
}

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-accent {
  background: var(--accent);
  color: var(--primary-dark);
}
.btn-accent:hover {
  background: #a97b09;
  color: var(--white);
  transform: translateY(-1px);
}
.btn-white {
  background: var(--white);
  color: var(--primary-dark);
}
.btn-white:hover {
  background: var(--accent-light);
}

/* ─── Page Header (Unterseiten) ─── */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 3rem 2.5rem;
  color: white;
  text-align: center;
}
.page-header h1 {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}
.page-header p {
  color: rgba(255,255,255,0.78);
  margin-top: 0.5rem;
}

/* ─── Sections ─── */
.section {
  padding: 3.5rem 2.5rem;
}
.section-alt {
  background: var(--bg-light);
}
.section-dark {
  background: var(--primary-dark);
  color: var(--white);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.82); }

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-header h2 { font-size: 2rem; margin-bottom: 0.75rem; }
.section-header p { color: var(--text-light); }
.section-divider {
  width: 50px;
  height: 3px;
  background: var(--accent);
  margin: 0.75rem auto 1rem;
  border-radius: 2px;
}

/* ─── About Grid (2-col: text + image) ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-text h2 { font-size: 1.9rem; margin-bottom: 1rem; }
.about-text p { color: var(--text-light); margin-bottom: 1rem; }
.about-text p strong { color: var(--primary); }

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center;
}

/* ─── Fact Chips ─── */
.fact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.fact-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-light);
  border: 1px solid var(--bg-light);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
}

/* ─── Crop Cards ─── */
.crops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.crop-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 16px rgba(47,107,30,0.08);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--primary);
}
.crop-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.crop-card-header {
  padding: 1.75rem 1.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.crop-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.crop-card h3 { font-size: 1.3rem; color: var(--primary-dark); }
.crop-card h3 small { display: block; font-size: 0.75rem; color: var(--text-light); font-family: 'Raleway', sans-serif; font-weight: 400; margin-top: 2px; }
.crop-card-body {
  padding: 0 1.75rem 1.75rem;
}
.crop-card-body p { font-size: 0.92rem; color: var(--text-light); margin-bottom: 1rem; }
.crop-uses {
  list-style: none;
  margin-top: 0.75rem;
}
.crop-uses li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--bg-light);
}
.crop-uses li:last-child { border-bottom: none; }
.crop-uses li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── Philosophy Banner ─── */
.philosophy-banner {
  background: var(--bg-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}
.philosophy-banner p {
  color: var(--text-light);
  font-style: italic;
  margin: 0;
}
.philosophy-banner strong { color: var(--primary-dark); }

/* ─── Ferienwohnung Teaser ─── */
.fewo-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.fewo-teaser-text h2 { font-size: 1.8rem; margin-bottom: 1rem; }
.fewo-teaser-text p { color: var(--text-light); margin-bottom: 1rem; }

.fewo-highlights {
  list-style: none;
  margin: 1rem 0 1.5rem;
}
.fewo-highlights li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-light);
  padding: 0.4rem 0;
}
.fewo-highlights li::before {
  content: '🏡';
  font-size: 1rem;
}
.fewo-highlights li:nth-child(2)::before { content: '🌿'; }
.fewo-highlights li:nth-child(3)::before { content: '🚿'; }
.fewo-highlights li:nth-child(4)::before { content: '📍'; }

.fewo-card-visual {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  color: white;
}
.fewo-card-visual .fewo-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.fewo-card-visual h3 { color: white; font-size: 1.4rem; margin-bottom: 0.5rem; }
.fewo-card-visual p { color: rgba(255,255,255,0.78); font-size: 0.9rem; margin-bottom: 1.5rem; }

/* ─── CTA Banner ─── */
.cta-banner {
  text-align: center;
  padding: 3rem 2rem;
}
.cta-banner h2 { color: var(--white); font-size: 1.8rem; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.82); margin-bottom: 1.5rem; }
.cta-banner .btn { margin: 0.25rem; }

/* ─── Pflanzen Detail Page ─── */
.crop-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--bg-light);
}
.crop-detail-grid:last-child { border-bottom: none; margin-bottom: 0; }
.crop-detail-grid.reverse { direction: rtl; }
.crop-detail-grid.reverse > * { direction: ltr; }

.crop-detail-visual {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(47,107,30,0.1);
}
.crop-detail-visual .big-icon { font-size: 5rem; line-height: 1; margin-bottom: 1rem; }
.crop-detail-visual h3 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.crop-detail-visual p { font-size: 0.82rem; color: var(--text-light); }

.crop-detail-info h3 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.crop-detail-info .crop-latin { font-size: 0.85rem; color: var(--text-light); font-style: italic; margin-bottom: 1.25rem; }
.crop-detail-info p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 0.85rem; }

.crop-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.crop-stat {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
}
.crop-stat dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-light); font-weight: 600; margin-bottom: 0.2rem; }
.crop-stat dd { font-size: 0.95rem; color: var(--primary-dark); font-weight: 600; }

/* ─── Ferienwohnung Page ─── */
.fewo-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.fewo-info h2 { font-size: 1.7rem; margin-bottom: 1.2rem; }
.fewo-info p { color: var(--text-light); margin-bottom: 1rem; font-size: 0.95rem; }
.fewo-info .btn-group { margin-top: 1.5rem; }

.fewo-contact-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border-left: 4px solid var(--primary);
}
.fewo-contact-card h3 { font-size: 1.2rem; margin-bottom: 1.25rem; }
.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  color: var(--text-light);
}
.contact-line strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 1px; }
.contact-line a { color: var(--primary); }
.contact-line a:hover { color: var(--accent); }
.ci-icon-sm {
  width: 34px; height: 34px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--primary);
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(47,107,30,0.1);
}

/* ─── Footer ─── */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding: 2.5rem 2.5rem 1.5rem;
}
.footer-col h4 {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-col p, .footer-col a {
  color: rgba(255,255,255,0.62);
  font-size: 0.88rem;
  line-height: 1.9;
}
.footer-col a:hover { color: var(--accent-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); margin-left: 1rem; }
.footer-bottom a:hover { color: var(--accent-light); }

/* ─── Utilities ─── */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* ─── Scroll-Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Content Pages (Impressum, Datenschutz) ─── */
.content-page { max-width: 780px; margin: 0 auto; }
.content-page h2 { font-size: 1.9rem; margin-bottom: 0.5rem; }
.content-page h3 { font-size: 1.2rem; margin-top: 2rem; margin-bottom: 0.75rem; }
.content-page p { color: var(--text-light); margin-bottom: 1rem; font-size: 0.95rem; }
.content-page ul { list-style: disc; padding-left: 1.5rem; color: var(--text-light); font-size: 0.95rem; margin-bottom: 1rem; }
.content-page a { color: var(--primary); }

/* ═══════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════ */

@media (max-width: 900px) {
  .about-grid        { grid-template-columns: 1fr; gap: 2rem; }
  .about-image       { order: -1; }
  .about-image img   { height: 280px; }
  .crops-grid        { grid-template-columns: 1fr 1fr; }
  .fewo-teaser       { grid-template-columns: 1fr; gap: 2rem; }
  .fewo-info-grid    { grid-template-columns: 1fr; }
  .footer-inner      { grid-template-columns: 1fr 1fr; }
  .crop-detail-grid  { grid-template-columns: 1fr; gap: 1.5rem; }
  .crop-detail-grid.reverse { direction: ltr; }
  .hero h1           { font-size: 2rem; }
  .hero              { padding: 3.5rem 2rem 3rem; min-height: 320px; }
}

@media (max-width: 768px) {
  .nav-toggle  { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 62px; left: 0; right: 0;
    background: var(--primary-dark);
    padding: 0.75rem 0 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { padding: 0.8rem 2rem; font-size: 0.95rem; border-radius: 0; white-space: normal; }
  .nav-links li a.nav-btn { margin: 0.6rem 1.5rem 0; border-radius: 4px; text-align: center; }
}

@media (max-width: 640px) {
  .page-wrapper  { margin: 0; border-radius: 0; }
  .page-header   { padding: 2rem 1.25rem; }
  .page-header h1 { font-size: 1.7rem; }
  .hero          { padding: 3rem 1.25rem 2.5rem; min-height: 280px; }
  .hero h1       { font-size: 1.6rem; }
  .hero p        { font-size: 0.92rem; }
  .section       { padding: 2rem 1.25rem; }
  .cta-banner    { padding: 2rem 1.25rem; }
  .crops-grid    { grid-template-columns: 1fr; }
  .crop-stats    { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 1.25rem 1.25rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; padding: 1rem 1.25rem; }
  .footer-bottom a { margin: 0 0.5rem; }
  .btn-group     { flex-direction: column; }
  .btn-group .btn { text-align: center; }
  .fact-chips    { gap: 0.4rem; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 1.4rem; }
  .crops-grid { grid-template-columns: 1fr; }
}
