:root {
  --red: #b41f2a;
  --gray: #959694;
  --ink: #202124;
  --muted: #626463;
  --line: #dedfdd;
  --paper: #ffffff;
  --soft: #f5f5f4;
  --dark: #17191a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand img {
  display: block;
  width: min(210px, 44vw);
  max-height: 58px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
}

.main-nav a,
.site-footer a {
  text-decoration: none;
}

.main-nav a {
  position: relative;
  padding: 10px 12px;
  color: #383a3b;
  transition: color 180ms ease, background-color 180ms ease;
}

.main-nav a:not(.catalog-link)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:not(.catalog-link):hover,
.main-nav a:not(.catalog-link):focus-visible {
  color: var(--red);
}

.main-nav a:not(.catalog-link):hover::after,
.main-nav a:not(.catalog-link):focus-visible::after {
  transform: scaleX(1);
}

.catalog-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  color: #fff !important;
  background: var(--red);
  border-radius: 4px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(180, 31, 42, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.catalog-link:hover,
.catalog-link:focus-visible {
  background: #9f1b25;
  box-shadow: 0 14px 30px rgba(180, 31, 42, 0.3);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 6vw, 82px);
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 43%, rgba(255, 255, 255, 0.38) 66%, rgba(23, 25, 26, 0.46) 100%),
    linear-gradient(0deg, rgba(23, 25, 26, 0.18), rgba(23, 25, 26, 0.04)),
    url("hubergebaeude.jpg") center / cover;
}

.hero h1,
.section-head h2,
.split h2,
.catalog-band h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
}

.hero-copy p:not(.eyebrow) {
  max-width: 680px;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: #3d3f40;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.btn.primary,
.btn.light {
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 24px rgba(180, 31, 42, 0.2);
}

.btn.secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.btn.light {
  background: #fff;
  color: var(--red);
  box-shadow: 0 12px 24px rgba(23, 25, 26, 0.12);
}

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

.btn.primary:hover,
.btn.primary:focus-visible {
  background: #9f1b25;
  box-shadow: 0 16px 30px rgba(180, 31, 42, 0.28);
}

.btn.secondary:hover,
.btn.secondary:focus-visible {
  border-color: var(--red);
  box-shadow: 0 14px 28px rgba(23, 25, 26, 0.08);
}

.btn.light:hover,
.btn.light:focus-visible {
  color: #fff;
  background: var(--dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(180, 31, 42, 0.28);
  outline-offset: 3px;
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.hero-panel div {
  min-height: 160px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: rgba(23, 25, 26, 0.58);
}

.metric {
  display: block;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
}

.catalog-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(20px, 6vw, 82px);
  color: #fff;
  background: var(--red);
}

.catalog-band .eyebrow {
  color: #fff;
  opacity: 0.78;
}

.catalog-band h2 {
  max-width: 920px;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
}

.fleet-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.15fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  background: var(--soft);
}

.fleet-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.08;
}

.fleet-copy p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
}

.fleet-image {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 22px 48px rgba(23, 25, 26, 0.18);
}

.fleet-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  pointer-events: none;
}

.fleet-image img {
  display: block;
  width: 100%;
  aspect-ratio: 2.55 / 1;
  object-fit: cover;
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head h2,
.split h2 {
  font-size: clamp(2rem, 4.2vw, 4rem);
}

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

.feature-grid,
.contact-grid,
.news-list,
.person-list,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article,
.contact-grid article,
.news-list article,
.job-box,
.benefits,
.person-list article,
.legal-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.feature-grid article {
  min-height: 190px;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

article p {
  margin: 0;
  color: var(--muted);
}

.keyword-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: clamp(18px, 3vw, 30px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(180, 31, 42, 0.9), rgba(23, 25, 26, 0.96)),
    url("https://images.unsplash.com/photo-1518704618243-b719e5d5f2a5?auto=format&fit=crop&w=1500&q=80") center / cover;
  border-radius: 6px;
}

.keyword-panel span {
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
  text-align: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: 118px;
}

.timeline {
  border-left: 3px solid var(--red);
  padding-left: 24px;
}

.timeline div {
  position: relative;
  padding: 0 0 24px;
}

.timeline div::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 6px;
  width: 13px;
  height: 13px;
  background: var(--red);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--red);
}

.timeline span,
.news-list time {
  color: var(--red);
  font-weight: 900;
}

.history-section {
  padding-top: clamp(34px, 5vw, 72px);
  background: linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.history-gallery {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 18px;
}

.history-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px rgba(23, 25, 26, 0.08);
}

.history-gallery img {
  display: block;
  width: 100%;
  height: clamp(220px, 26vw, 360px);
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
}

.history-gallery figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.muted {
  background: var(--soft);
}

.contact-grid article {
  min-height: 190px;
}

.contact-grid a,
.job-box a,
.location-copy a,
.person-list a,
.legal-grid a {
  display: block;
  margin-top: 8px;
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.people-sections {
  display: grid;
  gap: 34px;
}

.people-sections > section {
  padding-top: 4px;
}

.people-sections h3 {
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
}

.person-list article {
  min-height: 184px;
}

.person-list strong {
  display: block;
  font-size: 1.05rem;
}

.person-list span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.news-list {
  grid-template-columns: 1fr;
}

.news-list article {
  display: grid;
  grid-template-columns: 170px minmax(200px, 0.7fr) 1fr;
  gap: 22px;
  align-items: start;
}

.benefits ul {
  columns: 2;
  margin: 0;
  padding-left: 18px;
}

.benefits li {
  margin-bottom: 10px;
}

.locations {
  display: grid;
  gap: 22px;
}

.locations article {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(300px, 1.25fr);
  min-height: 340px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.location-copy {
  padding: 28px;
}

.locations iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 34px clamp(20px, 6vw, 82px);
  color: #fff;
  background: var(--dark);
}

.site-footer p {
  margin: 4px 0 0;
  color: #c7c8c6;
}

.site-footer div:nth-child(2) a {
  display: block;
  color: #fff;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: #fff;
  font-weight: 700;
}

.legal-section {
  background: #fafafa;
}

.legal-grid {
  align-items: stretch;
}

.legal-grid article p + p {
  margin-top: 14px;
}

.subpage {
  min-height: 70vh;
  background: var(--soft);
}

.legal-page {
  max-width: 980px;
  margin: 0 auto;
}

.legal-page h1 {
  margin: 0 0 28px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.04;
}

.legal-content {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.legal-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 1rem;
  line-height: 1.7;
}

.legal-content p {
  margin: 0 0 18px;
  color: var(--ink);
}

.legal-content a {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}

.legal-nav {
  margin-left: auto;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    inset: 82px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open {
    display: flex;
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 0;
    border-bottom: 0;
    background: transparent;
  }

  .main-nav a {
    padding: 13px 4px;
  }

  .catalog-link {
    margin-top: 8px;
  }

  .hero,
  .split,
  .fleet-section,
  .locations article {
    grid-template-columns: 1fr;
  }

  .sticky-copy {
    position: static;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid,
  .contact-grid,
  .person-list,
  .legal-grid,
  .keyword-panel,
  .history-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-list article {
    grid-template-columns: 1fr;
  }

  .site-footer,
  .catalog-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .hero-panel,
  .feature-grid,
  .contact-grid,
  .person-list,
  .legal-grid,
  .keyword-panel,
  .history-gallery {
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    min-height: 120px;
  }

  .benefits ul {
    columns: 1;
  }
}
