:root {
  --primary: #1a3a6c;
  --secondary: #2d5aa0;
  --accent: #f0a500;
  --white: #ffffff;
  --light: #f5f7fa;
  --text: #1a1a2e;
  --muted: #666;
}

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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--light);
}

/* ---- HEADER ---- */
.site-header {
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}
.site-logo img {
  height: 64px;
  width: auto;
}
.site-logo-text { color: white; }
.site-logo-text h1 { font-size: 22px; font-weight: 700; margin: 0; }
.site-logo-text p  { font-size: 12px; opacity: 0.8; margin: 0; }

/* ---- NAV ---- */
.site-nav { background: var(--secondary); }
.site-nav ul {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  list-style: none;
  flex-wrap: wrap;
}
.site-nav ul li a {
  display: block;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.site-nav ul li a:hover,
.site-nav ul li a.active {
  background: var(--primary);
  color: var(--accent);
}

/* ---- LAYOUT ---- */
.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px;
}
.content-card {
  background: white;
  border-radius: 8px;
  padding: 40px 48px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 32px;
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 80px 32px;
  text-align: center;
}
.hero h1 {
  font-size: 2.6em;
  margin-bottom: 16px;
  border: none;
  color: white;
  padding-bottom: 0;
}
.hero p {
  font-size: 1.1em;
  opacity: 0.9;
  max-width: 640px;
  margin: 0 auto 28px;
}
.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 8px 24px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 14px;
}

/* ---- CARDS GRID ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 32px;
}
.card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s;
  text-decoration: none;
  color: var(--text);
}
.card:hover { transform: translateY(-3px); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 20px; }
.card-body h3 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1.1em;
}
.card-body p { color: var(--muted); font-size: 14px; margin: 0; }
.card-arrow {
  display: inline-block;
  margin-top: 12px;
  color: var(--secondary);
  font-weight: 600;
  font-size: 14px;
}

/* Section intro on homepage */
.section-intro {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 32px;
}
.section-intro h2 {
  font-size: 1.6em;
  color: var(--primary);
  margin-bottom: 8px;
  border-left: 4px solid var(--accent);
  padding-left: 14px;
}

/* ---- TYPOGRAPHY ---- */
h1 {
  font-size: 2em;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--accent);
}
h2 {
  font-size: 1.5em;
  color: var(--primary);
  margin: 32px 0 12px;
}
h3 {
  font-size: 1.15em;
  color: var(--secondary);
  margin: 20px 0 8px;
  font-weight: 600;
}
p { margin-bottom: 16px; }
ul, ol { margin: 12px 0 16px 24px; }
li { margin-bottom: 6px; }
a { color: var(--secondary); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }

/* ---- TABLE ---- */
.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
  overflow-x: auto;
  display: block;
}
.article-table th {
  background: var(--primary);
  color: white;
  padding: 12px;
  text-align: left;
  white-space: nowrap;
}
.article-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e0e0e0;
}
.article-table tr:nth-child(even) td { background: #f8f9fa; }
.article-table tr:hover td { background: #eef2f8; }

/* ---- TEAM GRID ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.team-card {
  text-align: center;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px 12px;
}
.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--secondary);
  margin-bottom: 10px;
}
.team-card .name { font-weight: 600; color: var(--primary); font-size: 14px; }
.team-card .role { color: var(--muted); font-size: 12px; }

/* ---- INFO BOX ---- */
.info-box {
  background: #eef2f8;
  border-left: 4px solid var(--secondary);
  padding: 16px 20px;
  border-radius: 0 6px 6px 0;
  margin: 20px 0;
}
.info-box strong { color: var(--primary); }

/* ---- CONTACT TABLE ---- */
.contact-table { width: 100%; }
.contact-table td { padding: 8px 4px; vertical-align: top; }
.contact-table td:first-child { font-weight: 600; color: var(--primary); width: 200px; }

/* ---- FAQ ---- */
.faq-section { margin: 24px 0; }
.faq-item { margin-bottom: 16px; }
.faq-item h3 {
  background: #eef2f8;
  padding: 12px 16px;
  border-left: 4px solid var(--accent);
  margin-bottom: 0;
  border-radius: 0 4px 0 0;
}
.faq-item p {
  padding: 12px 16px;
  background: #fafafa;
  border-left: 4px solid #e0e0e0;
  margin-bottom: 0;
  border-radius: 0 0 4px 0;
}

/* ---- GALLERY ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
}

/* ---- SECTION DIVIDER ---- */
.section-divider {
  border: none;
  border-top: 2px solid var(--accent);
  margin: 32px 0;
  width: 60px;
}

/* ---- BREADCRUMB ---- */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--secondary); }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 32px;
  margin-top: 48px;
}
.site-footer a { color: var(--accent); }
.site-footer p { margin-bottom: 4px; }

/* ---- 404 ---- */
.error-404 { text-align: center; padding: 80px 20px; }
.error-404 h1 { font-size: 120px; color: var(--accent); border: none; padding: 0; }
.error-404 h2 { font-size: 28px; color: var(--primary); margin-top: 0; }
.btn-back {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 16px;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-back:hover { background: var(--secondary); color: white; text-decoration: none; }

/* ---- BADGE ---- */
.badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ---- TIMELINE (Geschichte) ---- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--secondary);
}
.timeline-item { margin-bottom: 28px; position: relative; }
.timeline-year {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1em;
  margin-bottom: 4px;
}
.timeline-year::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 5px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--primary);
}
.timeline-text { color: var(--text); font-size: 14px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .header-inner { flex-direction: column; gap: 12px; text-align: center; }
  .site-nav ul { justify-content: center; }
  .site-nav ul li a { padding: 10px 12px; font-size: 13px; }
  .page-wrapper { padding: 24px 16px; }
  .content-card { padding: 24px 20px; }
  .cards-grid { padding: 0 16px; }
  h1 { font-size: 1.5em; }
  .hero h1 { font-size: 1.8em; }
  .hero { padding: 50px 20px; }
}
