/* ============================================================
   Panther Racing — Design 2 Overrides
   Ergänzt style.css (wird danach geladen)
   ============================================================ */

/* ── D2 HERO: Zentriert, kein Hintergrundbild ── */
.d2-hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #080808 0%, #0f0f0f 50%, #140000 100%);
  overflow: hidden;
  text-align: center;
}
.d2-hero-bg-num {
  position: absolute;
  font-family: var(--ff-d);
  font-size: clamp(18rem, 35vw, 38rem);
  line-height: 1;
  color: rgba(255, 0, 0, .04);
  user-select: none;
  pointer-events: none;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  letter-spacing: -.02em;
}
.d2-hero-inner {
  position: relative; z-index: 2;
  padding: 140px 20px 100px;
  max-width: 820px;
  margin: 0 auto;
}
.d2-hero-eyebrow {
  font-family: var(--ff-c);
  font-weight: 700; font-size: .8rem;
  letter-spacing: .35em; text-transform: uppercase;
  color: var(--red-b);
  display: block; margin-bottom: 24px;
}
.d2-hero h1 {
  font-family: var(--ff-d);
  font-size: clamp(5rem, 14vw, 12rem);
  line-height: .88;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.d2-hero h1 span { color: var(--red-b); }
.d2-hero-sub {
  font-size: 1.05rem; color: #999; max-width: 560px;
  margin: 0 auto 44px; line-height: 1.8;
}
.d2-hero-line {
  width: 60px; height: 2px; background: var(--red-b);
  margin: 0 auto 36px;
}

/* ── D2 EVENT ROW LIST ── */
.d2-event-list { display: flex; flex-direction: column; gap: 1px; }
.d2-event-row {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  transition: border-left-color .2s;
  overflow: hidden;
}
.d2-event-row:hover { border-left-color: var(--red-b); }
.d2-event-row.past { opacity: .45; }
.d2-event-img {
  width: 280px; height: 200px;
  object-fit: cover; display: block; flex-shrink: 0;
}
.d2-event-body {
  padding: 28px 32px;
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.d2-event-body h3 {
  font-family: var(--ff-d);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1;
}
.d2-event-date {
  font-family: var(--ff-c);
  font-weight: 700; font-size: .85rem;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--red-b);
}
.d2-event-meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-family: var(--ff-c); font-weight: 600;
  font-size: .82rem; letter-spacing: .06em;
  color: #666;
}
.d2-event-meta i { color: var(--red-b); margin-right: 5px; }
.d2-event-price {
  font-family: var(--ff-d); font-size: 1.4rem; color: #ccc;
}
.d2-event-actions {
  padding: 28px 24px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 12px;
  border-left: 1px solid var(--border);
  min-width: 160px;
}
.d2-badge-ended {
  font-family: var(--ff-c); font-weight: 700; font-size: .75rem;
  letter-spacing: .15em; text-transform: uppercase;
  color: #444;
}

/* ── D2 SECTION HEADER ── */
.d2-section-head {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.d2-section-head .section-label::before { background: var(--red-b); }

/* ── D2 STATS ROW ── */
.d2-stats {
  background: #0a0a0a;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.d2-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.d2-stat {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.d2-stat:last-child { border-right: none; }
.d2-stat-num {
  font-family: var(--ff-d);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1; color: var(--white);
  display: block;
}
.d2-stat-label {
  font-family: var(--ff-c); font-weight: 600;
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: #555; margin-top: 6px; display: block;
}

/* ── D2 TEAM SCROLL ── */
.d2-team-track {
  display: flex; gap: 16px;
  overflow-x: auto; padding: 32px 0;
  scrollbar-width: thin; scrollbar-color: var(--red-b) #111;
}
.d2-team-track::-webkit-scrollbar { height: 3px; }
.d2-team-track::-webkit-scrollbar-track { background: #111; }
.d2-team-track::-webkit-scrollbar-thumb { background: var(--red-b); }
.d2-member {
  flex: 0 0 200px;
  background: var(--card);
  border: 1px solid var(--border);
  text-align: center;
  overflow: hidden;
}
.d2-member img {
  width: 200px; height: 200px;
  object-fit: cover; display: block;
  filter: grayscale(40%);
  transition: filter .3s;
}
.d2-member:hover img { filter: grayscale(0); }
.d2-member-info {
  padding: 16px 12px;
}
.d2-member-name {
  font-family: var(--ff-c); font-weight: 700;
  font-size: .95rem; letter-spacing: .06em; text-transform: uppercase;
}
.d2-member-role {
  font-size: .78rem; color: #666; margin-top: 4px;
  font-family: var(--ff-b);
}

/* ── D2 PAGE HEADER (statt page-hero) ── */
.d2-page-head {
  padding: 140px 0 60px;
  border-bottom: 1px solid var(--border);
  background: #080808;
}
.d2-page-head .section-label { margin-bottom: 12px; }
.d2-page-head h1 {
  font-family: var(--ff-d);
  font-size: clamp(3.5rem, 9vw, 7rem);
  line-height: .9; text-transform: uppercase;
}
.d2-page-head h1 span { color: var(--red-b); }

/* ── D2 FEATURE ROWS (infos/drivingschool) ── */
.d2-feature-list { display: flex; flex-direction: column; gap: 0; }
.d2-feature-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
  border-bottom: 1px solid var(--border);
}
.d2-feature-item:nth-child(even) { direction: rtl; }
.d2-feature-item:nth-child(even) > * { direction: ltr; }
.d2-feature-img {
  object-fit: cover; width: 100%; height: 100%; display: block;
}
.d2-feature-content {
  padding: 56px 48px;
  display: flex; flex-direction: column; justify-content: center; gap: 16px;
  background: var(--card);
}

/* ── D2 MERCH / SIMPLE PAGES ── */
.d2-center-section {
  padding: 120px 0; text-align: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .d2-event-row { grid-template-columns: 1fr; }
  .d2-event-img { width: 100%; height: 220px; }
  .d2-event-actions { border-left: none; border-top: 1px solid var(--border); flex-direction: row; flex-wrap: wrap; padding: 20px 28px; }
  .d2-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .d2-feature-item { grid-template-columns: 1fr; }
  .d2-feature-item:nth-child(even) { direction: ltr; }
  .d2-feature-img { height: 260px; }
}
@media (max-width: 580px) {
  .d2-stats-grid { grid-template-columns: 1fr 1fr; }
  .d2-stat { padding: 28px 16px; }
  .d2-hero h1 { font-size: clamp(4rem, 18vw, 7rem); }
}
