/* Knauthainer Agrar — Light Theme, Minimal */
:root {
  --color-bg: #fafaf7;
  --color-text: #1a2e1a;
  --color-text-muted: #5a6b5a;
  --color-accent: #2d6a30;
  --color-accent-light: #3d8b40;
  --color-border: #d4ddd4;
  --color-card: #ffffff;
  --color-hero-overlay: rgba(15, 30, 15, 0.55);
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-width: 960px;
  --gap: 1.5rem;
  --radius: 6px;
}

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

html { scroll-behavior: smooth; }

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('../bilder/hero-windturbinen.jpg') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 30, 15, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 2rem var(--gap);
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 550px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-cta {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  color: #fff;
  font-size: 0.95rem;
  transition: background 0.3s, border-color 0.3s;
}

.hero-cta:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

/* --- Sections --- */
.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}

/* --- Schwerpunkte Background --- */
.section-schwerpunkte {
  position: relative;
  background: url('../bilder/hero-bauernhof.jpg') center/cover no-repeat fixed;
}

.section-schwerpunkte::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(250, 250, 247, 0.88);
}

.section-schwerpunkte > .container {
  position: relative;
  z-index: 1;
}

/* --- Focus Cards --- */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
}

.focus-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: border-color 0.3s;
}

.focus-card:hover {
  border-color: var(--color-accent);
}

.focus-icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  display: block;
}

.focus-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.focus-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--color-border);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.37rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
  border: 2px solid var(--color-bg);
}

.timeline-year {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-item h3 {
  font-size: 1.05rem;
  margin: 0.3rem 0 0.4rem;
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* --- Vision --- */
.vision {
  background: #f0f4ef;
}

.section-vision {
  position: relative;
  background: url('../bilder/hero-windturbinen.jpg') center/cover no-repeat fixed;
}

.section-vision::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(240, 244, 239, 0.92);
}

.section-vision > .container {
  position: relative;
  z-index: 1;
}

.vision-text {
  max-width: 700px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
}

.vision-text strong {
  color: var(--color-accent);
}

/* --- Contact --- */
.contact-info {
  font-size: 1rem;
  line-height: 1.8;
}

.contact-info a {
  font-weight: 500;
}

/* --- Footer --- */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.footer-nav a:hover {
  color: var(--color-accent);
}

/* --- Responsive --- */
@media (max-width: 600px) {
  .hero { min-height: 70vh; }
  .section { padding: 3rem 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}
