/*
Theme Name: Odenwatt
Theme URI: 
Author: Antigravity
Author URI: 
Description: Ein einfaches und modernes WordPress Theme für die Odenwatt-Initiative.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: odenwatt
*/

:root {
  --color-bg: #F9F7EF; /* Cream */
  --color-text: #174A32; /* Dark Green */
  --color-accent-blue: #6A869C; /* Slate Blue */
  --color-accent-yellow: #D9B859; /* Mustard Yellow */
  --color-accent-olive: #809B66; /* Olive Green */
  --color-accent-green: #AACF95; /* Light Green */
  
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Merriweather', serif;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text);
  margin-top: 0;
}

a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

a:hover {
  text-decoration: underline;
  color: var(--color-accent-olive);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  padding: 10px 0;
  border-bottom: 2px solid var(--color-accent-green);
  background-color: #fff;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.site-logo img {
  max-width: 250px;
  height: auto;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

.main-navigation a {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Hero Section (Front Page) */
.hero-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--color-bg) 0%, #fff 100%);
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-section p {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.button {
  display: inline-block;
  background-color: var(--color-text);
  color: #fff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
  background-color: var(--color-accent-olive);
  text-decoration: none;
  color: #fff;
  transform: translateY(-2px);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding: 40px 0;
  max-width: 900px;
  margin: 0 auto;
}

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

.feature-box {
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: var(--color-text);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  font-weight: 600;
  font-size: 1.2rem;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-box.box-1 { background-color: var(--color-accent-blue); color: #fff; }
.feature-box.box-2 { background-color: var(--color-accent-yellow); color: #174A32; }
.feature-box.box-3 { background-color: var(--color-accent-olive); color: #fff; }
.feature-box.box-4 { background-color: var(--color-accent-green); color: #174A32; }

/* Main Content Area */
.site-main {
  padding: 20px 0;
  min-height: 60vh;
}

.page-title {
  font-size: 2.2rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(23, 74, 50, 0.2);
}

/* Footer */
.site-footer {
  background-color: var(--color-text);
  color: #fff;
  padding: 40px 0;
  text-align: center;
  margin-top: auto;
}

.site-footer a {
  color: var(--color-accent-green);
}

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

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 20px;
  }
  .main-navigation ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  .hero-section h1 { font-size: 2.5rem; }
  .hero-section p { font-size: 1.2rem; }
}
