/* ==========================================================================
   SCC500 — Style System
   Motorsport / Beschleunigungsrennen Ästhetik: dunkel, schnell, kontrastreich
   ========================================================================== */

:root {
  --c-bg: #0a0c10;
  --c-bg-alt: #10131a;
  --c-surface: #171b23;
  --c-surface-2: #1e232d;
  --c-border: #2a303c;
  --c-text: #f3f4f6;
  --c-text-muted: #9aa2b1;
  --c-text-dim: #6b7280;

  --c-accent: #ff3d3d;
  --c-accent-2: #c10000;
  --c-accent-gradient: linear-gradient(100deg, #ff3d3d 0%, #c10000 100%);
  --c-yellow: #ffd400;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  --container: 1260px;
  --font-head: "Rajdhani", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", sans-serif;

  --shadow: 0 20px 50px -20px rgba(0,0,0,.6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.1;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }

p { color: var(--c-text-muted); margin: 0 0 1em; }
strong { color: var(--c-text); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  color: var(--c-accent-2);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--c-accent-gradient);
  display: inline-block;
  border-radius: 2px;
}

.section { padding: clamp(56px, 8vw, 110px) 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-alt { background: var(--c-bg-alt); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .95rem;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--c-accent-gradient);
  color: #150401;
  box-shadow: 0 12px 30px -10px rgba(255,61,61,.55);
}
.btn-primary:hover { box-shadow: 0 16px 36px -8px rgba(255,61,61,.7); }
.btn-outline {
  background: transparent;
  border-color: var(--c-border);
  color: var(--c-text);
}
.btn-outline:hover { border-color: var(--c-accent-2); color: var(--c-accent-2); }
.btn-ghost {
  background: rgba(255,255,255,.06);
  color: var(--c-text);
  backdrop-filter: blur(6px);
}
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 18px; font-size: .82rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 18px 0;
  transition: background .25s ease, padding .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  background: rgba(10,12,16,.92);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 6px 24px -12px rgba(0,0,0,.7);
  border-bottom: 1px solid var(--c-border);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand img { height: 46px; width: auto; }
@media (max-width: 900px) {
  .brand img { height: 38px; }
}
.footer-col .brand-lockup { display: flex; align-items: center; margin-bottom: 14px; }
.footer-col .brand-lockup img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  font-size: .88rem;
  letter-spacing: .04em;
}
.nav-links a { color: var(--c-text-muted); padding: 6px 0; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--c-text); }
.nav-links a.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--c-accent-gradient);
}
.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--c-text); display: block; }

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: var(--c-bg-alt);
    border-left: 1px solid var(--c-border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 22px;
    padding: 40px 32px;
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .nav-cta .btn-outline { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background: #05060a;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 40%;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,7,10,.35) 0%, rgba(6,7,10,.55) 45%, rgba(6,7,10,.97) 100%),
    linear-gradient(100deg, rgba(6,7,10,.85) 0%, rgba(6,7,10,.15) 55%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 180px 0 70px;
  width: 100%;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,61,61,.14);
  border: 1px solid rgba(255,61,61,.4);
  color: #ffb3b3;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .78rem;
  padding: 8px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
}
.hero-tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(255,61,61,.25);
}
.hero h1 { max-width: 950px; }
.hero h1 .accent {
  background: var(--c-accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 620px;
  font-size: 1.15rem;
  color: #d7dae0;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 46px; }

.hero-event {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: rgba(20,23,30,.72);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 760px;
}
.hero-event > div {
  padding: 18px 26px;
  border-right: 1px solid rgba(255,255,255,.1);
  flex: 1;
  min-width: 140px;
}
.hero-event > div:last-child { border-right: none; }
.hero-event .label {
  font-family: var(--font-head);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  margin-bottom: 4px;
}
.hero-event .value { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.hero-event .value.accent { color: var(--c-accent-2); }

.countdown { display: flex; gap: 14px; }
.countdown .num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--c-text);
  line-height: 1;
}
.countdown .u { font-size: .62rem; color: var(--c-text-dim); text-transform: uppercase; letter-spacing: .08em; }
.countdown .cd-item { text-align: center; }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  position: relative;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.stat {
  padding: 34px 24px;
  border-right: 1px solid var(--c-border);
  text-align: center;
}
.stat:last-child { border-right: none; }
.stat .stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  background: var(--c-accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.stat .stat-label {
  font-size: .82rem;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
@media (max-width: 800px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat { border-bottom: 1px solid var(--c-border); }
}

/* ---------- Cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 34px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px;
}
.card-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--c-accent-gradient);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; color: #150401;
  margin-bottom: 18px;
}

.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
  border: 1px solid var(--c-border);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame .frame-badge {
  position: absolute; top: 18px; left: 18px;
  background: rgba(10,12,16,.75);
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 14px;
  border-radius: 30px;
  font-family: var(--font-head);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* class table */
.class-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.class-table th, .class-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
  font-size: .95rem;
}
.class-table th {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .78rem;
  color: var(--c-text-dim);
}
.class-table td.num { color: var(--c-text); font-weight: 600; font-family: var(--font-head); }
.class-table tr:last-child td { border-bottom: none; }
.class-table tr.tuner td { color: var(--c-accent-2); }

.timeline { border-left: 2px solid var(--c-border); margin-left: 10px; padding-left: 30px; }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute; left: -37px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--c-accent-gradient);
  box-shadow: 0 0 0 4px var(--c-bg-alt), 0 0 0 5px var(--c-border);
}
.timeline-item .year {
  font-family: var(--font-head); font-weight: 800; color: var(--c-accent-2);
  font-size: 1.1rem; margin-bottom: 4px;
}

/* record callout */
.record-box {
  background: linear-gradient(135deg, rgba(255,61,61,.14), rgba(193,0,0,.08));
  border: 1px solid rgba(193,0,0,.35);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.record-box .rec-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 3rem;
  color: var(--c-yellow);
  line-height: 1;
}

/* ---------- Rekord-Karten (gleichwertig nebeneinander) ---------- */
.records-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 700px) {
  .records-grid { grid-template-columns: 1fr; }
}
.record-card {
  background: linear-gradient(135deg, rgba(255,61,61,.14), rgba(193,0,0,.08));
  border: 1px solid rgba(193,0,0,.35);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}
.record-card .rec-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--c-yellow);
  line-height: 1;
  margin-bottom: 10px;
}
.record-card h3 { margin: 0 0 8px; }
.record-card p { margin: 0; }
.record-holder {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.14);
  width: 100%;
  justify-content: center;
}
.record-holder img { height: 30px; width: auto; }
.record-holder .holder-text { text-align: left; }
.record-holder .holder-label {
  display: block;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-text-dim);
}
.record-holder .holder-name {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  color: var(--c-text);
}
.record-holder:hover .holder-name { color: var(--c-accent-2); }

/* ---------- Partner grid ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .partner-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .partner-grid { grid-template-columns: repeat(2, 1fr); } }

.partner-card {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  aspect-ratio: 3/2;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  transition: border-color .2s ease, transform .2s ease;
}
.partner-card:hover { border-color: var(--c-accent-2); transform: translateY(-3px); }
.partner-card img { max-width: 100%; max-height: 42px; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.partner-card:hover img { filter: grayscale(0); opacity: 1; }
.partner-card .badge-text {
  display: none;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .03em;
  color: #4b5563;
}
.partner-card.logo-missing img { display: none; }
.partner-card.logo-missing .badge-text { display: block; }
.partner-card.logo-missing:hover .badge-text { color: #111318; }

/* ---------- Gallery ---------- */
.gallery-grid {
  columns: 4 280px;
  column-gap: 16px;
}
.gallery-grid figure {
  margin: 0 0 16px;
  break-inside: avoid;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--c-border);
  cursor: zoom-in;
}
.gallery-grid img { width: 100%; display: block; transition: transform .35s ease; }
.gallery-grid figure:hover img { transform: scale(1.06); }

.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(5,6,9,.94);
  display: none;
  align-items: center; justify-content: center;
  padding: 30px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: var(--shadow); }
.lightbox-close {
  position: absolute; top: 24px; right: 30px;
  font-size: 2rem; color: #fff; background: none; border: none; cursor: pointer;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  color: #fff; width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.3rem; cursor: pointer;
}
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }

/* ---------- Instagram-Feed ---------- */
.ig-feed-wrap {
  max-width: 100%;
  margin: 0 auto 40px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
}
/* ---------- Community / social ---------- */
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .social-grid { grid-template-columns: 1fr; } }
.social-card {
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
}
.social-card.ig { background: radial-gradient(circle at 30% 20%, #ff9500 0%, #ff3d3d 45%, #7d1fbf 100%); }
.social-card.fb { background: #1b3a8c; }
.social-card.yt { background: #a6120d; }
.social-card h3 { color: #fff; }
.social-card p { color: rgba(255,255,255,.85); }
.social-card .btn { margin-top: 10px; }

/* ---------- Iframe placeholder (registration) ---------- */
.reg-block {
  border: 1px dashed var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
  padding: 34px;
  margin-bottom: 28px;
}
.reg-block .reg-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.reg-status {
  display: inline-block;
  vertical-align: middle;
  font-family: var(--font-head);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 6px 12px;
  border-radius: 30px;
  background: rgba(193,0,0,.15);
  color: var(--c-accent-2);
  border: 1px solid rgba(193,0,0,.4);
}
h3 .reg-status { margin-left: 12px; }
.reg-iframe-holder {
  width: 100%;
  min-height: 420px;
  border-radius: var(--radius-sm);
  background:
    repeating-linear-gradient(45deg, var(--c-bg-alt), var(--c-bg-alt) 12px, var(--c-surface-2) 12px, var(--c-surface-2) 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--c-text-dim);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .05em;
  border: 1px solid var(--c-border);
}
.reg-iframe-holder iframe { width: 100%; height: 100%; min-height: 420px; border: 0; border-radius: var(--radius-sm); }

/* ---------- Native forms (Kundenantrag / Beifahrer / Presse) ---------- */
.scc-form-grid {
  display: grid;
  gap: 18px;
}
.scc-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .scc-two-col { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
.scc-field { display: grid; gap: 7px; }
.scc-field label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .02em;
  color: var(--c-text);
}
.scc-field .opt { color: var(--c-text-dim); font-weight: 500; text-transform: none; letter-spacing: 0; }
.scc-input {
  width: 100%;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.scc-input::placeholder { color: var(--c-text-dim); }
.scc-input:focus { border-color: var(--c-accent-2); box-shadow: 0 0 0 3px rgba(193,0,0,.18); }
.scc-input[readonly] { color: var(--c-text-dim); background: var(--c-surface-2); cursor: not-allowed; }

.scc-upload {
  background: var(--c-surface-2);
  border: 1px dashed var(--c-border);
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  gap: 10px;
}
.scc-upload h4 { margin: 0; font-size: 1rem; }
.scc-upload input[type="file"] { display: none; }
.scc-upload-btn {
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-text);
  border-radius: 30px;
  padding: 11px 18px;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .04em;
  cursor: pointer;
  width: 100%;
}
.scc-upload-btn:hover { border-color: var(--c-accent-2); color: var(--c-accent-2); }
.scc-file-name { font-size: .82rem; color: var(--c-text-dim); word-break: break-word; }

.scc-check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.scc-check-row input[type="checkbox"] {
  width: 22px; height: 22px; flex: 0 0 auto; margin-top: 2px;
  accent-color: var(--c-accent);
}
.scc-check-row label { color: var(--c-text-muted); font-size: .88rem; line-height: 1.5; font-weight: 400; text-transform: none; letter-spacing: 0; }
.scc-check-row a { color: var(--c-accent-2); text-decoration: underline; }

/* ---------- Inline-Links im Fließtext deutlich sichtbar ---------- */
main p a,
.scc-note a,
.contact-list a,
.form-note a {
  color: var(--c-accent-2);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}
main p a:hover,
.scc-note a:hover,
.contact-list a:hover,
.form-note a:hover {
  color: var(--c-text);
}

.scc-captcha { display: flex; justify-content: center; margin-top: 4px; }
.g-recaptcha { filter: invert(0); }

.scc-note {
  background: rgba(193,0,0,.08);
  border: 1px solid rgba(193,0,0,.3);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: .88rem;
  color: var(--c-text-muted);
}
.scc-note b { color: var(--c-accent-2); }

/* ---------- Vollflächige Iframe-Seite (Live-Ergebnisse) ----------
   Bewusst KEIN fixiertes 100vh-Iframe mit eigenem Scroll-Kontext:
   verschachteltes Scrollen (Seite + Iframe getrennt) funktioniert auf
   Handys zuverlässig schlecht. Stattdessen: Iframe hoch genug, dass der
   Inhalt reinpasst, und die normale Seite scrollt als Ganzes. */
.fullpage-iframe-wrap {
  padding-top: var(--header-h, 82px);
}
.fullpage-iframe-wrap iframe {
  width: 100%;
  height: 2400px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-bg-alt);
  border-top: 1px solid var(--c-border);
  padding: 70px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--c-border);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h4 {
  font-size: .82rem;
  letter-spacing: .08em;
  color: var(--c-text-dim);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--c-text-muted); }
.footer-col a:hover { color: var(--c-accent-2); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, background .2s;
}
.footer-social a:hover { border-color: var(--c-accent-2); background: rgba(193,0,0,.1); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  padding-top: 26px;
  font-size: .82rem;
  color: var(--c-text-dim);
}
.footer-bottom a { color: var(--c-text-dim); }
.footer-bottom a:hover { color: var(--c-text-muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 160px 0 70px;
  background: linear-gradient(180deg, rgba(255,61,61,.08), transparent 60%), var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  position: relative;
}
.page-hero .breadcrumb {
  font-family: var(--font-head);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-text-dim);
  margin-bottom: 14px;
}
.page-hero .breadcrumb a:hover { color: var(--c-accent-2); }

/* ---------- Disziplin-Logos (Rolling50 1000 / HALF-MILE) ---------- */
.discipline-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin: 18px 0 26px;
}
.discipline-logos img { height: 34px; width: auto; }
.discipline-logos .plus {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--c-text-dim);
}
.discipline-logos.lg img { height: 46px; }

/* ---------- Misc ---------- */
.divider-checker {
  height: 14px;
  background-image:
    linear-gradient(45deg, var(--c-border) 25%, transparent 25%, transparent 75%, var(--c-border) 75%),
    linear-gradient(45deg, var(--c-border) 25%, transparent 25%, transparent 75%, var(--c-border) 75%);
  background-size: 14px 14px;
  background-position: 0 0, 7px 7px;
  opacity: .5;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  border: 1px solid var(--c-border);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: .82rem;
  color: var(--c-text-muted);
}
.form-note {
  font-size: .85rem;
  color: var(--c-text-dim);
}
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .ico {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--c-surface-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
