/* Variables */

:root {
  --primary: #003d4d;
  --accent: #ff7020;
  --text: #2d2d2d;
}


/* Reset & base */

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hidden {
  display: none !important;
}


/* Typography */

h1,
h2,
h3 {
  margin: 0;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

main h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
}

main section h2 {
  font-size: 24px;
  font-weight: 700;
}

main section h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

p {
  margin: 0 0 16px;
  line-height: 1.65;
  color: #5c6670;
}

main p:last-child {
  margin-bottom: 0;
}

h2:not(.form_title)::after {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  margin: 10px 0 18px;
  background: var(--accent);
  border-radius: 2px;
}

h2:not(.form_title):not(.h2-bar-left)::after {
  margin-inline: auto;
}


/* Layout */

.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 16px;
  min-width: 0;
}

.split {
  display: grid;
  gap: 20px;
  align-items: start;
  min-width: 0;
}

.split > * {
  min-width: 0;
}

main section {
  padding-block: 48px;
}

main > section.hero {
  background: #f0f4f8;
}

main > section:nth-of-type(odd):not(.hero) {
  background: #e2f1fe;
}

main > section:nth-of-type(even) {
  background: #fff;
}

:is(.ablauf-schritten, .unser-vorteile, .services, .faq, .standorte, .kundenbewertungen, .stadt-info) {
  text-align: center;
}

:is(.ablauf-schritten, .unser-vorteile, .services) > .container > p {
  margin-bottom: 32px;
}


/* Buttons */

[class^="btn-"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 7px;
  transition: 0.2s ease;
}

[class^="btn-"]:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-primary,
.btn-accept {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover,
.btn-accept:hover {
  background: #e55f12;
}

.btn-primary:hover {
  box-shadow: 0 4px 14px rgba(255, 112, 32, 0.35);
}

.btn-secondary,
.btn-outline-dark,
.btn-reject {
  background: #fff;
  color: var(--text);
  border: 1px solid #cfd8dc;
  box-shadow: 0 1px 3px rgba(0, 61, 77, 0.08);
}

.btn-secondary:hover,
.btn-outline-dark:hover,
.btn-reject:hover {
  border-color: #b0bec5;
}

.btn-outline-dark {
  color: var(--primary);
  border-color: rgba(0, 61, 77, 0.22);
}

.btn-reject,
.btn-accept {
  min-height: 40px;
  padding-inline: 16px;
}


/* Cards */

:is(.ablauf-grid > div, .bewertung-track > li, .automarken-item, .faq > .container > details, .leistungen-karte) {
  background: #fff;
  border: 1px solid #e2e8ee;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 61, 77, 0.04);
}

:is(.automarken-item, .faq > .container > details) {
  overflow: hidden;
  margin-bottom: 8px;
}


/* Checklist */

.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  direction: ltr;
  text-align: left;
}

.checklist li {
  position: relative;
  padding-left: 24px;
  line-height: 1.55;
  color: #5c6670;
}

.checklist li::after {
  content: "\E809";
  font-family: "Icons";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 7px;
  font-size: 14px;
  line-height: 1;
  color: var(--accent);
}

ol.checklist {
  counter-reset: n;
}

ol.checklist li {
  counter-increment: n;
  padding-left: 28px;
}

ol.checklist li::before {
  content: counter(n) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

ol.checklist li::after {
  display: none;
}

.icon {
  width: 36px;
  object-fit: contain;
}


/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  --header-h: 96px;
}

.top-bar {
  background: var(--primary);
  color: #fff;
  font-size: 14px;
}

.top-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  min-height: 40px;
  padding-block: 8px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.top-bar a:hover {
  opacity: 0.85;
}

.nav-bar {
  background: #fff;
  border-bottom: 1px solid #e2e8ee;
  box-shadow: 0 6px 24px rgba(0, 61, 77, 0.055);
}

.nav-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
}

.logo img {
  max-height: 48px;
  max-width: min(220px, 52vw);
  object-fit: contain;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 22px;
  color: var(--primary);
  z-index: 30;
}

.menu-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 16px;
}

.menu-link,
.dropdown > button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 600;
  color: #1a2b36;
}

:is(.menu-link, .dropdown > button):is(:hover, :focus-visible) {
  color: var(--accent);
}

.menu-link[aria-current="page"] {
  font-weight: 700;
  color: var(--primary);
}

.menu-list > li:last-child .menu-link {
  color: var(--accent);
}

.dropdown {
  position: relative;
}

.dropdown > button::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.dropdown.is-open > button::after {
  margin-top: 2px;
  transform: rotate(-135deg);
}

.dropdown > ul {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  min-width: 240px;
  max-height: min(320px, 70vh);
  margin: 6px 0 0;
  padding: 6px 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  list-style: none;
  background: #fff;
  border: 1px solid #e2e8ee;
  border-radius: 8px;
  box-shadow: 0 10px 32px rgba(0, 61, 77, 0.14);
}

.dropdown > ul[hidden] {
  display: none;
}

.dropdown > ul a {
  display: block;
  padding: 9px 17px;
  font-size: 14px;
  font-weight: 500;
}

.dropdown > ul a:hover {
  background: #f0f4f8;
  color: var(--primary);
}


/* Breadcrumb + TOC */

.breadcrumb-nav {
  padding-block: 12px;
  border-bottom: 1px solid #e2e8ee;
  background: #f0f4f8;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: #5c6670;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  opacity: 0.5;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb_current {
  font-weight: 500;
  color: var(--text);
}

.page-toc {
  border-bottom: 1px solid #e2e8ee;
}

.page-toc > summary,
.automarken-item summary,
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
}

.page-toc > summary::-webkit-details-marker,
.automarken-item summary::-webkit-details-marker,
.faq summary::-webkit-details-marker {
  display: none;
}

.page-toc > summary {
  padding: 14px 16px;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-toc > summary::after,
.automarken-item summary::after,
.faq summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.page-toc[open] > summary::after,
.automarken-item[open] summary::after,
.faq details[open] summary::after {
  transform: rotate(-135deg);
  border-color: var(--primary);
}

.page-toc > summary:hover {
  color: var(--accent);
  background: #f0f4f8;
}

.page-toc nav {
  padding: 0 16px 20px;
  border-top: 1px solid #e2e8ee;
}

.page-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-toc ol li + li {
  border-top: 1px solid #e2e8ee;
}

.page-toc ol a {
  display: block;
  padding: 11px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--primary);
}

.page-toc ol a:hover {
  color: var(--accent);
}


/* Hero */

.hero h1 {
  margin-bottom: 12px;
}

.hero > .container > div:first-child > p {
  max-width: 576px;
  margin-bottom: 20px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 640px;
  margin-bottom: 24px;
  list-style: none;
  padding: 0;
}

.hero-stats .stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 18px 16px;
  background: #fff;
  border: 1px solid #e2e8ee;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 61, 77, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hero-stats .stat:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 112, 32, 0.28);
  box-shadow: 0 10px 28px rgba(0, 61, 77, 0.11);
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 112, 32, 0.16), rgba(255, 112, 32, 0.06));
  border: 1px solid rgba(255, 112, 32, 0.18);
  font-size: 20px;
  line-height: 1;
  color: var(--accent);
}

.hero-stats .stat-icon::before {
  margin-right: 0;
  color: var(--accent);
}

.stat-num {
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 1.85rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--primary);
}

.stat-num::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-top: 8px;
  background: var(--accent);
  border-radius: 2px;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #5c6670;
}

.hero-buttons,
.fazit-buttons,
div.cta .container > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

div.cta .container > div:last-child {
  justify-content: center;
}

.fazit-section .fazit-buttons {
  margin-top: 24px;
}

.hero-bild img {
  width: 100%;
  max-width: min(100%, 600px);
}

:is(.hero-bild img, .standorte-bild img) {
  margin-inline: auto;
}

.fazit-section .split {
  align-items: center;
}

.standorte-bild img {
  max-width: 320px;
}


/* Grids */

.ablauf-grid,
.vorteile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.ablauf-grid {
  padding-top: 32px;
}

.ablauf-grid > div {
  position: relative;
  padding: 32px 20px 20px;
}

.ablauf-icon {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #cfd8dc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ablauf-grid h3 {
  text-align: center;
}

.services > .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: left;
}

.services > .container > :is(h2, p) {
  grid-column: 1 / -1;
}

.services .leistungen-grid {
  display: contents;
}

.leistungen-karte {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.leistungen-karte:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 61, 77, 0.1);
}

.leistungen-karte > img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.leistungen-karte:hover > img {
  transform: scale(1.04);
}

.leistungen-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px;
}

.leistungen-content h3 {
  margin-bottom: 8px;
}

.leistungen-content p {
  margin: 0;
  font-size: 14px;
}

:is(.vorteile-karte, .vorteile-karte-dark) {
  border: 1px solid #e2e8ee;
  border-radius: 16px;
  padding: 32px;
}

.vorteile-karte-dark {
  background: var(--primary);
}

.vorteile-karte h3 {
  font-size: 17px;
}

.vorteile-karte-dark :is(h3, p) {
  color: #fff;
}

:is(.vorteile-karte, .vorteile-karte-dark) > div:first-child {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--primary);
}

.vorteile-karte-dark > div:first-child {
  background: #fff;
}

:is(.vorteile-karte, .vorteile-karte-dark) .icon {
  width: 24px;
  height: 24px;
}

.vorteile-karte .icon {
  filter: brightness(0) invert(1);
}

.vorteile-karte-dark .icon {
  filter: brightness(0);
}


/* Video */

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #0f1724;
}

:is(.video-btn, .video-play) {
  position: absolute;
  inset: 0;
}

.video-btn {
  cursor: pointer;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
  font-size: 48px;
  color: #fff;
}

.video-embed.is-loaded .video-btn {
  display: none;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* CTA + images */

div.cta .container {
  padding: 56px 32px;
  text-align: center;
  background: linear-gradient(90deg, var(--primary), #007896);
  border-radius: 20px;
}

div.cta p {
  color: #fff;
}

div.cta .container > p.cta {
  margin: 0 0 20px;
  font-size: 26px;
  font-weight: 700;
}

div.cta .btn-primary {
  background: #fff;
  color: var(--primary);
}

div.cta .btn-secondary {
  background: transparent;
  color: #fff;
}

div.cta .btn-secondary:hover {
  background-color: #ffffff1a;
}

.autoverkauf {
  border-bottom: 4px solid #f0f4f8;
}

.bestepreise-bild,
.autoverkauf-bild {
  display: block;
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
}


/* Accordion + testimonials */

:is(.kundenbewertungen, .faq, .fazit-section) {
  border-top: 1px solid #e2e8ee;
}

.automarken-liste {
  display: grid;
  gap: 8px;
}

.automarken-item summary {
  padding: 14px 16px;
}

.automarken-item .modelle {
  padding: 0 16px 16px;
}

:is(.standorte, .faq) > .container > div:first-child {
  margin-bottom: 28px;
}

.faq > .container > details[open] {
  box-shadow: inset 3px 0 0 var(--primary);
}

.faq summary {
  min-height: 52px;
  padding: 16px 20px;
}

.faq details p {
  margin: 0;
  padding: 15px 20px 19px 24px;
  border-top: 1px solid #e2e8ee;
  font-size: 14px;
  color: #4a5f6a;
}

.bewertungssterne {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
}

.bewertungssterne span:first-child,
.bewertung-sterne {
  color: #eacb00;
  letter-spacing: 2px;
  font-weight: 700;
}

.bewertungssterne span:first-child {
  font-size: 22px;
}

.bewertung-slider {
  width: 100vw;
  margin: 16px calc(50% - 50vw) 0;
}

.bewertung-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 4px 16px 8px;
  scrollbar-width: none;
}

.bewertung-track::-webkit-scrollbar {
  display: none;
}

.bewertung-track > li {
  flex: 0 0 min(352px, calc(100vw - 32px));
  scroll-snap-align: start;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.bewertung-sterne {
  font-size: 18px;
  margin-bottom: 12px;
}

.bewertung-track blockquote {
  margin: 0 0 auto;
  padding-bottom: 16px;
}

.bewertung-track footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
  border-top: 1px solid #e2e8ee;
}

.bewertung-track footer > span:first-child {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  background: #f0f4f8;
  border: 1px solid #e2e8ee;
}

.kundenstandort {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
}


/* Standorte + stadt info */

.standorte-grid aside {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
}

.staedte {
  columns: 1;
  column-gap: 16px;
}

.staedte li {
  break-inside: avoid;
  padding-bottom: 6px;
}

.staedte a {
  display: block;
  padding: 7px 10px;
  font-size: 14px;
  font-weight: 500;
}

.staedte a:hover {
  color: var(--accent);
}

.stadt-info .container {
  display: grid;
  gap: 20px;
}

.stadt-info table {
  display: flex;
  flex-direction: column;
  height: 400px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--primary);
  color: #fff;
}

.stadt-info caption {
  flex-shrink: 0;
  padding: 20px 20px 14px;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.stadt-info thead {
  flex-shrink: 0;
  display: table;
  width: 100%;
  table-layout: fixed;
}

.stadt-info thead th {
  font-weight: 700;
}

.stadt-info thead th:first-child {
  text-align: left;
}

.stadt-info thead th:last-child {
  text-align: right;
}

.stadt-info tbody tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.stadt-info tbody {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: block;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) rgba(255, 255, 255, 0.1);
}

.stadt-info tbody::-webkit-scrollbar {
  width: 8px;
}

.stadt-info tbody::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 4px;
}

.stadt-info :is(th, td) {
  padding: 11px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
}

.stadt-info tbody :is(th, td):first-child {
  text-align: left;
  font-weight: 400;
}

.stadt-info tbody :is(th, td):last-child {
  text-align: right;
  font-weight: 600;
}

.stadt-info tbody tr:last-child :is(th, td) {
  border-bottom: 0;
}


/* Fazit */

.fazit-image img {
  width: min(100%, 280px);
  margin-inline: auto;
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f0f4f8;
}


/* Footer */

.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.92);
  padding: 32px 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(184px, 1fr));
  gap: 20px;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 16px;
}

.footer-heading {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact,
.footer-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-contact .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

:is(.footer-link, .footer-contact a) {
  color: rgba(255, 255, 255, 0.9);
}

:is(.footer-link, .footer-contact a):hover {
  color: #fff;
  text-decoration: underline;
}

:is(.footer-social, .footer-bottom) {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social {
  margin-top: 24px;
  padding-block: 16px;
}

.footer-social-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.footer-social-list a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 18px;
}

.footer-social-list a:hover {
  background: var(--accent);
}

.footer-bottom {
  margin-top: 16px;
  padding-block: 16px;
}

.footer-copyright {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.trustpilot {
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(165deg, #174a57, #0c2d37);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

:is(.trustpilot-header, .trustpilot-rating, .trustpilot-brand) {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.trustpilot-brand-star {
  color: #04da8d;
  font-size: 18px;
}

.trustpilot-brand-name,
.trustpilot-title {
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
}

.trustpilot-stars {
  color: #facc15;
  font-size: 18px;
}

.trustpilot-score {
  font-weight: 700;
  color: #fff;
}

.trustpilot-note {
  margin: 0;
  font-size: 12px;
  color: rgba(226, 232, 240, 0.78);
}

.trustpilot-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #00b67a;
  border-radius: 7px;
}


/* Floating widgets */

.kontakt-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kontakt-cta a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.kontakt-cta .phone {
  background: var(--primary);
}

.kontakt-cta .whatsapp {
  background: #25d366;
}

.cookie-container {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 200;
  padding: 12px 16px;
  background: rgba(0, 61, 77, 0.96);
  color: #fff;
}

.cookie-content {
  max-width: 1440px;
  margin-inline: auto;
}

.cookie-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cookie-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
}

.cookie-desc a {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}


/* Responsive */

@media (min-width: 520px) {
  .bewertung-track > li {
    flex-basis: calc((100vw - 48px) / 2);
  }
}

@media (min-width: 640px) {
  .automarken-liste {
    grid-template-columns: repeat(2, 1fr);
  }

  .staedte {
    columns: 2;
  }
}

@media (min-width: 900px) {
  :is(.container, .footer-container, .page-toc > summary, .page-toc nav, .cookie-container, .bewertung-track) {
    padding-inline: 24px;
  }

  main section {
    padding-block: 64px;
  }

  .split {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .hero .split {
    align-items: center;
  }

  .automarken-liste {
    grid-template-columns: repeat(3, 1fr);
  }

  .services > .container {
    grid-template-columns: repeat(3, 1fr);
  }

  .staedte {
    columns: 3;
  }

  .stadt-info .container {
    grid-template-columns: 1fr 1fr;
  }

  .stadt-info h2 {
    grid-column: 1 / -1;
  }

  .footer-container {
    grid-template-columns: repeat(4, 1fr);
  }

  main h1 {
    font-size: 34px;
  }

  main section h2 {
    font-size: 28px;
  }

  .bewertung-track > li {
    flex-basis: calc((min(1440px, 100vw) - 80px) / 3);
  }
}

@media (min-width: 1200px) {
  :is(.container, .footer-container, .page-toc > summary, .page-toc nav, .cookie-container, .bewertung-track) {
    padding-inline: 36px;
  }

  main section {
    padding-block: 72px;
  }

  main h1 {
    font-size: 38px;
  }
}

@media (max-width: 992px) {
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 122;
  }

  .site-header.is-open {
    z-index: 121;
  }

  .menu {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 120;
    width: min(320px, 88vw);
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: calc(12px + env(safe-area-inset-top, 0px)) 16px calc(16px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-left: 1px solid #e2e8ee;
    box-shadow: -8px 0 32px rgba(0, 61, 77, 0.14);
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overscroll-behavior: contain;
  }

  .site-header.is-open .menu {
    transform: translateX(0);
  }

  .site-header.is-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 119;
    background: rgba(15, 23, 36, 0.4);
  }

  .menu-list {
    flex: 1 1 auto;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    align-content: flex-start;
    gap: 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
  }

  .menu-list > li {
    flex-shrink: 0;
    border-bottom: 1px solid #e2e8ee;
  }

  .menu-link,
  .dropdown > button {
    width: 100%;
    min-height: 48px;
    padding: 14px 0;
    justify-content: space-between;
    font-size: 16px;
  }

  .dropdown > ul {
    position: static;
    max-height: min(16rem, 42dvh);
    margin: 0 0 8px;
    padding: 0 0 8px 12px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
  }

  .dropdown.is-open > ul {
    border-left: 2px solid rgba(0, 61, 77, 0.12);
  }

  .dropdown > ul a {
    padding: 10px 12px;
  }
}

@media (max-width: 900px) {
  .hero .split,
  .fazit-section .split {
    text-align: center;
  }

  .hero > .container > div:first-child > p,
  .hero-stats {
    margin-inline: auto;
  }

  .hero-buttons,
  .fazit-buttons {
    justify-content: center;
  }

  .hero-stats .stat {
    align-items: center;
    text-align: center;
  }

  .hero-stats .stat-icon {
    margin-inline: auto;
  }

  .stat-num::after {
    margin-inline: auto;
  }

  .hero-bild,
  .fazit-image,
  .standorte-bild {
    order: -1;
  }

  :is(.ablauf-grid, .vorteile-grid, .standorte-grid aside, .services > .container) {
    grid-template-columns: 1fr;
    max-width: 448px;
    margin-inline: auto;
  }
}

@media (max-width: 520px) {
  .hero-buttons,
  div.cta .container > div:last-child,
  .fazit-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons [class^="btn-"],
  div.cta [class^="btn-"],
  .fazit-buttons [class^="btn-"] {
    width: 100%;
    max-width: 352px;
    margin-inline: auto;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 320px;
    gap: 12px;
  }

  .hero-stats .stat {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    text-align: left;
    gap: 12px 14px;
    padding: 14px 16px;
  }

  .hero-stats .stat-icon {
    margin-inline: 0;
    flex-shrink: 0;
  }

  .hero-stats .stat-num {
    flex: 1;
    min-width: 0;
  }

  .hero-stats .stat-num::after {
    margin-inline: 0;
  }

  .hero-stats .stat-label {
    width: 100%;
    padding-left: calc(46px + 14px);
  }
}

@media (max-width: 380px) {
  .top-bar .container {
    flex-direction: column;
    align-items: flex-start;
  }
}
