﻿:root {
  --bg: #120707;
  --bg-soft: #231010;
  --surface: rgba(34, 14, 14, 0.78);
  --surface-strong: #2f1111;
  --text: #fcf0db;
  --muted: #d8c6ab;
  --primary: #b61716;
  --primary-2: #8f1010;
  --line: rgba(252, 240, 219, 0.28);
  --ok: #fcf0db;
  --radius: 18px;
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Barlow", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(182, 23, 22, 0.28), transparent 36%),
    radial-gradient(circle at 85% 0%, rgba(252, 240, 219, 0.12), transparent 34%),
    var(--bg);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(24, 8, 8, 0.8);
  border-bottom: 1px solid rgba(252, 240, 219, 0.18);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55));
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-text strong {
  font-size: 0.95rem;
  letter-spacing: 0.09em;
}

.brand-text small {
  margin-top: 0.16rem;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.main-nav a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(252, 240, 219, 0.45);
  background: rgba(182, 23, 22, 0.2);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(252, 240, 219, 0.45);
  background: rgba(34, 14, 14, 0.55);
  color: var(--text);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.lang-toggle:hover {
  background: rgba(182, 23, 22, 0.3);
}

.flag-icon {
  display: inline-block;
  width: 18px;
  height: 12px;
  border-radius: 2px;
  border: 1px solid rgba(252, 240, 219, 0.45);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.flag-de {
  background-image: url("https://trucksbook.eu/data/system/flags/small/de.png");
}

.flag-us {
  background-image: url("https://trucksbook.eu/data/system/flags/small/us.png");
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  padding: 0.45rem 0.8rem;
  font: inherit;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(90vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(85deg, rgba(18, 7, 7, 0.86) 25%, rgba(18, 7, 7, 0.38)),
    url("./assets/hero-banner.png");
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.04);
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(18, 7, 7, 0), rgba(18, 7, 7, 0.68) 72%, rgba(18, 7, 7, 0.94)),
    radial-gradient(circle at 85% 40%, rgba(182, 23, 22, 0.24), transparent 45%);
  z-index: -1;
}

.hero-grid {
  width: min(1120px, calc(100% - 3rem));
  display: grid;
  gap: 2.2rem;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: end;
  padding: 6rem 0 4rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ok);
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: "Rajdhani", sans-serif;
  line-height: 1.1;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.5rem, 7.2vw, 6rem);
  margin: 0.4rem 0 0;
}

.slogan {
  margin: 0.6rem 0 1rem;
  font-size: clamp(1.15rem, 2.8vw, 1.8rem);
  font-weight: 700;
  color: #fcf0db;
}

.lead {
  max-width: 620px;
  color: #f6e6ce;
  font-size: clamp(1rem, 1.9vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.82rem 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  color: #fcf0db;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 24px rgba(182, 23, 22, 0.45);
}

.btn-ghost {
  border-color: rgba(252, 240, 219, 0.45);
  color: var(--text);
  background: rgba(34, 14, 14, 0.45);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.hero-recruit-card {
  width: min(420px, 100%);
  aspect-ratio: 1 / 1;
  justify-self: end;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, rgba(252, 240, 219, 0.08), transparent 45%),
    linear-gradient(180deg, rgba(182, 23, 22, 0.34), rgba(34, 14, 14, 0.9));
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.recruit-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.8rem;
  color: var(--ok);
  font-weight: 700;
}

.recruit-wobble {
  margin: 0.55rem 0 0.75rem;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  color: var(--text);
  transform-origin: 50% 100%;
  animation: recruit-wobble 2.7s ease-in-out infinite;
  font-style: italic;
  transform: rotate(-3deg);
}

.recruit-text {
  margin: 0;
  color: var(--muted);
  max-width: 30ch;
  margin-inline: auto;
}

.hero-recruit-card .hero-actions {
  justify-content: center;
  margin-top: 1.2rem;
}

.recruit-btn {
  min-width: 170px;
}

.hero-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.event-name {
  margin-top: 0;
  color: var(--muted);
}

.hero-card ul {
  margin: 1.2rem 0 1.4rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.hero-card li {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px dashed rgba(252, 240, 219, 0.2);
}

.hero-card span {
  color: var(--muted);
}

.hero-card strong {
  text-align: right;
}

.btn-block {
  width: 100%;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

section[id] {
  scroll-margin-top: 92px;
}

.section-label {
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
  color: var(--ok);
  font-weight: 700;
}

.center {
  text-align: center;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.2rem;
}

.section p {
  color: var(--muted);
}

.about-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1.2fr 0.8fr;
}

.about-panel {
  background: linear-gradient(180deg, rgba(182, 23, 22, 0.35), rgba(34, 14, 14, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.media-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.media-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(34, 14, 14, 0.82);
  padding: 1.15rem;
}

.media-card h3 {
  margin-bottom: 0.8rem;
}

.lang-block:not(.is-hidden) + .lang-block:not(.is-hidden) {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(252, 240, 219, 0.2);
}

.lang-block.is-hidden {
  display: none;
}

.lang-title {
  margin: 0 0 0.45rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.06em;
}

.lang-block ul {
  margin: 0;
  padding-left: 1.05rem;
}

.lang-block li {
  color: var(--muted);
  margin: 0.28rem 0;
}

.stats-grid {
  margin-top: 1.9rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}

.stat-card {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(182, 23, 22, 0.28), rgba(34, 14, 14, 0.8));
  padding: 1.15rem;
  text-align: center;
}

.stat-number {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-family: "Rajdhani", sans-serif;
  color: var(--text);
  font-weight: 700;
}

.stat-label {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.offer-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.offer-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 1.2rem;
}

.offer-card h3 {
  margin-bottom: 0.65rem;
}

.team-board {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
}

.team-role {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(34, 14, 14, 0.72);
  padding: 1rem;
}

.team-role h3 {
  margin: 0 0 0.7rem;
  color: var(--text);
}

.team-empty {
  margin: 0;
  color: var(--muted);
}

.team-member {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.team-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(252, 240, 219, 0.4);
}

.team-member a {
  color: var(--text);
}

.team-member a:hover {
  text-decoration: underline;
}

.team-member-meta {
  display: grid;
  gap: 0.12rem;
}

.team-since {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.timeline {
  margin-top: 1.3rem;
  display: grid;
  gap: 0.95rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(34, 14, 14, 0.7);
  position: relative;
  overflow: hidden;
}

.timeline-item-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0) 20%, rgba(252, 240, 219, 0.14) 50%, rgba(255, 255, 255, 0) 80%),
    linear-gradient(180deg, rgba(16, 6, 6, 0.86), rgba(16, 6, 6, 0.7)),
    var(--event-banner);
  background-size: 220% 100%, cover, cover;
  background-position: -140% 0, center, center;
  z-index: 0;
  animation: event-shimmer 9s linear infinite;
}

.timeline-item > * {
  position: relative;
  z-index: 1;
}

.timeline-date {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.6rem;
  color: #fcf0db;
}

.timeline-item h3 {
  margin: 0;
}

.event-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
}

.event-top h3 {
  flex: 1;
}

.timeline-item p {
  margin: 0.35rem 0 0;
}

.event-meta {
  color: var(--text);
  font-weight: 600;
}

.event-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
}

.event-line span {
  display: inline-flex;
  align-items: center;
}

.event-icon {
  margin-right: 0.38rem;
  color: #5a4b45;
}

.event-stats {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.event-stat {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(252, 240, 219, 0.28);
  background: rgba(34, 14, 14, 0.58);
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  font-size: 0.84rem;
  color: var(--text);
}

.event-stat-confirmed {
  border-color: rgba(88, 231, 176, 0.45);
}

.event-stat-unsure {
  border-color: rgba(241, 193, 92, 0.5);
}

.event-stat-vtcs {
  border-color: rgba(99, 177, 255, 0.55);
}

.event-link {
  display: inline-block;
  margin-top: 0.25rem;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(252, 240, 219, 0.5);
  text-underline-offset: 3px;
}

.event-link:hover {
  text-decoration-color: var(--text);
}

@keyframes event-shimmer {
  0% {
    background-position: -140% 0, center, center;
  }
  100% {
    background-position: 160% 0, center, center;
  }
}

@keyframes recruit-wobble {
  0%,
  100% {
    transform: rotate(0deg) translateY(0);
  }
  15% {
    transform: rotate(-1.5deg) translateY(-1px);
  }
  30% {
    transform: rotate(1.3deg) translateY(0);
  }
  45% {
    transform: rotate(-0.9deg) translateY(-1px);
  }
  60% {
    transform: rotate(0.7deg) translateY(0);
  }
}

.join-box {
  border-radius: 20px;
  border: 1px solid rgba(252, 240, 219, 0.45);
  padding: clamp(1.2rem, 4vw, 2.2rem);
  background:
    radial-gradient(circle at 20% 0%, rgba(182, 23, 22, 0.32), transparent 50%),
    rgba(34, 14, 14, 0.9);
  text-align: center;
  box-shadow: var(--shadow);
}

.site-footer {
  border-top: 1px solid rgba(252, 240, 219, 0.2);
  background: rgba(18, 7, 7, 0.9);
}

.footer-wrap {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--muted);
}

.footer-slogan {
  font-weight: 700;
  color: var(--text);
}

.footer-counter {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
}

.footer-counter i {
  margin-right: 0.32rem;
  color: #5a4b45;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-socials a {
  color: var(--text);
  font-size: 0.88rem;
}

.footer-socials a:hover {
  text-decoration: underline;
}

.footer-socials i {
  margin-right: 0.32rem;
  color: #5a4b45;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 3, 3, 0.76);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 90;
}

.modal-overlay.is-open {
  display: flex;
}

.modal-card {
  width: min(860px, 100%);
  max-height: 88vh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(28, 10, 10, 0.96);
  padding: 1.2rem 1.2rem 1rem;
  box-shadow: var(--shadow);
  position: relative;
}

.modal-close {
  position: absolute;
  right: 0.8rem;
  top: 0.8rem;
  border: 1px solid rgba(252, 240, 219, 0.35);
  background: rgba(34, 14, 14, 0.72);
  color: var(--text);
  border-radius: 10px;
  width: 34px;
  height: 34px;
  cursor: pointer;
}

.modal-card h2 {
  margin-bottom: 0.1rem;
}

.modal-updated {
  margin-top: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.modal-card h3 {
  margin: 0.95rem 0 0.35rem;
}

.modal-card p,
.modal-card li {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-recruit-card {
    justify-self: center;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(1120px, calc(100% - 1.4rem));
  }

  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    background: rgba(24, 8, 8, 0.96);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .main-nav.open {
    max-height: 320px;
  }

  .main-nav a {
    padding: 0.9rem 1rem;
    border-top: 1px solid rgba(252, 240, 219, 0.12);
  }

  .lang-toggle {
    margin: 0.8rem 1rem 1rem;
    justify-content: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

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

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

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .brand-text strong {
    font-size: 0.86rem;
  }

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

  .event-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-stats {
    justify-content: flex-start;
  }

  .footer-wrap {
    flex-direction: column;
    justify-content: center;
    padding: 0.8rem 0;
    text-align: center;
  }
}

