@font-face {
  font-family: 'Porsche Next';
  src: url('PorscheNext-Thin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 300;
  font-display: swap;
}

@font-face {
  font-family: 'Porsche Next';
  src: url('PorscheNext-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

/* =====================================================
   BASIS
===================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Porsche Next', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #171b20;
  line-height: 1.75;
  overflow-x: hidden;
}

:root {
  --blue: #0879c2;
  --blue-light: #49adeb;
  --blue-dark: #045286;

  --dark: #080d13;
  --dark2: #111820;

  --grey: #f4f6f8;
  --border: #e4e8ec;

  --text-grey: #626d77;
}

.container {
  width: min(1200px, 90%);
  margin: auto;
}

section {
  padding: 105px 0;
  scroll-margin-top: 95px;
}

img {
  max-width: 100%;
}

/* =====================================================
   HEADER
===================================================== */

header {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;

  z-index: 1000;

  background: rgba(6, 10, 14, 0.93);

  backdrop-filter: blur(15px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

nav {
  min-height: 95px;

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

  gap: 30px;
}

/* HEADER LOGO */

.header-logo {
  display: flex;
  align-items: center;

  background: white;

  padding: 4px 10px;

  border-radius: 9px;

  transition: 0.3s;
}

.header-logo:hover {
  transform: scale(1.025);
}

.header-logo img {
  width: 200px;
  height: 67px;

  display: block;

  object-fit: contain;
}

/* NAV */

.nav-links {
  display: flex;
  align-items: center;

  gap: 28px;
}

.nav-links a {
  position: relative;

  text-decoration: none;

  color: rgba(255, 255, 255, 0.8);

  font-size: 14px;
  font-weight: 600;

  transition:
    opacity 0.3s,
    color 0.3s,
    transform 0.3s;
}

/* FADE EFFEKT */

.nav-links:hover a {
  opacity: 0.32;
}

.nav-links a:hover {
  opacity: 1;

  color: white;

  transform: translateY(-2px);
}

.nav-links a::after {
  content: '';

  position: absolute;

  left: 0;
  bottom: -7px;

  width: 0;
  height: 2px;

  background: var(--blue-light);

  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* TERMIN BUTTON */

.nav-links .nav-button {
  background: var(--blue);

  color: white;

  padding: 11px 19px;

  border-radius: 7px;
}

.nav-links .nav-button::after {
  display: none;
}

.nav-links .nav-button:hover {
  background: var(--blue-dark);
}

/* =====================================================
   HERO
===================================================== */

.hero {
  position: relative;

  min-height: 100vh;

  display: flex;
  align-items: center;

  padding: 160px 0 90px;

  overflow: hidden;

  background: var(--dark);

  color: white;
}

.hero-background {
  position: absolute;

  inset: -12% 0;

  background:
    linear-gradient(90deg, rgba(5, 8, 12, 0.76), rgba(5, 8, 12, 0.58), rgba(5, 8, 12, 0.22)),
    url('svr.webp') center / cover no-repeat;

  will-change: transform;
}
.hero .container {
  position: relative;

  z-index: 2;
}

.hero-grid {
  display: grid;

  grid-template-columns: 1.05fr 0.95fr;

  gap: 70px;

  align-items: center;
}

.hero-label,
.section-label {
  color: var(--blue-light);

  font-size: 13px;
  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 2px;

  margin-bottom: 13px;
}

.hero h1 {
  font-size: clamp(44px, 6vw, 76px);

  line-height: 1.03;

  letter-spacing: -2px;

  margin-bottom: 25px;
}

.hero h1 span {
  color: var(--blue-light);
}

.hero-text {
  max-width: 690px;

  color: #d4dce4;

  font-size: 19px;

  margin-bottom: 35px;
}

/* HERO LOGO */

.hero-logo {
  background: white;

  padding: 27px;

  border-radius: 20px;

  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.hero-logo img {
  width: 100%;
  display: block;
}

/* BUTTON */

.buttons {
  display: flex;

  flex-wrap: wrap;

  gap: 14px;
}

.btn {
  display: inline-flex;

  text-decoration: none;

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

  padding: 15px 27px;

  border-radius: 7px;

  font-weight: 700;

  transition: 0.25s;
}

.btn-blue {
  background: var(--blue);
  color: white;
}

.btn-blue:hover {
  background: var(--blue-dark);

  transform: translateY(-3px);
}

.btn-white {
  border: 1px solid rgba(255, 255, 255, 0.7);

  color: white;
}

.btn-white:hover {
  background: white;

  color: var(--dark);

  transform: translateY(-3px);
}

/* =====================================================
   ALLGEMEIN
===================================================== */

.section-label {
  color: var(--blue);
}

.section-title {
  max-width: 900px;

  font-size: clamp(32px, 4vw, 49px);

  line-height: 1.12;

  letter-spacing: -1px;

  margin-bottom: 23px;
}

.lead {
  max-width: 850px;

  color: var(--text-grey);

  font-size: 18px;
}

/* =====================================================
   FADE
===================================================== */

.fade-up {
  opacity: 1;

  transform: none;

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;

  transform: translateY(0);
}

/* =====================================================
   ÜBER UNS
===================================================== */

.about-grid {
  display: grid;

  grid-template-columns: 0.8fr 1.2fr;

  gap: 80px;
}

.about-title {
  position: sticky;

  top: 135px;
}

.about-text p {
  color: var(--text-grey);

  margin-bottom: 20px;

  font-size: 17px;
}

/* =====================================================
   LEISTUNGEN
===================================================== */

.services {
  background: var(--grey);
}

.service-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 24px;

  margin-top: 50px;
}

.service-card {
  background: white;

  border: 1px solid var(--border);

  border-radius: 15px;

  padding: 39px 31px;

  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-7px);

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.07);
}

.number {
  color: var(--blue);

  font-size: 13px;
  font-weight: 800;

  letter-spacing: 1.4px;

  margin-bottom: 23px;
}

.service-card h3 {
  font-size: 23px;

  margin-bottom: 13px;
}

.service-card p {
  color: var(--text-grey);
}

/* =====================================================
   GROSSE TEXT/BILD SEKTIONEN
===================================================== */

.feature-section {
  padding: 0;
}

.feature-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  min-height: 720px;
}

.feature-text {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 90px max(7vw, 60px);
}

.feature-text p {
  color: var(--text-grey);

  margin-bottom: 18px;
}

.feature-dark {
  background: var(--dark);

  color: white;
}

.feature-dark .section-title {
  color: white;
}

.feature-dark .feature-text p {
  color: #b8c1ca;
}

/* =====================================================
   PARALLAX BILDER
===================================================== */

.parallax-window {
  position: relative;

  width: 100%;
  min-height: 720px;

  overflow: hidden;

  background: #151a20;
}

.parallax-image {
  position: absolute;

  top: -10%;
  left: 0;

  width: 100%;
  height: 120%;

  display: block;

  object-fit: cover;
  object-position: center;

  will-change: transform;
}

/* =====================================================
   CARROSSERIE
===================================================== */

/*
  WICHTIG:
  Dieser Bereich hat zusätzlich ein echtes
  Hintergrundbild.

  Damit bleibt rechts sogar dann ein Bild sichtbar,
  falls JavaScript deaktiviert sein sollte.
*/

.carrosserie-picture {
  position: relative;

  min-height: 720px;

  overflow: hidden;

  background-image:
    linear-gradient(rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.12)), url('carosserie.avif');

  background-size: cover;

  background-position: center;

  background-repeat: no-repeat;
}

/* =====================================================
   CHECKLISTE
===================================================== */

.detail-list {
  display: grid;

  gap: 13px;

  margin-top: 28px;
}

.detail {
  display: flex;

  gap: 12px;

  align-items: flex-start;

  font-weight: 600;
}

.detail span {
  color: var(--blue);
}

/* =====================================================
   AUTO VERKAUF ABLAUF
===================================================== */

.steps {
  background: white;
}

.step-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 24px;

  margin-top: 50px;
}

.step {
  border: 1px solid var(--border);

  border-radius: 15px;

  padding: 34px;
}

.step-number {
  color: #dfedf7;

  font-size: 53px;

  line-height: 1;

  font-weight: 900;

  margin-bottom: 23px;
}

.step h3 {
  margin-bottom: 10px;
}

.step p {
  color: var(--text-grey);
}

/* =====================================================
   BANNER
===================================================== */

.banner {
  position: relative;

  min-height: 520px;

  display: flex;
  align-items: center;

  color: white;

  overflow: hidden;
}

.banner-bg {
  position: absolute;

  inset: -15% 0;

  background:
    linear-gradient(rgba(6, 11, 17, 0.58), rgba(6, 11, 17, 0.76)),
    url('rs3.webp') center / cover no-repeat;

  will-change: transform;
}

.banner .container {
  position: relative;

  z-index: 2;
}

.banner-content {
  max-width: 720px;
}

.banner h2 {
  font-size: clamp(37px, 5vw, 58px);

  line-height: 1.08;

  margin-bottom: 20px;
}

.banner p {
  color: #d5dce3;

  font-size: 18px;

  margin-bottom: 28px;
}

/* =====================================================
   VORTEILE
===================================================== */

.benefits {
  background: var(--grey);
}

.benefit-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px;

  margin-top: 48px;
}

.benefit {
  background: white;

  border: 1px solid var(--border);

  border-radius: 14px;

  padding: 29px;
}

.benefit h3 {
  font-size: 19px;

  margin-bottom: 10px;
}

.benefit p {
  color: var(--text-grey);

  font-size: 15px;
}

/* =====================================================
   SEO
===================================================== */

.seo-text {
  max-width: 950px;
}

.seo-text p {
  color: var(--text-grey);

  margin-bottom: 18px;
}

.seo-text h3 {
  font-size: 25px;

  margin: 40px 0 12px;
}

/* =====================================================
   FAQ
===================================================== */

.faq {
  background: var(--grey);
}

.faq-inner {
  max-width: 900px;
}

details {
  background: white;

  border: 1px solid var(--border);

  border-radius: 10px;

  padding: 21px 24px;

  margin-top: 14px;
}

summary {
  cursor: pointer;

  font-weight: 700;
}

details p {
  color: var(--text-grey);

  padding-top: 13px;
}

/* =====================================================
   TERMIN
===================================================== */

.appointment {
  position: relative;
  overflow: hidden;

  background:
    linear-gradient(rgba(5, 9, 14, 0.66), rgba(5, 9, 14, 0.72)),
    url('audir8.webp') center / cover no-repeat;

  color: white;

  text-align: center;
}

.appointment .container {
  position: relative;
  z-index: 1;
}

.appointment h2 {
  font-size: clamp(38px, 5vw, 58px);

  margin-bottom: 18px;
}

.appointment-text {
  max-width: 720px;

  margin: 0 auto 44px;

  color: #bbc4cd;

  font-size: 18px;
}

.contact-grid {
  max-width: 850px;

  margin: auto;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 20px;
}

.contact-card {
  background: var(--dark2);

  color: white;

  text-decoration: none;

  padding: 37px 25px;

  border-radius: 13px;

  border: 1px solid rgba(255, 255, 255, 0.08);

  transition: 0.3s;
}

.contact-card:hover {
  transform: translateY(-6px);

  border-color: var(--blue);
}

.contact-card small {
  display: block;

  color: #919ba5;

  text-transform: uppercase;

  letter-spacing: 1px;

  margin-bottom: 7px;
}

.contact-card strong {
  font-size: 21px;
}

/* =====================================================
   FOOTER
===================================================== */

footer {
  background: #05080c;

  color: #929ca5;

  padding: 70px 0 28px;
}

.footer-grid {
  display: grid;

  grid-template-columns: 2fr 1fr 1fr;

  gap: 65px;

  padding-bottom: 50px;
}

.footer-logo {
  display: inline-block;

  background: white;

  padding: 9px 14px;

  border-radius: 10px;

  margin-bottom: 22px;
}

.footer-logo img {
  width: 280px;

  display: block;
}

.footer-brand p {
  max-width: 430px;
}

.footer-links,
.footer-contact {
  display: flex;

  flex-direction: column;

  gap: 10px;
}

.footer-links h3,
.footer-contact h3 {
  color: white;

  margin-bottom: 8px;
}

.footer-links a,
.footer-contact a {
  color: #929ca5;

  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--blue-light);
}

.footer-bottom {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  padding-top: 24px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  font-size: 14px;
}

/* =====================================================
   RESPONSIVE / TABLET & MOBILE
===================================================== */

/* Kleine Desktops / Tablets */
@media (max-width: 1200px) {
  .container {
    width: min(1100px, 92%);
  }

  .hero-grid {
    gap: 45px;
  }

  .feature-text {
    padding: 75px 6vw;
  }

  .hero-logo {
    padding: 20px;
  }
}

@media (max-width: 1000px) {
  section {
    padding: 85px 0;
  }

  nav {
    min-height: 82px;
  }

  .header-logo img {
    width: 165px;
    height: auto;
  }

  .hero {
    min-height: auto;
    padding: 135px 0 80px;
  }

  .hero-grid,
  .about-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 45px;
  }

  .hero h1 {
    font-size: clamp(42px, 8vw, 62px);
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-logo {
    width: 100%;
    max-width: 700px;
  }

  .about-grid {
    gap: 45px;
  }

  .about-title {
    position: static;
  }

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

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

  .feature-text {
    padding: 75px 7%;
  }

  .parallax-window,
  .carrosserie-picture {
    min-height: 520px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Mobile Navigation */
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue-light);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.menu-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 800px) {
  header .container {
    width: 92%;
  }

  nav {
    position: relative;
    gap: 14px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;

    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(8, 13, 19, 0.98);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(16px);
  }

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

  .nav-links:hover a {
    opacity: 1;
  }

  .nav-links a {
    width: 100%;
    padding: 13px 12px;
    border-radius: 8px;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: none;
  }

  .nav-links .nav-button {
    display: none;
  }
}

/* Handys */
@media (max-width: 700px) {
  .container {
    width: 90%;
  }

  section {
    padding: 65px 0;
  }

  nav {
    min-height: 70px;
  }

  .header-logo {
    padding: 3px 7px;
  }

  .header-logo img {
    width: 120px;
    height: auto;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding: 110px 0 60px;
  }

  .hero-grid {
    gap: 35px;
  }

  .hero-label,
  .section-label {
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 52px);
    letter-spacing: -1px;
  }

  .hero-text {
    font-size: 16px;
    line-height: 1.7;
  }

  .hero-logo {
    padding: 12px;
    border-radius: 13px;
  }

  .hero-logo img {
    width: 100%;
    height: auto;
  }

  .buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    padding: 14px 18px;
  }

  .section-title {
    font-size: clamp(29px, 9vw, 40px);
  }

  .lead {
    font-size: 16px;
  }

  .service-grid,
  .step-grid,
  .benefit-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .step-grid,
  .benefit-grid {
    gap: 18px;
  }

  .service-grid,
  .step-grid {
    margin-top: 35px;
  }

  .service-card {
    padding: 30px 24px;
  }

  .step {
    padding: 28px 23px;
  }

  .feature-text {
    padding: 55px 5%;
  }

  .parallax-window,
  .carrosserie-picture {
    min-height: 360px;
  }

  .parallax-image {
    top: 0;
    height: 100%;
    transform: none !important;
  }

  .carrosserie-picture {
    background-position: center !important;
  }

  .banner {
    min-height: 450px;
  }

  .banner h2 {
    font-size: clamp(32px, 10vw, 45px);
  }

  .contact-card {
    padding: 28px 20px;
  }

  .contact-card strong {
    font-size: 18px;
    overflow-wrap: anywhere;
  }

  footer {
    padding: 55px 0 25px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-logo img {
    width: 220px;
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .scroll-top-button {
    right: 14px;
    width: 48px;
    height: 48px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 58px;
    height: 58px;
  }
}

/* Sehr kleine Handys */
@media (max-width: 430px) {
  .container {
    width: 92%;
  }

  .header-logo img {
    width: 105px;
  }

  .hero {
    padding-top: 100px;
  }

  .hero h1 {
    font-size: 37px;
  }

  .hero-text {
    font-size: 15px;
  }

  .service-card,
  .step,
  .benefit {
    padding-left: 20px;
    padding-right: 20px;
  }

  .feature-text {
    padding-left: 5%;
    padding-right: 5%;
  }

  .scroll-top-button {
    right: 10px;
    width: 44px;
    height: 44px;
  }

  .scroll-top-button svg {
    width: 20px;
    height: 20px;
  }

  .whatsapp-float {
    right: 10px;
    bottom: 10px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 27px;
    height: 27px;
  }
}

/* =====================================================
   FLOATING ACTION BUTTONS
===================================================== */

.scroll-top-button {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(8, 13, 19, 0.92);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease,
    visibility 0.25s ease;
}

.scroll-top-button.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%);
}

.scroll-top-button:hover {
  background: var(--blue);
  transform: translateY(calc(-50% - 3px));
}

.scroll-top-button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #25d366;
  color: white;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  z-index: 999;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.26);
}

.whatsapp-float svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}


/* =====================================================
   ACCESSIBILITY
===================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }

  .whatsapp-float {
    animation: none;
  }

  .scroll-top-button {
    transition: none;
  }
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-legal a {
  color: #929ca5;
  text-decoration: none;
  font-size: 14px;
}

.footer-legal a:hover {
  color: var(--blue-light);
}

@media (max-width: 700px) {
  .footer-legal {
    gap: 12px 18px;
  }
}

/* =====================================================
   BLOCKSATZ / SAUBERE TEXTUMBRÜCHE
===================================================== */

main p {
  text-align: justify;
  text-align-last: left;
  -webkit-hyphens: auto;
  hyphens: auto;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: pretty;
}


/* Mobile Navigation: auch ohne JavaScript erreichbar */
@media (max-width: 800px) {
  nav:not(.navigation-ready) {
    flex-wrap: wrap;
    padding-block: 12px;
  }

  .menu-toggle {
    display: none;
    min-width: 48px;
    min-height: 48px;
  }

  nav:not(.navigation-ready) .nav-links {
    display: flex;
    position: static;
    width: 100%;
  }

  .navigation-ready .menu-toggle {
    display: inline-flex;
  }

  .nav-links .nav-button {
    display: block;
  }

  .nav-links a {
    min-height: 48px;
  }

  .nav-links:hover a {
    opacity: 1;
  }
}

@media (max-width: 700px) {
  .hero-background {
    background-image:
      linear-gradient(90deg, rgba(5, 8, 12, 0.76), rgba(5, 8, 12, 0.58), rgba(5, 8, 12, 0.22)),
      url('svr-mobile.webp');
  }
}

@media (prefers-reduced-motion: reduce), (max-width: 1000px) {
  .parallax-image,
  .parallax-bg {
    transform: none !important;
    will-change: auto;
  }

  .carrosserie-picture {
    background-position: center !important;
  }
}

/* Tastaturbedienung und verlässliche Textdarstellung */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 12px 18px;
  background: #fff;
  color: #045286;
  border-radius: 8px;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button, summary):focus-visible {
  outline: 3px solid #0879c2;
  outline-offset: 5px;
  box-shadow: 0 0 0 2px #fff;
}

::selection {
  background: #045286;
  color: #fff;
}

main p {
  overflow-wrap: break-word;
}

main p a {
  color: #045286;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (max-width: 700px) {
  main p {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Bildproportionen und Kontrast */
.hero-logo img,
.footer-logo img {
  height: auto;
}

.section-label {
  color: #045286;
}

.hero .section-label,
.hero-label,
.feature-dark .section-label,
.banner .section-label,
.appointment .section-label {
  color: #49adeb;
}

.step-number {
  color: #0879c2;
}

@media (max-width: 800px) {
  header:has(nav:not(.navigation-ready)) {
    position: static;
  }
}

/* Mobile Hilfsaktionen am Rand bündeln, damit der Lesebereich frei bleibt. */
@media (max-width: 800px) {
  .scroll-top-button {
    top: auto;
    bottom: 100px;
    right: 22px;
    transform: none;
  }

  .scroll-top-button.visible {
    transform: none;
  }

  .scroll-top-button:hover {
    transform: translateY(-3px);
  }
}
