/* Self-hosted fonts — no requests to Google's CDN, so no visitor IP leaves this
   server. Both families are variable fonts, so one file covers the whole weight
   range (Oswald 500–700, Inter 400–700). Latin subset only. */

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("../assets/fonts/oswald-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0b0b0c;
  --bg-alt: #111214;
  --chrome: #c9cdd1;
  --chrome-soft: #9aa0a6;
  --teal: #1db6b4;
  --teal-soft: rgba(29, 182, 180, 0.15);
  --text: #ececec;
  --text-dim: #a7abb0;
  --border: rgba(255, 255, 255, 0.08);
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(ellipse at top, rgba(255,255,255,0.03), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  touch-action: manipulation;
}

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

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

ul { list-style: none; margin: 0; padding: 0; }

/* keep [hidden] winning over display rules on flex/grid elements */
[hidden] { display: none !important; }

.eyebrow {
  font-family: var(--font-head);
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--chrome);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 1.5rem;
}

.section-intro {
  color: var(--text-dim);
  max-width: 62ch;
  margin: -0.75rem 0 2.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .team-fact-panel { transition: max-height 0.15s ease; }
}

/* ---------- FLAG DIVIDER ---------- */

.flag-divider {
  width: 84px;
  height: 10px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 1px;
  background-image: repeating-conic-gradient(var(--chrome) 0% 25%, var(--bg-alt) 0% 50%);
  background-size: 10px 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

/* ---------- NAV ---------- */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-nav.scrolled {
  background: rgba(11, 11, 12, 0.85);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  padding-left: max(1.5rem, env(safe-area-inset-left));
  padding-right: max(1.5rem, env(safe-area-inset-right));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: #000;
}

.brand-word {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--chrome);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.brand-word small {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--teal);
}

.nav-links {
  display: flex;
  gap: 1.6rem;
}

.nav-link {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.lang-opt { padding: 0 2px; transition: color 0.2s ease; }
.lang-opt.is-active { color: var(--teal); }
.lang-sep { opacity: 0.4; }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-burger span {
  width: 22px;
}

.nav-burger span {
  display: block;
  height: 2px;
  background: var(--chrome);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 6rem 1.5rem 3rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(29, 182, 180, 0.08), transparent 55%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0 2px, transparent 2px 4px),
    var(--bg);
  z-index: -1;
}

.hero-content {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: min(280px, 60vw);
  margin: 0 auto 1.5rem;
}

.hero-tagline {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--chrome);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem;
}

.hero-tagline span {
  display: block;
  color: var(--teal);
}

.hero-sub {
  color: var(--text-dim);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin: 0 0 1.25rem;
}

.founded-chip {
  display: inline-block;
  margin: 0 0 3rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero-scroll {
  width: 26px;
  height: 42px;
  border: 2px solid var(--border);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero-scroll span {
  width: 4px;
  height: 8px;
  background: var(--teal);
  border-radius: 2px;
  animation: scrollDown 1.6s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- SECTIONS ---------- */

.section {
  padding: 6rem 1.5rem;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.about-copy {
  display: grid;
  gap: 1.1rem;
  max-width: 72ch;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.mv-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
}

.mv-card h3 {
  font-family: var(--font-head);
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
  margin: 0 0 0.75rem;
}

.mv-card p {
  color: var(--text-dim);
  margin: 0;
}

.leitgedanke {
  border-left: 3px solid var(--teal);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 0;
  color: var(--text-dim);
}

.leitgedanke p { margin: 0.35rem 0; }

.lg-main {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--chrome);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem !important;
}

/* ---------- VALUES ---------- */

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

.value-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.value-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
}

.value-icon {
  display: inline-block;
  font-family: var(--font-head);
  color: var(--teal);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  border: 1px solid var(--teal-soft);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  line-height: 32px;
  text-align: center;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-family: var(--font-head);
  color: var(--chrome);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  margin: 0 0 0.6rem;
}

.value-card p {
  color: var(--text-dim);
  margin: 0;
  font-size: 0.92rem;
}

/* ---------- TEAM ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  align-items: start;
  gap: 1.5rem;
}

.team-card {
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.team-card.expanded {
  border-color: var(--teal);
}

.team-card:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.team-photo-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(0.08) contrast(1.1) brightness(0.95) saturate(0.92);
}

.team-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 78%);
  pointer-events: none;
}

.team-photo-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.1rem;
  z-index: 1;
}

.team-fact-panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.1rem;
  background: linear-gradient(160deg, var(--bg-alt), #000);
  transition: max-height 0.45s ease, padding 0.4s ease;
}

.team-card.expanded .team-fact-panel {
  max-height: 420px;
  padding: 1rem 1.1rem 1.1rem;
}

.team-fact-label {
  font-family: var(--font-head);
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.66rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.team-fact-text {
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 0;
}

.team-quote {
  font-style: italic;
  color: var(--chrome-soft);
  font-size: 0.82rem;
  margin: 0 0 0.6rem;
  line-height: 1.4;
}

.team-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
}

.team-nick {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0.15rem 0;
}

.team-role {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin: 0;
}

/* ---------- CAR ---------- */

.section-car {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(29, 182, 180, 0.07), transparent 62%),
    var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.car-showcase {
  position: relative;
  margin: 0 0 1.75rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.car-showcase img {
  width: 100%;
  height: auto;
  filter: contrast(1.08) saturate(0.95) brightness(0.94);
}

/* Photo treatment: darkens the garage backdrop up top and grounds the caption. */
.car-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.12) 30%,
    transparent 52%,
    rgba(0, 0, 0, 0.8) 100%
  );
  pointer-events: none;
}

.car-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.car-caption-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
}

.car-caption-tag {
  font-family: var(--font-head);
  font-size: 0.64rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--teal);
}

.car-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  margin: 0;
}

.spec {
  padding: 0.9rem 1.1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal-soft);
  border-radius: 10px;
}

.spec dt {
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--teal);
  margin-bottom: 0.25rem;
}

.spec dd {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text);
}

/* ---------- RACE CALENDAR ---------- */

.section-calendar {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(29, 182, 180, 0.07), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.race-list {
  display: grid;
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.race-row {
  display: grid;
  grid-template-columns: 3.2rem 1fr auto;
  align-items: center;
  gap: 0.35rem 1.1rem;
  padding: 1rem 1.2rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.race-row:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateX(2px);
}

.race-row.is-next {
  border-left-color: var(--teal);
  background:
    linear-gradient(90deg, var(--teal-soft), transparent 45%),
    var(--bg-alt);
}

.race-round {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.18);
  font-variant-numeric: tabular-nums;
}

.race-row.is-next .race-round { color: var(--teal); }

/* Cancelled seasons — dashed edge, dimmed, no round number. */
.race-row.is-break {
  background: transparent;
  border-style: dashed;
  border-left-style: dashed;
  border-left-color: rgba(255, 255, 255, 0.2);
}

.race-row.is-break .race-name {
  color: var(--chrome-soft);
  font-variant-numeric: tabular-nums;
}

.race-row.is-break .race-date {
  font-style: italic;
}

.race-row.is-break .race-status {
  border-style: dashed;
  color: var(--chrome-soft);
}

.race-main { min-width: 0; }

.race-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--chrome);
  margin: 0;
}

.race-date {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  margin: 0.1rem 0 0;
}

.race-note {
  font-size: 0.76rem;
  font-style: italic;
  color: var(--chrome-soft);
  margin: 0.2rem 0 0;
}

.race-status {
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  white-space: nowrap;
}

.race-row.is-next .race-status {
  color: var(--teal);
  border-color: var(--teal);
  background: var(--teal-soft);
}

.race-countdown {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.5rem;
  margin-top: 0.6rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.cd-unit {
  flex: 1;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.25rem;
}

.cd-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.15;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.cd-lab {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}

.race-live {
  grid-column: 1 / -1;
  font-family: var(--font-head);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin: 0.6rem 0 0;
}

/* ---------- HISTORY ---------- */

.sub-title {
  font-family: var(--font-head);
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  margin: 2rem 0 1rem;
}

.milestone-list {
  display: grid;
  gap: 0.85rem;
  max-width: 68ch;
}

.milestone-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-dim);
}

.milestone-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 1px;
  transform: rotate(45deg);
}

.hist-closing {
  margin-top: 2rem;
  color: var(--chrome-soft);
  font-style: italic;
  max-width: 60ch;
}

/* ---------- CLOSING BANNER ---------- */

.closing-banner {
  text-align: center;
  padding: 6rem 1.5rem;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(29, 182, 180, 0.06), transparent 60%),
    var(--bg);
}

.closing-quote {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  color: var(--chrome);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
}

.closing-sub {
  color: var(--text-dim);
  margin: 0;
}

/* ---------- FOOTER ---------- */

.site-footer {
  text-align: center;
  padding: 3.5rem 1.5rem 3rem;
  border-top: 1px solid var(--border);
}

.footer-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.75rem;
}

.footer-word {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--chrome);
  font-size: 0.9rem;
  margin: 0 0 0.25rem;
}

.footer-tagline {
  color: var(--teal);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  margin: 0 0 1.25rem;
}

.footer-copy {
  color: var(--text-dim);
  font-size: 0.75rem;
  margin: 0;
}

.footer-legal {
  max-width: 46ch;
  margin: 1.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.footer-legal p {
  color: var(--chrome-soft);
  font-size: 0.7rem;
  line-height: 1.55;
  margin: 0;
  opacity: 0.75;
}

.footer-legal a {
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.2rem 0;
}

/* ---------- PRIVACY (native <details>, works without JS) ---------- */

.privacy {
  max-width: 62ch;
  margin: 1.25rem auto 0;
  text-align: left;
}

.privacy summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.privacy summary::-webkit-details-marker { display: none; }

.privacy summary::after {
  content: "+";
  font-size: 0.9rem;
  line-height: 1;
  color: var(--teal);
}

.privacy[open] summary::after { content: "–"; }

.privacy summary:hover { color: var(--text); }

.privacy-body {
  padding: 0.5rem 0 0.5rem;
  border-top: 1px solid var(--border);
  margin-top: 0.35rem;
}

.privacy-body h4 {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin: 1.1rem 0 0.35rem;
}

.privacy-body p {
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--chrome-soft);
  margin: 0;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1000px) {
  .nav-burger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100svh;
    width: min(300px, 80vw);
    background: rgba(11, 11, 12, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.75rem;
    padding: 2rem;
    padding-top: max(2rem, env(safe-area-inset-top));
    padding-right: max(2rem, env(safe-area-inset-right));
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 1px solid var(--border);
    z-index: 50;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.05rem;
    padding: 0.4rem 0;
    display: block;
  }
}

@media (max-width: 600px) {
  .brand-word { display: none; }

  .nav-inner { padding-top: 0.7rem; padding-bottom: 0.7rem; }

  .hero {
    padding: 5rem 1.25rem 2.5rem;
  }

  .hero-logo { margin-bottom: 1.1rem; }

  .hero-sub { margin-bottom: 1rem; }

  .founded-chip { margin-bottom: 2.25rem; }

  .flag-divider { width: 68px; }

  .section {
    padding: 3.5rem 1.25rem;
  }

  .section-inner { max-width: 100%; }

  .section-intro { margin-bottom: 2rem; }

  .about-copy,
  .mv-grid,
  .value-grid,
  .team-grid {
    gap: 1.1rem;
  }

  .mv-card,
  .value-card {
    padding: 1.4rem;
  }

  .leitgedanke {
    padding-left: 1.1rem;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  /* Quote, name and role move out of the photo and sit below it on phones. In a
     ~165px-wide card the overlay filled most of the frame and covered faces, so
     the photo gets the whole crop to itself instead. */
  .team-photo-wrap {
    aspect-ratio: auto;
  }

  .team-photo-wrap img {
    aspect-ratio: 4 / 5;
    height: auto;
  }

  .team-photo-wrap::after {
    content: none;
  }

  .team-photo-info {
    position: static;
    padding: 0.8rem 0.9rem 0.9rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 60%);
  }

  .team-quote {
    font-size: 0.78rem;
    margin-bottom: 0.55rem;
  }

  .team-name { font-size: 1rem; }
  .team-nick { font-size: 0.72rem; }
  .team-role { font-size: 0.72rem; }

  .team-fact-text {
    font-size: 0.78rem;
  }

  /* full-bleed car shot on phones — the livery needs the width */
  .car-showcase {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .car-caption { padding: 0.85rem 1.25rem; }
  .car-caption-name { font-size: 1rem; }
  .car-caption-tag { font-size: 0.58rem; letter-spacing: 0.14em; }

  .car-specs { gap: 0.7rem; }

  .spec { padding: 0.8rem 1rem; }

  .race-list { gap: 0.7rem; }

  .race-row {
    grid-template-columns: 2.4rem 1fr;
    padding: 0.9rem 1rem;
  }

  .race-round {
    font-size: 1.25rem;
    align-self: start;
    padding-top: 0.2rem;
  }

  .race-status {
    grid-column: 2 / -1;
    justify-self: start;
    margin-top: 0.3rem;
  }

  .cd-num { font-size: 1.15rem; }

  .closing-banner {
    padding: 4rem 1.25rem;
  }

  .site-footer {
    padding: 3rem 1.25rem 2.5rem;
    padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}
