/*
Theme Name: DriveOn Website Final
Theme URI: https://fahrschuledriveon.de/
Author: ChatGPT for DriveOn
Description: Moderne One-Page-Website für die Fahrschule DriveOn in Ludwigshafen-Oppau mit originalen Fahrzeugbildern, Theoriezeiten, Klassen B, B78, B197, BE, B96, FAQ, Kontaktflächen und WordPress-Seitenvorlagen.
Version: 6.6.9
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: driveon-website-final
*/

:root {
  --night: #050506;
  --night-2: #0d0e10;
  --graphite: #15171b;
  --graphite-2: #20232a;
  --cream: #f5f1e8;
  --paper: #fffdf7;
  --ink: #101114;
  --muted: #bfc3ca;
  --muted-dark: #535963;
  --line: rgba(255, 255, 255, 0.13);
  --line-dark: rgba(16, 17, 20, 0.12);
  --gold: #f5b400;
  --gold-2: #ffd15d;
  --green: #41c27d;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --header-height: 78px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  background: var(--night);
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold-2);
  outline-offset: 4px;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--gold);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background: rgba(5, 5, 6, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 6, 0.96);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.nav-wrap {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  width: 218px;
  height: 72px;
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand img {
  width: 218px;
  height: 72px;
  object-fit: contain;
}

.primary-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-left: auto;
}

.primary-menu a {
  position: relative;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: color 160ms ease;
}

.primary-menu a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.primary-menu a:hover,
.primary-menu a:focus-visible {
  color: #fff;
}

.primary-menu a:hover::after,
.primary-menu a:focus-visible::after {
  transform: scaleX(1);
}

.nav-action,
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 20px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms var(--ease), border-color 180ms ease, background 180ms ease;
  white-space: nowrap;
}

.nav-action {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(245, 180, 0, 0.22);
}

.nav-action:hover,
.button:hover {
  transform: translateY(-2px);
}

.button-accent {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--ink);
  box-shadow: 0 18px 45px rgba(245, 180, 0, 0.24);
}

.button-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
}

.section-light .button-ghost,
.contact-section .button-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line-dark);
}

.icon-svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  gap: 5px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

body.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 132px 0 96px;
  background: var(--night);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(1.03) contrast(1.12);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.98) 0%, rgba(5, 5, 6, 0.86) 37%, rgba(5, 5, 6, 0.28) 68%, rgba(5, 5, 6, 0.78) 100%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.28) 0%, rgba(5, 5, 6, 0.04) 42%, #050506 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 650px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.section-head h2,
.why-panel h2,
.contact-copy h2,
.content-article h1 {
  margin: 0;
  font-weight: 950;
  line-height: 1.03;
}

.hero h1 {
  max-width: 10ch;
  font-size: 76px;
}

.hero-claim {
  margin: 14px 0 0;
  color: var(--gold);
  font-size: 38px;
  font-weight: 900;
  line-height: 1.1;
}

.hero-text {
  max-width: 630px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

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

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin: 28px 0 0;
}

.hero-facts div {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 750;
}

.hero-facts dd {
  margin: 3px 0 0;
  color: #fff;
  font-size: 16px;
  font-weight: 850;
}

.quick-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: -42px;
  margin-bottom: -1px;
}

.quick-card,
.service-card,
.vehicle-card,
.process-step,
.why-item,
.faq-item,
.contact-card,
.content-article {
  border-radius: var(--radius);
}

.quick-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px;
  background: rgba(18, 19, 23, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.quick-card h2,
.service-card h3,
.process-step h3,
.why-item h3,
.contact-card h3,
.vehicle-info h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.18;
}

.quick-card p,
.service-card p,
.process-step p,
.why-item p,
.contact-card p,
.vehicle-info p,
.section-head p,
.why-panel p,
.contact-copy p,
.footer-brand p,
.footer-block p {
  margin: 8px 0 0;
}

.quick-card p,
.vehicle-info p,
.why-item p {
  color: var(--muted);
}

.icon-badge {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(245, 180, 0, 0.1);
  border: 1px solid rgba(245, 180, 0, 0.4);
  border-radius: 50%;
}

.icon-badge .icon-svg,
.vehicle-info .icon-svg,
.why-item .icon-svg,
.contact-card .icon-svg {
  width: 24px;
  height: 24px;
}

.icon-badge-dark {
  color: var(--ink);
  background: var(--gold);
  border-color: rgba(16, 17, 20, 0.08);
}

.section {
  padding: 92px 0;
}

.section-light {
  background: var(--cream);
  color: var(--ink);
}

.section-dark {
  background:
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  color: #fff;
}

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

.section-head-split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.72fr);
  gap: 48px;
  align-items: end;
}

.section-head h2,
.why-panel h2,
.contact-copy h2,
.content-article h1 {
  font-size: 46px;
}

.section-head p,
.why-panel p,
.contact-copy p {
  color: var(--muted-dark);
  font-size: 18px;
}

.section-dark .section-head p,
.section-dark .why-panel p,
.contact-section .contact-copy p {
  color: var(--muted);
}

.theory-section {
  position: relative;
  overflow: hidden;
}

.theory-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(245, 180, 0, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 48%);
  pointer-events: none;
}

.theory-layout {
  position: relative;
  z-index: 1;
}

.theory-cards {
  display: grid;
  grid-template-columns: 0.88fr 1.28fr 0.94fr;
  gap: 16px;
  align-items: stretch;
}

.theory-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 26px;
  background: var(--graphite);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.theory-card-highlight {
  background:
    linear-gradient(180deg, rgba(245, 180, 0, 0.18), rgba(255, 255, 255, 0.05)),
    var(--graphite);
  border-color: rgba(245, 180, 0, 0.44);
}

.theory-card h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.12;
}

.theory-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.mini-label {
  margin: 0 0 10px !important;
  color: var(--gold) !important;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.clean-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.clean-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  transform: translateY(-50%);
}

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

.service-card {
  min-height: 265px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line-dark);
  box-shadow: 0 18px 48px rgba(16, 17, 20, 0.08);
}

.service-card h3 {
  margin-top: 26px;
}

.service-card p,
.process-step p,
.faq-item p,
.content-article p,
.content-article li {
  color: var(--muted-dark);
}

.vehicle-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: start;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.vehicle-card {
  overflow: hidden;
  background: var(--graphite);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.vehicle-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.vehicle-info {
  min-height: 104px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

.vehicle-info span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(245, 180, 0, 0.44);
  border-radius: 50%;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: steps;
}

.process-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-step {
  position: relative;
  min-height: 240px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line-dark);
  overflow: hidden;
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 34px;
  margin-bottom: 42px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 999px;
  font-weight: 950;
}

.process-step::after {
  content: "";
  position: absolute;
  top: 44px;
  right: 28px;
  left: 98px;
  height: 1px;
  background: var(--line-dark);
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 24px;
  align-items: stretch;
}

.why-panel {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(5, 5, 6, 0.1), rgba(5, 5, 6, 0.92)),
    url("assets/images/driveon-golf-8-schalter.png") center / cover;
  overflow: hidden;
}

.why-list {
  display: grid;
  gap: 14px;
}

.why-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 24px;
  background: var(--graphite);
  border: 1px solid var(--line);
}

.why-item > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--green);
  border: 1px solid rgba(65, 194, 125, 0.36);
  border-radius: 50%;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line-dark);
}

.faq-item summary {
  position: relative;
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 18px 56px 18px 20px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 850;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 26px;
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
}

.contact-form-section {
  border-top: 1px solid var(--line-dark);
}

.contact-form-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 34px;
  align-items: start;
}

.driveon-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(16, 17, 20, 0.08);
}

.driveon-form p {
  margin: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.driveon-form label:not(.form-consent) {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.driveon-form input,
.driveon-form select,
.driveon-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(16, 17, 20, 0.18);
  border-radius: 6px;
}

.driveon-form textarea {
  min-height: 142px;
  resize: vertical;
}

.driveon-form input:focus,
.driveon-form select:focus,
.driveon-form textarea:focus {
  border-color: var(--gold);
  outline: 3px solid rgba(245, 180, 0, 0.2);
}

.form-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted-dark);
  font-size: 14px;
  line-height: 1.45;
}

.form-consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.form-field-hidden {
  position: absolute;
  left: -9999px;
}

.form-notice {
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 800;
}

.form-notice-success {
  color: #0b3b22;
  background: rgba(65, 194, 125, 0.18);
  border: 1px solid rgba(65, 194, 125, 0.35);
}

.form-notice-error {
  color: #5d180f;
  background: rgba(207, 62, 43, 0.12);
  border: 1px solid rgba(207, 62, 43, 0.28);
}

.contact-section {
  padding: 96px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.98), rgba(5, 5, 6, 0.82)),
    url("assets/images/driveon-golf-8-automatik.png") center right / cover;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: start;
}

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

.contact-copy p {
  font-size: 18px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-card {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.contact-card > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(245, 180, 0, 0.44);
  border-radius: 50%;
}

.contact-card a {
  display: inline-block;
  margin-top: 8px;
  color: #fff;
  font-size: 17px;
  font-weight: 820;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.contact-card a[href^="mailto:"] {
  font-size: 15px;
  line-height: 1.35;
}

.contact-card a:hover,
.footer-block a:hover,
.footer-bottom a:hover {
  color: var(--gold);
}

.site-footer {
  color: var(--muted);
  background: #050506;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) repeat(3, minmax(0, 1fr));
  gap: 30px;
  padding: 42px 0 34px;
}

.footer-brand img {
  width: 214px;
  height: 82px;
  object-fit: contain;
}

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

.footer-block h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 16px;
}

.footer-block a,
.footer-block p {
  display: block;
  color: var(--muted);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  gap: 18px;
}

.footer-bottom a {
  color: var(--muted);
  text-decoration: none;
}

.content-page {
  min-height: 60vh;
  padding: 138px 0 86px;
  color: var(--ink);
  background: var(--cream);
}

.content-wrap {
  max-width: 860px;
}

.content-article {
  padding: 42px;
  background: var(--paper);
  border: 1px solid var(--line-dark);
}

.entry-content {
  margin-top: 24px;
}

.entry-content a {
  color: #8a6400;
  font-weight: 800;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 34px;
  color: var(--ink);
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .nav-action {
    display: none;
  }

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

  .theory-cards,
  .process-grid-four {
    grid-template-columns: 1fr;
  }

  .vehicle-layout,
  .why-layout,
  .faq-layout,
  .contact-form-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 72px;
  }

  .wrap {
    width: min(100% - 30px, 1180px);
  }

  .brand,
  .brand img {
    width: 172px;
    height: 64px;
  }

  .menu-toggle {
    display: grid;
  }

  .primary-menu {
    position: fixed;
    top: var(--header-height);
    right: 15px;
    left: 15px;
    display: grid;
    gap: 0;
    padding: 8px;
    background: rgba(11, 12, 14, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.nav-open .primary-menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .primary-menu a {
    min-height: 50px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 6px;
  }

  .primary-menu a::after {
    display: none;
  }

  .primary-menu a:hover,
  .primary-menu a:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
  }

  .hero {
    min-height: 650px;
    padding: 112px 0 82px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 5, 6, 0.96), rgba(5, 5, 6, 0.72)),
      linear-gradient(180deg, rgba(5, 5, 6, 0.2), var(--night));
  }

  .hero-media img {
    object-position: 63% center;
  }

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

  .hero-claim {
    font-size: 32px;
  }

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

  .quick-strip,
  .vehicle-grid,
  .process-grid,
  .form-grid,
  .contact-cards,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .section-head-split {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section {
    padding: 72px 0;
  }

  .contact-section {
    padding: 78px 0;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    min-height: 620px;
    padding: 102px 0 74px;
  }

  .hero h1 {
    font-size: 44px;
    max-width: 8ch;
  }

  .hero-claim {
    font-size: 28px;
  }

  .hero-text,
  .section-head p,
  .why-panel p,
  .contact-copy p {
    font-size: 16px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

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

  .quick-card,
  .why-item,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .section-head h2,
  .why-panel h2,
  .contact-copy h2,
  .content-article h1 {
    font-size: 34px;
  }

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

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .theory-card {
    min-height: auto;
    padding: 22px;
  }

  .theory-card h3 {
    font-size: 26px;
  }

  .service-card,
  .process-step,
  .why-panel,
  .content-article {
    padding: 22px;
  }

  .process-step::after {
    display: none;
  }

  .process-step span {
    margin-bottom: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .button:hover,
  .nav-action:hover {
    transform: none;
  }
}

/* Legal pages */
.legal-page {
  background: var(--cream);
  color: var(--ink);
}

.legal-article {
  max-width: 980px;
  color: var(--ink);
  background: var(--paper);
}

.legal-article section {
  padding: 24px 0;
  border-top: 1px solid var(--line-dark);
}

.legal-article section:first-of-type {
  border-top: 0;
}

.legal-article h2 {
  color: var(--ink);
  margin: 0 0 12px;
  font-size: 26px;
}

.legal-article p,
.legal-article li {
  color: #24272d;
  line-height: 1.75;
}

.legal-article ul {
  margin: 10px 0 0 20px;
  padding: 0;
}

.legal-article a {
  color: #765500;
  text-decoration: none;
}

.legal-article a:hover {
  text-decoration: underline;
}
