@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('Archivo-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('Archivo-Medium.ttf') format('truetype');
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('Archivo-SemiBold.ttf') format('truetype');
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('Archivo-Bold.ttf') format('truetype');
}

:root {
  --rot: #E41B1F;
  --schwarz: #0d0d0d;
  --weiss: #ffffff;
  --strasse-farbe: #2a2a2a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--weiss);
  font-family: "Archivo Variable", sans-serif;
  font-weight: 600;
  color: var(--schwarz);
  text-align: center;
  width: 100%;
  overflow-x: hidden;
}

a {
  color: var(--rot);
  text-decoration: none;
}

a:hover {
  color: var(--weiss);
}

/* --- Straße --- */
.strasse-szene {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 1.5rem;
  pointer-events: none;
}

.strasse-svg {
  width: 100%;
  height: auto;
  min-height: 110px;
  display: block;
}

.strasse-flaeche {
  fill: none;
  stroke: var(--strasse-farbe);
  stroke-width: 36;
  stroke-linecap: round;
}

.strasse-mitte {
  fill: none;
  stroke: var(--weiss);
  stroke-width: 3;
  stroke-dasharray: 16 16;
  opacity: .55;
}

.auto-schatten {
  fill: #1a1a1a;
}

.auto-koerper {
  fill: var(--rot);
}

/* --- Logo oben --- */
.logo-oben-container {
  position: fixed;
  top: 20px;
  left: 50px;
  z-index: 1000;
}

.logo-oben {
  width: 100px;
  height: auto;
  display: block;
}

/* --- Hero --- */
.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  padding: 4rem 1.5rem;
  width: 100%;
}

.header {
  display: flex;
  justify-content: center;
  width: 100%;
}

.logo {
  max-width: 760px;
  width: min(85vw, 760px);
  height: auto;
  display: block;
  margin: 0 auto;
}

.center-text {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 3rem 1.5rem;
  background-color: #1a1a1a;
  border-top: 4px solid var(--rot);
  border-bottom: 4px solid var(--rot);
}

.heading {
  font-size: 3rem;
  font-weight: 700;
  color: var(--rot);
  margin: 0;
  width: 100%;
  letter-spacing: .05em;
}

.text {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--weiss);
  margin-top: 1rem;
  width: 100%;
}

/* --- Impressum / Datenschutz Text --- */
.impressum-text {
  position: relative;
  z-index: 1;
  font-size: .95rem;
  font-weight: 400;
  color: var(--weiss);
  width: 100%;
  max-width: 900px;
  margin: 8rem auto 0;
  text-align: left;
  padding: 2rem;
  line-height: 1.6;
  background: rgba(13, 13, 13, .85);
  border-top: 3px solid var(--rot);
  border-bottom: 3px solid var(--rot);
}

.impressum-text h1,
.impressum-text h2 {
  color: var(--rot);
}

.impressum-text a:hover {
  color: var(--rot);
}

/* --- Footer --- */
footer {
  position: relative;
  z-index: 1;
  background: rgba(13, 13, 13, .92);
  color: var(--weiss);
  text-align: center;
  padding: 3rem 2rem;
  width: 100%;
  border-top: 4px solid var(--rot);
}

footer h3 {
  color: var(--rot);
  margin-bottom: .5rem;
}

footer a {
  color: var(--weiss);
}

footer a:hover {
  color: var(--rot);
}

@media (max-width: 768px) {
  .hero {
    justify-content: flex-start;
    gap: 1.75rem;
    padding: 2rem 1.25rem;
  }

  .center-text {
    padding: 1.75rem 1rem;
  }

  .heading {
    font-size: 1.7rem;
    letter-spacing: .02em;
  }

  .text {
    font-size: 1.05rem;
  }

  .impressum-text {
    margin-top: 6rem;
  }

  .strasse-svg {
    height: 95px;
    min-height: 0;
  }

  .strasse-szene {
    margin-top: 0;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .heading {
    font-size: 5rem;
  }

  .text {
    font-size: 2.2rem;
  }

  .impressum-text {
    font-size: 1.15rem;
  }

  .strasse-svg {
    min-height: 220px;
  }
}

@media (min-width: 1024px) {
  .logo {
    max-width: 850px;
  }

  .heading {
    font-size: 7rem;
  }

  .text {
    font-size: 2.6rem;
  }

  .impressum-text {
    font-size: 1.2rem;
  }

  .strasse-svg {
    min-height: 260px;
  }
}

/* --- Floating CTA Button --- */
.floating-cta {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background-color: var(--rot);
  color: var(--weiss);
  font-family: "Archivo Variable", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: .02em;
  padding: 1.25rem 2.4rem;
  border-radius: 60px;
  box-shadow: 0 8px 24px rgba(228, 27, 31, .5);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  text-decoration: none;
  animation: cta-pulse 2s ease-in-out infinite;
}

.floating-cta:hover {
  color: var(--weiss);
  background-color: #b8151a;
  transform: translateX(-50%) translateY(-3px) scale(1.05);
  box-shadow: 0 12px 28px rgba(228, 27, 31, .65);
  animation-play-state: paused;
}

@keyframes cta-pulse {
  0% {
    box-shadow: 0 8px 24px rgba(228, 27, 31, .5), 0 0 0 0 rgba(228, 27, 31, .55);
  }
  70% {
    box-shadow: 0 8px 24px rgba(228, 27, 31, .5), 0 0 0 22px rgba(228, 27, 31, 0);
  }
  100% {
    box-shadow: 0 8px 24px rgba(228, 27, 31, .5), 0 0 0 0 rgba(228, 27, 31, 0);
  }
}

@media (max-width: 768px) {
  .floating-cta {
    bottom: 18px;
    padding: 1rem 1.8rem;
    font-size: 1.05rem;
  }
}