:root {
  --ink: #0f1720;
  --muted: #5d6976;
  --line: #dfe6ec;
  --soft: #f5f8fb;
  --white: #ffffff;
  --blue: #153e75;
  --blue-2: #0b5aa6;
  --green: #0f8f69;
  --amber: #f4a340;
  --red: #c74545;
  --shadow: 0 20px 55px rgba(15, 23, 32, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

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

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

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 15px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #304050;
  font-size: 15px;
}

.nav-links a {
  padding: 8px 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-link {
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 26px rgba(15, 143, 105, 0.22);
}

.btn-primary:hover {
  background: #0b7d5b;
}

.btn-secondary {
  color: var(--blue);
  background: var(--white);
  border-color: #bfd2e6;
}

.hero {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  background: #edf4f8;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 35%, rgba(255, 255, 255, 0.25) 60%, rgba(255, 255, 255, 0) 100%), url("../img/hero-auto-online-verkaufen-1600.jpg");
  background-size: cover;
  background-position: center right;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 82px 0 42px;
}

.hero-content {
  max-width: 700px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(15, 143, 105, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #087153;
  font-weight: 800;
  font-size: 14px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  margin-top: 18px;
  max-width: 650px;
  font-size: clamp(42px, 6vw, 76px);
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 610px;
  margin: 20px 0 0;
  color: #344457;
  font-size: clamp(18px, 2.1vw, 23px);
}

.valuation-form {
  width: min(100%, 900px);
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(191, 210, 230, 0.8);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 190px;
  gap: 10px;
  align-items: end;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: #314154;
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid #cbd8e4;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.field textarea {
  min-height: 110px;
  padding: 12px;
  resize: vertical;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 900px);
  margin-top: 24px;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px;
  border: 1px solid rgba(191, 210, 230, 0.75);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: #263546;
  font-weight: 800;
}

.icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-size: 15px;
  font-weight: 900;
}

.icon.green {
  background: var(--green);
}

.stats-band {
  position: relative;
  z-index: 2;
  margin-top: 38px;
  padding: 18px;
  border: 1px solid rgba(191, 210, 230, 0.75);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

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

.stat {
  padding: 14px 18px;
}

.stat strong {
  display: block;
  font-size: clamp(23px, 2.8vw, 34px);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 86px 0;
}

.section,
.cta-band {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

.section.soft {
  background: var(--soft);
}

.section.blue {
  color: var(--white);
  background: #102f54;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--green);
  font-weight: 900;
}

.section.blue .section-kicker {
  color: #8ee2c2;
}

.section h2 {
  max-width: 760px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: 0;
}

.lead {
  max-width: 690px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.section.blue .lead {
  color: #d6e4ef;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.feature,
.step,
.vehicle-type,
.city-link,
.review,
.faq-item,
.article,
.content-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature,
.vehicle-type,
.article,
.content-box {
  padding: 24px;
}

.feature h3,
.vehicle-type h3,
.article h3,
.content-box h3 {
  margin-top: 14px;
  font-size: 21px;
}

.feature p,
.vehicle-type p,
.article p,
.content-box p {
  color: var(--muted);
}

.step {
  padding: 28px;
  position: relative;
}

.step-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
}

.step h3 {
  margin-top: 18px;
  font-size: 24px;
}

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

.vehicle-type {
  min-height: 225px;
}

.vehicle-type a,
.article a,
.text-link {
  color: var(--blue-2);
  font-weight: 900;
}

.city-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: start;
}

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

.city-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 16px;
  font-weight: 900;
}

.city-link span {
  color: var(--green);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.rating-panel {
  padding: 30px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.rating-score {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.rating-score strong {
  font-size: 60px;
  line-height: 1;
}

.rating-stars {
  color: var(--amber);
  font-size: 23px;
  letter-spacing: 0;
}

.review {
  padding: 22px;
  color: var(--ink);
}

.review strong {
  display: block;
  margin-bottom: 8px;
}

.review p {
  margin: 0;
  color: var(--muted);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 30px;
  align-items: start;
}

.faq-nav {
  display: grid;
  gap: 8px;
  position: sticky;
  top: 96px;
}

.faq-nav a {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: #27384a;
  font-weight: 800;
}

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

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  min-height: 58px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

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

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

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

.cta-band {
  padding: 64px 0;
  color: var(--white);
  background: linear-gradient(135deg, #123a67, #0a1f34);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 40px;
  align-items: center;
}

.cta-inner h2 {
  max-width: 780px;
  font-size: clamp(28px, 4vw, 46px);
}

.cta-inner p {
  margin: 10px 0 0;
  color: #d8e6f0;
  font-size: 18px;
}

.cta-label {
  margin: 0 0 10px;
  color: #8ee2c2;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

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

.cta-highlight {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.cta-highlight strong,
.footer-contact strong {
  display: block;
  color: var(--white);
  line-height: 1.2;
}

.cta-highlight small,
.footer-contact small {
  display: block;
  margin-top: 3px;
  color: #b8c9d8;
}

.symbol {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
}

.symbol svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer {
  padding: 56px 0 32px;
  color: #d8e0e8;
  background: #0d1824;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(150px, 0.8fr));
  gap: 34px;
  align-items: start;
}

.site-footer h3,
.site-footer h4 {
  color: var(--white);
  margin: 0 0 12px;
}

.site-footer a {
  color: #d8e0e8;
}

.footer-brand p {
  max-width: 360px;
  margin: 18px 0 20px;
  color: #b8c9d8;
}

.footer-logo {
  color: var(--white);
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.footer-hours {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  color: #b8c9d8;
  font-size: 14px;
}

.footer-hours strong {
  color: var(--white);
  font-size: 15px;
}

.footer-hours-line {
  color: #c8d4df;
}

.footer-column {
  display: grid;
  gap: 9px;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  color: #d8e0e8;
}

.footer-link:hover {
  color: var(--white);
}

.mini-symbol {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #8ee2c2;
  background: rgba(255, 255, 255, 0.07);
  font-size: 11px;
  font-weight: 900;
}

.content-box > .mini-symbol,
.article > .mini-symbol {
  margin-bottom: 12px;
  color: var(--green);
  background: #e9f7f2;
  border: 1px solid rgba(15, 143, 105, 0.18);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #aeb9c4;
  font-size: 14px;
}

.expert-boost {
  background: var(--white);
}

.expert-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: stretch;
}

.expert-profile,
.expert-checks article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
}

.expert-profile {
  display: flex;
  gap: 18px;
  padding: 26px;
}

.expert-avatar {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
  font-size: 20px;
}

.expert-profile h3,
.expert-profile h2 {
  margin: 0 0 10px;
  font-size: 25px;
}

.expert-profile p {
  color: var(--muted);
}

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

.expert-checks article {
  padding: 20px;
}

.expert-checks strong {
  display: block;
  margin-top: 14px;
  font-size: 17px;
}

.expert-checks p {
  margin-bottom: 0;
  color: var(--muted);
}

.floating-contacts {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 40;
  display: grid;
  gap: 10px;
  transform: translate(88px, -50%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.floating-contacts.is-visible {
  transform: translate(0, -50%);
  opacity: 1;
  pointer-events: auto;
}

.floating-contact {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 28px rgba(15, 23, 32, 0.2);
}

.floating-contact:hover {
  transform: translateX(-3px);
}

.floating-contact svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-contact.call {
  background: var(--blue);
}

.floating-contact.form {
  background: #0f8f69;
}

.floating-contact.whatsapp {
  border-color: rgba(255, 255, 255, 0.34);
  background: #25d366;
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.28);
}

.floating-contact.whatsapp svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
  stroke: none;
}

.floating-contact.whatsapp:hover {
  background: #1ebe5d;
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.38);
}

.floating-contact span {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--white);
  background: #0d1824;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.floating-contact:hover span,
.floating-contact:focus-visible span {
  opacity: 1;
}

.page-hero {
  padding: 74px 0 54px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 62px);
}

.breadcrumbs {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--blue-2);
  font-weight: 800;
}

.mini-form {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mini-form .form-grid {
  grid-template-columns: 1fr;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

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

.check-list li {
  display: flex;
  gap: 10px;
  color: #27384a;
}

.check-list li::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--green);
}

.location-map {
  min-height: 310px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
    linear-gradient(135deg, #d8e6f2 0%, #ffffff 50%, #cceee2 100%);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 24px;
}

.map-box {
  width: min(320px, 100%);
  aspect-ratio: 1;
  border: 2px solid #bfd2e6;
  border-radius: 8px;
  position: relative;
  background: rgba(255, 255, 255, 0.72);
}

.map-pin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(15, 143, 105, 0.13);
}

.pin-1 { left: 62%; top: 29%; }
.pin-2 { left: 38%; top: 24%; }
.pin-3 { left: 53%; top: 66%; }
.pin-4 { left: 28%; top: 47%; }

@media (max-width: 1020px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header.is-open .nav {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .site-header.is-open .nav-links,
  .site-header.is-open .nav-actions {
    display: grid;
    width: 100%;
    gap: 8px;
  }

  .site-header.is-open .nav-actions {
    justify-items: start;
  }

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

  .form-grid .btn {
    grid-column: 1 / -1;
  }

  .trust-row,
  .stats-grid,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .article-grid,
  .city-strip,
  .reviews-grid,
  .faq-grid,
  .page-hero-grid,
  .split,
  .expert-panel,
  .cta-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .expert-checks {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .cta-highlights {
    grid-template-columns: 1fr;
  }

  .faq-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.92) 58%, rgba(255, 255, 255, 0.65) 100%), url("../img/hero-auto-online-verkaufen-900.jpg");
    background-position: 62% center;
  }

  .hero-inner {
    padding: 52px 0 34px;
  }

  h1 {
    font-size: 42px;
  }

  .valuation-form,
  .mini-form {
    padding: 14px;
  }

  .form-grid,
  .trust-row,
  .stats-grid,
  .grid-4,
  .city-list,
  .faq-nav {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .section-head,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    gap: 20px;
  }

  .floating-contacts {
    right: 12px;
    gap: 8px;
  }

  .floating-contact {
    width: 48px;
    height: 48px;
  }

  .floating-contact span {
    display: none;
  }
}
