:root {
  --brand-blue: #2f96df;
  --brand-green: #18a51f;
  --brand-yellow: #ffc400;
  --brand-gray: #757575;
  --brand-ink: #242424;
  --brand-muted: #63666a;
  --surface-soft: #f3f8fc;
  --surface-warm: #fff8da;
  --border-soft: rgba(36, 36, 36, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--brand-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--brand-blue);
}

.navbar {
  --bs-navbar-padding-y: 0.85rem;
}

.navbar-brand {
  color: var(--brand-ink);
}

.brand-logo {
  display: block;
  height: 48px;
  max-width: min(260px, 44vw);
  object-fit: contain;
  width: auto;
}

.nav-link {
  font-weight: 650;
}

.hero-section {
  background: linear-gradient(135deg, var(--surface-warm), #edf8ff 52%, #eefced);
  padding: 5.5rem 0 4.5rem;
}

.hero-image,
.about-image {
  background-position: center;
  background-size: cover;
}

.hero-image {
  aspect-ratio: 4 / 3;
  background-image:
    linear-gradient(135deg, rgba(36, 87, 166, 0.18), rgba(47, 143, 114, 0.1)),
    url("https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=900&q=80");
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(29, 38, 56, 0.14);
  min-height: 320px;
}

.about-image {
  aspect-ratio: 16 / 11;
  background-image:
    linear-gradient(135deg, rgba(236, 111, 88, 0.2), rgba(244, 197, 66, 0.14)),
    url("https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?auto=format&fit=crop&w=900&q=80");
  border-radius: 8px;
  min-height: 300px;
}

.eyebrow {
  color: var(--brand-blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.quick-info {
  background: #ffffff;
}

.quick-info-item {
  padding: 1.25rem 1rem;
}

.quick-info-label {
  color: var(--brand-muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 750;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.section-padding {
  padding: 5rem 0;
}

.bg-soft {
  background: var(--surface-soft);
}

.surface-box,
.empty-state {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(29, 38, 56, 0.06);
  padding: 1.5rem;
}

.card {
  border-color: var(--border-soft);
  border-radius: 8px;
}

.event-card {
  border-left: 5px solid var(--brand-green);
}

.event-date {
  background: var(--brand-blue);
  border-radius: 8px;
  color: #ffffff;
  flex: 0 0 76px;
  padding: 0.65rem 0.5rem;
  text-align: center;
}

.event-date span {
  display: block;
  font-size: 1.6rem;
  font-weight: 850;
  line-height: 1;
}

.event-date small {
  font-weight: 750;
  text-transform: uppercase;
}

.status-badge {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.3rem 0.65rem;
  text-transform: uppercase;
}

.status-geplant {
  background: rgba(47, 143, 114, 0.12);
  color: #1d6e56;
}

.status-ausgebucht {
  background: rgba(244, 197, 66, 0.22);
  color: #785d08;
}

.status-abgesagt {
  background: rgba(236, 111, 88, 0.15);
  color: #9b3527;
}

.news-image {
  aspect-ratio: 16 / 10;
  align-items: center;
  background-color: #ffffff;
  border-radius: 8px 8px 0 0;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  justify-content: center;
  min-height: 180px;
  overflow: hidden;
  width: 100%;
}

.news-image img {
  display: block;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}

.news-meta {
  color: var(--brand-green);
  font-size: 0.9rem;
  font-weight: 750;
}

.feature-card .card-body {
  padding: 1.5rem;
}

.feature-icon {
  align-items: center;
  background: var(--surface-warm);
  border-radius: 8px;
  color: var(--brand-ink);
  display: inline-flex;
  font-weight: 850;
  height: 42px;
  justify-content: center;
  margin-bottom: 1rem;
  width: 42px;
}

.fact-box {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  height: 100%;
  padding: 1rem;
}

.fact-box strong,
.fact-box span,
.contact-person strong,
.contact-person span {
  display: block;
}

.fact-box span,
.contact-person span {
  color: var(--brand-muted);
  margin-top: 0.25rem;
}

.download-item {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.25rem;
}

.download-type {
  color: var(--brand-blue);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 850;
  margin-bottom: 0.35rem;
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-person,
.contact-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 1rem;
}

.contact-card {
  height: 100%;
  text-align: center;
}

.contact-photo {
  aspect-ratio: 1;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  display: block;
  margin-bottom: 1rem;
  object-fit: cover;
  width: 100%;
}

.contact-logo-photo {
  object-fit: contain;
  padding: 1.5rem;
}

.contact-card h2 {
  margin-bottom: 0.25rem;
}

.contact-card p {
  color: var(--brand-muted);
  margin-bottom: 0.5rem;
}

.btn-primary {
  --bs-btn-bg: var(--brand-blue);
  --bs-btn-border-color: var(--brand-blue);
  --bs-btn-hover-bg: #1d478d;
  --bs-btn-hover-border-color: #1d478d;
}

.btn-outline-primary {
  --bs-btn-color: var(--brand-blue);
  --bs-btn-border-color: var(--brand-blue);
  --bs-btn-hover-bg: var(--brand-blue);
  --bs-btn-hover-border-color: var(--brand-blue);
}

.form-feedback {
  color: var(--brand-green);
  font-weight: 650;
}

.admin-section {
  background: #fbfcfd;
}

.admin-tabs {
  border-bottom: 0;
}

.admin-tab-content {
  border-top-left-radius: 0;
}

.admin-list {
  display: grid;
  gap: 0.75rem;
}

.admin-item {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 1rem;
}

.article-hero-image,
.article-inline-image img {
  border-radius: 8px;
  display: block;
  height: auto;
  width: 100%;
}

.article-hero-image {
  max-height: 520px;
  object-fit: cover;
}

.article-body {
  font-size: 1.12rem;
  line-height: 1.75;
  max-width: 780px;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-inline-image {
  margin: 2rem 0;
}

.site-footer {
  background: #ffffff;
  color: var(--brand-muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--brand-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand-blue);
}

@media (max-width: 767.98px) {
  .brand-logo {
    height: 34px;
    max-width: 58vw;
  }

  .navbar {
    --bs-navbar-padding-y: 0.55rem;
  }

  .hero-section {
    padding: 4rem 0 3rem;
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  .quick-info-item + .quick-info-item {
    border-top: 1px solid var(--border-soft);
  }

  .download-item {
    align-items: flex-start;
    flex-direction: column;
  }
}
