/* ============================= */
/* SprintZeit – Global Styles   */
/* ============================= */

:root {
  --brand: #ff6600;
  --brand-2: #e65c00;
  --brand-light: #fff0e6;
  --accent: #ff8a00;
  --text: #2f3440;
  --muted: #687386;
  --header-h: 80px;
  --shadow: 0 10px 30px rgba(0, 0, 40, .09);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #fff;
}

section {
  scroll-margin-top: var(--header-h);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ============================= */
/* Header                        */
/* ============================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  height: var(--header-h);
  backdrop-filter: blur(8px);
}

.header-container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 52px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-links a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  font-size: .94rem;
  transition: color .25s;
}

.nav-links a:hover {
  color: var(--brand-2);
}

.nav-links hr {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 3001;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background: var(--brand);
  border-radius: 2px;
  display: block;
}

/* ============================= */
/* Hero                          */
/* ============================= */

.hero {
  margin-top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
  display: flex;
  background: #fff;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 5%;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-text::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -20%;
  right: -20%;
  bottom: -20%;
  background-image: url("images/logo.png");
  background-repeat: repeat;
  background-size: 160px auto;
  opacity: .045;
  transform: rotate(-28deg);
  pointer-events: none;
  z-index: 0;
}

.hero-text > * {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  display: block;
  color: var(--brand-2);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-kicker.centered {
  text-align: center;
}

.section-kicker.light {
  color: rgba(255,255,255,.78);
}

.hero-text h1 {
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--brand);
  max-width: 750px;
  margin-bottom: 22px;
}

.hero-text p {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 650px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 25px;
  background: var(--brand);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: transform .25s, background .25s, box-shadow .25s;
  border: 2px solid var(--brand);
}

.btn:hover {
  background: var(--brand-2);
  border-color: var(--brand-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,102,0,.20);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
}

.btn-outline:hover {
  color: #fff;
}

.hero-points {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
  color: var(--brand);
  font-size: .88rem;
  font-weight: 600;
}

.hero-img {
  flex: 1;
  min-height: 620px;
  background:
    linear-gradient(90deg, rgba(0,0,60,.12), rgba(0,0,60,.02)),
    url('images/main.png') center/cover no-repeat;
}

/* ============================= */
/* Sections                      */
/* ============================= */

.section-light {
  background: #fff;
  padding: 105px 0;
}

.section-colored {
  background: #f5f8fc;
  padding: 105px 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 28px;
  color: var(--brand);
}

.section-intro {
  max-width: 760px;
  margin: -8px auto 45px;
  text-align: center;
  color: var(--muted);
}

/* ============================= */
/* Über uns                      */
/* ============================= */

.about-container {
  display: flex;
  align-items: center;
  gap: 65px;
}

.about-img,
.about-text {
  flex: 1;
}

.about-img img,
.why-img img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: block;
}

.about-text h2 {
  margin-bottom: 22px;
}

.about-text p {
  margin-bottom: 18px;
  font-size: 1.03rem;
  line-height: 1.85;
}

/* ============================= */
/* Leistungen                    */
/* ============================= */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-item {
  background: #fff;
  padding: 34px 26px;
  border-radius: 15px;
  text-align: left;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .055);
  transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease;
  border: 1px solid #edf0f5;

  &:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .10);
    border-color: rgba(0, 0, 0, .08);

    .service-icon {
      background: var(--brand);
      color: #fff;
      transform: translateY(-3px) scale(1.04);
      box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
    }
  }
}

.service-icon {
  width: 60px;
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 20px;

  border-radius: 15px;

  background: var(--brand-light);
  color: var(--brand);

  font-size: 1.45rem;

  transition:
    background .3s ease,
    color .3s ease,
    transform .3s ease,
    box-shadow .3s ease;

  i {
    display: block;
    line-height: 1;
  }
}

.service-item h3 {
  color: var(--brand);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-item p {
  color: var(--muted);
  font-size: .94rem;
}


/* ============================= */
/* Fahrzeugklassen               */
/* ============================= */

.vehicle-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 45px;
}

.vehicle-heading h2 {
  margin-bottom: 0;
}

.vehicle-heading > p {
  max-width: 460px;
  color: var(--muted);
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.vehicle-card {
  position: relative;
  min-height: 190px;
  padding: 30px;
  border-radius: 14px;
  background: #f7f9fc;
  border: 1px solid #e7ebf2;
  overflow: hidden;
}

.vehicle-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  margin-bottom: 18px;
}

.vehicle-card h3 {
  color: var(--brand);
  margin-bottom: 8px;
}

.vehicle-card p {
  color: var(--muted);
  font-size: .92rem;
}

.vehicle-card-accent {
  background: var(--brand);
  border-color: var(--brand);
}

.vehicle-card-accent .vehicle-number {
  background: #fff;
  color: var(--brand);
}

.vehicle-card-accent h3,
.vehicle-card-accent p {
  color: #fff;
}

/* ============================= */
/* Warum wir                     */
/* ============================= */

.why-container {
  display: flex;
  align-items: center;
  gap: 65px;
}

.why-text,
.why-img {
  flex: 1;
}

.why-text p {
  margin-bottom: 20px;
  font-size: 1.04rem;
  line-height: 1.8;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.why-list li {
  font-size: .98rem;
  margin-bottom: 14px;
  padding-left: 28px;
  position: relative;
}

.why-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-2);
  font-weight: 800;
}

.closing {
  color: var(--brand);
}

/* ============================= */
/* Prozess                       */
/* ============================= */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 50px;
}

.process-item {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 5px 18px rgba(0,0,0,.05);
}

.process-item > span {
  color: var(--brand-2);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.process-item h3 {
  color: var(--brand);
  margin: 10px 0;
}

.process-item p {
  color: var(--muted);
  font-size: .92rem;
}

/* ============================= */
/* Kontakt                       */
/* ============================= */

.contact-section {
  background: var(--brand);
  color: #fff;
  padding: 105px 5% 120px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: auto;
  align-items: center;
}

.contact-info h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
  color: #fff;
}

.contact-info p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,.9);
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.contact-details li {
  margin-bottom: 12px;
  font-size: 1rem;
}

.contact-details a {
  color: #fff;
  text-decoration: underline;
}

.contact-info .trust {
  margin-top: 30px;
  font-size: 1.15rem;
}

.contact-form-wrapper {
  background: #fff;
  padding: 38px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,.18);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #dfe3ea;
  border-radius: 9px;
  font-size: .98rem;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 15px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(255,102,0,.12);
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

 .contact-form .consent {
  display: block;
  width: 100%;
  font-size: .82rem;
  color: #4f5663;
  margin: 8px 0 24px;
  line-height: 1.5;
  text-align: left;
}

.contact-form .consent input[type="checkbox"] {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 auto 24px;
  flex-shrink: 0;
  accent-color: var(--brand);
}

.contact-form .consent span {
  display: block;
  width: 100%;
}

.contact-form .consent a {
  color: var(--brand);
}

.contact-form button {
  width: 100%;
  cursor: pointer;
}

/* ============================= */
/* Footer                        */
/* ============================= */

footer {
  color: var(--brand);
  font-weight: 700;
  background: #fff;
  text-align: center;
  padding: 24px 15px;
  font-size: .9rem;
}

/* ============================= */
/* Cookie Banner                 */
/* ============================= */

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 3000;
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  display: none;
  gap: 14px;
  align-items: center;
}

.cookie-banner.show {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  font-size: .9rem;
}

.cookie-banner a {
  color: var(--brand);
  text-decoration: underline;
}

.cookie-banner .actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

.cookie-banner button {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #d7dbe2;
  background: #fff;
  cursor: pointer;
}

.cookie-banner .accept {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* ============================= */
/* Modal                         */
/* ============================= */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.62);
  z-index: 4000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  max-width: 720px;
  width: 100%;
  border-radius: 14px;
  padding: 32px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  max-height: 82vh;
  overflow-y: auto;
}

.modal-content h2 {
  margin-bottom: 20px;
}

.modal-content h3 {
  color: var(--brand);
  margin: 24px 0 8px;
}

.modal-content p,
.modal-content ul {
  margin-bottom: 15px;
}

.modal-content ul {
  padding-left: 22px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.9rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}

.modal-close:hover {
  color: var(--brand);
}

/* ============================= */
/* Responsive                    */
/* ============================= */

@media (max-width: 1050px) {
  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: .85rem;
  }

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

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

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

  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-h);
    right: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    background: #fff;
    width: min(86vw, 300px);
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links hr {
    display: block;
    width: 100%;
    border: 0;
    border-top: 1px solid #e7eaf0;
  }

  .hero {
    flex-direction: column;
  }

  .hero-text {
    padding: 65px 25px 55px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.45rem;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-points {
    justify-content: center;
  }

  .hero-img {
    min-height: 360px;
    width: 100%;
  }

  .about-container,
  .why-container {
    flex-direction: column;
  }

  .about-container {
    gap: 35px;
  }

  .about-text {
    text-align: center;
  }

  .service-grid,
  .vehicle-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-heading {
    display: block;
  }

  .vehicle-heading > p {
    margin-top: 18px;
  }

  .why-text {
    text-align: center;
  }

  .why-list {
    text-align: left;
  }

  .contact-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-form-wrapper {
    padding: 28px 22px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner .actions {
    margin-left: 0;
    justify-content: flex-end;
  }
}

@media (max-width: 520px) {
  .section-light,
  .section-colored {
    padding: 75px 0;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

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

  .cookie-banner .actions {
    flex-direction: column-reverse;
  }

  .cookie-banner button {
    width: 100%;
  }
}
