:root {
  --black: #0E0E0F;
  --wine: #8C1D24;
  --red: #C1272D;
  --steel: #3A3D42;
  --light: #F1F1F2;
  --white: #FFFFFF;
  --grey: #B9BDC2;
  --ink: var(--black);
  --paper: var(--light);
  --accent: var(--red);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Barlow", Arial, sans-serif;
  --shell: min(100% - 2.5rem, 76rem);
  --edge: clamp(1.25rem, 4vw, 4.5rem);
  --space-1: .55rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: clamp(2.5rem, 6vw, 6rem);
  --shadow: 0 18px 42px rgba(14, 14, 15, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 1rem; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { color: var(--red); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: -5rem; left: 1rem; background: var(--white); color: var(--black); padding: .75rem 1rem; font-weight: 700; box-shadow: var(--shadow); }
.skip-link:focus { top: 1rem; }
.shell { width: var(--shell); margin-inline: auto; }
.eyebrow { margin: 0 0 .65rem; color: var(--red); font: 700 .84rem/1 var(--display); letter-spacing: .14em; }
.section-heading { max-width: 47rem; margin-bottom: 2rem; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: .02em; line-height: .95; text-transform: uppercase; }
h1 { font-size: clamp(3.25rem, 11vw, 7.2rem); }
h2 { font-size: clamp(2.25rem, 5vw, 4.3rem); }
h3 { font-size: clamp(1.55rem, 3vw, 2.35rem); }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.1rem, 2.3vw, 1.34rem); line-height: 1.45; }
.muted { color: var(--grey); font-size: .92rem; }
.text-link { font-weight: 700; text-decoration-thickness: 2px; }
.section { padding: var(--space-4) 0; position: relative; }
.section-dark { color: var(--white); background: var(--black); }
.section-wine { color: var(--white); background: var(--wine); }
.section-light { background: var(--light); }
.section-white { background: var(--white); }
.section-bar::before { content: ""; display: block; width: 4rem; height: 4px; margin-bottom: 1.25rem; background: var(--red); }

/* Header */
.site-header { position: relative; z-index: 20; color: var(--white); background: var(--black); border-bottom: 4px solid var(--red); }
.header-top { display: flex; justify-content: space-between; gap: .75rem; padding: .45rem max(1.25rem, calc((100vw - 76rem) / 2)); color: var(--grey); background: #080809; font: 600 .75rem/1.2 var(--display); letter-spacing: .1em; }
.header-top p { margin: 0; }
.header-phone { color: var(--white); font-family: var(--text); font-size: .88rem; font-weight: 700; text-decoration: none; }
.header-main { min-height: 4.7rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand-mark { width: 2.25rem; height: 2.25rem; color: var(--white); }
.brand-type { display: grid; line-height: .82; }
.brand-type strong { font: 700 1.65rem/1 var(--display); letter-spacing: .035em; }
.brand-type small { margin-top: .32rem; color: var(--grey); font: 600 .56rem/1 var(--display); letter-spacing: .17em; }
.nav-toggle { width: 2.8rem; height: 2.6rem; display: grid; gap: .28rem; align-content: center; padding: .55rem; color: var(--white); background: transparent; border: 1px solid #5B5F65; }
.nav-toggle span:not(.sr-only) { display: block; width: 100%; height: 2px; background: currentColor; }
.nav { position: absolute; top: 100%; left: 0; right: 0; display: grid; gap: 0; max-height: 100vh; overflow: auto; padding: .65rem 1.25rem 1.25rem; background: var(--black); border-bottom: 4px solid var(--red); }
.nav[hidden] { display: none; }
.nav a { padding: .8rem 0; color: var(--white); border-bottom: 1px solid #3A3D42; font: 700 1.15rem/1 var(--display); letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
.nav a:hover, body[data-page="start"] .nav a[data-nav="start"], body[data-page="leistungen"] .nav a[data-nav="leistungen"], body[data-page="reifenservice"] .nav a[data-nav="reifenservice"], body[data-page="fahrwerksservice"] .nav a[data-nav="fahrwerksservice"], body[data-page="ueber-uns"] .nav a[data-nav="ueber-uns"], body[data-page="kontakt"] .nav a[data-nav="kontakt"] { color: var(--red); }
.nav .nav-cta { margin-top: .7rem; padding: .85rem 1rem; color: var(--white); background: var(--red); border: 0; text-align: center; }
.nav .nav-cta:hover { color: var(--white); background: #9D1D23; }

/* Buttons & hero */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .85rem 1.2rem; border: 2px solid transparent; border-radius: 0; font: 700 1rem/1 var(--display); letter-spacing: .075em; text-align: center; text-decoration: none; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease; }
.btn:hover { color: var(--white); transform: translateY(-2px); }
.btn-primary { color: var(--white); background: var(--red); border-color: var(--red); }
.btn-primary:hover { background: #9D1D23; border-color: #9D1D23; }
.btn-secondary { color: var(--white); background: transparent; border-color: var(--white); }
.btn-secondary:hover { color: var(--black); background: var(--white); }
.btn-dark { color: var(--white); background: var(--black); border-color: var(--black); }
.btn-dark:hover { background: var(--steel); border-color: var(--steel); }
.hero { position: relative; isolation: isolate; min-height: min(42rem, calc(100vh - 5rem)); color: var(--white); background: var(--black); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,14,15,.94), rgba(14,14,15,.6) 70%, rgba(14,14,15,.16)); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
.hero-panel { width: min(100%, 47rem); padding: clamp(3.5rem, 10vw, 8rem) max(1.25rem, calc((100vw - 76rem) / 2)) clamp(4rem, 10vw, 7rem); background: linear-gradient(115deg, rgba(140,29,36,.98) 0%, rgba(140,29,36,.96) 84%, transparent 84.2%); }
.hero-panel .eyebrow { color: var(--white); }
.hero-panel h1 { max-width: 11ch; }
.hero-panel .lead { max-width: 38rem; margin-top: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.hero-actions .btn-secondary { background: rgba(14,14,15,.28); }
.hero-actions .btn-secondary:hover { background: var(--white); }
.sub-hero { color: var(--white); background: var(--black); }
.sub-hero .shell { padding: clamp(3rem, 7vw, 6rem) 0; }
.sub-hero h1 { max-width: 14ch; }
.sub-hero .lead { max-width: 44rem; margin-top: 1.2rem; color: var(--grey); }
.breadcrumbs { padding: 1rem 0; font-size: .9rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--grey); }
.breadcrumbs a { color: var(--grey); }

/* Ticker */
.ticker { overflow: hidden; color: var(--white); background: var(--steel); border-block: 4px solid var(--red); }
.ticker-track { display: flex; width: max-content; gap: 1rem; padding: .65rem 0; white-space: nowrap; font: 700 1.25rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; animation: ticker 26s linear infinite; }
.ticker-track span::after { content: "◆"; margin-left: 1rem; color: var(--red); font-size: .75em; }
@keyframes ticker { to { transform: translateX(-25%); } }

/* Cards, sections and tables */
.service-grid { display: grid; gap: 1rem; }
.service-card { position: relative; min-height: 16rem; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; color: var(--white); background: var(--black); box-shadow: var(--shadow); overflow: hidden; }
.service-card::before { content: attr(data-index); position: absolute; top: .5rem; right: .8rem; color: rgba(255,255,255,.11); font: 700 6rem/1 var(--display); }
.service-card::after { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--red); }
.service-card h3 { position: relative; z-index: 1; margin-bottom: .75rem; }
.service-card p, .service-card a { position: relative; z-index: 1; }
.service-card p { color: var(--grey); }
.service-card a { width: fit-content; color: var(--white); font-weight: 700; }
.service-card:nth-child(2) { background: var(--wine); }
.service-card:nth-child(3) { background: var(--steel); }
.size-layout { display: grid; gap: 2rem; }
.size-layout .lead { color: var(--grey); }
.size-table-wrap { overflow-x: auto; border-left: 4px solid var(--red); }
.size-table { width: 100%; min-width: 31rem; border-collapse: collapse; font-size: .94rem; }
.size-table th { color: var(--white); background: var(--steel); font-family: var(--display); font-size: 1.05rem; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
.size-table th, .size-table td { padding: .8rem 1rem; border-bottom: 1px solid #51545A; }
.size-table td { color: var(--grey); }
.size-table tbody tr:last-child td { border-bottom: 0; }
.info-list { display: grid; gap: .85rem; padding: 0; list-style: none; }
.info-list li { position: relative; padding-left: 1.25rem; }
.info-list li::before { content: ""; position: absolute; top: .6rem; left: 0; width: .55rem; height: .55rem; background: var(--red); transform: rotate(45deg); }

/* Process and feature visuals */
.process { position: relative; display: grid; gap: 0; }
.process-step { position: relative; display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 1.2rem 0 1.3rem; border-top: 1px solid rgba(255,255,255,.3); }
.process-step:last-child { border-bottom: 1px solid rgba(255,255,255,.3); }
.process-no { color: var(--red); font: 700 3.4rem/.8 var(--display); }
.process-step p { margin: .45rem 0 0; color: var(--grey); }
.process-backdrop { position: absolute; inset: 0 0 0 42%; opacity: .23; pointer-events: none; overflow: hidden; clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%); }
.process-backdrop img { width: 100%; height: 100%; object-fit: cover; }
.process > *:not(.process-backdrop) { position: relative; z-index: 1; }
.image-band { position: relative; min-height: 22rem; display: grid; place-items: end start; color: var(--white); background: var(--black); }
.image-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.image-band figcaption { position: relative; max-width: 39rem; margin: var(--space-3) max(1.25rem, calc((100vw - 76rem) / 2)); padding: 1rem 1.2rem; background: rgba(14,14,15,.9); border-left: 4px solid var(--red); }
.cta-band { padding: clamp(3rem, 6vw, 5rem) 0; color: var(--white); background: var(--wine); clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%); }
.cta-band .shell { display: grid; gap: 1rem; align-items: end; }
.cta-band h2 { max-width: 13ch; }
.big-phone { display: inline-block; color: var(--white); font: 700 clamp(2.2rem, 5vw, 4.5rem)/.95 var(--display); letter-spacing: .02em; text-decoration-thickness: 3px; }

/* Content pages */
.content-grid { display: grid; gap: 2rem; }
.content-copy { max-width: 48rem; }
.content-copy h2 { margin-top: 2.5rem; }
.content-copy h3 { margin-top: 1.5rem; }
.content-copy h2 + p, .content-copy h3 + p { margin-top: .75rem; }
.detail-aside { padding: 1.5rem; background: var(--black); color: var(--white); border-top: 4px solid var(--red); align-self: start; }
.detail-aside h2 { font-size: 2.1rem; }
.detail-aside p { color: var(--grey); }
.detail-aside a { color: var(--white); }
.detail-figure { margin: 0; }
.detail-figure img { width: 100%; }
.detail-figure figcaption { padding: .75rem 0; font-size: .88rem; color: #5E6268; }
.service-list { display: grid; gap: 1rem; }
.service-list article { padding: 1.5rem; background: var(--white); border-left: 4px solid var(--red); }
.service-list article:nth-child(even) { background: #E5E5E7; }
.service-list h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin-bottom: .7rem; }
.service-list p:last-child { margin-bottom: 0; }
.note { padding: 1.1rem 1.25rem; background: #E5E5E7; border-left: 4px solid var(--red); }
.image-split { display: grid; gap: 1.25rem; }
.image-split img { width: 100%; height: 100%; min-height: 18rem; object-fit: cover; }
.image-split .section-heading { align-self: center; margin-bottom: 0; }

/* Contact and form */
.contact-layout { display: grid; gap: 2.5rem; }
.contact-panel { padding: 1.5rem; color: var(--white); background: var(--black); border-top: 4px solid var(--red); }
.contact-panel h2 { margin-bottom: 1rem; }
.contact-panel address { margin-bottom: 1rem; font-style: normal; font-size: 1.1rem; }
.contact-panel .contact-phone { display: inline-block; margin-bottom: 1.5rem; color: var(--white); font: 700 2rem/1 var(--display); }
.contact-form { padding: 1.5rem; background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 1rem; }
.form-field { display: grid; gap: .4rem; }
.form-field label { font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: .8rem .85rem; color: var(--black); background: var(--white); border: 1px solid #777B82; border-radius: 0; }
.form-field textarea { resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 3px solid rgba(193,39,45,.45); border-color: var(--red); }
.field-error { margin: 0; color: #A4151B; font-size: .9rem; font-weight: 700; }
.input-error { border-color: #A4151B !important; }
.checkbox { display: flex; gap: .7rem; margin: 1.4rem 0 1rem; font-size: .94rem; line-height: 1.45; }
.checkbox input { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; margin-top: .2rem; accent-color: var(--red); }
.form-status { min-height: 1.5rem; margin: 1rem 0 0; font-weight: 600; }
.form-status a { color: var(--red); }
.map-note { position: relative; padding: 2rem; color: var(--white); background: var(--steel); overflow: hidden; }
.map-note::after { content: ""; position: absolute; right: -2.5rem; bottom: -5rem; width: 15rem; height: 15rem; border: 28px solid rgba(193,39,45,.46); transform: rotate(45deg); }
.map-note > * { position: relative; z-index: 1; }

/* Legal & privacy */
.legal-content { max-width: 55rem; }
.legal-content h2 { margin-top: 2.6rem; }
.legal-content h3 { margin-top: 1.5rem; }
.legal-content ul { padding-left: 1.15rem; }
.legal-content li { margin-bottom: .45rem; }
.settings-card { max-width: 48rem; padding: 1.5rem; background: var(--white); box-shadow: var(--shadow); }
.consent-options { display: grid; gap: 1rem; margin: 1.5rem 0; }
.consent-option { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem; background: var(--light); border-left: 4px solid var(--red); }
.consent-option h3 { font-size: 1.55rem; }
.consent-option p { margin: .25rem 0 0; font-size: .92rem; }
.switch { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; }
.switch input { position: absolute; opacity: 0; }
.switch span { width: 3.1rem; height: 1.65rem; display: block; border-radius: 0; background: #6E7277; transition: background .2s; }
.switch span::after { content: ""; display: block; width: 1.25rem; height: 1.25rem; margin: .2rem; background: var(--white); transition: transform .2s; }
.switch input:checked + span { background: var(--red); }
.switch input:checked + span::after { transform: translateX(1.45rem); }
.switch input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 3px; }

/* Footer and consent */
.site-footer { color: var(--white); background: var(--black); }
.footer-stripe { height: .4rem; background: linear-gradient(105deg, var(--red) 0 35%, var(--wine) 35% 68%, var(--steel) 68%); }
.footer-grid { display: grid; gap: 2rem; padding: 3rem 0 2rem; }
.site-footer h2 { margin-bottom: .8rem; font-size: 1.8rem; }
.footer-brand h2 { font-size: 3rem; }
.site-footer p { color: var(--grey); }
.site-footer address { margin-bottom: .6rem; font-style: normal; }
.site-footer a { color: var(--white); }
.footer-nav { display: grid; align-content: start; gap: .35rem; }
.footer-nav a { width: fit-content; }
.footer-legal { padding: 1.3rem 0 5rem; border-top: 1px solid #3A3D42; font-size: .82rem; }
.footer-legal p { margin-bottom: .6rem; }
.mobile-call { position: fixed; z-index: 30; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .75rem 1.25rem; color: var(--white); background: var(--red); box-shadow: 0 -5px 20px rgba(0,0,0,.25); font-family: var(--display); text-decoration: none; text-transform: uppercase; letter-spacing: .05em; }
.mobile-call span { font-size: .95rem; }
.mobile-call strong { font-size: 1.5rem; line-height: 1; }
.consent-banner { position: fixed; z-index: 100; right: 1rem; bottom: 4.8rem; left: 1rem; max-width: 42rem; padding: 1.25rem; color: var(--white); background: var(--black); border-left: 4px solid var(--red); box-shadow: var(--shadow); }
.consent-banner h2 { font-size: 2rem; }
.consent-banner p { color: var(--grey); font-size: .92rem; }
.consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.consent-actions .btn { min-height: 2.5rem; font-size: .9rem; }
.consent-actions a { color: var(--white); font-size: .9rem; }

@media (min-width: 640px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card { min-height: 21rem; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-field-full { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .image-split { grid-template-columns: 1fr 1fr; }
  .cta-band .shell { grid-template-columns: 1fr auto; }
  .footer-legal { padding-bottom: 1.5rem; }
  .mobile-call { display: none; }
  .consent-banner { bottom: 1rem; }
}

@media (min-width: 900px) {
  .header-main { min-height: 5.55rem; }
  .nav-toggle { display: none; }
  .nav { position: static; display: flex !important; align-items: center; gap: clamp(.75rem, 1.6vw, 1.55rem); overflow: visible; max-height: none; padding: 0; background: none; border: 0; }
  .nav a { padding: .35rem 0; border: 0; font-size: 1rem; }
  .nav .nav-cta { margin: 0 0 0 .2rem; padding: .72rem .9rem; }
  .hero { min-height: 36rem; }
  .hero-panel { width: 58%; padding-right: 8rem; }
  .hero-media { left: 32%; clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); }
  .hero-media::after { background: linear-gradient(90deg, rgba(14,14,15,.72), transparent 44%); }
  .size-layout { grid-template-columns: .9fr 1.1fr; align-items: center; }
  .content-grid { grid-template-columns: minmax(0, 1.65fr) minmax(17rem, .7fr); align-items: start; }
  .contact-layout { grid-template-columns: .75fr 1.25fr; align-items: start; }
  .process { grid-template-columns: repeat(4, 1fr); }
  .process-step { display: block; min-height: 13rem; padding: 1.3rem 1.25rem; border-top: 4px solid var(--red); border-bottom: 0; border-left: 1px solid rgba(255,255,255,.3); }
  .process-step:last-child { border-bottom: 0; border-right: 1px solid rgba(255,255,255,.3); }
  .process-no { display: block; margin-bottom: .8rem; }
  .service-list { grid-template-columns: 1fr 1fr; }
  .service-list article:last-child:nth-child(odd) { grid-column: span 2; }
}

@media (min-width: 1200px) {
  .header-top { padding-inline: max(1.25rem, calc((100vw - 76rem) / 2)); }
  .hero-panel { padding-left: max(1.25rem, calc((100vw - 76rem) / 2)); }
  .service-card { padding: 2rem; }
  .contact-form, .contact-panel { padding: 2rem; }
}

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