:root {
  --green: #1fa34a;
  --green-dark: #063b23;
  --yellow: #ffd400;
  --text: #f4f4f4;
  --muted: #c9c9c9;
  --line: rgba(255,255,255,0.14);
  --glass: rgba(0,0,0,0.66);
  --glass-soft: rgba(255,255,255,0.07);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  padding-top: 78px;
  background:
    linear-gradient(rgba(0,0,0,0.72), rgba(0,0,0,0.88)),
    url("bilder/hero-green-devils.jpg");
  background-size: cover;
  background-position: center 80px;
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

/* HEADER */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 78px;
  z-index: 9999;
  background: rgba(3, 5, 3, 0.92);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1440px;
  height: 78px;
  margin: auto;
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.logo {
  flex: 0 0 auto;
}

.logo img {
  height: 58px;
  width: auto;
  display: block;
  background: transparent;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.main-nav a {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  padding: 28px 0 23px;
  border-bottom: 3px solid transparent;
}

.main-nav a:hover {
  color: var(--yellow);
  border-bottom-color: var(--green);
}

/* GLOBAL */

.container {
  max-width: 1180px;
  margin: auto;
}

.center {
  text-align: center;
}

.content-section {
  padding: 46px 24px;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
}

h1,
h2,
h3 {
  font-weight: 900;
}

h2 {
  color: var(--text);
  font-size: 28px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  background: var(--green);
  margin-top: 9px;
}

p {
  color: var(--muted);
}

.section-text {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: 15px;
}

/* HERO TEXT */

.hero-text {
  min-height: 430px;
  display: flex;
  align-items: center;
  padding: 76px 24px 54px;
}

.since-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 12px;
}

.since-line span {
  display: block;
  width: 70px;
  height: 3px;
  background: var(--green);
}

.since-line span:last-child {
  background: var(--yellow);
}

.since-line p {
  color: var(--green);
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
}

.hero-text h1 {
  color: var(--text);
  font-size: clamp(32px, 4vw, 56px);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 12px;
  text-shadow: 0 4px 18px rgba(0,0,0,0.8);
}

.hero-subline {
  color: var(--green);
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 24px;
}

/* BUTTONS */

.button-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  transition: 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-yellow {
  background: var(--yellow);
  color: #111;
}

.btn-outline {
  border: 2px solid var(--green);
  color: var(--text);
}

/* NOTICE */

.notice-section {
  padding: 0 24px 34px;
}

.notice-box {
  max-width: 920px;
  margin: auto;
  border: 1px solid rgba(255,212,0,0.65);
  border-radius: 14px;
  padding: 17px 22px;
  color: var(--text);
  background: rgba(0,0,0,0.68);
}

.notice-box strong {
  color: var(--yellow);
}

/* ABOUT */

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.two-col p {
  margin-bottom: 12px;
  font-size: 15px;
}

.text-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--yellow);
  font-weight: 900;
}

.image-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.image-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* CARDS */

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card,
.driver-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.28);
}

.card h3,
.driver-card h3 {
  color: var(--green);
  font-size: 18px;
  margin-bottom: 8px;
}

.card p,
.driver-card p {
  font-size: 13px;
}

/* TIMELINE */

.timeline {
    position: relative;
    margin-top: 25px;
    padding-left: 42px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--green);
}

.timeline-entry {
    position: relative;
    margin-bottom: 22px;
}

.timeline-dot {
    position: absolute;
    left: -37px;
    top: 4px;

    width: 14px;
    height: 14px;

    background: var(--yellow);
    border-radius: 50%;

    box-shadow: 0 0 10px rgba(255,212,0,0.5);
}

.timeline-content h3 {
    color: var(--yellow);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 3px;
}

.timeline-content p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

/* DRIVERS */

.driver-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
}

.driver-image {
  width: 150px;
  height: 150px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
}

.driver-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* SPONSORS */

.sponsors {
  text-align: center;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px;
}

.sponsors h2::after {
  margin-left: auto;
  margin-right: auto;
}

.sponsors p {
  max-width: 700px;
  margin: 0 auto 22px;
}

.sponsor-box {
  max-width: 440px;
  margin: 0 auto 22px;
  padding: 22px;
  border: 2px dashed rgba(255,212,0,0.55);
  border-radius: 16px;
  color: var(--yellow);
  font-weight: 900;
  font-size: 17px;
  background: rgba(255,255,255,0.04);
}

/* FOOTER */

footer {
  background: rgba(0,0,0,0.82);
  border-top: 1px solid var(--line);
  padding: 28px 24px;
  text-align: center;
}

footer p {
  margin-bottom: 5px;
  font-size: 13px;
}

footer strong {
  color: var(--yellow);
}

footer a:hover {
  color: var(--yellow);
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  body {
    padding-top: 118px;
  }

  .site-header {
    height: 118px;
  }

  .header-inner {
    height: 118px;
    flex-direction: column;
    gap: 8px;
    padding: 8px 24px;
  }

  .logo img {
    height: 46px;
  }

  .main-nav {
    gap: 14px;
  }

  .main-nav a {
    padding: 3px 0;
    font-size: 12px;
  }

  .card-grid.four,
  .card-grid.three {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col,
  .card-grid.two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  body {
    padding-top: 132px;
    background-attachment: scroll;
  }

  .site-header {
    height: 132px;
  }

  .header-inner {
    height: 132px;
  }

  .main-nav {
    gap: 9px;
  }

  .main-nav a {
    font-size: 11px;
  }

  .hero-text {
    min-height: 330px;
    padding: 54px 18px 38px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-subline {
    font-size: 14px;
  }

  .since-line p {
    font-size: 15px;
  }

  .since-line span {
    width: 42px;
  }

  .content-section {
    padding: 34px 18px;
  }

  .glass,
  .sponsors {
    padding: 24px;
  }

  h2 {
    font-size: 23px;
  }

  .card-grid.four,
  .card-grid.three,
  .card-grid.two {
    grid-template-columns: 1fr;
  }

  .driver-card {
    grid-template-columns: 1fr;
  }
}

.member-list {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.member-profile {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  align-items: center;
  background: rgba(0,0,0,0.58);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  scroll-margin-top: 110px;
}

.member-photo {
  width: 190px;
  height: 190px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.member-content h3 {
  color: var(--green);
  font-size: 22px;
  margin-bottom: 10px;
}

.member-content p {
  font-size: 14px;
  margin-bottom: 6px;
}

.member-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.member-badges span {
  border: 1px solid rgba(255,212,0,0.45);
  color: var(--yellow);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255,212,0,0.08);
}

.member-text {
  margin-top: 10px;
  color: var(--muted);
}

@media (max-width: 700px) {
  .member-profile {
    grid-template-columns: 1fr;
  }

  .member-photo {
    width: 100%;
    height: 260px;
  }
}

.event-card-list {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.event-card-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.event-card {
  background: rgba(0,0,0,0.58);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 22px;
}

.event-card.event-past {
  opacity: 0.68;
}

.event-content {
  display: grid;
  grid-template-columns: 220px 180px 1fr;
  gap: 18px;
  align-items: center;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.event-meta span {
  border: 1px solid rgba(255,212,0,0.45);
  color: var(--yellow);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255,212,0,0.08);
}

.event-meta .status-planned {
  color: var(--green);
  border-color: rgba(31,163,74,0.55);
}

.event-meta .status-done {
  color: #cccccc;
  border-color: rgba(255,255,255,0.25);
}

.event-meta .status-cancelled {
  color: #ff8a00;
  border-color: rgba(255,138,0,0.5);
}

.event-content h3 {
  color: var(--green);
  font-size: 20px;
  margin: 0;
}

.event-date {
  color: var(--yellow);
  font-weight: 900;
  margin: 0;
}

.event-content p {
  font-size: 14px;
  margin: 0;
}

.event-content strong {
  color: var(--text);
}

.event-image {
  display: none;
}

@media (max-width: 700px) {
  .event-card {
    padding: 18px;
  }

  .event-content {
    display: block;
  }

  .event-meta {
    margin-bottom: 12px;
  }

  .event-content h3 {
    font-size: 20px;
    margin: 10px 0;
  }

  .event-date {
    margin-bottom: 8px;
  }

  .event-content p {
    margin-bottom: 6px;
  }
}

.history-list {
  display: grid;
  gap: 26px;
  margin-top: 28px;
}

.history-year {
  background: rgba(0,0,0,0.48);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.history-year h3 {
  color: var(--yellow);
  font-size: 22px;
  margin-bottom: 14px;
}

.history-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.history-row:last-child {
  border-bottom: none;
}

.history-row span {
  color: var(--muted);
}

.history-row strong {
  color: var(--green);
  white-space: nowrap;
}

@media (max-width: 700px) {
  .event-card {
    grid-template-columns: 1fr;
  }

  .event-image {
    width: 100%;
    height: 180px;
  }

  .history-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
.news-card {
  background: rgba(0,0,0,0.55);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 16px;
}

.news-header {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 10px;
}

.news-category {
  display: inline-block;
  padding: 4px 12px;

  border: 1px solid var(--green);
  border-radius: 999px;

  background: rgba(0,0,0,0.25);
  color: var(--green);

  font-size: 0.85rem;
  font-weight: 600;
}

.news-date {
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.news-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.news-text {
  line-height: 1.6;
}

@media (max-width: 700px) {
  .news-header {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .news-title {
    font-size: 1rem;
  }
}

.gallery-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0;
  color: var(--muted);
}

.gallery-breadcrumb button {
  background: none;
  border: none;
  color: var(--green);
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-card {
  background: rgba(0,0,0,0.55);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.gallery-card:hover {
  transform: translateY(-3px);
  border-color: var(--green);
}

.gallery-card-image {
  height: 180px;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}

.gallery-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.gallery-card-body {
  padding: 18px;
}

.gallery-card-body h3 {
  margin: 0 0 6px;
}

.gallery-card-body p {
  margin: 0;
  color: var(--muted);
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.image-card {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  background: rgba(0,0,0,0.55);
  cursor: pointer;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  text-align: center;
  max-width: 92%;
  max-height: 90vh;
}

.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 12px;
}

.lightbox-counter {
  margin-top: 12px;
  color: #fff;
  font-size: 1rem;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--green);
  background: rgba(0,0,0,0.75);
  color: var(--green);
  font-size: 42px;
  line-height: 48px;
  cursor: pointer;
  z-index: 10001;
}

.lightbox-close:hover {
  background: rgba(0,255,120,0.12);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 88px;
  height: 120px;

  border: none;
  border-radius: 18px;
  background: rgba(0,0,0,0.35);
  color: var(--green);

  font-size: 86px;
  line-height: 1;

  cursor: pointer;
  z-index: 10000;

  display: flex;
  align-items: center;
  justify-content: center;

  text-shadow: 0 0 18px #000;
}

.lightbox-prev {
  left: 24px;
  padding-left: 0;
}

.lightbox-next {
  right: 24px;
  padding-right: 0;
}

.lightbox-close {
  z-index: 10003;
}

.lightbox-nav:hover {
  background: rgba(0,255,120,0.08);
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 650px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .image-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-card-image {
    height: 160px;
  }

  .lightbox-nav {
  width: 40%;
  font-size: 100px;
}
  .lightbox-prev {
    padding-left: 12px;
  }

  .lightbox-next {
    padding-right: 12px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
    font-size: 36px;
    line-height: 38px;
  }
}

/* Kontaktseite */

.contact-divider {
  height: 1px;
  background: var(--line);
  margin: 28px 0;
}

.contact-info {
  max-width: 420px;
  margin: 18px 0 22px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}

.contact-info p {
  margin: 0;
}

.contact-info strong {
  color: var(--text);
}

.contact-info a {
  color: var(--yellow);
  font-weight: 900;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Datenschutz */

.privacy-list {
  margin: 0 0 20px 25px;
  color: var(--muted);
}

.privacy-list li {
  margin-bottom: 8px;
}

/* Über-uns-Seite */

.about-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.about-card {
  background: rgba(0,0,0,0.55);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.about-card h3 {
  color: var(--yellow);
  font-size: 16px;
  margin-bottom: 10px;
}

.about-card p {
  font-size: 13px;
  line-height: 1.5;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.fact-card {
  background: rgba(0,0,0,0.55);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
}

.fact-card strong {
  display: block;
  color: var(--yellow);
  font-size: 15px;
  margin-bottom: 3px;
}

.fact-card span {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .about-card-grid,
  .fact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .about-card-grid,
  .fact-grid {
    grid-template-columns: 1fr;
  }
}

.centered-text {
  margin-left: auto;
  margin-right: auto;
}

.about-card-grid,
.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.about-card,
.fact-card {
  background: rgba(0,0,0,0.58);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
}

.about-card h3 {
  color: var(--yellow);
  font-size: 16px;
  margin-bottom: 10px;
}

.about-card p {
  font-size: 13px;
}

.fact-card strong {
  display: block;
  color: var(--yellow);
  font-size: 15px;
  margin-bottom: 4px;
}

.fact-card span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .about-card-grid,
  .fact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .about-card-grid,
  .fact-grid {
    grid-template-columns: 1fr;
  }
}

/* Geschichte-Seite */

.history-timeline-large {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.history-entry-large {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  background: rgba(0,0,0,0.55);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.history-entry-header {
  border-right: 2px solid rgba(31,163,74,0.55);
  padding-right: 18px;
}

.history-entry-year {
  color: var(--yellow);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.history-entry-date {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  margin-top: 8px;
}

.history-entry-content h3 {
  color: var(--green);
  font-size: 20px;
  margin-bottom: 10px;
}

.history-entry-content p {
  font-size: 14px;
  line-height: 1.65;
}

.history-entry-image {
  margin-top: 18px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.history-entry-image img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

@media (max-width: 700px) {
  .history-entry-large {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .history-entry-header {
    border-right: none;
    border-bottom: 2px solid rgba(31,163,74,0.55);
    padding-right: 0;
    padding-bottom: 12px;
  }

  .history-entry-year {
    font-size: 24px;
  }
}
.member-badges .badge-sport {
  background: rgba(0, 180, 90, 0.22);
  border-color: rgba(0, 220, 120, 0.5);
  color: #7dffb2;
}
.driver-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 10px;
}

.driver-tags span,
.member-badges span {
  display: inline-block;
}

.driver-tags .badge-sport,
.member-badges .badge-sport {
  background: rgba(0, 180, 90, 0.22);
  border-color: rgba(0, 220, 120, 0.5);
  color: #7dffb2;
}

.member-sport-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.member-sport-line strong {
  color: var(--text);
}

.member-details-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 6px;
}

.member-details-row p {
  margin: 0;
}
.member-sport-line .badge-sport {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(0, 180, 90, 0.22);
  border: 1px solid rgba(0, 220, 120, 0.5);
  color: #7dffb2;
}
.driver-tags .badge-sport {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;

  background: rgba(0, 180, 90, 0.22);
  border: 1px solid rgba(0, 220, 120, 0.5);
  color: #7dffb2;
}

.sponsor-category-section {
  margin-top: 34px;
}

.sponsor-category-title {
  color: var(--yellow);
  margin-bottom: 18px;
  font-size: 22px;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.sponsor-card {
  background: rgba(0,0,0,0.55);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: 0.25s;
}

.sponsor-card:hover {
  transform: translateY(-3px);
  border-color: var(--green);
}

.sponsor-logo-link {
  display: block;
}

.sponsor-logo {
  width: 100%;
  height: 130px;
  object-fit: contain;
  background: #fff;
  padding: 16px;
  display: block;
}

.sponsor-content {
  padding: 12px 14px 14px;
  text-align: center;
}

.sponsor-content h3 {
  color: var(--green);
  font-size: 13px;
  margin-bottom: 5px;
}

.sponsor-content p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

@media (max-width: 1000px) {
  .sponsor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .sponsor-grid {
    grid-template-columns: 1fr;
  }

  .sponsor-logo {
    height: 120px;
  }
}

/* Kontaktformular */

.contact-divider {
  height: 1px;
  background: var(--line);
  margin: 28px 0;
}

.contact-form {
  display: grid;
  gap: 12px;
  max-width: 650px;
  margin-top: 18px;
}

.contact-form label {
  color: var(--text);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  border: none;
  cursor: pointer;
  margin-top: 8px;
  justify-self: start;
}

.privacy-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  color: var(--muted);
  margin-top: 6px;
}

.privacy-check input {
  width: auto;
  margin-top: 3px;
}

.privacy-check a {
  color: var(--yellow);
  font-weight: 800;
}

.spam-field {
  display: none;
}

.contact-mail-fallback {
  margin-top: 26px;
}
