:root {
  --color-accent: #dd2a1b;
  --color-bg: #141515;
  --color-bg-soft: #1b1d1e;
  --color-surface: #ffffff;
  --color-surface-soft: #f4f4f4;
  --color-text: #111111;
  --color-text-light: #f8f8f8;
  --color-muted: #b8b8b8;
  --color-border: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.18);
  --radius: 18px;
  --max-width: 1200px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Exo 2", system-ui, sans-serif;
  color: var(--color-text);
  background: var(--color-surface);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(20, 21, 21, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 1rem;
}

.brand img {
  height: 56px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.site-nav a {
  color: #fff;
  font-weight: 600;
  font-size: 0.97rem;
  position: relative;
}

.site-nav .nav-home-link {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 1.4rem;
  padding-bottom: 0.08rem;
}

.site-nav .nav-home-icon {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav .nav-cta {
  min-height: 44px;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(221, 42, 27, 0.28);
}

.site-nav .nav-cta:hover {
  transform: translateY(-1px);
  background: #c82215;
}

.site-nav .nav-cta::after {
  display: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: var(--transition);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(221, 42, 27, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(20,21,21,0.98), rgba(20,21,21,0.86)),
    url("../img/hero-placeholder.jpg") center/cover no-repeat;
  color: var(--color-text-light);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,21,21,0.92), rgba(20,21,21,0.55));
}

.hero-content,
.page-hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  padding: 6rem 0;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

h1, h2, h3 {
  font-family: "Exo 2", system-ui, sans-serif;
  line-height: 1.05;
  margin: 0 0 1rem;
  font-weight: 800;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.7rem;
}

.lead {
  font-size: 1.08rem;
  max-width: 62ch;
  color: rgba(255,255,255,0.9);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  transition: var(--transition);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 12px 30px rgba(221, 42, 27, 0.26);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
}

.btn-light {
  background: #fff;
  color: var(--color-bg);
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.2);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(17, 17, 17, 0.24);
}

.section {
  padding: 5rem 0;
}

.section-dark {
  background: var(--color-bg);
  color: var(--color-text-light);
}

.section-accent {
  background: linear-gradient(135deg, #c82215, var(--color-accent));
  color: #fff;
}

.page-hero {
  padding: 6rem 0 3rem;
  background:
    radial-gradient(circle at top right, rgba(221, 42, 27, 0.18), transparent 30%),
    linear-gradient(180deg, var(--color-bg), #1d2021);
  color: #fff;
}

.stats-grid,
.cards-grid,
.footer-grid,
.text-grid,
.contact-grid,
.split-grid {
  display: grid;
  gap: 1.5rem;
}

.stats-grid,
.cards-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.cards-grid.two,
.text-grid,
.contact-grid,
.split-grid {
  grid-template-columns: repeat(2, 1fr);
}

.stat-card,
.info-card,
.panel,
.timeline-content,
.notice-box {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.stat-card,
.info-card,
.panel,
.notice-box {
  padding: 1.6rem;
}

.stat-card {
  background: #fff;
  border: 1px solid #ececec;
}

.stat-number {
  display: inline-block;
  margin-bottom: 0.6rem;
  color: var(--color-accent);
  font-weight: 800;
}

.panel {
  background: #fff;
  color: var(--color-text);
  border: 1px solid #ececec;
}

.accent-panel {
  background: linear-gradient(180deg, #fff, #f7f7f7);
}

.big-info {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-accent);
}

.feature-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.feature-list li + li {
  margin-top: 0.5rem;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 760px;
}

.info-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
}

.board-group + .board-group {
  margin-top: 3rem;
}

.board-group__head {
  margin-bottom: 1.5rem;
}

.board-group__head h3 {
  margin-bottom: 0.4rem;
}

.board-group__head p {
  margin: 0;
  color: rgba(255,255,255,0.72);
}

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

.board-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 620px;
}

.board-card {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.board-card__image {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  width: min(100%, 180px);
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(221, 42, 27, 0.26), transparent 35%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px dashed rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.82);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.board-card__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.board-card__fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  padding: 1rem;
  text-align: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(221, 42, 27, 0.26), transparent 35%),
    linear-gradient(180deg, rgba(20,21,21,0.72), rgba(20,21,21,0.72));
}

.board-card h4 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.board-card__role {
  margin: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.section:not(.section-dark) .info-card {
  background: #fff;
  color: var(--color-text);
  border: 1px solid #ececec;
}

.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cta-box__content {
  max-width: 42rem;
  text-align: left;
}

.cta-box__action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.cta-box__button {
  min-width: 240px;
  padding-inline: 1.5rem;
  font-size: 1rem;
}

.text-link {
  color: var(--color-accent);
  font-weight: 700;
}

#anfrage {
  scroll-margin-top: 7rem;
}

.timeline {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  align-items: start;
}

.timeline-date {
  font-family: "Exo 2", system-ui, sans-serif;
  font-size: 1.5rem;
  color: var(--color-accent);
  font-weight: 800;
}

.timeline-content {
  background: #fff;
  padding: 1.4rem;
  border: 1px solid #ececec;
}

.timeline-content h2 {
  margin-bottom: 0.6rem;
}

.notice-box {
  background: #fff6f5;
  color: var(--color-text);
  border: 1px solid rgba(221, 42, 27, 0.18);
}

.notice-box h3,
.notice-box p,
.notice-box li {
  color: var(--color-text);
}

.results-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.results-table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  color: var(--color-text);
  border-radius: var(--radius);
  overflow: hidden;
}

.results-table th,
.results-table td {
  padding: 1.15rem 1.2rem;
  text-align: left;
  vertical-align: middle;
}

.results-table thead th {
  background: #f3f3f3;
  color: #111;
  font-weight: 800;
  font-size: 0.98rem;
  border-bottom: 1px solid #e5e5e5;
}

.results-table tbody tr {
  transition: background-color var(--transition);
}

.results-table tbody tr:nth-child(even) {
  background: #fafafa;
}

.results-table tbody tr:hover {
  background: #fff6f5;
}

.results-table tbody td {
  border-bottom: 1px solid #ececec;
}

.results-table tbody tr:last-child td {
  border-bottom: none;
}

.results-table td:first-child {
  font-weight: 700;
  white-space: nowrap;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.result-badge--pending {
  background: rgba(221, 42, 27, 0.12);
  color: var(--color-accent);
}

.result-badge--live {
  background: rgba(20, 21, 21, 0.1);
  color: #141515;
}

.result-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-accent);
  font-weight: 800;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
}

.result-link:hover {
  opacity: 0.8;
  transform: translateX(2px);
}

.result-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  font-size: 0.95rem;
  line-height: 1;
}

.result-link--disabled {
  color: #7a7a7a;
  font-weight: 600;
}

.map-embed {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #ececec;
  box-shadow: var(--shadow-soft);
}

.map-note {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: #666;
}

.results-table-wrap::after {
  content: "Horizontal wischen fuer weitere Spalten";
  display: none;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
}

.price-tag {
  font-size: 2rem;
  color: var(--color-accent);
  font-family: "Exo 2", system-ui, sans-serif;
  font-weight: 800;
}

.membership-highlight {
  margin-top: 1.75rem;
  align-items: stretch;
}

.membership-highlight .panel,
.membership-highlight .notice-box {
  height: 100%;
}

.membership-highlight .btn {
  margin-top: 1rem;
}

.contact-form {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
}

.form-embed-wrap {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.form-embed-note {
  margin: 0 0 1rem;
  color: #555;
}

.form-embed-wrap web-form {
  display: block;
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-weight: 700;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font: inherit;
  background: #fff;
  color: var(--color-text);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(221, 42, 27, 0.12);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}

.form-checkbox input {
  margin-top: 0.2rem;
}

.form-checkbox a {
  color: var(--color-accent);
  font-weight: 700;
}

.form-status {
  min-height: 1.6rem;
  margin: 0 0 1rem;
  font-weight: 600;
}

.form-status.is-pending {
  color: #666;
}

.form-status.is-success {
  color: #0f7a39;
}

.form-status.is-error {
  color: #b42318;
}

.form-actions {
  display: flex;
  justify-content: flex-start;
}

.form-submit-button {
  border: none;
  cursor: pointer;
  min-width: 220px;
  padding-inline: 1.5rem;
  font: inherit;
}

.contact-form button[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.legal-content {
  max-width: 850px;
}

.legal-content h2 {
  margin-top: 2.2rem;
  font-size: 2rem;
}

.site-footer {
  background: #0f1010;
  color: #fff;
  padding-top: 3rem;
}

.footer-grid {
  grid-template-columns: minmax(240px, 1.15fr) repeat(3, minmax(0, 1fr));
  align-items: start;
}

.footer-grid h3,
.footer-brand p {
  margin-top: 0;
}

.footer-grid p {
  margin: 0 0 0.55rem;
  color: rgba(255,255,255,0.85);
}

.site-footer a {
  display: block;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.55rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-logo {
  max-width: 220px;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 2rem;
  padding: 1rem 0 1.4rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .section {
    padding: 4rem 0;
  }

  .page-hero {
    padding: 5rem 0 2.5rem;
  }

  .nav {
    min-height: 78px;
  }

  .brand img {
    height: 50px;
  }

  .stats-grid,
  .cards-grid.three,
  .text-grid,
  .contact-grid,
  .split-grid,
  .cards-grid.two,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-box__action {
    width: 100%;
    justify-content: flex-start;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: rgba(20, 21, 21, 0.98);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .site-nav .nav-cta {
    width: 100%;
    justify-content: center;
    margin-top: 0.35rem;
  }

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

  .nav-toggle {
    display: block;
  }

  .results-table {
    min-width: 680px;
  }

  .results-table th,
  .results-table td {
    padding: 0.95rem 0.9rem;
  }
}

@media (max-width: 720px) {
  h3 {
    font-size: 1.45rem;
  }

  .lead {
    font-size: 1rem;
  }

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

  .footer-grid {
    gap: 1.2rem;
  }

  .contact-form,
  .form-embed-wrap {
    padding: 1.2rem;
  }

  .timeline-content,
  .panel,
  .notice-box,
  .info-card,
  .board-card {
    padding: 1.2rem;
  }

  .timeline-date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 138px;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(221, 42, 27, 0.12);
    line-height: 1.15;
  }

  .timeline-content h2 {
    font-size: 1.35rem;
  }

  .results-table-wrap::after {
    display: block;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  h1 {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  h2 {
    font-size: clamp(1.7rem, 7vw, 2.35rem);
  }

  .section {
    padding: 3.25rem 0;
  }

  .page-hero {
    padding: 4.25rem 0 2.1rem;
  }

  .btn,
  .site-nav .nav-cta {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .timeline-date {
    min-width: 120px;
    font-size: 1.05rem;
    padding: 0.45rem 0.75rem;
  }

  .results-table {
    min-width: 620px;
  }

  .results-table th,
  .results-table td {
    padding: 0.85rem 0.8rem;
    font-size: 0.92rem;
  }

  .result-badge {
    min-height: 28px;
    padding: 0.28rem 0.7rem;
    font-size: 0.8rem;
  }

  .result-link {
    gap: 0.35rem;
    font-size: 0.9rem;
  }

  .timeline-content p {
    margin-bottom: 0;
  }

  .form-checkbox {
    gap: 0.55rem;
  }

  .board-card__image {
    width: min(100%, 150px);
  }
}
/* Vergangene Termine */
.timeline-item.is-past {
  opacity: 0.45;
}

.timeline-item.is-past .timeline-content {
  background: #f5f5f5;
  color: #777;
}

.timeline-item.is-past .timeline-date {
  color: #999;
}

.timeline-item.is-past::after {
  content: "vergangen";
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ccc;
  color: #333;
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 6px;
}
/* Vergangen */
.timeline-item.is-past {
  opacity: 0.4;
}

/* Heute Highlight */
.timeline-item.is-today {
  border-left: 4px solid var(--color-accent);
  background: #fff6f5;
}

/* Badge "Heute" */
.timeline-item.is-today::after {
  content: "HEUTE";
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 6px;
}
