:root {
  /* Farben direkt aus dem Weyher-Logo */
  --brand-blue: #2E2967;        /* Dunkelblau / Violett für Überschriften & Brand */
  --brand-green-dark: #4B6E28;  /* Olivgrün / Moosgrün */
  --brand-green-light: #8CB82B; /* Frisches Limettengrün für Akzente */
  
  --primary: var(--brand-green-dark);
  --primary-hover: #3C5920;
  --secondary: var(--brand-blue);
  --accent: var(--brand-green-light);
  
  --bg-light: #F8F9FB;
  --card-bg: #FFFFFF;
  --text-dark: #212529;
  --text-muted: #6C757D;
  --border-color: #E2E8F0;
  --shadow: 0 4px 14px rgba(46, 41, 103, 0.08);
  --radius: 8px;
  --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header & Nav */
header {
  background: var(--card-bg);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 4px solid var(--brand-green-light);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.5rem;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-container img {
  height: 52px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.logo-subtitle {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--brand-blue);
  font-weight: 600;
  padding: 0.4rem 0;
  transition: color 0.2s, border-bottom 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-green-dark);
  border-bottom: 3px solid var(--brand-green-light);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--brand-blue);
}

/* Container & Layout */
main {
  flex: 1;
}

.container {
  max-width: 1100px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
}

.page-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 0.4rem;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Cards & Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.card h3 {
  color: var(--brand-blue);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  border-bottom: 2px solid var(--brand-green-light);
  padding-bottom: 0.4rem;
}

/* Plastische 3D-Buttons */
.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  background-image: linear-gradient(to bottom, #5B822E 0%, var(--brand-green-dark) 100%);
  box-shadow: 0 3px 0 #334D1B, 0 6px 10px rgba(0,0,0,0.12);
  transition: all 0.15s ease-out;
  position: relative;
  top: 0;
}

.btn:hover {
  color: #FFFFFF;
  background-image: linear-gradient(to bottom, #6B9837 0%, #436323 100%);
  box-shadow: 0 3px 0 #334D1B, 0 8px 15px rgba(0,0,0,0.18);
  top: -1px;
}

.btn:active {
  box-shadow: 0 1px 0 #334D1B, 0 2px 3px rgba(0,0,0,0.1);
  top: 2px;
  background-image: linear-gradient(to bottom, var(--brand-green-dark) 0%, #334D1B 100%);
  outline: none;
}

/* History Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-item {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 5px solid var(--brand-green-light);
}

.timeline-year {
  font-weight: 700;
  color: var(--brand-green-dark);
  font-size: 1.1rem;
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background: var(--brand-blue);
  color: #FFFFFF;
  text-align: center;
  padding: 2rem 1.5rem;
  margin-top: 3rem;
  font-size: 0.9rem;
}

footer a {
  color: var(--brand-green-light);
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--card-bg);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-menu.open {
    display: flex;
  }
}