.antonkfz-content-section {
  padding: 72px 24px;
}

.antonkfz-content-section > .elementor-container {
  max-width: 960px;
}

.antonkfz-content-section .elementor-heading-title {
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.antonkfz-content-section h1.elementor-heading-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}

.antonkfz-content-section h2.elementor-heading-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.antonkfz-content-section .elementor-widget-text-editor {
  max-width: 760px;
  font-size: 1.125rem;
  line-height: 1.7;
}

.antonkfz-content-section .elementor-widget-text-editor p:last-child {
  margin-bottom: 0;
}

.antonkfz-content-hero,
.antonkfz-content-tint {
  background: #f5f6f9;
}

.antonkfz-content-hero {
  padding-top: 90px;
  padding-bottom: 90px;
}

.antonkfz-content-closing,
.antonkfz-content-closing .elementor-heading-title,
.antonkfz-content-closing .elementor-widget-text-editor {
  color: #fff !important;
}

.antonkfz-content-closing {
  background: #000838;
}

.antonkfz-content-section .elementor-button {
  background: #ff0000;
  color: #fff;
  font-weight: 700;
  padding: 16px 24px;
}

.antonkfz-content-section .elementor-button:hover,
.antonkfz-content-section .elementor-button:focus-visible {
  background: #c90000;
  color: #fff;
}

.antonkfz-contact-form,
.antonkfz-sell-form {
  background: #f5f6f9;
}

.antonkfz-content-section a:not(.elementor-button) {
  color: #a90000;
  text-decoration: underline;
}

.antonkfz-content-section .wpcf7-form label {
  display: block;
  color: #000838;
  font-weight: 600;
  margin-bottom: 16px;
}

.antonkfz-content-section .wpcf7-form label input,
.antonkfz-content-section .wpcf7-form label select,
.antonkfz-content-section .wpcf7-form label textarea {
  display: block;
  margin-top: 6px;
  width: 100%;
}

/* Über uns: native Elementor sections adapted from the supplied design. */
.antonkfz-content-section[class*="antonkfz-about-"] > .elementor-container {
  max-width: 1240px;
}

.antonkfz-about-hero,
.antonkfz-about-facts {
  background: #000838;
}

.antonkfz-about-closing {
  background: #0a0e3f;
}

.antonkfz-about-hero {
  padding-top: 72px;
  padding-bottom: 72px;
}

.antonkfz-about-hero > .elementor-container,
.antonkfz-about-guarantee > .elementor-container,
.antonkfz-about-finance > .elementor-container {
  align-items: center;
  gap: 48px;
}

.antonkfz-about-hero > .elementor-container > .elementor-column,
.antonkfz-about-guarantee .elementor-column,
.antonkfz-about-finance .elementor-column,
.antonkfz-about-facts .elementor-column,
.antonkfz-about-values-grid .elementor-column {
  flex: 1;
  min-width: 0;
}

.antonkfz-about-hero > .elementor-container > .elementor-column:first-child {
  flex: 1.1;
}

.antonkfz-about-hero > .elementor-container > .elementor-column:last-child {
  flex: .9;
}

.antonkfz-about-hero h1.elementor-heading-title {
  color: #fff;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.5px;
}

.antonkfz-about-hero .elementor-widget-heading {
  margin-bottom: 20px;
}

.antonkfz-about-hero .elementor-widget-text-editor {
  max-width: 560px;
  color: #e7e9f4;
  font-size: 17px;
  line-height: 1.6;
}

.antonkfz-about-hero-image img {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: contain;
  object-position: right center;
  background: transparent;
}

.antonkfz-about-facts {
  width: 100%;
  max-width: 560px;
  margin-top: 32px;
  padding: 0;
}

.antonkfz-about-facts > .elementor-container {
  gap: 16px;
}

.antonkfz-about-facts .elementor-column {
  flex: 1;
  min-width: 0;
}

.antonkfz-about-facts .elementor-widget-heading {
  margin-bottom: 4px;
}

.antonkfz-about-facts h3.elementor-heading-title {
  color: #ff6b5e;
  font-size: 30px;
  font-weight: 800;
}

.antonkfz-about-facts .elementor-widget-text-editor {
  color: #c9cbe0;
  font-size: 14px;
  line-height: 1.45;
}

.antonkfz-about-values-intro {
  padding-top: 88px;
  padding-bottom: 36px;
  text-align: center;
}

.antonkfz-content-section.antonkfz-about-values-intro > .elementor-container {
  max-width: 820px !important;
}

.antonkfz-about-values-intro .elementor-widget-heading {
  margin-bottom: 16px;
}

.antonkfz-about-values-intro .elementor-widget-text-editor {
  max-width: none;
  font-size: 17px;
}

.antonkfz-about-values-grid {
  padding-top: 0;
  padding-bottom: 88px;
}

.antonkfz-about-values-grid > .elementor-container {
  align-items: flex-start;
  gap: 32px;
}

.antonkfz-about-values-grid .elementor-column {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.antonkfz-about-values-grid .elementor-column > .elementor-widget-wrap {
  width: 100%;
}

.antonkfz-about-values-grid .elementor-column::before {
  content: '✓';
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fde9e7;
  color: #df0000;
  font-size: 26px;
  font-weight: 700;
  line-height: 56px;
}

.antonkfz-about-values-grid h3.elementor-heading-title {
  font-size: 20px;
  font-weight: 700;
}

.antonkfz-about-values-grid .elementor-widget-heading {
  margin-bottom: 12px;
}

.antonkfz-about-values-grid .elementor-widget-text-editor {
  font-size: 16px;
}

.antonkfz-about-guarantee {
  padding-top: 88px;
  padding-bottom: 88px;
  background: #f5f6f9;
}

.antonkfz-about-guarantee .elementor-column:last-child {
  padding: 40px;
  border-radius: 10px;
  background: #fff;
}

.antonkfz-about-guarantee .elementor-column:last-child > .elementor-widget-wrap {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: 20px;
  align-items: start;
}

.antonkfz-about-guarantee-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0;
  border-radius: 12px;
  background: #0a0e3f;
}

.antonkfz-about-guarantee-icon .elementor-icon-wrapper {
  line-height: 1;
}

.antonkfz-about-guarantee-icon .elementor-icon {
  position: relative;
  color: #fff;
  font-size: 30px;
}

.antonkfz-about-guarantee-icon .elementor-icon::after {
  content: '✓';
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #0a0e3f;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.antonkfz-about-guarantee .elementor-column:first-child .elementor-widget-heading,
.antonkfz-about-finance .elementor-widget-heading {
  margin-bottom: 16px;
}

.antonkfz-about-guarantee .elementor-column:first-child .elementor-widget-text-editor,
.antonkfz-about-finance .elementor-widget-text-editor {
  font-size: 17px;
  line-height: 1.65;
}

.antonkfz-about-guarantee .elementor-column:first-child .elementor-widget-text-editor p + p {
  margin-top: 16px;
}

.antonkfz-about-guarantee .elementor-column:last-child h3.elementor-heading-title {
  font-size: 26px;
  font-weight: 800;
}

.antonkfz-about-guarantee .elementor-column:last-child .elementor-widget-heading:nth-child(2),
.antonkfz-about-guarantee .elementor-column:last-child .elementor-widget-text-editor:nth-child(3) {
  grid-column: 2;
  margin-bottom: 0;
}

.antonkfz-about-guarantee .elementor-column:last-child h4.elementor-heading-title {
  font-size: 14px;
  font-weight: 600;
}

.antonkfz-about-guarantee .elementor-column:last-child .elementor-widget-heading:nth-child(4),
.antonkfz-about-guarantee .elementor-column:last-child .elementor-widget-text-editor:nth-child(5) {
  grid-column: 1 / -1;
}

.antonkfz-about-guarantee .elementor-column:last-child .elementor-widget-heading:nth-child(4) {
  margin: 22px 0 2px;
  padding-top: 20px;
  border-top: 1px solid #e3e5ec;
}

.antonkfz-about-finance {
  padding-top: 88px;
  padding-bottom: 88px;
}

.antonkfz-about-finance .elementor-column:last-child > .elementor-widget-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.antonkfz-about-closing {
  padding-top: 80px;
  padding-bottom: 80px;
  text-align: center;
}

.antonkfz-content-section.antonkfz-about-closing > .elementor-container {
  max-width: 820px !important;
}

.antonkfz-about-closing .elementor-widget-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 12px;
  row-gap: 20px;
}

.antonkfz-about-closing .elementor-widget-heading,
.antonkfz-about-closing .elementor-widget-text-editor {
  flex: 0 0 100%;
  max-width: 100%;
  margin-bottom: 0;
}

.antonkfz-about-closing h2.elementor-heading-title {
  color: #fff;
}

.antonkfz-about-closing .elementor-widget-text-editor {
  color: #e7e9f4;
  font-size: 17px;
}

.antonkfz-about-closing .elementor-widget-text-editor strong {
  color: #fff;
}

.antonkfz-about-closing .elementor-widget-text-editor p + p {
  margin-top: 16px;
}

.antonkfz-about-closing .elementor-widget-button {
  width: auto;
  margin: 4px 0 0;
}

.antonkfz-about-closing .antonkfz-about-outline .elementor-button {
  padding: 14px 26px;
  border: 2px solid #fff;
  background: transparent !important;
  color: #fff !important;
}

.antonkfz-about-closing .antonkfz-about-outline .elementor-button:hover,
.antonkfz-about-closing .antonkfz-about-outline .elementor-button:focus-visible {
  background: #fff !important;
  color: #000838 !important;
}

/* Kontakt: editable Elementor sections inspired by the supplied design. */
.antonkfz-content-section[class*="antonkfz-contact-"] > .elementor-container {
  max-width: 1240px;
}

.antonkfz-contact-hero {
  padding-top: 56px;
  padding-bottom: 64px;
  background: #0a0e3f;
}

.antonkfz-contact-hero h1.elementor-heading-title {
  color: #fff;
  font-size: 40px;
  font-weight: 800;
}

.antonkfz-contact-hero .elementor-widget-heading {
  margin-bottom: 12px;
}

.antonkfz-contact-hero .elementor-widget-text-editor {
  max-width: 580px;
  color: #c9cbe0;
  font-size: 17px;
  line-height: 1.6;
}

.antonkfz-contact-details {
  padding-top: 72px;
  padding-bottom: 88px;
}

.antonkfz-contact-details > .elementor-container {
  align-items: flex-start;
  gap: 48px;
}

.antonkfz-contact-details > .elementor-container > .elementor-column {
  box-sizing: border-box;
  min-width: 0;
}

.antonkfz-contact-details > .elementor-container > .elementor-column:first-child {
  flex: 0 1 40%;
}

.antonkfz-contact-details > .elementor-container > .elementor-column:last-child {
  flex: 1 1 55%;
  padding: 32px;
  border-radius: 10px;
  background: #f4f5f8;
}

.antonkfz-contact-info-row {
  padding: 8px 0;
  margin-bottom: 20px;
}

.antonkfz-contact-info-row > .elementor-container {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: nowrap;
}

.antonkfz-contact-info-row .elementor-column:first-child {
  flex: 0 0 48px !important;
  width: 48px !important;
}

.antonkfz-contact-info-row .elementor-column:last-child {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0;
}

.antonkfz-contact-info-row .elementor-column:first-child > .elementor-widget-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0a0e3f;
}

.antonkfz-contact-info-row .elementor-widget-icon {
  margin: 0;
  line-height: 1;
}

.antonkfz-contact-info-row .elementor-icon {
  color: #fff;
  font-size: 21px;
}

.antonkfz-contact-info-row .elementor-widget-heading {
  margin: 0 0 4px;
}

.antonkfz-contact-info-row h3.elementor-heading-title {
  color: #555a70;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.antonkfz-contact-info-row .elementor-widget-text-editor {
  margin: 0 0 4px;
  color: #12142b;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
}

.antonkfz-contact-phone .elementor-widget-text-editor,
.antonkfz-contact-phone .elementor-widget-text-editor a {
  color: #e2231a;
  font-size: 24px;
  font-weight: 800;
  text-decoration: none;
}

.antonkfz-contact-details > .elementor-container > .elementor-column:last-child .elementor-widget-heading {
  margin-bottom: 20px;
}

.antonkfz-contact-details h2.elementor-heading-title {
  font-size: 24px;
  font-weight: 800;
}

.antonkfz-contact-details .wpcf7-form .vehica-2-fields {
  display: flex;
  gap: 16px;
}

.antonkfz-contact-details .wpcf7-form .vehica-2-fields > div {
  flex: 1 1 0;
  min-width: 0;
  text-align: left;
}

.antonkfz-contact-details .wpcf7-form label {
  display: block;
  margin-bottom: 16px;
  color: #3d4158;
  font-size: 14px;
  font-weight: 700;
}

.antonkfz-contact-details .wpcf7-form :is(input:not([type="checkbox"]), select, textarea) {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid #cfd2dc;
  border-radius: 4px;
  background: #fff;
  color: #12142b;
  font: inherit;
}

.antonkfz-contact-details .wpcf7-form :is(input:not([type="checkbox"]), select) {
  min-height: 48px;
}

.antonkfz-contact-details .wpcf7-form textarea {
  height: 140px;
  min-height: 140px;
}

.antonkfz-contact-details .wpcf7-form .vehica-checkbox-policy {
  margin: 12px 0 20px;
  color: #464a60;
  font-size: 13px;
  line-height: 1.5;
}

.antonkfz-contact-details .wpcf7-form .wpcf7-submit {
  width: 100%;
  min-height: 52px;
  border-radius: 10px;
  background: #e2231a;
  color: #fff;
  font-weight: 700;
}

.antonkfz-content-section.antonkfz-contact-location {
  padding: 0;
  background: #fff;
}

.antonkfz-content-section.antonkfz-contact-location > .elementor-container {
  max-width: none !important;
}

.antonkfz-contact-location > .elementor-container > .elementor-column > .elementor-widget-wrap {
  padding: 0;
}

.antonkfz-contact-location .elementor-widget-google_maps,
.antonkfz-contact-location .elementor-widget-google_maps > .elementor-widget-container,
.antonkfz-contact-location .elementor-custom-embed {
  height: 100%;
}

.antonkfz-contact-location .elementor-widget-google_maps iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

@media (max-width: 767px) {
  body:is(.page-id-1535, .page-id-1525, .page-id-23712) .gtranslate_wrapper .gt_switcher_wrapper {
    position: fixed !important;
    top: auto !important;
    bottom: 12px !important;
    right: 12px !important;
    z-index: 100 !important;
    transform: scale(0.82);
    transform-origin: bottom right;
  }
}

@media (max-width: 767px) {
  .antonkfz-content-section,
  .antonkfz-content-hero {
    padding: 48px 20px;
  }

  .antonkfz-content-section .elementor-widget-text-editor {
    font-size: 1rem;
  }

  .antonkfz-about-hero {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .antonkfz-about-hero > .elementor-container,
  .antonkfz-about-guarantee > .elementor-container,
  .antonkfz-about-finance > .elementor-container,
  .antonkfz-about-values-grid > .elementor-container,
  .antonkfz-about-facts > .elementor-container {
    gap: 28px;
  }

  .antonkfz-about-hero > .elementor-container > .elementor-column,
  .antonkfz-about-guarantee .elementor-column,
  .antonkfz-about-finance .elementor-column,
  .antonkfz-about-values-grid .elementor-column,
  .antonkfz-about-facts .elementor-column {
    width: 100% !important;
    flex: none !important;
  }

  .antonkfz-about-hero h1.elementor-heading-title {
    font-size: 32px;
  }

  .antonkfz-about-hero-image img {
    height: 260px;
    object-position: center;
  }

  .antonkfz-about-facts {
    margin-top: 28px;
    padding: 0;
  }

  .antonkfz-about-facts > .elementor-container {
    gap: 18px;
  }

  .antonkfz-about-values-intro {
    padding-top: 56px;
    padding-bottom: 28px;
  }

  .antonkfz-about-values-grid {
    padding-top: 0;
    padding-bottom: 56px;
  }

  .antonkfz-about-guarantee,
  .antonkfz-about-finance,
  .antonkfz-about-closing {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .antonkfz-about-guarantee .elementor-column:last-child {
    padding: 28px;
  }

  .antonkfz-about-guarantee .elementor-column:last-child h3.elementor-heading-title {
    font-size: 22px;
  }

  .antonkfz-about-finance .elementor-column:last-child > .elementor-widget-wrap {
    justify-content: flex-start;
  }

  .antonkfz-contact-hero {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .antonkfz-contact-hero h1.elementor-heading-title {
    font-size: 32px;
  }

  .antonkfz-contact-details {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .antonkfz-contact-details > .elementor-container {
    gap: 40px;
  }

  .antonkfz-contact-details > .elementor-container > .elementor-column {
    flex: none !important;
    width: 100% !important;
  }

  .antonkfz-contact-details > .elementor-container > .elementor-column:last-child {
    padding: 24px;
  }

  .antonkfz-contact-details .wpcf7-form .vehica-2-fields {
    display: block;
  }

  .antonkfz-contact-location .elementor-widget-google_maps iframe {
    min-height: 320px;
  }
}

@media (max-width: 359px) {
  .antonkfz-about-hero h1.elementor-heading-title {
    font-size: 28px;
  }

  .antonkfz-contact-phone .elementor-widget-text-editor,
  .antonkfz-contact-phone .elementor-widget-text-editor a {
    font-size: 20px;
    white-space: nowrap;
  }
}

/* Legal pages (Impressum, Datenschutz): Kontakt hero, then short text blocks. */
.antonkfz-legal-hero {
  padding-top: 56px;
  padding-bottom: 64px;
  background: #0a0e3f;
}

.antonkfz-legal-hero h1.elementor-heading-title {
  color: #fff;
  font-size: 40px;
  font-weight: 800;
}

.antonkfz-legal-hero .elementor-widget-heading {
  margin-bottom: 12px;
}

.antonkfz-legal-hero .elementor-widget-text-editor {
  color: #c9cbe0;
  font-size: 17px;
}

.antonkfz-legal-body {
  padding-top: 64px;
  padding-bottom: 88px;
}

.antonkfz-legal-body h2.elementor-heading-title {
  font-size: 22px;
  font-weight: 700;
}

.antonkfz-legal-body .elementor-widget-heading {
  margin-bottom: 8px;
}

.antonkfz-legal-body .elementor-widget-text-editor {
  margin-bottom: 36px;
  font-size: 17px;
  line-height: 1.6;
}

.antonkfz-legal-body .elementor-widget-text-editor p:not(:last-child) {
  margin-bottom: 1em;
}

.antonkfz-legal-body .elementor-widget-text-editor:last-child {
  margin-bottom: 0;
}

/* Open data the owner still has to supply; easy to spot until build.mjs is filled in. */
.antonkfz-legal-todo {
  padding: 0 4px;
  background: #fff3b0;
  color: #5c4a00;
}

@media (max-width: 767px) {
  .antonkfz-legal-hero {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .antonkfz-legal-hero h1.elementor-heading-title {
    font-size: 32px;
  }

  .antonkfz-legal-body {
    padding-top: 48px;
    padding-bottom: 64px;
  }
}

.antonkfz-legal-body .elementor-widget-text-editor ul {
  margin: 0 0 1em;
  padding-left: 1.25em;
}
