:root {
  --vir-green: #2f8f1f;
  --vir-green-dark: #001f00;
  --vir-light: #f5f5f5;
  --vir-page-bg: #e9e9e9;
  --vir-text: #222222;
  --vir-muted: #6f6f6f;
  --vir-accent: #d8a22d;
  --card-border: #dddddd;
  --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.15);
  --radius-pill: 999px;
  --content-width: 1150px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--vir-text);
  background: var(--vir-page-bg);
  line-height: 1.6;
}

img,
video,
iframe,
svg,
canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin-top: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* =========================
   GLOBAL HEADER
   ========================= */

.site-header {
  background: var(--vir-green);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-pill-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 16px 12px;
}

.top-pill {
  background: var(--vir-green-dark);
  color: #fff;
  border-radius: var(--radius-pill);
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  box-shadow: var(--shadow-soft);
  font-size: 1.05rem;
  font-weight: 700;
}

.top-pill .icon {
  font-size: 2rem;
  line-height: 1;
  width: 40px;
  text-align: center;
}

.top-pill .domain {
  text-align: center;
  flex: 1;
  font-size: 1.05rem;
}

.header-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand img {
  width: 96px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.site-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.site-nav a {
  color: #fff;
  padding: 12px 14px;
  font-weight: 700;
  border: 2px solid transparent;
}

.site-nav a.active,
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: #fff;
}

/* =========================
   HERO / PAGE HERO
   ========================= */

.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url("/images/hero.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  padding: 40px 20px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
}

.hero p {
  margin: 0;
  font-size: clamp(1.1rem, 2.6vw, 2rem);
}

.page-hero {
  background: var(--vir-green);
  color: #fff;
  padding: 34px 16px 42px;
  text-align: center;
}

.page-hero-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  font-weight: 800;
}

.page-hero p {
  margin: 10px 0 0;
  font-size: 1.1rem;
  opacity: 0.95;
}

/* =========================
   GENERIC SECTIONS
   ========================= */

.section {
  padding: 56px 16px;
}

.section-card {
  max-width: var(--content-width);
  margin: 0 auto;
  background: var(--vir-light);
  padding: 34px 24px;
}

.section-title {
  text-align: center;
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
}

.section-subtitle {
  text-align: center;
  color: #777;
  font-style: italic;
  margin: 0;
}

.divider {
  width: 110px;
  height: 2px;
  background: #aaa;
  margin: 16px auto 28px;
}

.intro-text {
  max-width: 980px;
  margin: 0 auto 34px;
  text-align: center;
  font-size: 1.05rem;
}

.text-block {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 16px 8px;
  font-size: 1.05rem;
}

.text-block p {
  margin: 0 0 28px;
}

/* =========================
   INDEX / TEAM
   ========================= */

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.team-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.team-text {
  text-align: left;
}

.team-text h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.35;
}

.team-text p {
  color: #666;
  font-size: 0.95rem;
}

.team-image {
  display: flex;
  justify-content: center;
}

.team-image img {
  width: 100%;
  max-width: 200px;
  object-fit: cover;
}

.backup-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 34px;
}

.backup-row img {
  width: 100%;
  max-width: 420px;
}

.backup-text {
  text-align: center;
}

.backup-text h3 {
  font-size: 1.35rem;
  margin: 0 0 16px;
}

/* =========================
   SPONSORS
   ========================= */

.sponsors {
  background: var(--vir-light);
  padding: 60px 16px 70px;
}

.sponsors-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  text-align: center;
}

.sponsors-title {
  color: #bdbdbd;
  text-transform: uppercase;
  font-size: 2rem;
  margin: 0;
  letter-spacing: 0.02em;
}

.sponsors-divider {
  width: 48px;
  height: 4px;
  background: var(--vir-green);
  margin: 14px auto 38px;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
  justify-items: center;
}

.sponsor-grid img {
  max-width: 100%;
  max-height: 90px;
  object-fit: contain;
}

.sponsor-grid .wide {
  grid-column: span 3;
  max-height: 110px;
}

/* =========================
   NEWS PAGE
   ========================= */

.news-section {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 36px 16px 56px;
}

.news-card {
  background: var(--vir-light);
  border: 1px solid var(--card-border);
  margin-bottom: 28px;
  overflow: hidden;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.news-grid.reverse {
  direction: rtl;
}

.news-grid.reverse > * {
  direction: ltr;
}

.news-media {
  min-height: 320px;
  background: #ddd center center / cover no-repeat;
}

.news-media img,
.news-media video {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.news-content {
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-content h2 {
  margin: 0 0 16px;
  color: #808080;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2;
}

.news-content p {
  margin: 0 0 14px;
  color: #777;
  font-size: 1.02rem;
}

.news-content p:last-child {
  margin-bottom: 0;
}

.text-link {
  color: var(--vir-green-dark);
  font-weight: 700;
  word-break: break-word;
}

/* =========================
   EVENTPLAN
   ========================= */

.content-card {
  max-width: 1100px;
  margin: 20px auto;
  background: #f7f7f7;
  padding: 40px 28px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.content-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/images/bg-pattern.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.14;
  pointer-events: none;
}

.content-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero-area {
  background: #4a8f2e;
  padding: 30px 16px 40px;
}

.page-title {
  text-align: center;
  color: var(--vir-green);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  margin: 0 0 35px;
  font-weight: 800;
}

.event-table-wrap {
  overflow-x: auto;
  margin-top: 20px;
}

.event-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.event-table thead th {
  color: var(--vir-green);
  font-size: 1.05rem;
  text-align: left;
  padding: 10px 12px;
  border-bottom: 3px solid var(--vir-green);
  white-space: nowrap;
}

.event-table tbody td {
  padding: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  vertical-align: top;
  text-align: left;
  white-space: nowrap;
}

.event-table tbody tr:nth-child(odd) {
  background: #78ad52;
  color: #000;
}

.event-table tbody tr:nth-child(even) {
  background: #ffffff;
  color: #000;
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
  background: var(--vir-green);
  color: #fff;
}

.site-footer-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 26px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo img {
  width: 110px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--vir-accent);
  font-size: 1.25rem;
}

.footer-links a {
  color: var(--vir-accent);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
  .header-main {
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-toggle-label {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 8px;
  }

  .site-nav a {
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 14px 0;
  }

  .site-nav a.active,
  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    border-color: rgba(255, 255, 255, 0.2);
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }

  .hero {
    min-height: 320px;
  }

  .team-grid,
  .backup-row,
  .sponsor-grid,
  .news-grid,
  .news-grid.reverse {
    grid-template-columns: 1fr;
  }

  .news-grid.reverse {
    direction: ltr;
  }

  .team-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .team-text {
    text-align: center;
  }

  .sponsor-grid .wide {
    grid-column: span 1;
  }

  .news-media,
  .news-media img,
  .news-media video {
    min-height: 240px;
  }
}

@media (max-width: 700px) {
  .event-table {
    min-width: 100%;
  }

  .event-table th,
  .event-table td {
    white-space: normal;
  }

  .event-table td {
    word-break: break-word;
  }
}

@media (max-width: 640px) {
  .top-pill {
    min-height: 62px;
    padding: 0 16px;
  }

  .top-pill .domain {
    font-size: 0.95rem;
  }

  .brand img {
    width: 72px;
  }

  .section-card,
  .content-card {
    padding: 24px 14px;
  }

  .news-content {
    padding: 24px 18px;
  }

  .team-image img {
    max-width: 180px;
  }

  .footer-logo img {
    width: 90px;
  }
}
/* =========================
   KONTAKT
   ========================= */

.contact-page {
  padding-bottom: 20px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.contact-card {
  background: #fafafa;
  border: 1px solid rgba(9, 130, 34, 0.2);
  padding: 22px 18px;
  text-align: center;
}

.contact-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.contact-card p {
  color: #666;
  font-size: 0.98rem;
}

.contact-button {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 18px;
  background: rgba(9, 130, 18, 1);
  color: #fff;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  text-align: center;
}

.contact-button:hover {
  background: rgba(25, 185, 52, 0.87);
  color: #fff;
}

.contact-alt-section {
  padding-top: 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.contact-info-box,
.contact-form-box {
  background: #fff;
  border: 1px solid rgba(9, 130, 34, 0.2);
  padding: 24px 20px;
}

.contact-info-box p,
.contact-form-box p,
.form-note {
  color: #555;
}

.contact-direct-mail {
  margin-top: 18px;
  font-weight: 700;
}

.contact-direct-mail a,
.form-note a {
  color: var(--vir-green-dark);
  font-weight: 700;
}

.contact-form-box h3 {
  margin: 0 0 18px;
  font-size: 1.2rem;
}

.contact-form {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(9, 130, 34, 0.2);
  font: inherit;
  background: #fff;
}

.form-field textarea {
  resize: vertical;
  min-height: 180px;
}

.form-actions {
  margin-top: 8px;
}

.form-note {
  margin-top: 18px;
  font-size: 0.95rem;
}

@media (max-width: 1000px) {
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
.easter-banner {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 16px;
}

.easter-banner img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
/* =========================
   IMPRESSUM / RECHTLICHES
   ========================= */

.legal-page {
  padding-bottom: 20px;
}

.legal-card {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.legal-card h2 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.legal-card p {
  margin: 0 0 22px;
  color: #444;
  line-height: 1.75;
}

.legal-card a {
  color: var(--vir-green-dark);
  font-weight: 700;
}
.news-media img,
.news-media video {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
/* =========================
   KONTAKT
   ========================= */

.contact-page {
  padding-bottom: 20px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.contact-card {
  background: #fafafa;
  border: 1px solid rgba(9, 130, 34, 0.2);
  padding: 22px 18px;
  text-align: center;
}

.contact-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.contact-card p {
  color: #666;
  font-size: 0.98rem;
}

.contact-button {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 18px;
  background: rgba(9, 130, 18, 1);
  color: #fff;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  text-align: center;
}

.contact-button:hover {
  background: rgba(25, 185, 52, 0.87);
  color: #fff;
}

.contact-alt-section {
  padding-top: 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.contact-info-box,
.contact-form-box {
  background: #fff;
  border: 1px solid rgba(9, 130, 34, 0.2);
  padding: 24px 20px;
}

.contact-info-box p,
.contact-form-box p,
.form-note {
  color: #555;
}

.contact-direct-mail {
  margin-top: 18px;
  font-weight: 700;
}

.contact-direct-mail a,
.form-note a {
  color: var(--vir-green-dark);
  font-weight: 700;
}

.contact-form-box h3 {
  margin: 0 0 18px;
  font-size: 1.2rem;
}

.contact-form {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(9, 130, 34, 0.2);
  font: inherit;
  background: #fff;
}

.form-field textarea {
  resize: vertical;
  min-height: 180px;
}

.form-actions {
  margin-top: 8px;
}

.form-note {
  margin-top: 18px;
  font-size: 0.95rem;
}

.form-success {
  margin: 0 0 18px;
  padding: 12px 16px;
  background: #eaf7ea;
  border: 1px solid #9ccc9c;
  color: #216321;
  font-weight: 700;
}

.form-error {
  margin: 0 0 18px;
  padding: 12px 16px;
  background: #fdeaea;
  border: 1px solid #e2aaaa;
  color: #8a1f1f;
  font-weight: 700;
}

@media (max-width: 1000px) {
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
