/*
Theme Name: AutoAlex
Theme URI: https://autoalex.de
Author: AutoAlex
Description: AutoAlex Theme
Version: 6.2.1
Text Domain: autoalex
*/

/* Click-Fix: alle Buttons/Kacheln/Links zuverlässig anklickbar machen */
a[href], button[type="submit"], button#aa-scrolltop, .aa-clickable {
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative;
  z-index: 40;
}

/* rein dekorative Hintergrundebenen dürfen keine Klicks blockieren */
.absolute.inset-0.z-0,
.aa-hero-carousel,
.aa-hero-carousel img,
.aa-bg-overlay,
section > .absolute.inset-0,
section .absolute.inset-0.bg-\[\#0d0d0d\]\/70,
section .absolute.inset-0.bg-gradient-to-r {
  pointer-events: none !important;
}

/* Icons im Link sollen den Link nicht blockieren */
a[href] svg,
button svg {
  pointer-events: none !important;
}

/* Formular-Buttons nie visuell blockieren, solange sie nicht wirklich disabled sind */
button[type="submit"]:not(:disabled) {
  cursor: pointer !important;
  opacity: 1 !important;
}


/* V4: Ankaufbereich – linke/rechte Spalte sauber oben und unten bündig, linke Abstände kompakter */
@media (min-width:1024px){
  #ankauf .aa-ankauf-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    align-items:stretch!important;
  }
  #ankauf .aa-ankauf-left,
  #ankauf .aa-ankauf-form-col{
    min-height:100%!important;
    height:100%!important;
    display:flex!important;
    flex-direction:column!important;
  }
  #ankauf .aa-ankauf-left{
    justify-content:space-between!important;
  }
  #ankauf .aa-ankauf-left-top h3{
    margin-bottom:.55rem!important;
  }
  #ankauf .aa-ankauf-left-top h2{
    margin-bottom:1.25rem!important;
    line-height:1.05!important;
  }
  #ankauf .aa-ankauf-left-top p{
    margin-bottom:.95rem!important;
    line-height:1.52!important;
  }
  #ankauf .aa-ankauf-left-top p + p{
    margin-bottom:1.45rem!important;
  }
  #ankauf .aa-ankauf-left-top ul{
    margin-bottom:1.25rem!important;
  }
  #ankauf .aa-ankauf-left-top ul li{
    margin-top:0!important;
  }
  #ankauf .aa-ankauf-left-top ul li + li{
    margin-top:.55rem!important;
  }
  #ankauf .aa-ankauf-steps{
    flex:0 0 auto!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    gap:1rem!important;
    margin-top:1rem!important;
  }
  #ankauf .aa-step-box{
    flex:0 0 auto!important;
    padding:1.2rem!important;
    min-height:0!important;
    display:block!important;
  }
  #ankauf .aa-step-box + .aa-step-box{
    margin-top:0!important;
  }
  #ankauf .aa-step-box .mb-3{
    margin-bottom:.55rem!important;
  }
  #ankauf .aa-step-box p{
    line-height:1.42!important;
  }
}

/* Elementor Alt-Header/Footer aus vorheriger Website in diesem Theme ausblenden */
.elementor-location-header,
.elementor-location-footer,
.elementor-template-full-width .elementor-location-header,
.elementor-template-full-width .elementor-location-footer {
  display: none !important;
}

/* Kontaktüberschrift wie die großen Sektionsüberschriften */
#aa-kontakt-title {
  color: #3D3D3D !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* E-Mail-Obfuskation mit SVG-@ */
.aa-email-link { display:inline-flex; align-items:center; }
.aa-email-parts { display:inline-flex; align-items:center; white-space:nowrap; }
.aa-at-badge {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:1.45em;
  height:1.45em;
  min-width:1.45em;
  margin:0 .08em;
  vertical-align:middle;
  border-radius:9999px;
  background-color:#B01E28 !important;
  background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><circle cx='16' cy='16' r='16' fill='%23B01E28'/><path d='M20.25 10.25v6.1c0 1.6.75 2.3 1.85 1.35 1.25-1.08 1.55-4.2.25-6.45-1.35-2.35-3.85-3.75-6.75-3.75-4.85 0-8.35 3.65-8.35 8.45 0 5.05 3.75 8.55 8.9 8.55 2.05 0 3.95-.55 5.45-1.55' fill='none' stroke='%23fff' stroke-width='2.15' stroke-linecap='round' stroke-linejoin='round'/><path d='M20.1 12.45c-.95-1.05-2.15-1.6-3.6-1.6-2.9 0-5.1 2.2-5.1 5.15s2.05 5.15 4.9 5.15c1.65 0 3.05-.7 3.9-1.9' fill='none' stroke='%23fff' stroke-width='2.15' stroke-linecap='round' stroke-linejoin='round'/></svg>") !important;
  background-repeat:no-repeat !important;
  background-position:center !important;
  background-size:100% 100% !important;
  color:transparent !important;
  border:0 !important;
}

/* Anti-Spam Honeypot */
.aa-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important;}

/* Honeypot final fix: never display the anti-spam field */
.aa-honeypot,.aa-honeypot *{display:none!important;visibility:hidden!important;position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;max-width:1px!important;max-height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important;}

/* V14: Ankaufformular kompakter + Upload-Feld, Spalten weiterhin bündig */
#ankauf .aa-ankauf-form{
  display:flex !important;
  flex-direction:column !important;
  gap:.85rem !important;
}
#ankauf .aa-ankauf-form.space-y-5 > * + *{
  margin-top:0 !important;
}
#ankauf .aa-ankauf-form .grid{
  gap:.85rem !important;
}
#ankauf .aa-ankauf-form input,
#ankauf .aa-ankauf-form select,
#ankauf .aa-ankauf-form textarea{
  min-height:2.85rem !important;
}
#ankauf .aa-ankauf-form textarea{
  min-height:5.1rem !important;
}
#ankauf .aa-upload-field{
  margin-top:0 !important;
}
#ankauf .aa-upload-field input[type="file"]{
  min-height:auto !important;
  padding-top:.65rem !important;
  padding-bottom:.65rem !important;
}
#ankauf .aa-upload-field input[type="file"]::file-selector-button{
  border:0;
  background:#B01E28;
  color:#fff;
  font-weight:700;
  padding:.45rem .8rem;
  margin-right:.85rem;
  cursor:pointer;
}
@media (min-width:1024px){
  #ankauf .aa-ankauf-left-top p{
    margin-bottom:.72rem!important;
    line-height:1.46!important;
  }
  #ankauf .aa-ankauf-left-top p + p{
    margin-bottom:1rem!important;
  }
  #ankauf .aa-ankauf-left-top ul{
    margin-bottom:.75rem!important;
  }
  #ankauf .aa-ankauf-left-top ul li + li{
    margin-top:.42rem!important;
  }
  #ankauf .aa-ankauf-steps{
    flex:1 1 auto!important;
    justify-content:flex-end!important;
    gap:.75rem!important;
    margin-top:.75rem!important;
  }
  #ankauf .aa-step-box{
    padding:1rem!important;
  }
  #ankauf .aa-step-box p{
    line-height:1.35!important;
  }
}


/* V15 kompakter für bündige Spalten */
#ankauf .aa-ankauf-form{gap:.55rem!important;}
#ankauf .aa-ankauf-form .grid{gap:.55rem!important;}
#ankauf .aa-ankauf-form input,
#ankauf .aa-ankauf-form select{
 min-height:2.55rem!important;
 padding-top:.45rem!important;
 padding-bottom:.45rem!important;
}
#ankauf .aa-ankauf-form textarea{
 min-height:4.2rem!important;
}
#ankauf .aa-upload-field{margin:.1rem 0 .2rem!important;}
#ankauf .aa-upload-field label{margin-bottom:.2rem!important;display:block;}
#ankauf .aa-upload-field small{display:block;margin-top:.15rem!important;}
@media(min-width:1024px){
 #ankauf .aa-ankauf-left{justify-content:space-between!important;}
 #ankauf .aa-ankauf-steps{gap:.55rem!important;}
 #ankauf .aa-step-box{padding:.9rem!important;}
}

/* V16: Ankaufbereich – Loch links entfernen, Spalten oben/unten bündig */
@media (min-width:1024px){
  #ankauf .aa-ankauf-grid{
    align-items:stretch!important;
  }
  #ankauf .aa-ankauf-left,
  #ankauf .aa-ankauf-form-col{
    height:100%!important;
    min-height:100%!important;
  }
  #ankauf .aa-ankauf-left{
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
  }
  #ankauf .aa-ankauf-left-top h2{
    margin-bottom:1rem!important;
  }
  #ankauf .aa-ankauf-left-top p{
    margin-bottom:.62rem!important;
    line-height:1.4!important;
  }
  #ankauf .aa-ankauf-left-top p + p{
    margin-bottom:.82rem!important;
  }
  #ankauf .aa-ankauf-left-top ul{
    margin-bottom:0!important;
  }
  #ankauf .aa-ankauf-left-top ul li + li{
    margin-top:.33rem!important;
  }
  #ankauf .aa-ankauf-steps{
    margin-top:1.35rem!important;
    flex:1 1 auto!important;
    display:grid!important;
    grid-template-rows:repeat(3, minmax(0, 1fr))!important;
    gap:.75rem!important;
  }
  #ankauf .aa-step-box{
    height:100%!important;
    padding:1.05rem 1.15rem!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
  }
  #ankauf .aa-step-box .mb-3{
    margin-bottom:.45rem!important;
  }
  #ankauf .aa-step-box p{
    line-height:1.32!important;
  }

  #ankauf .aa-ankauf-form{
    gap:.42rem!important;
  }
  #ankauf .aa-ankauf-form .grid{
    gap:.42rem!important;
  }
  #ankauf .aa-ankauf-form input,
  #ankauf .aa-ankauf-form select{
    min-height:2.32rem!important;
    padding-top:.35rem!important;
    padding-bottom:.35rem!important;
  }
  #ankauf .aa-ankauf-form textarea{
    min-height:3.7rem!important;
    padding-top:.45rem!important;
    padding-bottom:.45rem!important;
  }
  #ankauf .aa-ankauf-form p.text-gray-300{
    margin-bottom:.25rem!important;
  }
  #ankauf .aa-upload-field{
    margin:.05rem 0 .05rem!important;
  }
  #ankauf .aa-upload-field label{
    margin-bottom:.16rem!important;
  }
  #ankauf .aa-upload-field input[type="file"]{
    min-height:2.1rem!important;
    padding-top:.28rem!important;
    padding-bottom:.28rem!important;
  }
  #ankauf .aa-upload-field p{
    margin-top:.08rem!important;
    line-height:1.15!important;
  }
  #ankauf .aa-ankauf-form button[type="submit"]{
    padding-top:.75rem!important;
    padding-bottom:.75rem!important;
  }
}

/* V17 FINAL: Ankaufbereich wirklich kompakt – Loch links entfernen */
@media (min-width:1024px){
  #ankauf .aa-ankauf-grid{
    align-items:flex-start!important;
    gap:3.5rem!important;
  }
  #ankauf .aa-ankauf-left,
  #ankauf .aa-ankauf-form-col{
    height:auto!important;
    min-height:0!important;
  }
  #ankauf .aa-ankauf-left{
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
  }
  #ankauf .aa-ankauf-left-top h3{margin-bottom:.35rem!important;}
  #ankauf .aa-ankauf-left-top h2{margin-bottom:.75rem!important;line-height:1!important;}
  #ankauf .aa-ankauf-left-top p{margin-bottom:.45rem!important;line-height:1.35!important;}
  #ankauf .aa-ankauf-left-top p + p{margin-bottom:.65rem!important;}
  #ankauf .aa-ankauf-left-top ul{margin-bottom:0!important;}
  #ankauf .aa-ankauf-left-top ul li + li{margin-top:.22rem!important;}
  #ankauf .aa-ankauf-steps{
    margin-top:1.15rem!important;
    display:flex!important;
    flex-direction:column!important;
    gap:.65rem!important;
    flex:0 0 auto!important;
  }
  #ankauf .aa-step-box{
    height:auto!important;
    min-height:6.35rem!important;
    padding:.9rem 1.05rem!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
  }
  #ankauf .aa-step-box .mb-3{margin-bottom:.35rem!important;}
  #ankauf .aa-step-box p{line-height:1.26!important;}

  #ankauf .aa-ankauf-form-col h3{margin-bottom:.65rem!important;}
  #ankauf .aa-ankauf-form{
    gap:.34rem!important;
  }
  #ankauf .aa-ankauf-form.space-y-5 > * + *{margin-top:0!important;}
  #ankauf .aa-ankauf-form .grid{
    gap:.34rem!important;
  }
  #ankauf .aa-ankauf-form input,
  #ankauf .aa-ankauf-form select{
    min-height:2.05rem!important;
    height:2.05rem!important;
    padding:.22rem .68rem!important;
    font-size:.82rem!important;
    line-height:1.1!important;
  }
  #ankauf .aa-ankauf-form textarea{
    min-height:3rem!important;
    height:3rem!important;
    padding:.38rem .68rem!important;
    font-size:.82rem!important;
    line-height:1.2!important;
  }
  #ankauf .aa-ankauf-form p.text-gray-300{
    margin:.05rem 0 .12rem!important;
    font-size:.82rem!important;
    line-height:1.1!important;
  }
  #ankauf .aa-ankauf-form label span,
  #ankauf .aa-ankauf-form label{
    font-size:.82rem!important;
    line-height:1.1!important;
  }
  #ankauf .aa-ankauf-form input[type="checkbox"]{
    width:.82rem!important;
    height:.82rem!important;
    min-height:0!important;
  }
  #ankauf .aa-upload-field{
    margin:.05rem 0!important;
  }
  #ankauf .aa-upload-field label{
    margin-bottom:.12rem!important;
    font-size:.82rem!important;
  }
  #ankauf .aa-upload-field input[type="file"]{
    min-height:1.9rem!important;
    height:1.9rem!important;
    padding:.18rem .55rem!important;
    font-size:.78rem!important;
  }
  #ankauf .aa-upload-field input[type="file"]::file-selector-button{
    padding:.22rem .55rem!important;
    margin-right:.45rem!important;
    font-size:.78rem!important;
  }
  #ankauf .aa-upload-field p{
    margin-top:.03rem!important;
    font-size:.72rem!important;
    line-height:1!important;
  }
  #ankauf .aa-ankauf-form button[type="submit"]{
    height:2.6rem!important;
    min-height:2.6rem!important;
    padding:.45rem 1rem!important;
  }
}

/* V19: Ankaufbereich nach Referenz-Screenshot – große Überschrift, größere Liste, kompakteres Formular */
@media (min-width:1024px){
  #ankauf .aa-ankauf-grid{
    align-items:start!important;
    gap:4.25rem!important;
  }
  #ankauf .aa-ankauf-left,
  #ankauf .aa-ankauf-form-col{
    height:auto!important;
    min-height:0!important;
  }

  /* Rechte Überschrift exakt wie linke Sektionsheadline */
  #ankauf .aa-ankauf-form-title,
  #ankauf .aa-ankauf-form-col > h3{
    font-size:2.25rem!important;
    line-height:1!important;
    margin-bottom:1.15rem!important;
    letter-spacing:0!important;
  }

  /* Linke Textspalte kompakt, aber Vorteilsliste sichtbar größer */
  #ankauf .aa-ankauf-left-top h3{
    margin-bottom:.45rem!important;
  }
  #ankauf .aa-ankauf-left-top h2{
    font-size:2.25rem!important;
    line-height:1!important;
    margin-bottom:1.05rem!important;
  }
  #ankauf .aa-ankauf-left-top p{
    font-size:1rem!important;
    line-height:1.42!important;
    margin-bottom:.75rem!important;
  }
  #ankauf .aa-ankauf-left-top p + p{
    margin-bottom:1.2rem!important;
  }
  #ankauf .aa-ankauf-benefits,
  #ankauf .aa-ankauf-left-top ul{
    margin-bottom:0!important;
  }
  #ankauf .aa-ankauf-benefits li,
  #ankauf .aa-ankauf-left-top ul li{
    gap:.85rem!important;
  }
  #ankauf .aa-ankauf-benefits li + li,
  #ankauf .aa-ankauf-left-top ul li + li{
    margin-top:.7rem!important;
  }
  #ankauf .aa-benefit-text,
  #ankauf .aa-ankauf-left-top ul li span{
    font-size:1.12rem!important;
    line-height:1.2!important;
  }
  #ankauf .aa-ankauf-left-top ul svg{
    width:1.35rem!important;
    height:1.35rem!important;
  }

  /* Schrittboxen nach oben holen und gleichmäßig kompakt halten */
  #ankauf .aa-ankauf-steps{
    margin-top:2.1rem!important;
    gap:.85rem!important;
    display:flex!important;
    flex-direction:column!important;
  }
  #ankauf .aa-step-box{
    min-height:5.45rem!important;
    padding:1rem 1.15rem!important;
    justify-content:center!important;
  }
  #ankauf .aa-step-box .mb-3{
    margin-bottom:.35rem!important;
  }
  #ankauf .aa-step-box h4{
    font-size:1rem!important;
    line-height:1.15!important;
  }
  #ankauf .aa-step-box p{
    font-size:.9rem!important;
    line-height:1.25!important;
  }

  /* Formular wirklich enger setzen */
  #ankauf .aa-ankauf-form{
    gap:.42rem!important;
  }
  #ankauf .aa-ankauf-form.space-y-5 > * + *{
    margin-top:0!important;
  }
  #ankauf .aa-ankauf-form .grid{
    gap:.42rem!important;
  }
  #ankauf .aa-ankauf-form input,
  #ankauf .aa-ankauf-form select{
    height:2.35rem!important;
    min-height:2.35rem!important;
    padding:.3rem .72rem!important;
    font-size:.86rem!important;
    line-height:1.1!important;
  }
  #ankauf .aa-ankauf-form textarea{
    height:3.85rem!important;
    min-height:3.85rem!important;
    padding:.45rem .72rem!important;
    font-size:.86rem!important;
    line-height:1.15!important;
  }
  #ankauf .aa-ankauf-form p.text-gray-300{
    margin:.04rem 0 .14rem!important;
    font-size:.86rem!important;
    line-height:1.05!important;
  }
  #ankauf .aa-ankauf-form label,
  #ankauf .aa-ankauf-form label span{
    font-size:.86rem!important;
    line-height:1.05!important;
  }
  #ankauf .aa-ankauf-form input[type="checkbox"]{
    width:.85rem!important;
    height:.85rem!important;
    min-height:0!important;
  }
  #ankauf .aa-upload-field{
    margin:.05rem 0!important;
  }
  #ankauf .aa-upload-field label{
    margin-bottom:.15rem!important;
  }
  #ankauf .aa-upload-field input[type="file"]{
    height:2rem!important;
    min-height:2rem!important;
    padding:.22rem .6rem!important;
    font-size:.8rem!important;
  }
  #ankauf .aa-upload-field input[type="file"]::file-selector-button{
    padding:.25rem .62rem!important;
    margin-right:.5rem!important;
    font-size:.8rem!important;
  }
  #ankauf .aa-upload-field p{
    margin-top:.05rem!important;
    font-size:.75rem!important;
    line-height:1!important;
  }
  #ankauf .aa-ankauf-form button[type="submit"]{
    height:2.9rem!important;
    min-height:2.9rem!important;
    padding:.55rem 1rem!important;
  }
}

/* V20: Formular-Abstände um ca. 50% reduziert */

@media (min-width:1024px){
  #ankauf .aa-ankauf-form-title,
  #ankauf .aa-ankauf-form-col>h3{font-size:2.6rem!important;line-height:1!important;margin-bottom:.65rem!important;}
  #ankauf .aa-ankauf-left-top h2{font-size:2.6rem!important;line-height:1!important;margin-bottom:.75rem!important;}
  #ankauf .aa-ankauf-benefits li + li{margin-top:.58rem!important;}
  #ankauf .aa-benefit-text{font-size:1.18rem!important;line-height:1.18!important;}
  #ankauf .aa-ankauf-form{display:flex!important;flex-direction:column!important;gap:.275rem!important;margin:0!important;}
  #ankauf .aa-ankauf-form > *{margin-top:0!important;margin-bottom:0!important;}
  #ankauf .aa-ankauf-form .grid{gap:.275rem .56rem!important;margin:0!important;}
  #ankauf .aa-ankauf-form input:not([type="checkbox"]):not([type="file"]),
  #ankauf .aa-ankauf-form select{height:2.05rem!important;min-height:2.05rem!important;padding:.2rem .58rem!important;font-size:.84rem!important;line-height:1.05!important;}
  #ankauf .aa-ankauf-form textarea{height:3.05rem!important;min-height:3.05rem!important;padding:.28rem .58rem!important;font-size:.84rem!important;line-height:1.12!important;}
  #ankauf .aa-ankauf-form p.text-gray-300{margin:.02rem 0 .05rem!important;font-size:.82rem!important;line-height:1!important;}
  #ankauf .aa-ankauf-form label,#ankauf .aa-ankauf-form label span{font-size:.82rem!important;line-height:1!important;}
  #ankauf .aa-ankauf-form input[type="checkbox"]{width:.78rem!important;height:.78rem!important;min-height:0!important;margin:0!important;}
  #ankauf .aa-upload-field{margin:.04rem 0 .02rem!important;}
  #ankauf .aa-upload-field label{margin-bottom:.08rem!important;font-size:.82rem!important;}
  #ankauf .aa-upload-field input[type="file"]{height:1.75rem!important;min-height:1.75rem!important;padding:.1rem .5rem!important;font-size:.76rem!important;}
  #ankauf .aa-upload-field input[type="file"]::file-selector-button{padding:.16rem .45rem!important;margin-right:.35rem!important;font-size:.76rem!important;}
  #ankauf .aa-upload-field p{margin-top:.02rem!important;font-size:.7rem!important;line-height:1!important;}
  #ankauf .aa-ankauf-form button[type="submit"]{height:2.55rem!important;min-height:2.55rem!important;padding:.35rem 1rem!important;margin-top:.25rem!important;}
  #ankauf .aa-ankauf-steps{margin-top:2rem!important;gap:.72rem!important;}
  #ankauf .aa-step-box{min-height:5.35rem!important;padding:.95rem 1.05rem!important;}
}


/* V21: Ankaufformular optisch ausgewogen – Abstände wieder vergrößert und Spalten bündig */
@media (min-width:1024px){
  #ankauf .aa-ankauf-grid{
    align-items:start!important;
    gap:4rem!important;
  }
  #ankauf .aa-ankauf-form-title,
  #ankauf .aa-ankauf-form-col>h3{
    font-size:2.6rem!important;
    line-height:1!important;
    margin-bottom:1rem!important;
  }
  #ankauf .aa-ankauf-left-top h2{
    font-size:2.6rem!important;
    line-height:1!important;
  }
  #ankauf .aa-ankauf-benefits li + li{
    margin-top:.72rem!important;
  }
  #ankauf .aa-benefit-text{
    font-size:1.18rem!important;
    line-height:1.22!important;
  }

  /* Rechte Spalte: nicht quetschen, sondern passend zur linken Spalte aufbauen */
  #ankauf .aa-ankauf-form{
    display:flex!important;
    flex-direction:column!important;
    gap:.72rem!important;
    margin:0!important;
  }
  #ankauf .aa-ankauf-form > *{
    margin-top:0!important;
    margin-bottom:0!important;
  }
  #ankauf .aa-ankauf-form .grid{
    gap:.72rem .75rem!important;
    margin:0!important;
  }
  #ankauf .aa-ankauf-form input:not([type="checkbox"]):not([type="file"]),
  #ankauf .aa-ankauf-form select{
    height:2.55rem!important;
    min-height:2.55rem!important;
    padding:.42rem .75rem!important;
    font-size:.9rem!important;
    line-height:1.15!important;
  }
  #ankauf .aa-ankauf-form textarea{
    height:4.35rem!important;
    min-height:4.35rem!important;
    padding:.55rem .75rem!important;
    font-size:.9rem!important;
    line-height:1.2!important;
  }
  #ankauf .aa-ankauf-form p.text-gray-300{
    margin:.08rem 0 .12rem!important;
    font-size:.9rem!important;
    line-height:1.1!important;
  }
  #ankauf .aa-ankauf-form label,
  #ankauf .aa-ankauf-form label span{
    font-size:.9rem!important;
    line-height:1.15!important;
  }
  #ankauf .aa-ankauf-form input[type="checkbox"]{
    width:.9rem!important;
    height:.9rem!important;
    min-height:0!important;
    margin:0!important;
  }
  #ankauf .aa-upload-field{
    margin:.08rem 0!important;
  }
  #ankauf .aa-upload-field label{
    margin-bottom:.18rem!important;
    font-size:.9rem!important;
  }
  #ankauf .aa-upload-field input[type="file"]{
    height:2.15rem!important;
    min-height:2.15rem!important;
    padding:.25rem .6rem!important;
    font-size:.82rem!important;
  }
  #ankauf .aa-upload-field input[type="file"]::file-selector-button{
    padding:.25rem .62rem!important;
    margin-right:.5rem!important;
    font-size:.82rem!important;
  }
  #ankauf .aa-upload-field p{
    margin-top:.08rem!important;
    font-size:.78rem!important;
    line-height:1.1!important;
  }
  #ankauf .aa-ankauf-form button[type="submit"]{
    height:3.1rem!important;
    min-height:3.1rem!important;
    padding:.65rem 1rem!important;
    margin-top:.05rem!important;
  }

  /* Linke Spalte bleibt wie in der gewünschten Referenz */
  #ankauf .aa-ankauf-steps{
    margin-top:2.1rem!important;
    gap:.85rem!important;
  }
  #ankauf .aa-step-box{
    min-height:5.45rem!important;
    padding:1rem 1.15rem!important;
  }
}


/* V23: Benefit-Liste im Ankauf auf Fließtextgröße setzen */
#ankauf .aa-ankauf-benefits .aa-benefit-text,
#ankauf .aa-ankauf-benefits .aa-benefit-text span{
  font-size:1rem!important;
  line-height:1.5!important;
}
@media (min-width:1024px){
  #ankauf .aa-ankauf-benefits .aa-benefit-text,
  #ankauf .aa-ankauf-benefits .aa-benefit-text span{
    font-size:1rem!important;
    line-height:1.5!important;
  }
}


/* V24: Formularfelder-Abstände +35% gegenüber der engen Version */
@media (min-width:1024px){
  #ankauf .aa-ankauf-form{
    gap:.45rem!important;
  }
  #ankauf .aa-ankauf-form .grid{
    gap:.45rem .62rem!important;
  }
  #ankauf .aa-ankauf-form > *{
    margin-top:0!important;
    margin-bottom:0!important;
  }
  #ankauf .aa-upload-field{
    margin:.08rem 0!important;
  }
  #ankauf .aa-upload-field label{
    margin-bottom:.16rem!important;
  }
  #ankauf .aa-upload-field p{
    margin-top:.08rem!important;
  }
}

/* V25 FINAL: Ankaufsformular exakt auf linke Spalte strecken */
@media (min-width:1024px){
  #ankauf .aa-ankauf-grid{align-items:stretch!important;}
  #ankauf .aa-ankauf-left,#ankauf .aa-ankauf-form-col{height:100%!important;}
  #ankauf .aa-ankauf-left{display:flex!important;flex-direction:column!important;justify-content:space-between!important;}
  #ankauf .aa-ankauf-form-col{display:flex!important;flex-direction:column!important;}
  #ankauf .aa-ankauf-form{flex:1 1 auto!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;gap:0!important;margin:0!important;}
  #ankauf .aa-ankauf-form>*{margin-top:0!important;margin-bottom:0!important;}
  #ankauf .aa-ankauf-form-title,#ankauf .aa-ankauf-form-col>h3{font-size:2.03rem!important;line-height:1!important;margin:0 0 1.05rem!important;}
  #ankauf .aa-ankauf-left-top h2{font-size:2.03rem!important;line-height:1!important;}
  #ankauf .aa-ankauf-form .grid{gap:.6rem .75rem!important;margin:0!important;}
  #ankauf .aa-ankauf-form input:not([type="checkbox"]):not([type="file"]),#ankauf .aa-ankauf-form select{height:2.55rem!important;min-height:2.55rem!important;padding:.42rem .75rem!important;font-size:.9rem!important;line-height:1.15!important;}
  #ankauf .aa-ankauf-form textarea{height:4.4rem!important;min-height:4.4rem!important;padding:.55rem .75rem!important;font-size:.9rem!important;line-height:1.2!important;}
  #ankauf .aa-ankauf-form p.text-gray-300{margin:.18rem 0 .28rem!important;font-size:.9rem!important;line-height:1.1!important;}
  #ankauf .aa-ankauf-form label,#ankauf .aa-ankauf-form label span{font-size:.9rem!important;line-height:1.15!important;}
  #ankauf .aa-upload-field{margin:0!important;}
  #ankauf .aa-upload-field label{margin-bottom:.25rem!important;font-size:.9rem!important;}
  #ankauf .aa-upload-field input[type="file"]{height:2.15rem!important;min-height:2.15rem!important;padding:.25rem .6rem!important;font-size:.82rem!important;}
  #ankauf .aa-upload-field p{margin-top:.18rem!important;font-size:.78rem!important;line-height:1.1!important;}
  #ankauf .aa-ankauf-form button[type="submit"]{height:3.2rem!important;min-height:3.2rem!important;padding:.65rem 1rem!important;margin:0!important;}
}


/* V30: Ankauf-Überschriften 30% kleiner */
#ankauf .aa-ankauf-left-top h2,
#ankauf .aa-ankauf-form-title,
#ankauf .aa-ankauf-form-col > h3{
  font-size:1.3125rem!important;
  line-height:1.05!important;
}
@media (min-width:768px){
  #ankauf .aa-ankauf-left-top h2,
  #ankauf .aa-ankauf-form-title,
  #ankauf .aa-ankauf-form-col > h3{
    font-size:1.575rem!important;
  }
}
@media (min-width:1024px){
  #ankauf .aa-ankauf-left-top h2,
  #ankauf .aa-ankauf-form-title,
  #ankauf .aa-ankauf-form-col > h3{
    font-size:2.03rem!important;
  }
}

/* V31: Mobile-Optimierung Ankaufformular – nicht mehr zweispaltig/gestaucht */
@media (max-width: 767px){
  #ankauf{
    overflow-x:hidden!important;
  }
  #ankauf .aa-ankauf-form-col{
    width:100%!important;
    max-width:100%!important;
  }
  #ankauf .aa-ankauf-form{
    width:100%!important;
    max-width:100%!important;
    display:flex!important;
    flex-direction:column!important;
    gap:.85rem!important;
  }
  #ankauf .aa-ankauf-form .grid,
  #ankauf .aa-ankauf-form .grid.grid-cols-2,
  #ankauf .aa-ankauf-form .grid.grid-cols-3,
  #ankauf .aa-ankauf-form .grid.grid-cols-1{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:.85rem!important;
    width:100%!important;
  }
  #ankauf .aa-ankauf-form input:not([type="checkbox"]):not([type="file"]),
  #ankauf .aa-ankauf-form select,
  #ankauf .aa-ankauf-form textarea{
    width:100%!important;
    height:auto!important;
    min-height:3.25rem!important;
    padding:.85rem 1rem!important;
    font-size:1rem!important;
    line-height:1.25!important;
    box-sizing:border-box!important;
  }
  #ankauf .aa-ankauf-form textarea{
    min-height:7rem!important;
  }
  #ankauf .aa-ankauf-form p.text-gray-300{
    margin:.2rem 0 .35rem!important;
    font-size:1rem!important;
    line-height:1.25!important;
  }
  #ankauf .aa-ankauf-form label,
  #ankauf .aa-ankauf-form label span{
    font-size:1rem!important;
    line-height:1.25!important;
  }
  #ankauf .aa-ankauf-form input[type="checkbox"]{
    width:1.2rem!important;
    height:1.2rem!important;
    min-height:0!important;
    flex:0 0 auto!important;
  }
  #ankauf .aa-upload-field{
    margin:.15rem 0!important;
    width:100%!important;
  }
  #ankauf .aa-upload-field label{
    font-size:1rem!important;
    margin-bottom:.45rem!important;
  }
  #ankauf .aa-upload-field input[type="file"]{
    width:100%!important;
    height:auto!important;
    min-height:3.25rem!important;
    padding:.55rem .75rem!important;
    font-size:1rem!important;
    box-sizing:border-box!important;
  }
  #ankauf .aa-upload-field input[type="file"]::file-selector-button{
    padding:.45rem .75rem!important;
    margin-right:.6rem!important;
    font-size:.95rem!important;
  }
  #ankauf .aa-upload-field p{
    margin-top:.35rem!important;
    font-size:.9rem!important;
    line-height:1.25!important;
  }
  #ankauf .aa-ankauf-form button[type="submit"]{
    width:100%!important;
    height:auto!important;
    min-height:3.6rem!important;
    padding:1rem!important;
    font-size:1rem!important;
    line-height:1.2!important;
  }
  #ankauf .aa-ankauf-form-title,
  #ankauf .aa-ankauf-form-col > h3{
    font-size:2rem!important;
    line-height:1.05!important;
    margin-bottom:1.3rem!important;
  }
}

/* V32: Mobile & Tablet – Abstand zwischen Formularfeldern = ca. 1/5 der Feldhöhe */
@media (max-width: 1023px){
  #ankauf .aa-ankauf-form{
    gap:.65rem!important;
  }
  #ankauf .aa-ankauf-form .grid,
  #ankauf .aa-ankauf-form .grid.grid-cols-2,
  #ankauf .aa-ankauf-form .grid.grid-cols-3,
  #ankauf .aa-ankauf-form .grid.grid-cols-1{
    gap:.65rem!important;
  }
  #ankauf .aa-ankauf-form input:not([type="checkbox"]):not([type="file"]),
  #ankauf .aa-ankauf-form select,
  #ankauf .aa-upload-field input[type="file"]{
    min-height:3.25rem!important;
  }
  #ankauf .aa-ankauf-form textarea{
    min-height:7rem!important;
  }
  #ankauf .aa-upload-field{
    margin:.65rem 0!important;
  }
  #ankauf .aa-ankauf-form button[type="submit"]{
    margin-top:.65rem!important;
  }
}

/* V33: Mobile & Tablet – echte sichtbare Abstände im Ankaufformular
   Abstand = ca. 1/5 der weißen Feldhöhe: 3.25rem Feldhöhe -> 0.65rem Abstand */
@media (max-width: 1023px){
  #ankauf .aa-ankauf-form{
    display:flex!important;
    flex-direction:column!important;
    gap:0!important;
    row-gap:0!important;
  }
  #ankauf .aa-ankauf-form > *{
    margin-top:0!important;
    margin-bottom:0.65rem!important;
  }
  #ankauf .aa-ankauf-form > *:last-child{
    margin-bottom:0!important;
  }
  #ankauf .aa-ankauf-form .grid,
  #ankauf .aa-ankauf-form .grid.grid-cols-1,
  #ankauf .aa-ankauf-form .grid.grid-cols-2,
  #ankauf .aa-ankauf-form .grid.grid-cols-3{
    row-gap:0.65rem!important;
    column-gap:0.65rem!important;
  }
  #ankauf .aa-ankauf-form input:not([type="checkbox"]):not([type="file"]),
  #ankauf .aa-ankauf-form select,
  #ankauf .aa-upload-field input[type="file"]{
    min-height:3.25rem!important;
    height:3.25rem!important;
    box-sizing:border-box!important;
  }
  #ankauf .aa-ankauf-form textarea{
    min-height:7rem!important;
    margin-bottom:0!important;
    box-sizing:border-box!important;
  }
  #ankauf .aa-ankauf-form p.text-gray-300{
    margin:0 0 0.65rem 0!important;
  }
  #ankauf .aa-upload-field{
    margin:0 0 0.65rem 0!important;
  }
  #ankauf .aa-upload-field label{
    display:block!important;
    margin:0 0 0.65rem 0!important;
  }
  #ankauf .aa-upload-field p{
    margin:0.35rem 0 0 0!important;
  }
  #ankauf .aa-ankauf-form button[type="submit"]{
    margin-top:0!important;
  }
}

@media (max-width: 767px){
  #ankauf .aa-ankauf-form .grid,
  #ankauf .aa-ankauf-form .grid.grid-cols-1,
  #ankauf .aa-ankauf-form .grid.grid-cols-2,
  #ankauf .aa-ankauf-form .grid.grid-cols-3{
    grid-template-columns:1fr!important;
  }
}


/* V34 FIX: style.css wird jetzt geladen. Mobile/Tablet-Abstände im Ankaufformular sichtbar setzen. */
@media (max-width: 1023px){
  #ankauf .aa-ankauf-form{
    display:flex!important;
    flex-direction:column!important;
    gap:.75rem!important;
    row-gap:.75rem!important;
  }
  #ankauf .aa-ankauf-form > *{
    margin-top:0!important;
    margin-bottom:0!important;
  }
  #ankauf .aa-ankauf-form .grid,
  #ankauf .aa-ankauf-form .grid.grid-cols-1,
  #ankauf .aa-ankauf-form .grid.grid-cols-2,
  #ankauf .aa-ankauf-form .grid.grid-cols-3{
    display:grid!important;
    gap:.75rem!important;
    row-gap:.75rem!important;
    column-gap:.75rem!important;
    width:100%!important;
  }
  #ankauf .aa-ankauf-form input:not([type="checkbox"]):not([type="file"]),
  #ankauf .aa-ankauf-form select,
  #ankauf .aa-upload-field input[type="file"]{
    min-height:3.25rem!important;
    height:3.25rem!important;
    padding:.85rem 1rem!important;
    box-sizing:border-box!important;
  }
  #ankauf .aa-ankauf-form textarea{
    min-height:7rem!important;
    padding:.85rem 1rem!important;
    box-sizing:border-box!important;
  }
  #ankauf .aa-upload-field{
    margin:0!important;
  }
  #ankauf .aa-upload-field label{
    display:block!important;
    margin:0 0 .65rem 0!important;
  }
  #ankauf .aa-upload-field p{
    margin:.35rem 0 0 0!important;
  }
  #ankauf .aa-ankauf-form button[type="submit"]{
    margin-top:0!important;
  }
}
@media (max-width: 767px){
  #ankauf .aa-ankauf-form .grid,
  #ankauf .aa-ankauf-form .grid.grid-cols-1,
  #ankauf .aa-ankauf-form .grid.grid-cols-2,
  #ankauf .aa-ankauf-form .grid.grid-cols-3{
    grid-template-columns:1fr!important;
  }
}

/* V35: Scroll-to-top Button wieder fest rechts unten und vollständig sichtbar */
#aa-scrolltop{
  position:fixed!important;
  right:1.5rem!important;
  left:auto!important;
  bottom:1.5rem!important;
  top:auto!important;
  width:2.75rem!important;
  height:2.75rem!important;
  min-width:2.75rem!important;
  min-height:2.75rem!important;
  transform:none!important;
  z-index:9999!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
}
#aa-scrolltop.hidden{display:none!important;}
@media (max-width: 767px){
  #aa-scrolltop{
    right:1rem!important;
    bottom:1rem!important;
  }
}
