:root {
  --secondary-color: #000;
  background-color: rgb(0, 0, 0);
}

body {
  text-align: center;
  font-family: Arial, sans-serif;
  font-weight: bold;
  background: #d00000;
  color: #000;
  font-size: 100px;
  overflow-x: hidden;
  margin: 0;
}

p {
  color: #fff;
  font-size: 20px;
  text-align: center;
  margin: 70px;
}

header {
  background: var(--secondary-color);
  color: #d00000;
  padding-top: 30px;
  padding-bottom: 30px;
}

section {
  display: flex;
  justify-content: center;
  color: #000;
  text-align: right;
  background: var(--secondary-color);
  padding: 60px 100px 100px;
  gap: .1px;
  font-size: 20px;
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
}

section img {
  width: 100px;
  border-radius: 10px;
  align-items: center;
}

footer {
  background: var(--secondary-color);
  color: #fff;
  text-align: center;
  padding: 50px;
  margin-top: 50px;
  font-size: 20px;
}

article.driver {
  background: var(--secondary-color);
  text-align: center;
  font-size: 20px;
  color: #fff;
  justify-content: flex-start;
  padding: 20px;
  gap: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 70px;
  height: 100%;
}

article.driver h1,
article.driver h2 {
  margin: 0;
  min-height: 2.6em;
  display: flex;
  align-items: flex-end;
  text-align: center;
}

a.more {
  margin-top: auto;
}

article.driver img {
  width: 400px;
  border-radius: 100px;
  padding: 50px;
  margin-top: 8px;
}

.logo {
  width: 1000px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

a.more,
a.Impressum,
a.Kontakt {
  display: inline-block;
  background: #d00000;
  color: #ffffff;
  text-decoration: none;
  border-radius: 20px;
  font-size: 20px;
  padding: 20px 20px;

}

h2 {
  color: #d00000;
}

a.more {
  padding: 10px 20px;
}

a.Kontakt {
  padding: 20px;
}


.f1-contact,
.f1-contact *,
.f1-contact *::before,
.f1-contact *::after {
  box-sizing: border-box;
}

.f1-contact {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: linear-gradient(150deg, #000, #151515 90%);
  color: #fff;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(16px, 4vw, 40px);
}


.f1-card {
  width: min(900px, 100%);
  background: #1b1b1b;
  border-radius: 14px;
  padding: clamp(22px, 3vw, 34px);
  border-top: 4px solid #d00000;
  border-bottom: 4px solid #d00000;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, .4);
}

.f1-card::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 2px;
  background: linear-gradient(90deg, #d00000, #ffcc00, #d00000);
  animation: f1slide 2.2s linear infinite;
  opacity: .85;
}

@keyframes f1slide {
  from {
    background-position: 0
  }

  to {
    background-position: 200%
  }
}

.f1-card h1 {
  margin: 0 0 .25rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-transform: uppercase;
  color: #ffcc00;
  letter-spacing: .8px;
  text-align: center;
}

.f1-card .lead {
  margin: .25rem 0 1.25rem;
  color: #cfcfcf;
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  text-align: center;
  line-height: 1.45;
}


.form {
  display: grid;
  gap: 18px;
}

.fieldset {
  display: grid;
  gap: 14px;
  border: 0;
  padding: 0;
  margin: 0;
}

.fieldset>legend {
  font-weight: 700;
  text-transform: uppercase;
  color: #ffcc00;
  font-size: 1rem;
  letter-spacing: .3px;
  margin-bottom: 4px;
}


.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px 18px;
}


.field {
  display: flex;
  flex-direction: column;
}

.field--full {
  grid-column: 1 / -1;
}

label {
  display: block;
  text-align: left;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  margin: 15px 15px
}

label+input,
label+select,
label+textarea {
  margin: top 0;
  ;
}


.hint {
  color: #aaa;
  font-size: .85rem;
  margin-top: 4px;
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  line-height: 1.2;
  color: #eee;
  background: #121212;
  border: 1px solid #404040;
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .3s;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #2a2a2a;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #d00000;
  background: #1a1a1a;
  box-shadow: 0 0 0 3px rgba(208, 0, 0, .28);
}

input:invalid[required],
select:invalid[required],
textarea:invalid[required] {
  border-color: #ff4747;
}


.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: flex-start;
}

.option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
}

.option:hover {
  background: rgba(255, 255, 255, .05);
}

.option input[type="radio"],
.option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: #d00000;
}


.option--block {
  display: flex;
}


.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
}

.btn-primary {
  background: #d00000;
  color: #fff;
  border-color: #d00000;
}

.btn-primary:hover {
  background: #ff1a1a;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(208, 0, 0, .35);
}

.btn-outline {
  background: transparent;
  border-color: #d00000;
  color: #d00000;
}

.btn-outline:hover {
  background: #d00000;
  color: #fff;
}

.btn-back {
  background: transparent;
  border-color: #ffcc00;
  color: #ffcc00;
}

.btn-back:hover {
  background: #ffcc00;
  color: #000;
  box-shadow: 0 0 10px rgba(255, 204, 0, .5);
}

.req {
  color: #ffcc00;
}


@media (max-width: 760px) {
  .f1-card {
    padding: 22px;
  }

  .actions {
    justify-content: stretch;
  }

  .btn {
    width: 100%;
  }
}



img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

.driver-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 250px 30px; 
  align-items: stretch;
  justify-items: center;
}

.driver .driver-image {
  width: 100%;
  height: auto;
}

.driver,
.more {
  max-width: 100%;
}

@media(max-width:992px) {
  .driver-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 108px 50px; /* mobil/tablet: ebenfalls mehr Zeilenabstand */
  }
}

@media(max-width:600px) {
  .driver-bar {
    grid-template-columns: 1fr;
    gap: 150px 16px; /* Single column: vertikaler Abstand etwas größer */
  }

  .more {
    display: inline-block;
    word-break: break-word;
  }

  footer,
  header,
  main,
  .driver,
  .driver-bar {
    padding-inline: 16px;
  }
}

[class*="container"],
[class*="wrapper"],
[class*="section"] {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

header,
main,
footer,
section {
  box-sizing: border-box;
  width: 100%;
}

@media(max-width:900px) {
  header {
    font-size: clamp(28px, 10vw, 48px);
    line-height: 1.15;
    text-align: center;
  }

  section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 16px;
  }

  section>.driver img,
  article.driver img {
    width: 100%;
    max-width: 600px;
    margin-bottom: 16px;
    padding: 0;
  }
}

@media(max-width:600px) {
  header {
    font-size: clamp(24px, 12vw, 40px);
  }

  section>.driver img,
  article.driver img {
    max-width: 480px;
    margin-bottom: 12px;
  }
}

article.driver .text-box {
  width: min(860px, 100%);
  max-width: 70ch;
  background: #0f0f0f;
  color: #fff;
  text-align: left;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  padding: 22px;
  line-height: 1.6;
}

article.driver .text-box h2,
article.driver .text-box h3 {
  margin-bottom: .4rem;
  color: #ff0000;
  font-size: clamp(20px, 2.2vw, 26px);
}

article.driver .text-box p {
  margin: .5rem 0;
  font-size: 18px;
  color: #eaeaea;
}

article.driver .facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

article.driver .badge {
  background: #fff;
  color: #000;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid #dcdcdc;
}

article.driver details.acc {
  width: min(860px, 100%);
  max-width: 70ch;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  overflow: hidden;
  background: #101010;
}

article.driver details.acc+details.acc {
  margin-top: 10px;
}

article.driver details.acc>summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  padding: 12px 16px;
  background: #fff;
  color: #000;
  font-weight: 700;
  border-radius: 12px;
  margin: 8px;
}

article.driver details.acc[open]>summary {
  filter: brightness(.95);
}

article.driver details.acc .acc-body {
  padding: 0 16px 16px;
  color: #eaeaea;
  line-height: 1.6;
  font-size: 18px;
}

article.driver details.acc>summary::after {
  content: "▾";
  float: right;
  transition: transform .2s;
}

article.driver details.acc[open]>summary::after {
  transform: rotate(180deg);
}

@media(max-width:600px) {
  article.driver .text-box {
    padding: 50px;
  }

  article.driver details.acc>summary {
    margin: 10px 8px;
  }
}
