
/* DE / EN / FR language switch and multilingual landing pages */
.lang-switch{
  position:relative;
  flex:0 0 auto;
}
.lang-switch summary{
  list-style:none;
  min-width:46px;
  height:36px;
  padding:0 10px;
  border:1px solid #dfe4e7;
  border-radius:10px;
  background:#fff;
  color:#11243a;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  font-size:10px;
  font-weight:900;
  cursor:pointer;
  user-select:none;
}
.lang-switch summary::-webkit-details-marker{display:none}
.lang-switch summary:after{
  content:"⌄";
  color:#8c744f;
  font-size:11px;
}
.lang-switch[open] summary:after{transform:rotate(180deg)}
.lang-switch-menu{
  position:absolute;
  top:calc(100% + 7px);
  right:0;
  min-width:138px;
  padding:6px;
  border:1px solid #dfe4e7;
  border-radius:12px;
  background:#fff;
  box-shadow:0 15px 40px rgba(17,36,58,.16);
  z-index:1400;
}
.lang-switch-menu a{
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  min-height:35px!important;
  padding:7px 9px!important;
  border-radius:8px;
  color:#344554!important;
  font-size:10px!important;
  font-weight:800!important;
  text-decoration:none!important;
}
.lang-switch-menu a:hover{background:#f7f2e8}
.lang-switch-menu a.is-current{
  background:#f7f2e8;
  color:#725c3c!important;
}
.lang-switch-mobile{display:none}

.ml-hero p{
  max-width:760px;
  margin:14px 0 23px;
  color:rgba(255,255,255,.88);
  font-size:16px;
  line-height:1.7;
}
.ml-section{
  padding:76px 0;
  background:#fff;
}
.ml-section.alt{background:#f7f4ee}
.ml-eyebrow{
  margin-bottom:9px;
  color:#927449;
  font-size:10px;
  font-weight:900;
  letter-spacing:.9px;
  text-transform:uppercase;
}
.ml-section h2{
  max-width:830px;
  margin:0 0 16px;
  color:#11243a;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(31px,4vw,45px);
  line-height:1.08;
  font-weight:600;
}
.ml-lead{
  max-width:830px;
  margin:0 0 27px;
  color:#6e7b85;
  font-size:14px;
  line-height:1.72;
}
.ml-card-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.ml-card{
  min-width:0;
  padding:21px;
  border:1px solid #e1e5e7;
  border-radius:16px;
  background:#fff;
}
.ml-card h3{
  margin:0 0 8px;
  color:#11243a;
  font-family:Georgia,"Times New Roman",serif;
  font-size:21px;
  line-height:1.17;
  font-weight:600;
}
.ml-card p{
  margin:0;
  color:#6f7b85;
  font-size:12px;
  line-height:1.65;
}
.ml-link-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:11px;
}
.ml-link{
  min-width:0;
  padding:17px;
  border:1px solid #dfe4e7;
  border-radius:13px;
  background:#fff;
  display:block;
  color:#11243a;
  text-decoration:none;
}
.ml-link strong{display:block;margin-bottom:5px;font-size:12.5px;line-height:1.35}
.ml-link span{display:block;color:#72808a;font-size:10.5px;line-height:1.5}
.ml-link:hover{border-color:#c8b38d;background:#fbf8f1}
.ml-town-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
.ml-town-grid a{
  min-width:0;
  padding:11px 12px;
  border:1px solid #e0e4e7;
  border-radius:10px;
  background:#fff;
  color:#344554;
  font-size:10.5px;
  font-weight:800;
  text-decoration:none;
}
.ml-town-grid a:hover{border-color:#c8b38d;background:#fbf8f1}
.ml-faq{
  display:grid;
  gap:8px;
  max-width:880px;
}
.ml-faq details{
  border:1px solid #e0e4e7;
  border-radius:12px;
  background:#fff;
  overflow:hidden;
}
.ml-faq summary{
  list-style:none;
  padding:14px 16px;
  color:#11243a;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
}
.ml-faq summary::-webkit-details-marker{display:none}
.ml-faq p{
  margin:0;
  padding:0 16px 15px;
  color:#6f7b85;
  font-size:11px;
  line-height:1.65;
}
.ml-contact-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:24px;
}
.ml-contact-card{
  padding:22px;
  border:1px solid #e0e4e7;
  border-radius:16px;
  background:#fff;
}
.ml-contact-card strong{display:block;color:#11243a;margin-bottom:5px}
.ml-contact-card p,.ml-contact-card a{color:#6e7b85;font-size:11.5px;line-height:1.6}
.ml-form{
  padding:22px;
  border:1px solid #dfe4e7;
  border-radius:16px;
  background:#fff;
}
.ml-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:11px;
}
.ml-field.full{grid-column:1/-1}
.ml-field label{
  display:block;
  margin-bottom:6px;
  color:#455562;
  font-size:10px;
  font-weight:800;
}
.ml-field input,.ml-field select,.ml-field textarea{
  width:100%;
  min-width:0;
  border:1px solid #dce1e4;
  border-radius:10px;
  background:#fff;
  color:#263746;
  font-size:16px;
  box-sizing:border-box;
}
.ml-field input,.ml-field select{height:50px;padding:0 11px}
.ml-field textarea{min-height:120px;padding:11px;resize:vertical}
.ml-form button{
  margin-top:12px;
  min-height:48px;
  padding:0 18px;
  border:0;
  border-radius:11px;
  background:#d8c6a5;
  color:#11243a;
  font-weight:850;
  cursor:pointer;
}
.ml-local-hero .hero-actions{margin-top:18px}
.ml-service-strip{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.ml-service-strip a{
  padding:15px;
  border:1px solid #e0e4e7;
  border-radius:12px;
  background:#fff;
  color:#11243a;
  text-decoration:none;
}
.ml-service-strip strong{display:block;margin-bottom:4px;font-size:11.5px}
.ml-service-strip span{display:block;color:#76828b;font-size:10px;line-height:1.5}
.ml-local-map{
  margin-top:22px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  align-items:stretch;
}
.ml-map-copy{
  padding:22px;
  border:1px solid #e1e5e7;
  border-radius:16px;
  background:#fff;
}
.ml-map-box{
  min-height:260px;
  border:1px solid #dfe4e7;
  border-radius:16px;
  background:#f4f2ed;
  overflow:hidden;
  display:grid;
  place-items:center;
  text-align:center;
  padding:20px;
}
.ml-map-box iframe{width:100%;height:100%;min-height:260px;border:0}
.ml-map-load{
  margin-top:10px;
  min-height:42px;
  padding:0 14px;
  border:0;
  border-radius:10px;
  background:#11243a;
  color:#fff;
  font-size:10.5px;
  font-weight:850;
  cursor:pointer;
}

@media(max-width:1050px){
  .lang-switch-desktop{display:none}
  .lang-switch-mobile{
    display:block;
    margin:8px 0 12px;
    padding-bottom:12px;
    border-bottom:1px solid #e6eaec;
  }
  .lang-switch-mobile summary{
    width:100%;
    justify-content:space-between;
    min-height:44px;
  }
  .lang-switch-mobile .lang-switch-menu{
    position:static;
    margin-top:6px;
    width:100%;
    box-shadow:none;
  }
}
@media(max-width:760px){
  .ml-section{padding:52px 0}
  .ml-card-grid,.ml-link-grid,.ml-contact-grid,.ml-local-map{grid-template-columns:1fr}
  .ml-town-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ml-service-strip{grid-template-columns:1fr}
  .ml-hero p{font-size:14px}
}
@media(max-width:390px){
  .ml-town-grid,.ml-form-grid{grid-template-columns:1fr}
  .ml-field.full{grid-column:auto}
}

.ml-section-title{
  max-width:830px;
  margin:0 0 16px;
  color:#11243a;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(31px,4vw,45px);
  line-height:1.08;
  font-weight:600;
}

/* Local valuation language directories */
.valuation-language-directory{
  padding-top:54px;
  padding-bottom:54px;
}
.valuation-town-details{
  border:1px solid #dfe4e7;
  border-radius:14px;
  background:#fff;
  overflow:hidden;
}
.valuation-town-details summary{
  list-style:none;
  min-height:52px;
  padding:13px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#11243a;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
}
.valuation-town-details summary::-webkit-details-marker{display:none}
.valuation-town-details summary:after{
  content:"⌄";
  color:#96794f;
  font-size:18px;
}
.valuation-town-details[open] summary:after{transform:rotate(180deg)}
.valuation-town-details .ml-town-grid{
  padding:0 14px 14px;
}


/* Mobile Header oberhalb Hero + Bild sichtbar - final */
@media(max-width:900px){
  /*
    Der Header liegt mobil im normalen Dokumentfluss und wird beim Scrollen sticky.
    Dadurch beginnt das Hero-Bild erst unterhalb der Navigation und wird nicht mehr
    von Navigation und Titel gleichzeitig überlagert.
  */
  .header,
  .header.nav-follow{
    position:sticky !important;
    left:auto !important;
    right:auto !important;
    top:0 !important;
    z-index:1300 !important;
    background:#fff !important;
  }
  .header .nav-wrap,
  .header.nav-follow .nav-wrap{
    padding-top:8px !important;
    padding-bottom:8px !important;
  }
  .header .nav,
  .header.nav-follow .nav{
    box-shadow:0 8px 24px rgba(10,29,47,.13) !important;
  }
  .header .mobile-nav{
    top:calc(100% + 8px) !important;
  }

  /* Alte Kompensationsabstände für den absolut positionierten Header entfernen. */
  main > section.hero:not(#bewertung),
  main > section.contact-hero,
  main > section.legal-hero,
  main > section.thanks-page{
    padding-top:72px !important;
  }

  /* Das Hintergrundbild soll auf schmalen Displays stärker sichtbar sein. */
  main > section.hero{
    background-position:62% center !important;
  }

  /* Deutsche Startseite besitzt ihr eigenes Hero-Grid. */
  main > section#bewertung.hero{
    padding-top:0 !important;
  }
  main > section#bewertung .hero-grid{
    padding-top:72px !important;
    padding-bottom:48px !important;
  }
}

@media(max-width:620px){
  .header,
  .header.nav-follow{
    top:0 !important;
  }
  .header .nav-wrap,
  .header.nav-follow .nav-wrap{
    padding-top:7px !important;
    padding-bottom:7px !important;
  }

  /* Mehr freie Bildfläche vor dem Titel, ohne unnötig viel Höhe zu erzeugen. */
  main > section.hero:not(#bewertung),
  main > section.contact-hero,
  main > section.legal-hero{
    padding-top:82px !important;
    padding-bottom:44px !important;
  }
  main > section.thanks-page{
    padding-top:70px !important;
  }
  main > section#bewertung .hero-grid{
    padding-top:82px !important;
    padding-bottom:48px !important;
  }
  main > section.hero{
    background-position:64% center !important;
  }
}


/* Mobile Hero: Navigation -> Bild -> separater Titelbereich - final */
@media(max-width:900px){
  /*
    Das Hero-Hintergrundbild wird mobil als eigener Bildblock dargestellt.
    Erst darunter beginnt der eigentliche Titel-/Inhaltsbereich.
  */
  main > section.hero{
    display:block !important;
    min-height:0 !important;
    padding:0 !important;
    background-image:none !important;
    background:#fff !important;
    color:#11243a !important;
    overflow:visible !important;
  }

  main > section.hero::before{
    content:"";
    display:block;
    width:100%;
    height:clamp(245px,58vw,390px);
    background-image:
      linear-gradient(rgba(8,23,38,.04),rgba(8,23,38,.04)),
      url("/assets/hero-basel-mobile-optimized.webp");
    background-size:cover;
    background-position:center 50%;
    background-repeat:no-repeat;
  }

  /* Der Textbereich startet klar unter dem Bild. */
  main > section.hero > .wrap{
    padding-top:40px !important;
    padding-bottom:46px !important;
  }

  /* Startseite: eigenes Grid, aber ebenfalls erst nach dem Bild. */
  main > section#bewertung.hero > .hero-grid,
  main > section#bewertung.hero > .wrap.hero-grid{
    padding-top:40px !important;
    padding-bottom:48px !important;
  }

  /* Hero-Typografie auf hellem separatem Inhaltsabschnitt. */
  main > section.hero h1,
  main > section.hero .kicker,
  main > section.hero .hero-lead,
  main > section.hero .hero-copy,
  main > section.hero p{
    color:#11243a !important;
  }
  main > section.hero .kicker{
    color:#8b724b !important;
  }
  main > section.hero .breadcrumbs{
    color:#77838e !important;
  }
  main > section.hero .breadcrumbs a{
    color:#53616d !important;
  }
  main > section.hero .seo-byline{
    color:#7d8993 !important;
  }

  main > section.hero .hero-trust span{
    color:#445461 !important;
    border-color:#dfe4e7 !important;
    background:#f8f6f1 !important;
  }

  main > section.hero .btn-outline{
    color:#11243a !important;
    border-color:#cbd3d9 !important;
    background:#fff !important;
  }

  /* Der Hero darf keine alten mobilen Top-Abstände mehr erben. */
  main > section.hero:not(#bewertung){
    padding-top:0 !important;
    padding-bottom:0 !important;
  }
  main > section#bewertung.hero{
    padding-top:0 !important;
    padding-bottom:0 !important;
  }
}

@media(max-width:620px){
  main > section.hero::before{
    height:clamp(230px,66vw,320px);
    background-position:center 48%;
  }

  main > section.hero > .wrap{
    padding-top:30px !important;
    padding-bottom:38px !important;
  }

  main > section#bewertung.hero > .hero-grid,
  main > section#bewertung.hero > .wrap.hero-grid{
    padding-top:30px !important;
    padding-bottom:40px !important;
  }

  main > section.hero h1{
    margin-top:0 !important;
  }
}


/* Sprachumschalter Position Desktop / Mobile - final */
@media(min-width:1051px){
  .nav-right{
    display:flex;
    align-items:center;
  }
  .nav-right .lang-switch-desktop{
    order:99;
    margin-left:4px;
  }
}

/* Mobile: Sprachwahl klein neben Datenschutz / Legal Links */
@media(max-width:1050px){
  .mobile-legal-links{
    display:flex !important;
    align-items:center !important;
    flex-wrap:wrap !important;
    gap:10px 14px !important;
  }
  .mobile-legal-links > a{
    flex:0 0 auto;
  }
  .lang-switch-mobile-compact{
    display:block !important;
    margin:0 0 0 auto !important;
    padding:0 !important;
    border:0 !important;
    position:relative;
    flex:0 0 auto;
  }
  .lang-switch-mobile-compact summary{
    width:auto !important;
    min-width:42px !important;
    min-height:28px !important;
    height:28px !important;
    padding:0 7px !important;
    justify-content:center !important;
    gap:4px !important;
    border:1px solid #dfe4e7 !important;
    border-radius:8px !important;
    background:#fff !important;
    font-size:9px !important;
    line-height:1 !important;
  }
  .lang-switch-mobile-compact summary:after{
    font-size:9px !important;
  }
  .lang-switch-mobile-compact .lang-switch-menu{
    position:absolute !important;
    right:0 !important;
    left:auto !important;
    bottom:calc(100% + 6px) !important;
    top:auto !important;
    width:132px !important;
    min-width:132px !important;
    margin:0 !important;
    padding:5px !important;
    border-radius:10px !important;
    box-shadow:0 12px 30px rgba(17,36,58,.15) !important;
    z-index:1500 !important;
  }
  .lang-switch-mobile-compact .lang-switch-menu a{
    min-height:31px !important;
    padding:6px 8px !important;
    font-size:9px !important;
  }
}


/* Mobile Navigation folgt Scroll - final */
@media(max-width:900px){
  /*
    Anfangszustand:
    Navigation sitzt direkt unter der Topbar und ist Teil des Seitenaufbaus.
  */
  .header{
    position:relative !important;
    left:auto !important;
    right:auto !important;
    top:auto !important;
    z-index:1300 !important;
    width:100% !important;
    background:#fff !important;
  }

  /*
    Sobald das vorhandene Scroll-Script .nav-follow setzt,
    bleibt die Navigation fest am oberen Bildschirmrand.
  */
  .header.nav-follow{
    position:fixed !important;
    left:0 !important;
    right:0 !important;
    top:0 !important;
    width:100% !important;
    z-index:1600 !important;
    background:#fff !important;
  }

  .header.nav-follow .nav-wrap{
    padding-top:7px !important;
    padding-bottom:7px !important;
  }

  .header.nav-follow .nav{
    box-shadow:0 10px 30px rgba(10,29,47,.18) !important;
  }

  .header.nav-follow .mobile-nav{
    top:calc(100% + 8px) !important;
  }

  /*
    Platzhalter verhindert einen Sprung des Inhalts, wenn der Header
    vom normalen Dokumentfluss auf fixed wechselt.
  */
  body.mobile-nav-follow-active{
    padding-top:0 !important;
  }
}

@media(max-width:620px){
  .header.nav-follow{
    top:0 !important;
  }
}


/* Navigation folgt Scroll auf Desktop und Mobile - final */
@media(min-width:901px){
  .header.nav-follow{
    position:fixed !important;
    left:0 !important;
    right:0 !important;
    top:0 !important;
    width:100% !important;
    z-index:1600 !important;
  }
  .header.nav-follow .nav-wrap{
    padding-top:8px !important;
    padding-bottom:8px !important;
  }
  .header.nav-follow .nav{
    box-shadow:0 12px 34px rgba(10,29,47,.20) !important;
  }
}


/* Immobilienverkauf Rückruf CTA Desktop + Mobile - final */
.hb-sell-sticky{
  position:fixed;
  left:20px;
  bottom:20px;
  z-index:1120;
  width:286px;
  padding:13px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:17px;
  background:#11243a;
  box-shadow:0 18px 48px rgba(10,29,47,.28);
}
.hb-sell-sticky-title{
  margin:0 0 9px;
  color:#fff;
  font-family:Georgia,"Times New Roman",serif;
  font-size:15px;
  line-height:1.25;
  font-weight:600;
}
.hb-sell-sticky-btn{
  width:100%;
  min-height:44px;
  border:0;
  border-radius:11px;
  background:#d8c6a5;
  color:#11243a;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
}
.hb-sell-sticky-btn:hover{background:#e1d2b6}
.hb-sell-sticky[hidden]{display:none!important}

.hb-callback-backdrop{
  position:fixed;
  inset:0;
  z-index:2100;
  padding:18px;
  background:rgba(7,20,32,.64);
  display:none;
  align-items:center;
  justify-content:center;
  overflow:auto;
}
.hb-callback-backdrop.is-open{display:flex}
.hb-callback-modal{
  width:min(560px,100%);
  max-height:calc(100vh - 36px);
  overflow:auto;
  border-radius:21px;
  background:#fff;
  box-shadow:0 30px 90px rgba(0,0,0,.30);
}
.hb-callback-head{
  position:sticky;
  top:0;
  z-index:2;
  min-height:72px;
  padding:15px 16px 15px 20px;
  border-bottom:1px solid #e5e8ea;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.hb-callback-kicker{
  margin-bottom:4px;
  color:#927449;
  font-size:9px;
  font-weight:900;
  letter-spacing:.8px;
  text-transform:uppercase;
}
.hb-callback-title{
  color:#11243a;
  font-family:Georgia,"Times New Roman",serif;
  font-size:23px;
  line-height:1.12;
  font-weight:600;
}
.hb-callback-close{
  width:40px;
  height:40px;
  flex:0 0 40px;
  border:1px solid #e1e5e7;
  border-radius:10px;
  background:#fff;
  color:#11243a;
  font-size:23px;
  cursor:pointer;
}
.hb-callback-body{padding:20px}
.hb-callback-lead{
  margin:0 0 18px;
  color:#697782;
  font-size:12px;
  line-height:1.65;
}
.hb-callback-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.hb-callback-field.full{grid-column:1/-1}
.hb-callback-field label{
  display:block;
  margin-bottom:6px;
  color:#42525f;
  font-size:10px;
  font-weight:850;
}
.hb-callback-field input,
.hb-callback-field select{
  width:100%;
  height:50px;
  box-sizing:border-box;
  border:1px solid #dce1e4;
  border-radius:11px;
  background:#fff;
  color:#263746;
  padding:0 11px;
  font-size:16px;
  outline:none;
}
.hb-callback-field input:focus,
.hb-callback-field select:focus{
  border-color:#c8b38d;
  box-shadow:0 0 0 3px rgba(200,179,141,.16);
}
.hb-callback-required{color:#927449}
.hb-callback-submit{
  width:100%;
  min-height:50px;
  margin-top:14px;
  border:0;
  border-radius:11px;
  background:#d8c6a5;
  color:#11243a;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
}
.hb-callback-submit:hover{background:#e1d2b6}
.hb-callback-note{
  margin-top:10px;
  color:#849099;
  font-size:9px;
  line-height:1.5;
}
.hb-callback-note a{
  color:#6d5d46;
  text-decoration:underline;
}
body.hb-callback-open{overflow:hidden!important}

@media(max-width:900px){
  .hb-sell-sticky{
    left:8px;
    right:8px;
    bottom:8px;
    width:auto;
    padding:10px;
    border-radius:15px;
  }
  .hb-sell-sticky-title{
    margin-bottom:7px;
    text-align:center;
    font-size:13px;
  }
  .hb-sell-sticky-btn{
    min-height:46px;
    font-size:11px;
  }
  body{
    padding-bottom:116px;
  }
}
@media(max-width:620px){
  .hb-callback-backdrop{padding:8px;align-items:flex-end}
  .hb-callback-modal{
    max-height:calc(100vh - 16px);
    border-radius:18px 18px 12px 12px;
  }
  .hb-callback-head{padding:13px 13px 13px 16px}
  .hb-callback-title{font-size:21px}
  .hb-callback-body{padding:16px}
  .hb-callback-grid{grid-template-columns:1fr}
  .hb-callback-field.full{grid-column:auto}
}


/* Verkaufs-CTA: höchster Preis + Desktop eine Linie - final */
@media(min-width:901px){
  .hb-sell-sticky{
    width:auto !important;
    min-width:490px;
    max-width:620px;
    padding:10px 11px 10px 15px !important;
    display:flex;
    align-items:center;
    gap:16px;
  }
  .hb-sell-sticky-title{
    margin:0 !important;
    flex:1 1 auto;
    white-space:nowrap;
    font-size:14px !important;
    line-height:1.2 !important;
  }
  .hb-sell-sticky-btn{
    width:auto !important;
    min-width:154px;
    min-height:42px !important;
    padding:0 17px;
    flex:0 0 auto;
    white-space:nowrap;
  }
}
@media(max-width:900px){
  .hb-sell-sticky{
    display:block;
  }
  .hb-sell-sticky-title{
    white-space:normal;
  }
}


/* Performance Bilder - final */
.hero{
  background-image:
    linear-gradient(90deg,rgba(8,23,38,.88) 0%,rgba(8,23,38,.74) 35%,rgba(8,23,38,.34) 61%,rgba(8,23,38,.12) 100%),
    linear-gradient(0deg,rgba(8,23,38,.32),rgba(8,23,38,0) 46%),
    url("/assets/hero-basel-optimized.webp") !important;
}
@media(max-width:900px){
  main > section.hero::before{
    background-image:
      linear-gradient(rgba(8,23,38,.04),rgba(8,23,38,.04)),
      url("/assets/hero-basel-mobile-optimized.webp") !important;
  }
}


/* Performance Rendering - final */
@supports (content-visibility:auto){
  main > section:not(.hero):not(.contact-hero):not(.legal-hero):not(.thanks-page){
    content-visibility:auto;
    contain-intrinsic-size:auto 700px;
  }
}


/* Lokale SEO-Fakten + direkt eingebettete Maps - final */
.local-seo-facts{
  margin-top:16px;
  padding:16px 17px;
  border:1px solid #e2e6e8;
  border-radius:13px;
  background:#fff;
}
.local-seo-facts-title{
  margin-bottom:6px;
  color:#11243a;
  font-weight:850;
  font-size:11px;
}
.local-seo-facts p{
  margin:0;
  color:#687580;
  font-size:11px;
  line-height:1.65;
}
.local-seo-source{
  margin-top:8px!important;
  font-size:9.5px!important;
}
.local-seo-source a{
  color:#746142;
  text-decoration:underline;
}
.local-map-box iframe,
.ml-map-box iframe{
  display:block;
  width:100%;
  height:100%;
  min-height:280px;
  border:0;
}
.ml-map-box{
  padding:0!important;
  place-items:stretch!important;
}
.local-map-copy p{margin:0 0 10px}


/* Immobilienbewertung Gemeindeauswahl Clean Final */
.valuation-language-directory{
  padding-top:54px;
  padding-bottom:60px;
}
.valuation-language-directory .ml-section-title{
  margin-bottom:7px;
}
.valuation-language-directory .ml-lead{
  margin-bottom:16px;
  max-width:620px;
}
.valuation-town-details{
  overflow:hidden;
  border:1px solid #e2e6e8;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 24px rgba(17,36,58,.045);
}
.valuation-town-details summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:54px;
  padding:0 17px;
  cursor:pointer;
  color:#11243a;
  background:#fbfaf7;
  font-size:11px;
  font-weight:850;
  user-select:none;
}
.valuation-town-details summary::-webkit-details-marker{display:none}
.valuation-town-details summary:hover{background:#f7f3eb}
.valuation-town-details .town-summary-hide{display:none}
.valuation-town-details[open] .town-summary-show{display:none}
.valuation-town-details[open] .town-summary-hide{display:inline}
.valuation-town-details .town-summary-chevron{
  flex:0 0 auto;
  color:#8a7452;
  font-size:18px;
  line-height:1;
  transition:transform .18s ease;
}
.valuation-town-details[open] .town-summary-chevron{
  transform:rotate(180deg);
}
.valuation-town-details .ml-town-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  padding:14px;
  border-top:1px solid #ebeef0;
  background:#fff;
}
.valuation-town-details .ml-town-grid a{
  display:flex;
  align-items:center;
  min-height:39px;
  padding:8px 10px;
  border:1px solid #e8ebed;
  border-radius:10px;
  background:#fff;
  color:#344454;
  font-size:10px;
  font-weight:720;
  text-decoration:none;
  transition:border-color .15s ease,background .15s ease,transform .15s ease;
}
.valuation-town-details .ml-town-grid a:hover{
  border-color:#cdbb9b;
  background:#faf6ee;
  transform:translateY(-1px);
}
@media(max-width:820px){
  .valuation-town-details .ml-town-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
  .valuation-language-directory{padding-top:42px;padding-bottom:48px}
  .valuation-town-details summary{min-height:52px;padding:0 14px}
  .valuation-town-details .ml-town-grid{grid-template-columns:1fr;padding:10px}
}

/* Valuation Depth ca 600 Words Final */
.valuation-depth-section{
  padding:58px 0;
  background:#fbfaf7;
  border-bottom:1px solid #e7e9ea;
}
.valuation-depth-wrap{
  max-width:900px;
}
.valuation-depth-kicker{
  margin-bottom:7px;
  color:#8b724b;
  font-size:10px;
  font-weight:900;
  letter-spacing:1px;
  text-transform:uppercase;
}
.valuation-depth-title{
  max-width:760px;
  margin-bottom:18px;
  color:#11243a;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(26px,3vw,38px);
  line-height:1.08;
}
.valuation-depth-wrap p{
  margin:0 0 13px;
  color:#596773;
  font-size:12.5px;
  line-height:1.78;
}
.valuation-depth-source{
  margin-top:17px!important;
  font-size:10px!important;
}
.valuation-depth-source a{
  color:#746142;
  text-decoration:underline;
  text-underline-offset:3px;
}
@media(max-width:620px){
  .valuation-depth-section{padding:44px 0}
  .valuation-depth-wrap p{font-size:12px;line-height:1.72}
}
